rev 9555 - in kde-extras/k3b: . k3b k3b/branches k3b/branches/upstream k3b/branches/upstream/current k3b/branches/upstream/current/admin k3b/branches/upstream/current/doc k3b/branches/upstream/current/k3bsetup k3b/branches/upstream/current/kfile-plugins k3b/branches/upstream/current/kfile-plugins/k3bproject k3b/branches/upstream/current/kioslaves k3b/branches/upstream/current/kioslaves/videodvd k3b/branches/upstream/current/libk3b k3b/branches/upstream/current/libk3b/cddb k3b/branches/upstream/current/libk3b/core k3b/branches/upstream/current/libk3b/jobs k3b/branches/upstream/current/libk3b/plugin k3b/branches/upstream/current/libk3b/plugin/libsamplerate k3b/branches/upstream/current/libk3b/projects k3b/branches/upstream/current/libk3b/projects/audiocd k3b/branches/upstream/current/libk3b/projects/datacd k3b/branches/upstream/current/libk3b/projects/datadvd k3b/branches/upstream/current/libk3b/projects/mixedcd k3b/branches/upstream/current/libk3b/projects/movixcd k3b/branches/upstream/current/libk3b/projects/movixdvd k3b/branches/upstream/current/libk3b/projects/videocd k3b/branches/upstream/current/libk3b/projects/videocd/cdi k3b/branches/upstream/current/libk3b/projects/videocd/extra k3b/branches/upstream/current/libk3b/projects/videocd/mpeginfo k3b/branches/upstream/current/libk3b/projects/videodvd k3b/branches/upstream/current/libk3b/scripts k3b/branches/upstream/current/libk3b/tools k3b/branches/upstream/current/libk3b/tools/libisofs k3b/branches/upstream/current/libk3b/videodvd k3b/branches/upstream/current/libk3bdevice k3b/branches/upstream/current/plugins k3b/branches/upstream/current/plugins/audiooutput k3b/branches/upstream/current/plugins/audiooutput/alsa k3b/branches/upstream/current/plugins/audiooutput/arts k3b/branches/upstream/current/plugins/decoder k3b/branches/upstream/current/plugins/decoder/ffmpeg k3b/branches/upstream/current/plugins/decoder/flac k3b/branches/upstream/current/plugins/decoder/libsndfile k3b/branches/upstream/current/plugins/decoder/mp3 k3b/branches/upstream/current/plugins/decoder/musepack k3b/branches/upstream/current/plugins/decoder/ogg k3b/branches/upstream/current/plugins/decoder/wave k3b/branches/upstream/current/plugins/encoder k3b/branches/upstream/current/plugins/encoder/external k3b/branches/upstream/current/plugins/encoder/lame k3b/branches/upstream/current/plugins/encoder/ogg k3b/branches/upstream/current/plugins/encoder/sox k3b/branches/upstream/current/plugins/project k3b/branches/upstream/current/plugins/project/audiometainforenamer k3b/branches/upstream/current/plugins/project/audioprojectcddb k3b/branches/upstream/current/src k3b/branches/upstream/current/src/fastscale k3b/branches/upstream/current/src/icons k3b/branches/upstream/current/src/icons/actions k3b/branches/upstream/current/src/konqi k3b/branches/upstream/current/src/mimetypes k3b/branches/upstream/current/src/misc k3b/branches/upstream/current/src/option k3b/branches/upstream/current/src/pics k3b/branches/upstream/current/src/pics/73lab k3b/branches/upstream/current/src/pics/RobsTheme k3b/branches/upstream/current/src/pics/crystal k3b/branches/upstream/current/src/pics/quant k3b/branches/upstream/current/src/projects k3b/branches/upstream/current/src/projects/kostore k3b/branches/upstream/current/src/rip k3b/branches/upstream/current/src/rip/videodvd k3b/branches/upstream/current/src/sounds
Francois Marier
francois at alioth.debian.org
Tue Mar 4 01:08:00 UTC 2008
Author: francois
Date: 2008-03-04 01:07:57 +0000 (Tue, 04 Mar 2008)
New Revision: 9555
Added:
kde-extras/k3b/k3b/
kde-extras/k3b/k3b/branches/
kde-extras/k3b/k3b/branches/upstream/
kde-extras/k3b/k3b/branches/upstream/current/
kde-extras/k3b/k3b/branches/upstream/current/AUTHORS
kde-extras/k3b/k3b/branches/upstream/current/COPYING
kde-extras/k3b/k3b/branches/upstream/current/COPYING-DOCS
kde-extras/k3b/k3b/branches/upstream/current/ChangeLog
kde-extras/k3b/k3b/branches/upstream/current/FAQ
kde-extras/k3b/k3b/branches/upstream/current/INSTALL
kde-extras/k3b/k3b/branches/upstream/current/KNOWNBUGS
kde-extras/k3b/k3b/branches/upstream/current/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/PERMISSIONS
kde-extras/k3b/k3b/branches/upstream/current/README
kde-extras/k3b/k3b/branches/upstream/current/RELEASE_HOWTO
kde-extras/k3b/k3b/branches/upstream/current/TODO
kde-extras/k3b/k3b/branches/upstream/current/acinclude.m4
kde-extras/k3b/k3b/branches/upstream/current/aclocal.m4
kde-extras/k3b/k3b/branches/upstream/current/admin/
kde-extras/k3b/k3b/branches/upstream/current/admin/Doxyfile.am
kde-extras/k3b/k3b/branches/upstream/current/admin/Doxyfile.global
kde-extras/k3b/k3b/branches/upstream/current/admin/Makefile.common
kde-extras/k3b/k3b/branches/upstream/current/admin/acinclude.m4.in
kde-extras/k3b/k3b/branches/upstream/current/admin/am_edit
kde-extras/k3b/k3b/branches/upstream/current/admin/bcheck.pl
kde-extras/k3b/k3b/branches/upstream/current/admin/compile
kde-extras/k3b/k3b/branches/upstream/current/admin/conf.change.pl
kde-extras/k3b/k3b/branches/upstream/current/admin/config.guess
kde-extras/k3b/k3b/branches/upstream/current/admin/config.pl
kde-extras/k3b/k3b/branches/upstream/current/admin/config.sub
kde-extras/k3b/k3b/branches/upstream/current/admin/configure.in.bot.end
kde-extras/k3b/k3b/branches/upstream/current/admin/configure.in.min
kde-extras/k3b/k3b/branches/upstream/current/admin/cvs.sh
kde-extras/k3b/k3b/branches/upstream/current/admin/debianrules
kde-extras/k3b/k3b/branches/upstream/current/admin/depcomp
kde-extras/k3b/k3b/branches/upstream/current/admin/deps.am
kde-extras/k3b/k3b/branches/upstream/current/admin/detect-autoconf.pl
kde-extras/k3b/k3b/branches/upstream/current/admin/doxygen.sh
kde-extras/k3b/k3b/branches/upstream/current/admin/install-sh
kde-extras/k3b/k3b/branches/upstream/current/admin/libtool.m4.in
kde-extras/k3b/k3b/branches/upstream/current/admin/ltmain.sh
kde-extras/k3b/k3b/branches/upstream/current/admin/missing
kde-extras/k3b/k3b/branches/upstream/current/admin/mkinstalldirs
kde-extras/k3b/k3b/branches/upstream/current/admin/nmcheck
kde-extras/k3b/k3b/branches/upstream/current/admin/oldinclude.m4.in
kde-extras/k3b/k3b/branches/upstream/current/admin/pkg.m4.in
kde-extras/k3b/k3b/branches/upstream/current/admin/ylwrap
kde-extras/k3b/k3b/branches/upstream/current/config.h.in
kde-extras/k3b/k3b/branches/upstream/current/configure
kde-extras/k3b/k3b/branches/upstream/current/configure.files
kde-extras/k3b/k3b/branches/upstream/current/configure.in
kde-extras/k3b/k3b/branches/upstream/current/configure.in.bot
kde-extras/k3b/k3b/branches/upstream/current/configure.in.in
kde-extras/k3b/k3b/branches/upstream/current/doc/
kde-extras/k3b/k3b/branches/upstream/current/doc/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/doc/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/doc/audiocd-howto.docbook
kde-extras/k3b/k3b/branches/upstream/current/doc/burndialog_audio.png
kde-extras/k3b/k3b/branches/upstream/current/doc/burndialog_progress.png
kde-extras/k3b/k3b/branches/upstream/current/doc/cdcloning_dialog.png
kde-extras/k3b/k3b/branches/upstream/current/doc/cdcloning_reading.png
kde-extras/k3b/k3b/branches/upstream/current/doc/cdcopy-howto.docbook
kde-extras/k3b/k3b/branches/upstream/current/doc/cdcopy_done.png
kde-extras/k3b/k3b/branches/upstream/current/doc/cdcopy_reading.png
kde-extras/k3b/k3b/branches/upstream/current/doc/cdcopy_settings.png
kde-extras/k3b/k3b/branches/upstream/current/doc/cdcopy_writing.png
kde-extras/k3b/k3b/branches/upstream/current/doc/commands.docbook
kde-extras/k3b/k3b/branches/upstream/current/doc/dcop.docbook
kde-extras/k3b/k3b/branches/upstream/current/doc/index.docbook
kde-extras/k3b/k3b/branches/upstream/current/doc/select_audiofiles.png
kde-extras/k3b/k3b/branches/upstream/current/doc/select_project.png
kde-extras/k3b/k3b/branches/upstream/current/k3b.lsm
kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/
kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/base_k3bsetup2.ui
kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/k3bsetup
kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/k3bsetup2.cpp
kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/k3bsetup2.desktop
kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/k3bsetup2.h
kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/
kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/
kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/kfile_k3b.desktop
kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/kfile_k3bprojectfileplugin.cpp
kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/kfile_k3bprojectfileplugin.h
kde-extras/k3b/k3b/branches/upstream/current/kioslaves/
kde-extras/k3b/k3b/branches/upstream/current/kioslaves/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/kioslaves/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/
kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/videodvd.cpp
kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/videodvd.desktop
kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/videodvd.h
kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/videodvd.protocol
kde-extras/k3b/k3b/branches/upstream/current/libk3b/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/README
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddb.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddb.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbhttpquery.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbhttpquery.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddblocalquery.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddblocalquery.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddblocalsubmit.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddblocalsubmit.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbmultientriesdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbmultientriesdialog.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbpquery.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbpquery.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbquery.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbquery.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbresult.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbresult.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbsubmit.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbsubmit.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/configure.in.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3b_export.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bcore.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bcore.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bdataevent.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bdefaultexternalprograms.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bdefaultexternalprograms.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bexternalbinmanager.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bexternalbinmanager.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bglobals.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bglobals.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bglobalsettings.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bglobalsettings.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bjobhandler.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bprocess.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bprocess.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bprogressinfoevent.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bsimplejobhandler.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bsimplejobhandler.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bthread.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bthread.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bthreadjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bthreadjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bversion.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bversion.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/dummy.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3baudiocuefilewritingjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3baudiocuefilewritingjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3baudiosessionreadingjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3baudiosessionreadingjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bbinimagewritingjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bbinimagewritingjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bblankingjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bblankingjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bcdcopyjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bcdcopyjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bcdda2wavreader.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bcdda2wavreader.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bclonejob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bclonejob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bclonetocreader.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bclonetocreader.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdatatrackreader.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdatatrackreader.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdvdcopyjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdvdcopyjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdvdformattingjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdvdformattingjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3biso9660imagewritingjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3biso9660imagewritingjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3breadcdreader.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3breadcdreader.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bverificationjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bverificationjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bvideodvdtitledetectclippingjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bvideodvdtitledetectclippingjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bvideodvdtitletranscodingjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bvideodvdtitletranscodingjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/k3bimage.xsd
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioclient.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioclient.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudiodecoder.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudiodecoder.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioencoder.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioencoder.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudiooutputplugin.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioserver.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioserver.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bplugin.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bplugin.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginconfigwidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginconfigwidget.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginfactory.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginfactory.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginmanager.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginmanager.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bprojectplugin.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/common.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/configure.in.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/fastest_coeffs.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/float_cast.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/high_qual_coeffs.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/mid_qual_coeffs.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/samplerate.c
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/samplerate.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/src_linear.c
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/src_sinc.c
kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/src_zoh.c
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiocdtrackdrag.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiocdtrackdrag.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiocdtracksource.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiocdtracksource.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiodatasource.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiodatasource.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiodatasourceiterator.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiodatasourceiterator.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiodoc.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiodoc.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiofile.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiofile.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudioimager.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudioimager.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiojob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiojob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiojobtempdata.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiojobtempdata.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiomaxspeedjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiomaxspeedjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudionormalizejob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudionormalizejob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiotrack.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiotrack.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiozerodata.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/k3baudiozerodata.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bbootitem.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bbootitem.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bdatadoc.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bdatadoc.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bdataitem.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bdataitem.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bdatajob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bdatajob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bdatapreparationjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bdatapreparationjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bdiritem.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bdiritem.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bfilecompilationsizehandler.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bfilecompilationsizehandler.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bfileitem.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bfileitem.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bisoimager.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bisoimager.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bisooptions.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bisooptions.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bmkisofshandler.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bmkisofshandler.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bmsinfofetcher.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bmsinfofetcher.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bsessionimportitem.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bsessionimportitem.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datacd/k3bspecialdataitem.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datadvd/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datadvd/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datadvd/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datadvd/k3bdvdbooktypejob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datadvd/k3bdvdbooktypejob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datadvd/k3bdvddoc.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datadvd/k3bdvddoc.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datadvd/k3bdvdjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datadvd/k3bdvdjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datadvd/k3bdvdview.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/datadvd/k3bdvdview.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3babstractwriter.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3babstractwriter.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bcdrdaowriter.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bcdrdaowriter.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bcdrecordwriter.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bcdrecordwriter.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bcuefileparser.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bcuefileparser.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bdoc.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bdoc.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bdvdrecordwriter.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bdvdrecordwriter.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bgrowisofshandler.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bgrowisofshandler.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bgrowisofswriter.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bgrowisofswriter.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bimagefilereader.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bimagefilereader.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3binffilewriter.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3binffilewriter.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bpipebuffer.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3bpipebuffer.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3btocfilewriter.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/k3btocfilewriter.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/mixedcd/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/mixedcd/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/mixedcd/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/mixedcd/k3bmixeddoc.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/mixedcd/k3bmixeddoc.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/mixedcd/k3bmixedjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/mixedcd/k3bmixedjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixcd/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixcd/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixcd/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixcd/k3bmovixdoc.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixcd/k3bmovixdoc.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixcd/k3bmovixdocpreparer.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixcd/k3bmovixdocpreparer.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixcd/k3bmovixfileitem.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixcd/k3bmovixfileitem.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixcd/k3bmovixjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixcd/k3bmovixjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixcd/k3bmovixprogram.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixcd/k3bmovixprogram.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixdvd/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixdvd/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixdvd/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixdvd/k3bmovixdvddoc.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixdvd/k3bmovixdvddoc.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixdvd/k3bmovixdvdjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/movixdvd/k3bmovixdvdjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/cdi/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/cdi/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/cdi/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/cdi/cdi_imag.rtf
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/cdi/cdi_text.fnt
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/cdi/cdi_vcd.app
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/cdi/cdi_vcd.cfg
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/cdi/icdia.htm
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/cdi/vcd_on_cdi_41.pdf
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/extra/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/extra/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/extra/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/extra/k3bphotosvcd.mpg
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/extra/k3bphotovcd.mpg
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/k3bvcddoc.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/k3bvcddoc.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/k3bvcdjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/k3bvcdjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/k3bvcdoptions.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/k3bvcdoptions.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/k3bvcdtrack.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/k3bvcdtrack.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/k3bvcdxmlview.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/k3bvcdxmlview.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/mpeginfo/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/mpeginfo/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/mpeginfo/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/mpeginfo/k3bmpeginfo.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videocd/mpeginfo/k3bmpeginfo.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videodvd/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videodvd/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videodvd/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videodvd/k3bvideodvddoc.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videodvd/k3bvideodvddoc.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videodvd/k3bvideodvdimager.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videodvd/k3bvideodvdimager.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videodvd/k3bvideodvdjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/videodvd/k3bvideodvdjob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/scripts/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/scripts/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/scripts/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/scripts/k3b_automount
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bactivepipe.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bactivepipe.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bbusywidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bbusywidget.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bcdparanoialib.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bcdparanoialib.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bcdtextvalidator.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bcdtextvalidator.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bchecksumpipe.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bchecksumpipe.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bcutcombobox.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bcutcombobox.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bdevicecombobox.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bdevicecombobox.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bdevicehandler.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bdevicehandler.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bdeviceselectiondialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bdeviceselectiondialog.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bdirsizejob.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bdirsizejob.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bexceptions.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bexceptions.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bfilesplitter.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bfilesplitter.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bfilesysteminfo.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bfilesysteminfo.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bintmapcombobox.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bintmapcombobox.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bintvalidator.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bintvalidator.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3biso9660.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3biso9660.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3biso9660backend.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3biso9660backend.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3blibdvdcss.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3blibdvdcss.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3blistview.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3blistview.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3blistviewitemanimator.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3blistviewitemanimator.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bmd5job.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bmd5job.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bmsfedit.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bmsfedit.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bmultichoicedialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bmultichoicedialog.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bpipe.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bpipe.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bprogressdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bprogressdialog.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bpushbutton.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bpushbutton.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bradioaction.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bradioaction.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3brichtextlabel.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3brichtextlabel.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bsignalwaiter.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bsignalwaiter.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bstdguiitems.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bstdguiitems.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bstringutils.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bstringutils.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3btempfile.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3btempfile.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bthreadwidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bthreadwidget.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bthroughputestimator.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bthroughputestimator.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3btitlelabel.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3btitlelabel.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3btoolbox.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3btoolbox.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3btoolbutton.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3btoolbutton.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bvalidators.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bvalidators.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bwavefilewriter.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/k3bwavefilewriter.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/kcutlabel.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/kcutlabel.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/libisofs/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/libisofs/COPYING
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/libisofs/ChangeLog
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/libisofs/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/libisofs/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/libisofs/README
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/libisofs/bswap.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/libisofs/el_torito.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/libisofs/iso_fs.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/libisofs/isofs.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/libisofs/isofs.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/tools/libisofs/rock.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/videodvd/
kde-extras/k3b/k3b/branches/upstream/current/libk3b/videodvd/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3b/videodvd/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/videodvd/configure.in.bot
kde-extras/k3b/k3b/branches/upstream/current/libk3b/videodvd/configure.in.in
kde-extras/k3b/k3b/branches/upstream/current/libk3b/videodvd/k3bvideodvd.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/videodvd/k3bvideodvd.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/videodvd/k3bvideodvdaudiostream.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/videodvd/k3bvideodvdptt.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/videodvd/k3bvideodvdsubpicturestream.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/videodvd/k3bvideodvdtime.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/videodvd/k3bvideodvdtime.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/videodvd/k3bvideodvdtitle.h
kde-extras/k3b/k3b/branches/upstream/current/libk3b/videodvd/k3bvideodvdvideostream.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3b/videodvd/k3bvideodvdvideostream.h
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/configure.in.bot
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/configure.in.in
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bcdtext.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bcdtext.h
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bcrc.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bcrc.h
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bdebug.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bdebug.h
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bdevice.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bdevice.h
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bdevice_export.h
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bdevice_mmc.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bdeviceglobals.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bdeviceglobals.h
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bdevicemanager.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bdevicemanager.h
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bdevicetypes.h
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bdiskinfo.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bdiskinfo.h
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bhalconnection.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bhalconnection.h
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bmmc.h
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bmsf.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bmsf.h
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bscsicommand.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bscsicommand.h
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bscsicommand_bsd.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bscsicommand_linux.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3bscsicommand_netbsd.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3btoc.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3btoc.h
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3btrack.cpp
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/k3btrack.h
kde-extras/k3b/k3b/branches/upstream/current/libk3bdevice/libk3bdevice.doxy
kde-extras/k3b/k3b/branches/upstream/current/plugins/
kde-extras/k3b/k3b/branches/upstream/current/plugins/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/alsa/
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/alsa/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/alsa/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/alsa/configure.in.bot
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/alsa/configure.in.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/alsa/k3balsaoutputplugin.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/alsa/k3balsaoutputplugin.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/alsa/k3balsaoutputplugin.plugin
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/arts/
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/arts/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/arts/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/arts/k3bartsoutputplugin.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/arts/k3bartsoutputplugin.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/audiooutput/arts/k3bartsoutputplugin.plugin
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ffmpeg/
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ffmpeg/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ffmpeg/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ffmpeg/configure.in.bot
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ffmpeg/configure.in.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ffmpeg/k3bffmpegdecoder.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ffmpeg/k3bffmpegdecoder.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ffmpeg/k3bffmpegdecoder.plugin
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ffmpeg/k3bffmpegwrapper.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/flac/
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/flac/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/flac/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/flac/configure.in.bot
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/flac/configure.in.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/flac/k3bflacdecoder.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/flac/k3bflacdecoder.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/flac/k3bflacdecoder.plugin
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/libsndfile/
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/libsndfile/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/libsndfile/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/libsndfile/configure.in.bot
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/libsndfile/configure.in.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/libsndfile/k3blibsndfiledecoder.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/libsndfile/k3blibsndfiledecoder.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/libsndfile/k3blibsndfiledecoder.plugin
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/mp3/
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/mp3/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/mp3/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/mp3/configure.in.bot
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/mp3/configure.in.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/mp3/k3bmad.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/mp3/k3bmad.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/mp3/k3bmaddecoder.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/mp3/k3bmaddecoder.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/mp3/k3bmaddecoder.plugin
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/musepack/
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/musepack/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/musepack/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/musepack/configure.in.bot
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/musepack/configure.in.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/musepack/k3bmpcdecoder.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/musepack/k3bmpcdecoder.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/musepack/k3bmpcdecoder.plugin
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/musepack/k3bmpcwrapper.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/musepack/k3bmpcwrapper.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ogg/
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ogg/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ogg/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ogg/configure.in.bot
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ogg/configure.in.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ogg/k3boggvorbisdecoder.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ogg/k3boggvorbisdecoder.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/ogg/k3boggvorbisdecoder.plugin
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/skeleton.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/skeleton.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/skeleton.plugin
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/wave/
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/wave/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/wave/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/wave/k3bwavedecoder.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/wave/k3bwavedecoder.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/decoder/wave/k3bwavedecoder.plugin
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/external/
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/external/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/external/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/external/base_k3bexternalencoderconfigwidget.ui
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/external/base_k3bexternalencodereditwidget.ui
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/external/k3bexternalencoder.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/external/k3bexternalencoder.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/external/k3bexternalencoder.plugin
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/external/k3bexternalencodercommand.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/external/k3bexternalencodercommand.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/external/k3bexternalencoderconfigwidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/external/k3bexternalencoderconfigwidget.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/lame/
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/lame/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/lame/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/lame/base_k3blameencodersettingswidget.ui
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/lame/base_k3bmanualbitratesettingswidget.ui
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/lame/configure.in.bot
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/lame/configure.in.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/lame/k3blameencoder.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/lame/k3blameencoder.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/lame/k3blameencoder.plugin
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/ogg/
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/ogg/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/ogg/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/ogg/base_k3boggvorbisencodersettingswidget.ui
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/ogg/k3boggvorbisencoder.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/ogg/k3boggvorbisencoder.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/ogg/k3boggvorbisencoder.plugin
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/skeleton.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/skeleton.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/skeleton.plugin
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/sox/
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/sox/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/sox/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/sox/base_k3bsoxencoderconfigwidget.ui
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/sox/k3bsoxencoder.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/sox/k3bsoxencoder.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/encoder/sox/k3bsoxencoder.plugin
kde-extras/k3b/k3b/branches/upstream/current/plugins/project/
kde-extras/k3b/k3b/branches/upstream/current/plugins/project/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/project/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/project/audiometainforenamer/
kde-extras/k3b/k3b/branches/upstream/current/plugins/project/audiometainforenamer/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/project/audiometainforenamer/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/project/audiometainforenamer/k3baudiometainforenamerplugin.plugin
kde-extras/k3b/k3b/branches/upstream/current/plugins/project/audioprojectcddb/
kde-extras/k3b/k3b/branches/upstream/current/plugins/project/audioprojectcddb/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/plugins/project/audioprojectcddb/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.cpp
kde-extras/k3b/k3b/branches/upstream/current/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.h
kde-extras/k3b/k3b/branches/upstream/current/plugins/project/audioprojectcddb/k3baudioprojectcddbplugin.plugin
kde-extras/k3b/k3b/branches/upstream/current/src/
kde-extras/k3b/k3b/branches/upstream/current/src/IDEAS
kde-extras/k3b/k3b/branches/upstream/current/src/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/eventsrc
kde-extras/k3b/k3b/branches/upstream/current/src/fastscale/
kde-extras/k3b/k3b/branches/upstream/current/src/fastscale/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/fastscale/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/fastscale/README
kde-extras/k3b/k3b/branches/upstream/current/src/fastscale/asm_scale.S
kde-extras/k3b/k3b/branches/upstream/current/src/fastscale/configure.in.in
kde-extras/k3b/k3b/branches/upstream/current/src/fastscale/scale.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/fastscale/scale.h
kde-extras/k3b/k3b/branches/upstream/current/src/icons/
kde-extras/k3b/k3b/branches/upstream/current/src/icons/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/icons/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/cr16-action-greenled.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/cr16-action-redled.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/cr16-action-yellowinfo.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/cr16-action-yellowled.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-audiocd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-burn_cdimage.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-burn_dvdimage.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-cdburn.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-cdcopy.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-cddarip.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-datacd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-datadvd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-dvdcopy.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-emovix.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-erasecd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-formatdvd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-mixedcd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-mp3cd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-musicbrainz.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-videocd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi16-action-videodvd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi22-action-audiocd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi22-action-burn_cdimage.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi22-action-burn_dvdimage.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi22-action-cdburn.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi22-action-cdcopy.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi22-action-cddarip.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi22-action-datacd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi22-action-datadvd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi22-action-dvdcopy.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi22-action-emovix.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi22-action-erasecd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi22-action-formatdvd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi22-action-mixedcd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi22-action-mp3cd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi22-action-videocd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi22-action-videodvd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi32-action-audiocd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi32-action-burn_cdimage.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi32-action-burn_dvdimage.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi32-action-cdburn.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi32-action-cdcopy.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi32-action-cddarip.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi32-action-datacd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi32-action-datadvd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi32-action-dvdcopy.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi32-action-emovix.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi32-action-erasecd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi32-action-formatdvd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi32-action-mixedcd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi32-action-mp3cd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi32-action-videocd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi32-action-videodvd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi48-action-audiocd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi48-action-burn_cdimage.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi48-action-burn_dvdimage.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi48-action-cdburn.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi48-action-cdcopy.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi48-action-cddarip.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi48-action-datacd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi48-action-datadvd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi48-action-dvdcopy.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi48-action-emovix.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi48-action-erasecd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi48-action-formatdvd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi48-action-mixedcd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi48-action-mp3cd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi48-action-videocd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi48-action-videodvd.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hi64-action-musicbrainz.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hisc-action-audiocd.svgz
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hisc-action-burn_cdimage.svgz
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hisc-action-burn_dvdimage.svgz
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hisc-action-cdburn.svgz
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hisc-action-cdcopy.svgz
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hisc-action-cddarip.svgz
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hisc-action-datacd.svgz
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hisc-action-datadvd.svgz
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hisc-action-dvdcopy.svgz
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hisc-action-emovix.svgz
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hisc-action-erasecd.svgz
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hisc-action-formatdvd.svgz
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hisc-action-mixedcd.svgz
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hisc-action-mp3cd.svgz
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hisc-action-videocd.svgz
kde-extras/k3b/k3b/branches/upstream/current/src/icons/actions/hisc-action-videodvd.svgz
kde-extras/k3b/k3b/branches/upstream/current/src/icons/hi128-app-k3b.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/hi16-app-k3b.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/hi22-app-k3b.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/hi32-app-k3b.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/hi48-app-k3b.png
kde-extras/k3b/k3b/branches/upstream/current/src/icons/hi64-app-k3b.png
kde-extras/k3b/k3b/branches/upstream/current/src/k3b-cue.desktop
kde-extras/k3b/k3b/branches/upstream/current/src/k3b-iso.desktop
kde-extras/k3b/k3b/branches/upstream/current/src/k3b.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3b.desktop
kde-extras/k3b/k3b/branches/upstream/current/src/k3b.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bappdevicemanager.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bappdevicemanager.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bapplication.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bapplication.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3baudioplayer.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3baudioplayer.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3baudioprojectinterface.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3baudioprojectinterface.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bburnprogressdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bburnprogressdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bcontentsview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bcontentsview.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bdatamodewidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bdatamodewidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bdataprojectinterface.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bdataprojectinterface.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bdebuggingoutputdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bdebuggingoutputdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bdebuggingoutputfile.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bdebuggingoutputfile.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bdiroperator.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bdiroperator.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bdirview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bdirview.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bdiskinfoview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bdiskinfoview.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bemptydiscwaiter.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bemptydiscwaiter.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bfiletreecombobox.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bfiletreecombobox.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bfiletreeview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bfiletreeview.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bfileview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bfileview.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bfirstrun.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bfirstrun.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bflatbutton.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bflatbutton.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3binteractiondialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3binteractiondialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3binterface.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3binterface.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bjobinterface.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bjobinterface.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bjobprogressdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bjobprogressdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bjobprogressosd.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bjobprogressosd.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3blsofwrapper.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3blsofwrapper.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3blsofwrapperdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3blsofwrapperdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bmediacache.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bmediacache.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bmediacontentsview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bmediacontentsview.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bmediaselectioncombobox.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bmediaselectioncombobox.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bmediaselectiondialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bmediaselectiondialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bmedium.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bmedium.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bminibutton.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bminibutton.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bmixedprojectinterface.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bmixedprojectinterface.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bmusicbrainz.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bmusicbrainz.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bpassivepopup.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bpassivepopup.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bprojectinterface.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bprojectinterface.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bprojectmanager.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bprojectmanager.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bprojecttabwidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bprojecttabwidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bservicemenuinstaller.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bservicemenuinstaller.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bsidepanel.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bsidepanel.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bsplash.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bsplash.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bstatusbarmanager.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bstatusbarmanager.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bsystemproblemdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bsystemproblemdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3btempdirselectionwidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3btempdirselectionwidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bthemedheader.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bthemedheader.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bthemedlabel.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bthemedlabel.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bthememanager.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bthememanager.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3btimeoutwidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3btimeoutwidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3btooltip.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3btooltip.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3btrm.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3btrm.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bui.rc
kde-extras/k3b/k3b/branches/upstream/current/src/k3bwelcomewidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bwelcomewidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bwidgetshoweffect.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bwidgetshoweffect.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bwriterselectionwidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bwriterselectionwidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/k3bwritingmodewidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/k3bwritingmodewidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/konqi/
kde-extras/k3b/k3b/branches/upstream/current/src/konqi/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/konqi/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/konqi/k3b_audiocd_rip.desktop
kde-extras/k3b/k3b/branches/upstream/current/src/konqi/k3b_cd_copy.desktop
kde-extras/k3b/k3b/branches/upstream/current/src/konqi/k3b_create_audio_cd.desktop
kde-extras/k3b/k3b/branches/upstream/current/src/konqi/k3b_create_data_cd.desktop
kde-extras/k3b/k3b/branches/upstream/current/src/konqi/k3b_create_data_dvd.desktop
kde-extras/k3b/k3b/branches/upstream/current/src/konqi/k3b_create_video_cd.desktop
kde-extras/k3b/k3b/branches/upstream/current/src/konqi/k3b_dvd_copy.desktop
kde-extras/k3b/k3b/branches/upstream/current/src/konqi/k3b_handle_empty_cd.desktop
kde-extras/k3b/k3b/branches/upstream/current/src/konqi/k3b_handle_empty_dvd.desktop
kde-extras/k3b/k3b/branches/upstream/current/src/konqi/k3b_videodvd_rip.desktop
kde-extras/k3b/k3b/branches/upstream/current/src/konqi/k3b_write_bin_image.desktop
kde-extras/k3b/k3b/branches/upstream/current/src/konqi/k3b_write_iso_image.desktop
kde-extras/k3b/k3b/branches/upstream/current/src/main.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/mimetypes/
kde-extras/k3b/k3b/branches/upstream/current/src/mimetypes/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/mimetypes/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/mimetypes/x-k3b.desktop
kde-extras/k3b/k3b/branches/upstream/current/src/misc/
kde-extras/k3b/k3b/branches/upstream/current/src/misc/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/misc/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/misc/k3bblankingdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/misc/k3bblankingdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/misc/k3bcdcopydialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/misc/k3bcdcopydialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/misc/k3bcdimagewritingdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/misc/k3bcdimagewritingdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/misc/k3bdvdcopydialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/misc/k3bdvdcopydialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/misc/k3bdvdformattingdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/misc/k3bdvdformattingdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/misc/k3bisoimagewritingdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/misc/k3bisoimagewritingdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/option/
kde-extras/k3b/k3b/branches/upstream/current/src/option/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/option/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/option/base_k3bcddboptiontab.ui
kde-extras/k3b/k3b/branches/upstream/current/src/option/base_k3bmiscoptiontab.ui
kde-extras/k3b/k3b/branches/upstream/current/src/option/base_k3bpluginoptiontab.ui
kde-extras/k3b/k3b/branches/upstream/current/src/option/base_k3bthemeoptiontab.ui
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bburningoptiontab.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bburningoptiontab.h
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bcddboptiontab.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bcddboptiontab.h
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bdeviceoptiontab.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bdeviceoptiontab.h
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bdevicewidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bdevicewidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bexternalbinoptiontab.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bexternalbinoptiontab.h
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bexternalbinwidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bexternalbinwidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bmiscoptiontab.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bmiscoptiontab.h
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bnotifyoptiontab.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bnotifyoptiontab.h
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3boptiondialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3boptiondialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bpluginoptiontab.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bpluginoptiontab.h
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bthemeoptiontab.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/option/k3bthemeoptiontab.h
kde-extras/k3b/k3b/branches/upstream/current/src/pics/
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/dialog_left.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/dialog_right.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/k3b.theme
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/media_audio.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/media_data.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/media_empty.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/media_left.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/media_mixed.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/media_none.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/media_video.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/probing.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/progress_fail.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/progress_right.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/progress_success.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/progress_working.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/project_left.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/project_right.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/splash.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/73lab/welcome_bg.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/pics/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/dialog_left.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/dialog_right.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/k3b.theme
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/media_audio.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/media_data.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/media_empty.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/media_left.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/media_mixed.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/media_none.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/media_video.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/progress_fail.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/progress_right.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/progress_success.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/progress_working.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/project_left.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/project_right.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/splash.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/RobsTheme/welcome_bg.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/dialog_left.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/dialog_right.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/k3b.theme
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/media_audio.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/media_data.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/media_empty.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/media_left.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/media_mixed.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/media_none.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/media_video.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/probing.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/progress_fail.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/progress_right.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/progress_success.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/progress_working.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/project_left.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/project_right.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/splash.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/crystal/welcome_bg.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/dialog_left.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/dialog_right.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/k3b.theme
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/media_audio.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/media_data.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/media_empty.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/media_left.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/media_mixed.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/media_none.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/media_video.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/progress_fail.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/progress_right.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/progress_success.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/progress_working.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/project_left.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/project_right.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/splash.png
kde-extras/k3b/k3b/branches/upstream/current/src/pics/quant/welcome_bg.png
kde-extras/k3b/k3b/branches/upstream/current/src/projects/
kde-extras/k3b/k3b/branches/upstream/current/src/projects/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/projects/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/projects/base_k3badvanceddataimagesettings.ui
kde-extras/k3b/k3b/branches/upstream/current/src/projects/base_k3baudiocdtextallfieldswidget.ui
kde-extras/k3b/k3b/branches/upstream/current/src/projects/base_k3baudiocdtextwidget.ui
kde-extras/k3b/k3b/branches/upstream/current/src/projects/base_k3baudiotrackwidget.ui
kde-extras/k3b/k3b/branches/upstream/current/src/projects/base_k3bbootimageview.ui
kde-extras/k3b/k3b/branches/upstream/current/src/projects/base_k3bdataimagesettings.ui
kde-extras/k3b/k3b/branches/upstream/current/src/projects/base_k3bdatavolumedescwidget.ui
kde-extras/k3b/k3b/branches/upstream/current/src/projects/base_k3bmovixoptionswidget.ui
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudioburndialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudioburndialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiocdtextwidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiocdtextwidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiodatasourceeditwidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiodatasourceeditwidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiodatasourceviewitem.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiodatasourceviewitem.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudioeditorwidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudioeditorwidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiotrackaddingdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiotrackaddingdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiotrackdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiotrackdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiotrackplayer.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiotrackplayer.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiotracksplitdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiotracksplitdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiotracktrmlookupdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiotracktrmlookupdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiotrackview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiotrackview.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiotrackviewitem.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiotrackviewitem.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiotrackwidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudiotrackwidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudioview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3baudioview.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bbootimagedialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bbootimagedialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bbootimageview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bbootimageview.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdataadvancedimagesettingswidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdataadvancedimagesettingswidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdataburndialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdataburndialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdatadirtreeview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdatadirtreeview.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdatafileview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdatafileview.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdataimagesettingswidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdataimagesettingswidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdatamultisessioncombobox.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdatamultisessioncombobox.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdatapropertiesdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdatapropertiesdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdatasessionimportdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdatasessionimportdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdataurladdingdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdataurladdingdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdataview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdataview.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdataviewitem.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdataviewitem.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdatavolumedescwidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdatavolumedescwidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdvdburndialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdvdburndialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdvdview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bdvdview.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bencodingconverter.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bencodingconverter.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bfillstatusdisplay.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bfillstatusdisplay.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmixedburndialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmixedburndialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmixeddirtreeview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmixeddirtreeview.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmixedview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmixedview.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmovixburndialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmovixburndialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmovixdvdburndialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmovixdvdburndialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmovixdvdview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmovixdvdview.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmovixlistview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmovixlistview.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmovixoptionswidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmovixoptionswidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmovixview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmovixview.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmusicbrainzjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bmusicbrainzjob.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bprojectburndialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bprojectburndialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bprojectplugindialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bprojectplugindialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bvcdburndialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bvcdburndialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bvcdlistview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bvcdlistview.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bvcdlistviewitem.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bvcdlistviewitem.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bvcdtrackdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bvcdtrackdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bvcdview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bvcdview.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bvideodvdburndialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bvideodvdburndialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bvideodvdview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bvideodvdview.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/projects/k3bview.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/kostore/
kde-extras/k3b/k3b/branches/upstream/current/src/projects/kostore/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/projects/kostore/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/projects/kostore/README.k3b
kde-extras/k3b/k3b/branches/upstream/current/src/projects/kostore/SPEC
kde-extras/k3b/k3b/branches/upstream/current/src/projects/kostore/koStore.cc
kde-extras/k3b/k3b/branches/upstream/current/src/projects/kostore/koStore.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/kostore/koStoreBase.cc
kde-extras/k3b/k3b/branches/upstream/current/src/projects/kostore/koStoreBase.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/kostore/koStoreDevice.h
kde-extras/k3b/k3b/branches/upstream/current/src/projects/kostore/koZipStore.cc
kde-extras/k3b/k3b/branches/upstream/current/src/projects/kostore/koZipStore.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/
kde-extras/k3b/k3b/branches/upstream/current/src/rip/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/rip/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/rip/base_k3baudiorippingoptionwidget.ui
kde-extras/k3b/k3b/branches/upstream/current/src/rip/base_k3bcddbpatternwidget.ui
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3baudiocdlistview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3baudiocdlistview.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3baudiocdview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3baudiocdview.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3baudioconvertingoptionwidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3baudioconvertingoptionwidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3baudioprojectconvertingdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3baudioprojectconvertingdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3baudioprojectconvertingthread.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3baudioprojectconvertingthread.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3baudioripjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3baudioripjob.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3baudiorippingdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3baudiorippingdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3baudioripthread.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3baudioripthread.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3bcddbpatternwidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3bcddbpatternwidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3bcuefilewriter.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3bcuefilewriter.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3bpatternparser.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3bpatternparser.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3bvideocdinfo.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3bvideocdinfo.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3bvideocdrip.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3bvideocdrip.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3bvideocdrippingdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3bvideocdrippingdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3bvideocdrippingoptions.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3bvideocdview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/k3bvideocdview.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/videodvd/
kde-extras/k3b/k3b/branches/upstream/current/src/rip/videodvd/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/rip/videodvd/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/rip/videodvd/base_k3bvideodvdrippingwidget.ui
kde-extras/k3b/k3b/branches/upstream/current/src/rip/videodvd/k3bvideodvdrippingdialog.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/videodvd/k3bvideodvdrippingdialog.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/videodvd/k3bvideodvdrippingjob.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/videodvd/k3bvideodvdrippingjob.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/videodvd/k3bvideodvdrippingpreview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/videodvd/k3bvideodvdrippingpreview.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/videodvd/k3bvideodvdrippingtitlelistview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/videodvd/k3bvideodvdrippingtitlelistview.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/videodvd/k3bvideodvdrippingview.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/videodvd/k3bvideodvdrippingview.h
kde-extras/k3b/k3b/branches/upstream/current/src/rip/videodvd/k3bvideodvdrippingwidget.cpp
kde-extras/k3b/k3b/branches/upstream/current/src/rip/videodvd/k3bvideodvdrippingwidget.h
kde-extras/k3b/k3b/branches/upstream/current/src/sounds/
kde-extras/k3b/k3b/branches/upstream/current/src/sounds/Makefile.am
kde-extras/k3b/k3b/branches/upstream/current/src/sounds/Makefile.in
kde-extras/k3b/k3b/branches/upstream/current/src/sounds/k3b_error1.wav
kde-extras/k3b/k3b/branches/upstream/current/src/sounds/k3b_success1.wav
kde-extras/k3b/k3b/branches/upstream/current/src/sounds/k3b_wait_media1.wav
kde-extras/k3b/k3b/branches/upstream/current/src/sourceheader
kde-extras/k3b/k3b/branches/upstream/current/src/tips
kde-extras/k3b/k3b/branches/upstream/current/stamp-h.in
kde-extras/k3b/k3b/branches/upstream/current/subdirs
Log:
[svn-inject] Installing original source of k3b
Added: kde-extras/k3b/k3b/branches/upstream/current/AUTHORS
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/AUTHORS (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/AUTHORS 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,2 @@
+Sebastian Trueg <trueg at k3b.org>
+Christian Kvasny <chris at k3b.org>
Added: kde-extras/k3b/k3b/branches/upstream/current/COPYING
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/COPYING (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/COPYING 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,280 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 51 Franklin Steet, Fifth Floor, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
Added: kde-extras/k3b/k3b/branches/upstream/current/COPYING-DOCS
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/COPYING-DOCS (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/COPYING-DOCS 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,397 @@
+ GNU Free Documentation License
+ Version 1.2, November 2002
+
+
+ Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+0. PREAMBLE
+
+The purpose of this License is to make a manual, textbook, or other
+functional and useful document "free" in the sense of freedom: to
+assure everyone the effective freedom to copy and redistribute it,
+with or without modifying it, either commercially or noncommercially.
+Secondarily, this License preserves for the author and publisher a way
+to get credit for their work, while not being considered responsible
+for modifications made by others.
+
+This License is a kind of "copyleft", which means that derivative
+works of the document must themselves be free in the same sense. It
+complements the GNU General Public License, which is a copyleft
+license designed for free software.
+
+We have designed this License in order to use it for manuals for free
+software, because free software needs free documentation: a free
+program should come with manuals providing the same freedoms that the
+software does. But this License is not limited to software manuals;
+it can be used for any textual work, regardless of subject matter or
+whether it is published as a printed book. We recommend this License
+principally for works whose purpose is instruction or reference.
+
+
+1. APPLICABILITY AND DEFINITIONS
+
+This License applies to any manual or other work, in any medium, that
+contains a notice placed by the copyright holder saying it can be
+distributed under the terms of this License. Such a notice grants a
+world-wide, royalty-free license, unlimited in duration, to use that
+work under the conditions stated herein. The "Document", below,
+refers to any such manual or work. Any member of the public is a
+licensee, and is addressed as "you". You accept the license if you
+copy, modify or distribute the work in a way requiring permission
+under copyright law.
+
+A "Modified Version" of the Document means any work containing the
+Document or a portion of it, either copied verbatim, or with
+modifications and/or translated into another language.
+
+A "Secondary Section" is a named appendix or a front-matter section of
+the Document that deals exclusively with the relationship of the
+publishers or authors of the Document to the Document's overall subject
+(or to related matters) and contains nothing that could fall directly
+within that overall subject. (Thus, if the Document is in part a
+textbook of mathematics, a Secondary Section may not explain any
+mathematics.) The relationship could be a matter of historical
+connection with the subject or with related matters, or of legal,
+commercial, philosophical, ethical or political position regarding
+them.
+
+The "Invariant Sections" are certain Secondary Sections whose titles
+are designated, as being those of Invariant Sections, in the notice
+that says that the Document is released under this License. If a
+section does not fit the above definition of Secondary then it is not
+allowed to be designated as Invariant. The Document may contain zero
+Invariant Sections. If the Document does not identify any Invariant
+Sections then there are none.
+
+The "Cover Texts" are certain short passages of text that are listed,
+as Front-Cover Texts or Back-Cover Texts, in the notice that says that
+the Document is released under this License. A Front-Cover Text may
+be at most 5 words, and a Back-Cover Text may be at most 25 words.
+
+A "Transparent" copy of the Document means a machine-readable copy,
+represented in a format whose specification is available to the
+general public, that is suitable for revising the document
+straightforwardly with generic text editors or (for images composed of
+pixels) generic paint programs or (for drawings) some widely available
+drawing editor, and that is suitable for input to text formatters or
+for automatic translation to a variety of formats suitable for input
+to text formatters. A copy made in an otherwise Transparent file
+format whose markup, or absence of markup, has been arranged to thwart
+or discourage subsequent modification by readers is not Transparent.
+An image format is not Transparent if used for any substantial amount
+of text. A copy that is not "Transparent" is called "Opaque".
+
+Examples of suitable formats for Transparent copies include plain
+ASCII without markup, Texinfo input format, LaTeX input format, SGML
+or XML using a publicly available DTD, and standard-conforming simple
+HTML, PostScript or PDF designed for human modification. Examples of
+transparent image formats include PNG, XCF and JPG. Opaque formats
+include proprietary formats that can be read and edited only by
+proprietary word processors, SGML or XML for which the DTD and/or
+processing tools are not generally available, and the
+machine-generated HTML, PostScript or PDF produced by some word
+processors for output purposes only.
+
+The "Title Page" means, for a printed book, the title page itself,
+plus such following pages as are needed to hold, legibly, the material
+this License requires to appear in the title page. For works in
+formats which do not have any title page as such, "Title Page" means
+the text near the most prominent appearance of the work's title,
+preceding the beginning of the body of the text.
+
+A section "Entitled XYZ" means a named subunit of the Document whose
+title either is precisely XYZ or contains XYZ in parentheses following
+text that translates XYZ in another language. (Here XYZ stands for a
+specific section name mentioned below, such as "Acknowledgements",
+"Dedications", "Endorsements", or "History".) To "Preserve the Title"
+of such a section when you modify the Document means that it remains a
+section "Entitled XYZ" according to this definition.
+
+The Document may include Warranty Disclaimers next to the notice which
+states that this License applies to the Document. These Warranty
+Disclaimers are considered to be included by reference in this
+License, but only as regards disclaiming warranties: any other
+implication that these Warranty Disclaimers may have is void and has
+no effect on the meaning of this License.
+
+
+2. VERBATIM COPYING
+
+You may copy and distribute the Document in any medium, either
+commercially or noncommercially, provided that this License, the
+copyright notices, and the license notice saying this License applies
+to the Document are reproduced in all copies, and that you add no other
+conditions whatsoever to those of this License. You may not use
+technical measures to obstruct or control the reading or further
+copying of the copies you make or distribute. However, you may accept
+compensation in exchange for copies. If you distribute a large enough
+number of copies you must also follow the conditions in section 3.
+
+You may also lend copies, under the same conditions stated above, and
+you may publicly display copies.
+
+
+3. COPYING IN QUANTITY
+
+If you publish printed copies (or copies in media that commonly have
+printed covers) of the Document, numbering more than 100, and the
+Document's license notice requires Cover Texts, you must enclose the
+copies in covers that carry, clearly and legibly, all these Cover
+Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
+the back cover. Both covers must also clearly and legibly identify
+you as the publisher of these copies. The front cover must present
+the full title with all words of the title equally prominent and
+visible. You may add other material on the covers in addition.
+Copying with changes limited to the covers, as long as they preserve
+the title of the Document and satisfy these conditions, can be treated
+as verbatim copying in other respects.
+
+If the required texts for either cover are too voluminous to fit
+legibly, you should put the first ones listed (as many as fit
+reasonably) on the actual cover, and continue the rest onto adjacent
+pages.
+
+If you publish or distribute Opaque copies of the Document numbering
+more than 100, you must either include a machine-readable Transparent
+copy along with each Opaque copy, or state in or with each Opaque copy
+a computer-network location from which the general network-using
+public has access to download using public-standard network protocols
+a complete Transparent copy of the Document, free of added material.
+If you use the latter option, you must take reasonably prudent steps,
+when you begin distribution of Opaque copies in quantity, to ensure
+that this Transparent copy will remain thus accessible at the stated
+location until at least one year after the last time you distribute an
+Opaque copy (directly or through your agents or retailers) of that
+edition to the public.
+
+It is requested, but not required, that you contact the authors of the
+Document well before redistributing any large number of copies, to give
+them a chance to provide you with an updated version of the Document.
+
+
+4. MODIFICATIONS
+
+You may copy and distribute a Modified Version of the Document under
+the conditions of sections 2 and 3 above, provided that you release
+the Modified Version under precisely this License, with the Modified
+Version filling the role of the Document, thus licensing distribution
+and modification of the Modified Version to whoever possesses a copy
+of it. In addition, you must do these things in the Modified Version:
+
+A. Use in the Title Page (and on the covers, if any) a title distinct
+ from that of the Document, and from those of previous versions
+ (which should, if there were any, be listed in the History section
+ of the Document). You may use the same title as a previous version
+ if the original publisher of that version gives permission.
+B. List on the Title Page, as authors, one or more persons or entities
+ responsible for authorship of the modifications in the Modified
+ Version, together with at least five of the principal authors of the
+ Document (all of its principal authors, if it has fewer than five),
+ unless they release you from this requirement.
+C. State on the Title page the name of the publisher of the
+ Modified Version, as the publisher.
+D. Preserve all the copyright notices of the Document.
+E. Add an appropriate copyright notice for your modifications
+ adjacent to the other copyright notices.
+F. Include, immediately after the copyright notices, a license notice
+ giving the public permission to use the Modified Version under the
+ terms of this License, in the form shown in the Addendum below.
+G. Preserve in that license notice the full lists of Invariant Sections
+ and required Cover Texts given in the Document's license notice.
+H. Include an unaltered copy of this License.
+I. Preserve the section Entitled "History", Preserve its Title, and add
+ to it an item stating at least the title, year, new authors, and
+ publisher of the Modified Version as given on the Title Page. If
+ there is no section Entitled "History" in the Document, create one
+ stating the title, year, authors, and publisher of the Document as
+ given on its Title Page, then add an item describing the Modified
+ Version as stated in the previous sentence.
+J. Preserve the network location, if any, given in the Document for
+ public access to a Transparent copy of the Document, and likewise
+ the network locations given in the Document for previous versions
+ it was based on. These may be placed in the "History" section.
+ You may omit a network location for a work that was published at
+ least four years before the Document itself, or if the original
+ publisher of the version it refers to gives permission.
+K. For any section Entitled "Acknowledgements" or "Dedications",
+ Preserve the Title of the section, and preserve in the section all
+ the substance and tone of each of the contributor acknowledgements
+ and/or dedications given therein.
+L. Preserve all the Invariant Sections of the Document,
+ unaltered in their text and in their titles. Section numbers
+ or the equivalent are not considered part of the section titles.
+M. Delete any section Entitled "Endorsements". Such a section
+ may not be included in the Modified Version.
+N. Do not retitle any existing section to be Entitled "Endorsements"
+ or to conflict in title with any Invariant Section.
+O. Preserve any Warranty Disclaimers.
+
+If the Modified Version includes new front-matter sections or
+appendices that qualify as Secondary Sections and contain no material
+copied from the Document, you may at your option designate some or all
+of these sections as invariant. To do this, add their titles to the
+list of Invariant Sections in the Modified Version's license notice.
+These titles must be distinct from any other section titles.
+
+You may add a section Entitled "Endorsements", provided it contains
+nothing but endorsements of your Modified Version by various
+parties--for example, statements of peer review or that the text has
+been approved by an organization as the authoritative definition of a
+standard.
+
+You may add a passage of up to five words as a Front-Cover Text, and a
+passage of up to 25 words as a Back-Cover Text, to the end of the list
+of Cover Texts in the Modified Version. Only one passage of
+Front-Cover Text and one of Back-Cover Text may be added by (or
+through arrangements made by) any one entity. If the Document already
+includes a cover text for the same cover, previously added by you or
+by arrangement made by the same entity you are acting on behalf of,
+you may not add another; but you may replace the old one, on explicit
+permission from the previous publisher that added the old one.
+
+The author(s) and publisher(s) of the Document do not by this License
+give permission to use their names for publicity for or to assert or
+imply endorsement of any Modified Version.
+
+
+5. COMBINING DOCUMENTS
+
+You may combine the Document with other documents released under this
+License, under the terms defined in section 4 above for modified
+versions, provided that you include in the combination all of the
+Invariant Sections of all of the original documents, unmodified, and
+list them all as Invariant Sections of your combined work in its
+license notice, and that you preserve all their Warranty Disclaimers.
+
+The combined work need only contain one copy of this License, and
+multiple identical Invariant Sections may be replaced with a single
+copy. If there are multiple Invariant Sections with the same name but
+different contents, make the title of each such section unique by
+adding at the end of it, in parentheses, the name of the original
+author or publisher of that section if known, or else a unique number.
+Make the same adjustment to the section titles in the list of
+Invariant Sections in the license notice of the combined work.
+
+In the combination, you must combine any sections Entitled "History"
+in the various original documents, forming one section Entitled
+"History"; likewise combine any sections Entitled "Acknowledgements",
+and any sections Entitled "Dedications". You must delete all sections
+Entitled "Endorsements".
+
+
+6. COLLECTIONS OF DOCUMENTS
+
+You may make a collection consisting of the Document and other documents
+released under this License, and replace the individual copies of this
+License in the various documents with a single copy that is included in
+the collection, provided that you follow the rules of this License for
+verbatim copying of each of the documents in all other respects.
+
+You may extract a single document from such a collection, and distribute
+it individually under this License, provided you insert a copy of this
+License into the extracted document, and follow this License in all
+other respects regarding verbatim copying of that document.
+
+
+7. AGGREGATION WITH INDEPENDENT WORKS
+
+A compilation of the Document or its derivatives with other separate
+and independent documents or works, in or on a volume of a storage or
+distribution medium, is called an "aggregate" if the copyright
+resulting from the compilation is not used to limit the legal rights
+of the compilation's users beyond what the individual works permit.
+When the Document is included in an aggregate, this License does not
+apply to the other works in the aggregate which are not themselves
+derivative works of the Document.
+
+If the Cover Text requirement of section 3 is applicable to these
+copies of the Document, then if the Document is less than one half of
+the entire aggregate, the Document's Cover Texts may be placed on
+covers that bracket the Document within the aggregate, or the
+electronic equivalent of covers if the Document is in electronic form.
+Otherwise they must appear on printed covers that bracket the whole
+aggregate.
+
+
+8. TRANSLATION
+
+Translation is considered a kind of modification, so you may
+distribute translations of the Document under the terms of section 4.
+Replacing Invariant Sections with translations requires special
+permission from their copyright holders, but you may include
+translations of some or all Invariant Sections in addition to the
+original versions of these Invariant Sections. You may include a
+translation of this License, and all the license notices in the
+Document, and any Warranty Disclaimers, provided that you also include
+the original English version of this License and the original versions
+of those notices and disclaimers. In case of a disagreement between
+the translation and the original version of this License or a notice
+or disclaimer, the original version will prevail.
+
+If a section in the Document is Entitled "Acknowledgements",
+"Dedications", or "History", the requirement (section 4) to Preserve
+its Title (section 1) will typically require changing the actual
+title.
+
+
+9. TERMINATION
+
+You may not copy, modify, sublicense, or distribute the Document except
+as expressly provided for under this License. Any other attempt to
+copy, modify, sublicense or distribute the Document is void, and will
+automatically terminate your rights under this License. However,
+parties who have received copies, or rights, from you under this
+License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+
+10. FUTURE REVISIONS OF THIS LICENSE
+
+The Free Software Foundation may publish new, revised versions
+of the GNU Free Documentation License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns. See
+http://www.gnu.org/copyleft/.
+
+Each version of the License is given a distinguishing version number.
+If the Document specifies that a particular numbered version of this
+License "or any later version" applies to it, you have the option of
+following the terms and conditions either of that specified version or
+of any later version that has been published (not as a draft) by the
+Free Software Foundation. If the Document does not specify a version
+number of this License, you may choose any version ever published (not
+as a draft) by the Free Software Foundation.
+
+
+ADDENDUM: How to use this License for your documents
+
+To use this License in a document you have written, include a copy of
+the License in the document and put the following copyright and
+license notices just after the title page:
+
+ Copyright (c) YEAR YOUR NAME.
+ Permission is granted to copy, distribute and/or modify this document
+ under the terms of the GNU Free Documentation License, Version 1.2
+ or any later version published by the Free Software Foundation;
+ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+ A copy of the license is included in the section entitled "GNU
+ Free Documentation License".
+
+If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
+replace the "with...Texts." line with this:
+
+ with the Invariant Sections being LIST THEIR TITLES, with the
+ Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
+
+If you have Invariant Sections without Cover Texts, or some other
+combination of the three, merge those two alternatives to suit the
+situation.
+
+If your document contains nontrivial examples of program code, we
+recommend releasing these examples in parallel under your choice of
+free software license, such as the GNU General Public License,
+to permit their use in free software.
Added: kde-extras/k3b/k3b/branches/upstream/current/ChangeLog
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/ChangeLog (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/ChangeLog 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,737 @@
+1.0.4
+=====
+ * Never use growisofs parameter -dvd-compat with DVD-RW media in restricted overwrite mode
+ * Unmount medium before DVD formatting
+ * Silently (without introducing new strings for translation) allow the burning of files
+ bigger than 4 GB with appropriate versions of genisoimage or mkisofs.
+ * Do only reload the medium before verification if necessary, i.e. if the newly written
+ track cannot be read otherwise (many old drives depend on this). Hopefully this will
+ at least work around the aweful "DMA disabled" bug for many users.
+
+1.0.3
+=====
+ * Reverted to old behaviour of reloading medium before verification. Not enough
+ testing had been done before introducing this and some systems fail to read the
+ medium before reload (Bugs 147297, 147328, 147420, 147698).
+ * Do not crash when the currently playing audio project item is removed (Bug 147548).
+ * Added desktop actions to handle empty media with K3b.
+ * Fixed read retry when reading data tracks (Bug 147778)
+ * K3b's dialogs now honor the global button layout setting (Bug 147799)
+ * Do not crash on mp3 files without tags if compiled with taglib support (Bug 142651)
+ * Do not allow to copy a rewritable media to itself.
+ * Fixed crash on startup with devices that return bogus GET PERFORMANCE data (Bug 147676)
+
+1.0.2
+=====
+ * Properly determine the capacity of complete CD-R(W) media.
+ * Mark a data project as modified if files are renamed.
+ * Allow adding of all actions to the welcome window (Bug 145866)
+ * Added "NoDisplay=true" property to k3b-cue.desktop and k3b-iso.desktop
+ * Fixed supported write speed detection on some devices
+ * No reload before verification and between writing sessions (CD copy + Mixed Mode CD) anymore
+
+1.0.1
+=====
+ * Fixed crash when using the Device menu without a selected device.
+ * Fixed DVD copy when reading from a DVD+RW.
+ * Fixed --without-alsa configure check
+ * Fixed a crash in Video DVD ripping when the title does not contain an audio stream
+ * Only use the mkisofs parameters -biblio, -copyright, and -abstract if they have been set. Using them
+ with invalid values (empty) seems to result in broken iso images sometimes.
+ * Better compatibility with recent transcode development branch
+ * Fixed Multisession import size handling.
+ * Fixed Lame quality preset handling.
+ * Made libk3bdevice really thread-safe. This fixes the disabled DMA bug!
+ * New configure check --without-cdrecord-suid-root to disable K3b's check for cdrecord permissions.
+ Although not recommended it is requested by many distributors.
+ * Changed the order of the buttons in the tool dialogs to match the KDE order.
+ * Added handling of the newly introduced genisoimage parameter -allow-limited-size
+ * Make the K3b Sox audio encoder plugin work with newer sox versions (Thanks, Stephan.)
+
+1.0
+===
+ * K3b now includes a VideoDVD kio slave. It can be used in Konqueror through the protocol videodvd:/
+ to copy the files from a VideoDVD with on-the-fly decryption if libdvdcss is installed.
+ (Be aware that in some countries it is not permitted to use libdvdcss.)
+ * New Device menu containing all the actions possible for a device (like eject, unmount, ...).
+ This includes the possibility of assigning shortcuts to these kind of actions.
+ * K3b now warns if user parameters for external programs have been specified. This has been introduced
+ because there were some bug report that were caused by faulty user parameters.
+ * Cleaned up all the job classes: No job creates a widget anymore. This allows for non-GUI usage of libk3b.
+ For example in a kioslave.
+ * New option in the data project to not cache the inodes. That means it is possible to have multiple
+ actual copies of the same file on one CD/DVD.
+ * K3b now tries to disable stuff that might influence the burning process. This includes the KDED module
+ mediamanager, SuSEPlugger, and automounting (currently supported: subfs, supermount).
+ * New Audio Track source editor dialog to cut audio track sources at the beginning and the end.
+ * Splitted "read retries" and "ignore read errors" for data and audio sectors in cd copy and set new
+ defaults for audio sectors which make more sense: 5 retires and skip unreadable sectors.
+ * New Mediamanager which makes K3b always know which device contains which medium. This makes medium handling
+ more smooth and the user now selects a medium instead of a device.
+ Other advantages:
+ - No waiting time anymore when asking for information on media (including for example Audio CD ripping).
+ - Nice default image filenames.
+ - CD Copy: Enable/disable options based on the source medium
+ - Automatically select newly inserted media as burning medium
+ * DCOP call directBurn() now returns a boolean value stating if the process could be started.
+ * New DCOP calls cddaRip(), videocdrip(), and videodvdrip() with media:/ url support.
+ * K3b can now handle media:/ urls from the command line to specify devices
+ * Better Lame settings dialog. Easier to use for the novice user and better defaults.
+ * Nicer Ogg Vorbis encoder settings dialog.
+ * K3b now shows the DVD Medium ID in the disk information view.
+ * K3b now displays a rough estimate on the remaining time for the current job.
+ * New automatic media size mode for the projects. This means K3b uses the size from an inserted medium
+ for the project maximum size.
+ * Make a suggestion for the filename when saving a project based on the Volume ID (data projects) or the
+ CD-Text title (Audio CD)
+ * The Audio encoder plugins are now able to provide (very simplistic) user feedback in case of an error.
+ * New settings "Swap byte order" and "Write Wave header" in the audio encoding plugin using external apps.
+ This makes way for the usage of such programs as mppenc to encode Musepack files. In fact, mppenc is set up
+ as a default along with flac if installed.
+ * New DCOP interface: K3bJobInterface which provides DCOP signals for the currently running job. It may,
+ for example, be used to provide information to a Karamba module.
+ * New KFile plugin for K3b projects. For now it only shows the type of the project (Data DVD or Audio CD or ...)
+ but may be extended to show arbitrary information.
+ * K3b now chooses default image names based on the project name or the volumeid/cdtext title in case of
+ CD/DVD copy.
+ * The K3b Project DCOP Interface now uses the QString type for url parameters instead of KURL.
+ * Save/load audio cd track sources in audio projects
+ * Display a beautified volume id. For example: THE_TRANSPORTER -> The Transporter
+ * Check if the image directory exists before starting to create a project image
+ * Possibility to hide the OSD temporarily for one process.
+ * Completely rewritten Video DVD ripping and transcoding support:
+ - Simple on-the-fly transcoding of Video DVD titles
+ - Interface similar to Audio CD ripping
+ - Preview images in the ripping window
+ - Automatic clipping
+ - Simple resizing with automatic aspect ratio handling
+ * File System presets for all data projects including all the advanced options.
+ * Completely rewritten data project verification
+ - K3b now compares the written image instead of the single files
+ - Verification of Video DVD projects
+ * Little GUI changes:
+ - Changed the dialog layout in the action dialogs.
+ - Simplified the layout of the burn dialogs for data projects (more advanced settings hidden)
+ - Improved theme support (transparent themes)
+ * Device buffer status display for DVD burning with growisofs >= 7.0
+ * Support for Audio CD ripping with libcdio instead of libcdparanoia
+ * Support for Cdrkit, the Debian fork of cdrtools
+
+0.12.17
+=======
+ * Fixed saving/loading of the file view configuration.
+ * Improved ffmpeg autoconf check.
+ * More FreeBSD Compile fixes (thanks to Heiner Eichmann).
+ * Fixed symbolic link handling in data projects (a bug introduced in 0.12.16)
+ * Use UTF-8 encoding to store and load local CDDB entries.
+ * Never use growisofs parameter -dvd-compat with DVD+RW media.
+ * Fixed flac audio encoding for the audio project conversion feature.
+
+0.12.16
+=======
+ * FreeBSD Compile fixes (thanks to Heiner Eichmann).
+ * Always force 44.1khz in the Lame MP3 encoder plugin.
+ * Fixed VideoDVD creation on rewritable media.
+ * NetBSD support (thanks to Mark Davies).
+ * Fixed Copy of Enhanced Audio CDs with CD-Text
+ * Changed default boot cataloge name from "boot.cataloge" to "boot.catalog"
+ * Fixed a crash when reusing the same DVD Iso Image writing dialog.
+ * Ignore case when comparing MD5 sums entered by the user.
+ * Make sure that filenames in a data project's folder are unique.
+ * Allow index statements bigger than 99 minutes in cue files.
+ * Properly set the length of SCSI commands (this fixes some device detection problems).
+
+0.12.15
+=======
+ * Write more metadata tags in the default setup of the external encoder plugin.
+ * Fixed on-the-fly Video DVD creation
+ * Fixed data project verification in case filenames had to be shortened due to Joliet limitations.
+ * Use -dvd-compat parameter to close DVDs in on-the-fly mode.
+ * Fixed libdvdcss handling (again), no crashes anymore.
+ * Fixed the "invalid url" bug.
+ * Use SG IO for scsi commands with newer linux kernels. This should fix problems with scsi device
+ detection.
+ * Warn about shortened filenames due to Joliet restrictions before starting the burning process.
+
+0.12.14
+=======
+ * Make sure new projects are not already marked as modified.
+ * Fixed (hopefully) the last bug related to Data project verification.
+
+0.12.13
+=======
+ * Honor umask when creating directories for Audio CD ripping.
+ * Only update the buffer state for DVD burning if it really changes.
+ * Fixed a crash in verification if the CD/DVD does not contain RR extensions.
+ * Lowered default DVD writing buffer size to 32 MB to avoid "memorylock limit" problems
+ as described on http://fy.chalmers.se/~appro/linux/DVD+RW/tools/
+ * Fixed loading of libdvdcss.
+
+0.12.12
+=======
+ * Fixed another bug in the iso options code which sometimes resulted in a failed verification.
+ * Properly close the reading device when copying VideoDVDs. This bug resulted in a blocked device.
+ * Fixed handling of filenames in libdvdcss backend (this fixes VideoDVD copy).
+
+0.12.11
+=======
+ * Fixed selection in the audio CD ripping window.
+ * Fixed info block handling in WAVE audio file decoder: no more clicks at the end.
+ * Introduced a hack which fixes the "Wav detected as Mpeg file" bug.
+ * Fixed Auto multisession mode for DVD+RW and DVD-RW in restricted overwrite mode in case
+ a previous session was imported.
+ * Fixed a crash with HAL >= 0.5 when exiting K3b.
+ * Allow copying of double layer DVDs with a size below 4.3 GB to single layer media.
+ * Support for the ring buffer in growisofs 6.0.
+ * Use .iso extension for images instead of .img
+ * Properly remove the image file in case verification failed.
+ * Ignore mounting state of a medium when showing its contents.
+ * Fixed a bug in the iso options code which sometimes resulted in a failed verification.
+ * Properly handle cue files withan image file name like image.bin.cue + image.bin
+ * Write a proper Xing header when encoding VBR mp3 files.
+
+0.12.10
+=======
+ * Fixed Auto multisession mode in DVD projects
+ * Fixed crash in dcop call directBurn in case no valid burner device was set.
+ * Fixed verification of datacd projects when using the MaxIso9660 option without the OmitVersionNumber option
+
+0.12.9
+======
+ * New project dcop calls:
+ directBurn() - directly starts the burn process without user interaction
+ setBurnDevice(QString) - set the burn device to be used
+ * Disable the cd-text fields if cd-text writing is disabled.
+ * New Alsa audio output plugin.
+ * If a DVD project does not fill up the DVD completely do not close the DVD in automatic
+ multisession mode.
+ * Fixed problems with filenames ending in backslashes.
+ * Fixed verification problems with localized characters.
+ * Added error handling for incorrectly encoded filenames.
+ * Automatically use a newly installed version of an external application at the next K3b start.
+ * Complete new set of K3b action icons for project types and tools. Many thanks to Marcel Dierkes.
+ * Show text on the burn button to make it catch the eye.
+ * Support for media:// urls in the Image writing dialogs.
+ * Fixed problems with files bigger than 2 GB on some systems.
+
+0.12.8
+======
+ * Load index0 value in audio project.
+ * Ignore case in cue files.
+ * The "eject media" setting was not used properly in some situations (thanks to simon at munton.demon.co.uk for the patch)
+ * Fixed a bug in the mp3 decoder which caused it to miss some perfectly valid mp3 files.
+
+0.12.7
+======
+ * Fixed crash when refreshing the device list.
+ * Fixed cancellation of adding files to a data project.
+ * Fixed on-the-fly data project burning.
+ * Backported a warning about following links to folders (K3b cannot do that after the link has
+ been added to the project).
+
+0.12.6
+======
+ * Copy XA Form1 tracks always in TAO writing mode.
+ * Support for media:/ urls.
+ * No extra whitespace when renaming audio files in a data project anymore.
+ * Fixed verification of multisession CDs (thanks to simon at munton.demon.co.uk)
+ * Preserve directory access time in data projects when using the "backup" option.
+ * Disable the "audio normalization" option in case the normalize program is not installed.
+
+0.12.5
+======
+ * Fixed the progressbar in the file view
+ * It is possible to add the "New Data DVD Project" button to the welcome window again.
+ * Fixed problems with unreadable items when using a non-standard color scheme
+ * Properly set the permissions on cdrecord versions >= 2.01.01a02
+ * Fixed the "Disabled start button in Copy dialog" bug.
+ * Little window layout fix in K3bSetup2.
+ * Always use sector size 2048 when only creating an image in CD Copy. This means extracted
+ iso images from CDs with non-Mode1 tracks are useable again.
+ * Preserve directory permissions and user/group id in data projects when using the "backup" option.
+
+0.12.4
+======
+ * Fixed --cdimage and --dvdimage parameters.
+ * Fixed the file browser menu. Now it contains the bookmarks and "add to project" actions again.
+ * Fixed Index 0 (Pregap) handling in audio cue files.
+ * Improved handling of broken cue files: K3b now searches the directory for image files that could fit
+ the cue file in case the FILE entry is bogus.
+ * Always try to create a new session in case the old one has been imported regardless of the inserted
+ medium's free space.
+ * Fixed DVD-RW Restricted Overwrite media handling
+ * Use RAW writing mode for audio CDs in case the writer does not support DAO but RAW.
+ * Fixed compile problems with latest ffmpeg builds.
+
+0.12.3
+======
+ * Ignore dock config from K3b versions older than 0.12
+ * Do not delete DVD project iso image if "remove image" is unchecked.
+ * Properly load multisession default settings.
+ * Update device selection boxes when devices are added or removed via HAL.
+ * Properly cancel DVD project writing.
+ * Fixed DVD+RW session import
+
+0.12.2
+======
+ * After for example copying a CD when the dialog comes up again keep the last settings.
+ * Default to incremental sequential writing mode when copying a DVD to a DVD-R.
+ * Fixed a crash when the DVD copy dialog is reused.
+ * Fixed inline editing in the audio CD view (without bigger changes this only works with a
+ rather strange selection mode.)
+ * Show the configured splash screen image instead of the default.
+ * Fixed eMovix 0.9 default settings handling.
+ * Import session: disable RockRidge if the previous session does not contain RR extensions.
+ This fixes the problem with strange filenames if the new session is mounted via RR.
+ * Fixed the --cdimage parameter.
+ * Changed max copies from 99 to 999.
+ * Improved session import dialog.
+ * Properly default to DVD size in Video DVD project.
+ * Fixed automatic multisession handling for DVD+RW media.
+ * Fixed handbook installation.
+ * Fixed HAL backend: devices are properly removed now.
+ * Ignore K3b Themes that do not follow the new filename scheme.
+
+0.12.1
+Fixed compilation problems with older musepack library version.
+Fixed compile problem with older gcc versions.
+Enable verification checkbox for ISO9660 images in the CD writing dialog.
+Do not report success even if audio project conversion failed.
+
+0.12
+Added "Mpeg Still" support to Video-CD Project
+FreeBSD support (thanks to Adriaan De Groot)
+Support for all global CD-Text fields with cdrecord.
+Some GUI changes: cleaned up the action dialogs, moved the burnfree option to the global settings dialog
+ since turning it off should be a very seldomly used task.
+Added support for multiple copies to the projects.
+Added missed VCD 3.0 track interpretation option for SVCD's
+New Lame encoding plugin providing a proper configuration dialog.
+Added Bookmarks to the file browser.
+Fixed window layering problem with windowmanagers != kwm
+Added KPart plugin which converts a list of audio files into one of the supported encoder formats.
+Allow disabling of CD-Text reading in cd-copy to overcome problems with CD-Text on some drives.
+Check CD-Text crc when copying
+Fixed incorrect PBC order, PBC now should work on all "standalone" DVD Players
+Fixed waittime bug for PBC infinite timeout.
+Import Audio Cue files into an audio project.
+It is now possible to open an iso image or an audio cue file just like a project file.
+Create cue files for an audio CD ripped into one single file
+Show writer buffer state in addition to fifo buffer when writing CDs.
+Show device buffer state for DVD writing (does not work always yet)
+Fixed read and save setting in VideoCD project.
+Big parts of the audio project have been rewritten to have a way better design:
+ - K3b now does not create additional silence between the tracks by default
+ the pregap is treated as part of the previous track like in all other
+ writing applications.
+ - Instead it's possible to add additional silence manually to a track.
+ - Allow multible sources for one track.
+ - Split tracks, merge tracks.
+ - Improved track dialog.
+K3b now always writes a logfile in $(KDEHOME)/share/apps/k3b/lastlog.log
+New device configuration format which solves all issues with removable devices like USB.
+Copy CSS encrypted DVDs if libdvdcss is installed.
+Libsndfile decoder plugin. This includes support for AIFF audio files.
+ffmpeg decoder plugin. This includes support for wma audio files.
+Musepack audio decoder plugin.
+Use DAO writing mode for data CDs when overwrite is enabled.
+Added option to load the last used settings in addition to the default user settings in every
+ action dialog.
+Show system device name in case the string representing two devices are equal.
+Fixed the docking issues. No floating dock windows anymore. :) I have no idea why I wasn't able to do this
+ before... it was so easy after all.
+Plugin based Audio Output system for Audio project "preview".
+Dropped id3lib in favor of TagLib (great work Scott :)
+When the speed for an on-the-fly audio project is set to "Auto" K3b now determines the max writing speed.
+Do not close dialogs after the action is done (for example cd copy)
+Directly copy Audio tracks from an Audio CD to an Audio project.
+Session management
+Made K3b a unique application only allowing one instance.
+Improved dcop interface for data projects which allows to add and remove items
+ to and from specific folders in the project.
+Conditional audio ripping pattern. Now what does that mean? It means that you can do stuff like:
+ "if the track has a genre encoded use it, otherwise use 'misc'" and stuff like that.
+New project plugin interface. Example: the audio project cddb plugin is now a project plugin
+MusicBrainz support (Query audio file tags over the internet)
+K3b now has a "smart" automatic multisession handling in Data projects.
+Replaced the system tray by an OSD inspired by the one in amaroK
+Better symlink handling with proper size information if "follow symlinks" is activated.
+HAL support (turn on your USB writer while K3b is running and see it getting detected automatically)
+eMovix 0.9.0 support
+
+0.11.10
+Support Mp3 files starting with multiple ID3 tags.
+Improved ~ handling in the QuickDirSelector.
+Save/Load composer fields in audio projects
+Save/Load default DVD Copy reading device
+
+0.11.9
+Fixed data project size calculation (for good this time).
+
+0.11.8
+K3b now searches for the Debian cdrecord wrapper script and properly selects the cdrecord version to use
+ (cdrecord.mmap or cdrecord.shm) based on the kernel version. This should fix all problems with
+ K3bSetup on Debian.
+Fixed writing speed parsing with patched cdrecord
+Add leading zero to tracknumber meta data field when encoding audio tracks.
+Fixed data project size calculation if files from different devices have the same inode number.
+It is now possible to enter hexadecimal values in the boot image load segment fields.
+Fixed external program encoder plugin (this includes lame and flac encoding)
+
+0.11.7
+Check size of returned CD-TEXT data to be a multiple of the pack length. This should fix problems
+ with CD copy.
+Audio Project: Do not overwrite CD-Text values loaded from the project file with the ones detected.
+Added --copydvd command line parameter
+Do only read MCN and ISRCs when copying an audio cd since scanning them takes a very long time.
+Fixed cdrdao 1.1.8 version handling (no ATAPI warning)
+Fixed crash when using the Audiometadatarenamer on Movix Projects
+Automatically enable UDF extensions in case the project contains files bigger then 2 gb.
+
+0.11.6
+Fixed length calculation for long FLAC files.
+Allow Audio CDs that violate the Red Book standard (Tracks shorter than 4 seconds)
+Some improvements in disk-info retrieval
+
+0.11.5
+Do not ask for overwriting directories in cloning dialog
+Again fixed some disk detection problems which were introduced with the previous fixes :-(
+Fixed a crash which occured if the last boot image was displayed in the fileview while removing it.
+Support for ID3 Tags in FLAC files.
+Support for cdrdao 1.1.8.
+
+0.11.4
+Fixed adding of hidden files (wrong naming of config entries)
+Use a default imagefile name for cloning if none was specified.
+Use the Joliet names if no Rockridge is available in session import
+
+0.11.3
+fixed features detection with some devices.
+fixed multisession writing on some systems (K3b used to open the device instead of leaving it to mkisofs to
+ prevent permission problems. Sadly this does not work with all systems since it seems that K3b does
+ not close the device early enough so cdrecord cannot open it.)
+
+0.11.2
+K3bProcess now has a clean API and a non-stupid implementation which fixes the kde 3.2 issue
+way better than the hotfix from 0.11.1.
+Fixed a crash at K3b start which happened with ROM drives that return zero length modepage 0x05 data.
+fixed onthefly DVD copy issues
+K3b now uses the internal reader for DVD copy instead of readcd
+added read retries and "ignore read error" options to the dvd copy dialog
+fixed handling of empty raw toc data
+fixed the bug that made K3b try to use cdrdao for DVD iso image writing.
+add files to a project by dropping them on the corresponding tab
+removed the "query cddb" option from the copy dialog since this is configured globally anyway.
+fixed loading of VideoDVD projects
+Fixed VideoDVD project with a HACK. mkisofs is not able to create a VideoDVD using graft-points which
+ is the default in K3b. So now K3b links all VIDEO_TS files in a temp directory.
+
+0.11.1
+fixed an issue introduced with KDE 3.2rc1 which caused on-the-fly data writing to fail all the time.
+ (If you need to know: For some reason KProcess makes the Stdin fd O_NONBLOCK. This way mkisofs is
+ not able to write properly to cdrecord's stdin anymore.)
+
+0.11
+fixed libcdparanoia-loading on Debian (and maybe some other systems)
+fixed crash at end of image creation in DVD project
+fixed filesize display for very large files and projects (integer overflow)
+fixed CD-TEXT reading. On some systems some senseless characters where appended.
+fixed Id3lib detection in configure.in.in
+added primitive supermount support
+kernel 2.5 compile fixes (thanks to ismail (cartman) d�mez <ismail.donmez at boun.edu.tr>)
+K3b now defaults to the generic-mmc cdrdao driver if the used burner is not listed in
+ cdrdao's driver table. As all modern drives use the generic-mmc driver anyway this
+ is valid and prevents from a lot of newbie problems.
+Added a thememanager and the new crystal look by Everaldo
+K3b does not mount the disk for session import or data verification anymore. This way supermount
+ users will have no problems.
+merged cue/bin and isoimage burning in one dialog which provides image-type-detection
+ supported so far: iso, cue, cdrdao toc, cdrecord clone images
+better systemconfigcheck messages when cdrecord is not running with root privs
+proper automatic writing mode and writing app selection for non-DAO-capable writers
+overwriting of files in a new session
+default CD size is now 80 min
+generic resampling for all audio plugins
+support for mono files
+support for 8Bit wave files
+FLAC decoding plugin (thanks to John Steele Scott)
+check if a DVD-R(W) writer supports incremental streaming before trying multisession
+check if a DVD-R(W) writer supports testwriting before trying a simulation
+fixed DVD-Copy. We needed to determine the size of the data to copy for ourselves instead of relying
+ on the kernel
+Automatic CD-writing speed selection (chooses always the max for now)
+Technical info about audiofiles in the audio project are displayed in the track properties dialog
+One may now add complete dirs to an audio project
+Detection of Justlink support
+Finally the device handling is completely independant. No calls to cdrecord anymore. That's why we
+now have a libk3bdevice.
+Improved writing speed estimation for audio tracks.
+Added a button which determines the supported writing speeds with the mounted media. this way it is possible
+ to also select dvd writing speeds other than 1x
+fixed directory sorting in iso filesystems
+fixed boot image file sorting
+Joliet long support (103 chars joliet filenames)
+improved meta tag handling for audio encoding, support for album title and stuff
+fixed crash when only creating images without an installed cd writer
+writing speed is loaded correctly again
+Completely rewritten CD copy:
+ - Copy Audio, multisession and Mixed mode CDs.
+ - Copy CD-TEXT
+ - Create CD-TEXT from Cddb entries
+ - Audio reading with cdparanoia for high quality ripping
+ - no cdrdao anymore
+Support for new growisofs option to specify the size of a written image in DAO mode
+Added check for free space in temp dir to dvd copy
+Added a script to simplify the start of K3bSetup2.
+
+0.10
+DVD writing support with the DVD+RW-tools by Andy Polyakov <appro at fy.chalmers.se>
+DVD formatting
+DVD Copy (pure data dvd copy without any video transcoding)
+CD Cloning with cdrtools >= 2.01a17
+device capabilities detection without cdrecord. This solves the long startup problem with ATAPI devices.
+moved audio ripping pattern configuration from options dialog to audio ripping dialog
+option to automatically erase CD-RWs and DVD-RWs without asking before writing
+dragging files from a data project to the audio player (basically it's just a KURLDrag so it may be dragged
+ everywhere)
+K3b is now divided in three libs and the main application: libk3bcore, libk3btools, and libk3bproject
+ this makes creating KParts-plugins easy. Two examples can be found in the tests/kpartplugins dir
+ one of them is a former K3b option which allowed to use audio meta data to rename files while
+ adding them to a data project. Now this is done by a plugin and a much higher degree of user
+ interaction.
+Iso9660 file sorting (mkisofs -sort)
+libid3 support for better mp3 tag access (we had that in some very old version but back then
+ K3b depended on it. Now it defaults to using KFileMetaInfo if it's not available)
+Pluggable audio decoding
+Pluggable audio encoding and completely rewritten audio ripping
+ much faster now due to a much better threading
+Check for read permission when adding files to a project
+file filter in binimagewritingdialog and isoimagewritingdialog (thanx to David Maciejak)
+Verification of written data (compares md5 sums of all written files).
+K3bSetup is not longer compiled unless explicit activated (K3bSetup is outdated and K3bSetup2 is still not ready)
+K3b now also compiles without aRts. In this case the audioplayer will be useless (but still there)
+no need for special mkisofs permissons anymore. K3b now openes the device itself when importing
+ an old session.
+added a little color animation when dropping files onto a directory in data projects
+ it is always hard to tell if one dropped on the correct dir. If some one has a better animation
+ I would be interested in replacing this simple one.
+Added CD-TEXT reading (used for Audio CD ripping)
+sox encoder plugin to encode to all audio formats supported by sox (will anyone ever use this??)
+encoder plugin that let's you specify a commandline to encode the data. Typical example would be calling lame to
+ encode to mp3.
+much better TOC reading. K3b now displays multisession info.
+m3u Playlist creation for ripped audio files
+replaced the old K3bSetup with a quite simple KControl Module which is only able to change the
+ needed permission for devices and external programs. Everything else is nowadays done
+ by the distros.
+
+
+0.9
+support for eMovix 0.8.0rc2
+better data project size calculation
+
+0.9pre2
+support for writing CD-Text with cdrecord
+support for writing audio and mixed-mode CDs on-the-fly with cdrecord >= 2.01a13
+no gui blocking when reloading the media while writing a two-session mixed-mode cd
+nodma option in eMovix project
+fixed problems with audio decoding (the process sometimes stalled)
+
+0.9pre1
+added system notification
+added eMovix project
+added bootable cd support (multible images)
+K3b now allows automatic writing mode selection to be sure to always use the best writing mode (DAO, TAO)
+the environment PATH is searched for external bins
+more error handling
+dropped KDE/QT 3.0.x compatibility, now K3b requires at least 3.1
+internals:
+ devices rewrite, use generic packet ioctl's
+ cdinfo rewrite, use generic packet ioctl's
+ merged cdrdaoparser and cdrdaowriter
+added multisession cd copy
+fixed onlyCreateImage (this time for real!)
+added option to hide main window while writing
+fixed temp-dir problems with nfs-mounted home directories
+ K3b now uses the default kde tempdir
+Resmgr support
+added user datamode selection (mode1, mode2(form1))
+support for relative paths in playlists (thanx to Nick Bloke)
+new progressdialog
+faster cddb access (older versions just queried all entries, now only the selected one gets queried)
+K3b is now threaded.
+Gui beautifying.
+videocd:
+ add playback control (PBC)
+ add customizing of Gaps and Margins
+ add HQ-VIDEOCD support
+ add relaxed APS support (this controls whether APS constraints are strict or relaxed)
+ add category restriction support
+ add an option to create always an empty `/SEGMENT' directory (some Players need this)
+ fixed load and saveUserDefaults
+ fixed autodetection VCD Typ (now the user can turn off this feature)
+added audio volume normalization
+added udf support to data project
+user commands for external programs are separated by space now since the comma just
+ made problems for options like "--driver generic-mmc" which had to be specified
+ as "--driver, generic-mmc"
+support for newer versions of cdrecord which have a slighly changed user interface
+support for cuefile writing with cdrecord > 2.01a14
+
+0.8.1
+fixed compiling problems with kernel < 2.4.3
+fixed onlyCreateImage in data project
+fixed handling of cdrecord burnfree/burnproof driveroption in versions < 1.10
+fixed error with localized docking config that caused empty windows when changing the language
+introduced workaround for serious cdrdao bug that caused tocfiles to be deleted
+disabled the delete shortcut in the fileview (way too many users deleted files by accident when they
+ wanted to remove project items)
+
+0.8
+advanced options: manually selection of writing app (cdrecord or cdrdao)
+
+changed the option dialog layout -> smaller window
+
+fixed problems with first pregap in audio project:
+ no need to set the first pregap to 0 on some writers anymore
+ no 4 second pregap before first tracks anymore
+
+fixed problems with detecting some audio tracks that had flags like preemp set
+
+removed cdparanoia dependancy (dynamic linking)
+big internal changes
+split bin/cue writing from iso-image-writing
+better cdcopy (mainly more options)
+customizeable audio ripping
+
+mixed mode cd creation
+video cd creation
+video cd on cd-i support
+better error handling
+
+indivdual selection of final size for encoded movie
+clean vob dir before start and restore it (i.e playing wiht PowerDVD stores
+config files in the directory)
+
+AC3-passthrough mode for DIVX Encoding
+DND for AudioCD-Ripping to harddisc.
+
+
+0.7.5
+Added session import
+little reordering of menus
+fixed the "cdrecord error 255" bug
+fixed some i18n issues
+improved mp3 file detection
+added K3b project mimetype
+added konqueror servicemenu entries
+now KoStore is used for saving documents
+K3bSetup is started with the correct language now
+MD5 sum is only calculated on demand (but still asynchronous)
+fixed K3bSetup linking problems
+
+0.7.4
+fixed bug that caused stupid mountpoints to be assigned to the devices
+Mounting dvd with UDF filesystem (uppercase words) should now work (copy ifo-files).
+beautified cddb setup
+internal cddb change (rewrite)
+fixed problems when writing mp3 and ogg vorbis files together
+burnproof support for cdrecord <= 1.11a02 works again (and also for the new cdrecord ;)
+Fix audiolanguange parsing for transcode 0.6.2 (wrong entries in k3bDVDRip.xml)
+Bugfix Selecting ripping dir with file dialog and new directory now shows the available space properly.
+Bugfix Cancel one pass in encoding now works
+If select "Add to project" in the context menu of the file/dir tree a dialog (audio/data) asks
+for creating a new data or audio project.
+
+0.7.3
+fixed compile problems with gcc 3.x
+
+0.7.2
+added md5sum to iso-image dialog
+fixed compile problem when ogg-vorbis is not installed
+fixed iso-image volume descriptor problem that caused all descriptors to be enclosed in quotation marks
+added raw-copy option
+better external program handling
+
+0.7.1
+audio:
+ fixed mp3 resampling problems
+ better handling of newly added tracks
+data:
+ proper symlink handling
+ better support of the mkisofs options
+ option for adding hidden files
+ backup permissions
+device:
+ support for symlinks in fstab
+misc:
+ progress display in the K3b titlebar
+ better progress display in systray
+
+0.7
+DivX/XviD encoding
+enhanced cddb support
+new artwork from Ayo
+fixed some device detection problems
+fixed problems with long filenames and Joliet
+some gui enhancements
+added libmad to the sources
+removed id3lib
+
+0.6pre2
+added ogg-vorbis support
+added iso ids to diskInfo
+fixed iso project input fields
+
+0.6pre1
+well... I don't know.. everything?
+
+0.5.1
+fixed bug that caused a compile error on some systems
+fixed problems with audio cd writing
+disabled projects while writing (needed for writing in the background)
+
+0.5.0
+-fixed mkisofs 1.14 problems
+-audio on-the-fly burning (even corrupted mp3-files)
+-saving/loading of projects
+-atip and toc info
+-cd-ripping (wav) with extended pattern support
+-cddb support
+-play audio cds
+-extended option-dialog
+-hide first track on audio-cds
+-detection of ide-devices as cd-rom
+-blanking of cdrws
+-writing of existing iso-images
+-optional setting of cdrdao driver for every scsi-device
+-burn in the background (it's even possible to write on two writers simultaneous or write a cd and create an image (if your system is fast enough ;-))
+-K3b checks for an empty disk before writing!
+-and like every time some other stuff i cannot remember ;-)
+
+0.4.3
+Fixed bug that caused K3b to crash while detecting devices
+highly improved adding of files and directories to a data project
+adding empty directories to data project via context menu
+disabled audio on-the-fly burning due to a problem that caused faulty cds
+
+0.4.2
+added new DirTree (code from Konqueror)
+added new device-management (the scsi-bus is checked directly)
+detection of Burn-Proof-capable drives
+some bugfixes
+
+0.4.1
+added whitespace-treatment
+dock-positions are saved
+
+0.4.0
+Added ISO-cd support
+file-tree creation via drag'n'drop
+renaming of files
+support of most of the mkisofs-features
+improved audiotrack dialog
+use of ID3Lib
+
+... and other things i really cannot remember... ;-)
+
Added: kde-extras/k3b/k3b/branches/upstream/current/FAQ
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/FAQ (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/FAQ 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,82 @@
+Q: Compiling K3b fails with errors like this:
+ base_k3badvanceddataimagesettings.cpp:185: invalid use of undefined type
+ `struct KComboBox'
+ base_k3badvanceddataimagesettings.h:17: forward declaration of `struct
+ KComboBox'
+A: The QTDesigner tool 'uic' is not able to find the kde widget plugins.
+ To solve this run 'qtconfig' and add '$KDEDIR/lib/kde3/plugins' to the plugin search path
+ (replace $KDEDIR with your kde base dir).
+
+
+Q: K3b thinks my SCSI device is IDE.
+A: If you are using the rpm from SuSE your version of K3bSetup is not able to set the
+ permissions that K3b needs the devices to have. The SuSE guys seem to think messing with
+ permissions is too dangerous. It is recommended to always compile from source to have all
+ K3b features.
+
+
+Q: Where has all the fancy graphic gone?
+A: Most likely you installed K3b in the wrong directory. All KDE programs are installed in the
+ KDE dirtree (SuSE: /opt/kde3, RedHat: /usr). If you compile K3b from source it defaults
+ to either $KDEDIR or /usr/local. To install in the correct directory you need to specify the prefix
+ to configure like this:
+ ./configure --prefix=`kde-config --prefix`
+ That will install K3b relative to the correct path.
+
+
+Q: The linking always breaks with the missing -laudio.
+A: You need to install NAS.
+
+
+Q: Where can I find K3bSetup2?
+A: K3bSetup2 is a KControlCenter Module. You can find it in the System Administration section or start
+ it manually with "kdesu kcmshell k3bsetup2".
+ There also is a script since K3b 0.11 called k3bsetup.
+
+
+Q: My writer supports writing at speed X but K3b shows Y as a max.
+A: K3b determined the maximum writing speed the first time you start it. Since the speed reported by the
+ writer always depends on the mounted medium this may not be the real max.
+ To manually change it open the K3b settings in the device section and click on the value. You will
+ be presented with a spinbox which allows to change the speed.
+
+
+Q: Writing fails with the following cdrecord message:
+ "Cannot allocate memory. Cannot get SCSI I/O buffer."
+A: Since kernel 2.6.9 suid root programs are not allowed to use the SCSI subsystem.
+ To solve this issue either configure cdrecord to run without root privileges: chmod 755 /usr/bin/cdrecord
+ or run K3b as root (which is not recommended but works also).
+
+
+Q: Writing fails with the following cdrecord message over and over again:
+ "Error trying to open /dev/hdc exclusively (Device or resource busy)..."
+A: You are using a patched cdrecord version which tries to open the device exclusively which fails because
+ your are probably also using automounting. The solutions are to disable automounting altogether (and this is
+ the recommended solution as automounting can cause other more serious problems with CD/DVD writing) or to
+ install a non-patched cdrecord version.
+
+Q: My DVD drive supports 16X but K3B keeps burning at 1X! What's happening?
+
+A: Your kernel most likely didn't apply optimal settings for your drive when it detected it. You can find out
+ what are the current settings of your drive with the command "hdparm -v /dev/dvd":
+
+ /dev/dvd:
+ IO_support = 0 (default 16-bit)
+ unmaskirq = 0 (off)
+ using_dma = 0 (off)
+ keepsettings = 0 (off)
+ readonly = 0 (off)
+ readahead = 256 (on)
+
+ The following options are known to maximize burning and playback performance:
+
+ hdparm -d1 -c1 -a8 -u1 /dev/dvd
+
+ To make these options permanent, a quick and dirty solution is to include the command in /etc/rc.local.
+ Consult your distribution documentation for a tailored solution.
+
+ Some drives have buggy DMA support. If you experience instability, leave these options disabled.
+
+ Some useful references:
+ http://www.togaware.com/linux/survivor/CD_DVD_Drives.shtml
+ http://www.linuxjournal.com/article/6921
Added: kde-extras/k3b/k3b/branches/upstream/current/INSTALL
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/INSTALL (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/INSTALL 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,51 @@
+Installing K3b 1.0
+------------------
+
+
+What you need to run K3b:
+ mandatory:
+ - since K3b is a CD writing program a cd writer would be a good thing to have ;-)
+ - the QT3 library (at least version 3.2)
+ - the KDE3 libraries (at least version 3.2)
+ - the cdparanoia library for cd ripping from Monty
+ - the cdrtools (cdrecord, mkisofs) from Joerg Schilling
+ - the dvd+rw-tools by Andy Polyakov for DVD writing
+
+ optional:
+ - cdrdao, the other linux cd writing program from Andreas Mueller
+ - the transcode tools for DVD ripping and DivX/XviD encoding from Thomas Oestreich
+ - vcdimager >= 0.7 for creating video cds
+ - libmad for mp3 decoding
+ - ogg-vorbis libraries for encoding and decoding
+ - the FLAC++ libraries for flac-decoding
+ - the eMovix package
+ - TagLib by Scott Wheeler for reading Meta data tags
+ - the musepack (or now mpcdec) library for decoding Musepack audio files
+ - the ffmpeg library to decode other audio file formats such as wma
+ - the sndfile library to decode audio file formats such as AIFF or VOC
+ - the lame library to encode audio files in the mp3 format
+ - sox to encode audio files in formats such as AIFF or VOC
+ - a dynamically compiled libffmpeg for wma decoding
+ - the musicbrainz library for metadata queries for single audio titles
+
+After that it's all the same:
+
+ ./configure
+
+or try ./configure --help to learn about the options.
+
+If configure was successful you are presented with a list of configure results that shows
+which optional features are enabled. Now just compile K3b:
+
+ make
+
+Now you are ready to install:
+
+ make install (as root)
+
+
+See PERMISSIONS on hints how to properly setup the permissions to use K3b without problems.
+
+
+Have fun
+Sebastian Trueg (trueg at k3b.org)
Added: kde-extras/k3b/k3b/branches/upstream/current/KNOWNBUGS
===================================================================
Added: kde-extras/k3b/k3b/branches/upstream/current/Makefile.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/Makefile.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/Makefile.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,11 @@
+if with_k3bsetup1
+ K3BSETUPDIR=k3bsetup
+endif
+
+EXTRA_DIST = AUTHORS COPYING ChangeLog INSTALL README TODO k3b.lsm admin configure.in.in
+
+AUTOMAKE_OPTIONS = foreign 1.5
+
+#include admin/deps.am
+
+SUBDIRS = doc libk3bdevice libk3b src kioslaves plugins kfile-plugins $(K3BSETUPDIR)
Added: kde-extras/k3b/k3b/branches/upstream/current/Makefile.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/Makefile.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/Makefile.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,892 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 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.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = .
+DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL TODO \
+ admin/compile admin/config.guess admin/config.sub \
+ admin/depcomp admin/install-sh admin/ltmain.sh admin/missing \
+ admin/mkinstalldirs admin/ylwrap
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+ configure.lineno config.status.lineno
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = config.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+#>- RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+#>- html-recursive info-recursive install-data-recursive \
+#>- install-dvi-recursive install-exec-recursive \
+#>- install-html-recursive install-info-recursive \
+#>- install-pdf-recursive install-ps-recursive install-recursive \
+#>- installcheck-recursive installdirs-recursive pdf-recursive \
+#>- ps-recursive uninstall-recursive
+#>+ 7
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-dvi-recursive install-exec-recursive \
+ install-html-recursive install-info-recursive \
+ install-pdf-recursive install-ps-recursive install-recursive \
+ installcheck-recursive installdirs-recursive pdf-recursive \
+ ps-recursive uninstall-recursive nmcheck-recursive bcheck-recursive
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = doc libk3bdevice libk3b src kioslaves plugins \
+ kfile-plugins k3bsetup
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+distdir = $(PACKAGE)-$(VERSION)
+top_distdir = $(distdir)
+am__remove_distdir = \
+ { test ! -d $(distdir) \
+ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
+ && rm -fr $(distdir); }; }
+DIST_ARCHIVES = $(distdir).tar.gz
+GZIP_ENV = --best
+distuninstallcheck_listfiles = find . -type f -print
+distcleancheck_listfiles = find . -type f -print
+ACLOCAL = @ACLOCAL@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+ARTS_LIBS = @ARTS_LIBS@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAM_LIB = @CAM_LIB@
+CC = @CC@
+CCAS = @CCAS@
+CCASDEPMODE = @CCASDEPMODE@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DBUSQT_INCS = @DBUSQT_INCS@
+DBUSQT_LIBS = @DBUSQT_LIBS@
+DBUS_INCS = @DBUS_INCS@
+DBUS_LIBS = @DBUS_LIBS@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+GREP = @GREP@
+GV_ASM_DEFS = @GV_ASM_DEFS@
+HAL_DBUS_LIBS = @HAL_DBUS_LIBS@
+HAL_INCS = @HAL_INCS@
+HAL_LIBS = @HAL_LIBS@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+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_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSAMPLERATE = @LIBSAMPLERATE@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAD_LIB = @MAD_LIB@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MPC_LIBS = @MPC_LIBS@
+MSGFMT = @MSGFMT@
+MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+RESMGR_LIB = @RESMGR_LIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+TAGLIB_CONFIG = @TAGLIB_CONFIG@
+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@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+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_kcfgdir = @kde_kcfgdir@
+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@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+taglib_includes = @taglib_includes@
+taglib_libs = @taglib_libs@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+ at with_k3bsetup1_TRUE@K3BSETUPDIR = k3bsetup
+EXTRA_DIST = AUTHORS COPYING ChangeLog INSTALL README TODO k3b.lsm admin configure.in.in
+AUTOMAKE_OPTIONS = foreign 1.5
+
+#include admin/deps.am
+SUBDIRS = doc libk3bdevice libk3b src kioslaves plugins kfile-plugins $(K3BSETUPDIR)
+#>- all: config.h
+#>+ 1
+all: docs-am config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
+
+.SUFFIXES:
+am--refresh:
+ @:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
+#>- cd $(srcdir) && $(AUTOMAKE) --foreign \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --foreign Makefile
+#>+ 14
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
+ ( \
+ cd $(srcdir) && $(AUTOMAKE) --foreign \
+ ) || exit 1; echo ' cd $(top_srcdir) && perl admin/am_edit '; cd $(top_srcdir) && perl admin/am_edit && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --foreign Makefile
+ cd $(top_srcdir) && perl admin/am_edit Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ echo ' $(SHELL) ./config.status'; \
+ $(SHELL) ./config.status;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ $(SHELL) ./config.status --recheck
+
+$(top_srcdir)/configure: $(am__configure_deps)
+#>- cd $(srcdir) && $(AUTOCONF)
+#>+ 2
+ cd $(srcdir) && rm -f configure
+ cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+
+config.h: stamp-h1
+ @if test ! -f $@; then \
+ rm -f stamp-h1; \
+ $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
+ else :; fi
+
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
+ @rm -f stamp-h1
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
+$(srcdir)/config.h.in: $(am__configure_deps)
+ cd $(top_srcdir) && $(AUTOHEADER)
+ rm -f stamp-h1
+ touch $@
+
+distclean-hdr:
+ -rm -f config.h stamp-h1
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+
+# 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):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ 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) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+$(RECURSIVE_CLEAN_TARGETS):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ 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) \
+ || eval $$failcom; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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
+tags: TAGS
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(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; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(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 "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ $(am__remove_distdir)
+ test -d $(distdir) || mkdir $(distdir)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ distdir=`$(am__cd) $(distdir) && pwd`; \
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
+ (cd $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$top_distdir" \
+ distdir="$$distdir/$$subdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+ -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 $(install_sh) -c -m a+r {} {} \; \
+ || chmod -R a+r $(distdir)
+dist-gzip: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__remove_distdir)
+
+dist-bzip2: distdir
+ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
+ $(am__remove_distdir)
+
+dist-tarZ: distdir
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
+ $(am__remove_distdir)
+
+dist-shar: distdir
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+ $(am__remove_distdir)
+
+dist-zip: distdir
+ -rm -f $(distdir).zip
+ zip -rq $(distdir).zip $(distdir)
+ $(am__remove_distdir)
+
+dist dist-all: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ $(am__remove_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
+ case '$(DIST_ARCHIVES)' in \
+ *.tar.gz*) \
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
+ *.tar.bz2*) \
+ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
+ *.tar.Z*) \
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
+ *.shar.gz*) \
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
+ *.zip*) \
+ unzip $(distdir).zip ;;\
+ esac
+ chmod -R a-w $(distdir); chmod a+w $(distdir)
+ mkdir $(distdir)/_build
+ mkdir $(distdir)/_inst
+ chmod a-w $(distdir)
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+ && cd $(distdir)/_build \
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
+ $(DISTCHECK_CONFIGURE_FLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) \
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
+ && $(MAKE) $(AM_MAKEFLAGS) check \
+ && $(MAKE) $(AM_MAKEFLAGS) install \
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
+ distuninstallcheck \
+ && chmod -R a-w "$$dc_install_base" \
+ && ({ \
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
+ && rm -rf "$$dc_destdir" \
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
+ && rm -rf $(DIST_ARCHIVES) \
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
+ $(am__remove_distdir)
+ @(echo "$(distdir) archives ready for distribution: "; \
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+distuninstallcheck:
+ @cd $(distuninstallcheck_dir) \
+ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
+ || { echo "ERROR: files left after uninstall:" ; \
+ if test -n "$(DESTDIR)"; then \
+ echo " (check DESTDIR support)"; \
+ fi ; \
+ $(distuninstallcheck_listfiles) ; \
+ exit 1; } >&2
+distcleancheck: distclean
+ @if test '$(srcdir)' = . ; then \
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
+ exit 1 ; \
+ fi
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
+ || { echo "ERROR: files left in build directory after distclean:" ; \
+ $(distcleancheck_listfiles) ; \
+ exit 1; } >&2
+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)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-recursive
+#>+ 1
+clean: kde-rpo-clean clean-recursive
+
+#>- clean-am: clean-generic clean-libtool mostlyclean-am
+#>+ 1
+clean-am: clean-bcheck clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-hdr \
+ distclean-libtool distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-recursive
+
+install-exec-am:
+
+install-html: install-html-recursive
+
+install-info: install-info-recursive
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-ps: install-ps-recursive
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -rf $(top_srcdir)/autom4te.cache
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
+ install-strip
+
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
+ all all-am am--refresh check check-am clean clean-generic \
+ clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
+ dist-gzip dist-shar dist-tarZ dist-zip distcheck distclean \
+ distclean-generic distclean-hdr distclean-libtool \
+ distclean-tags distcleancheck distdir distuninstallcheck dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs installdirs-am \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags tags-recursive uninstall uninstall-am
+
+# 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
+KDE_DIST=COPYING-DOCS KNOWNBUGS subdirs Makefile.in configure.in.bot FAQ configure.files config.h.in RELEASE_HOWTO configure.in aclocal.m4 PERMISSIONS configure Makefile.am acinclude.m4
+
+#>+ 2
+docs-am:
+
+#>+ 7
+force-reedit:
+ \
+ cd $(srcdir) && $(AUTOMAKE) --foreign \
+
+ cd $(top_srcdir) && perl admin/am_edit Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-recursive
+
+bcheck-am:
+ @for i in ; do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXX) $(DEFS) -I. -I$(srcdir) -I$(top_builddir) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 3
+final:
+ $(MAKE) all-am
+
+#>+ 3
+final-install:
+ $(MAKE) install-am
+
+#>+ 3
+no-final:
+ $(MAKE) all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 3
+nmcheck:
+nmcheck-am: nmcheck
Added: kde-extras/k3b/k3b/branches/upstream/current/PERMISSIONS
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/PERMISSIONS (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/PERMISSIONS 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,32 @@
+K3b needs some special permissions to work properly. Most distrobutions come with permissions that I don't like
+very much and make problems when adding new CD/DVD devices to your system.
+If you set up your system as follows you can be sure to never have K3b permission problems again.
+
+1. Disable pam authentication for cdrom and burner devices in /etc/security/console.perm. Otherwise your permissions
+ will be overwritten when loggin in and it's not possible for two users to use K3b at the same time.
+ In my opinion one should disable this completely and create a proper configuration instead. The most annoying
+ issue with this pam stuff is that you cannot have two sessions with two different users running because the first
+ one owns all the sound and cd devices.
+
+2. Create a cdrom or cdrw or whatever group (if it not already exists) and add all users that should be able to
+ use K3b to that group. You may also skip this step and let everybody use K3b. In that case simply use root as
+ the group and permissions 4711 and 666 instead of 4710 and 660 in the following steps.
+
+3. Change the permissions of cdrecord and cdrdao to 4710 root.cdrom (substitute cdrom with the group from 2).
+ This way both will run suid root which allows them to increase their scheduling priority resulting in a more
+ stable burning process.
+
+4. Change the permissions of all your cdrom device to 660 root.cdrom (substitute cdrom with the group from 2).
+ With devfs you may do this with lines like this (the first changes all ide cd devices while the second takes
+ care of the scsi cd devices):
+ REGISTER ^ide/host.*/bus.*/target.*/lun.*/cd PERMISSIONS root.cdrom 660
+ REGISTER ^scsi/host.*/bus.*/target.*/lun.*/cd PERMISSIONS root.cdrom 660
+ In case you are not using devfs you may determine the devices by running K3b once as root and looking in the
+ device settings. The corresponding devices are listed there.
+
+5. Change the permissions of the generic SCSI devices to 660 root.cdrom (substitute cdrom with the group from 2).
+ Both cdrecord and cdrdao use the generic devices to access the scsi drives. So you don't need to perform this step
+ if you only have IDE devices.
+ Use a line like the following for devfs:
+ REGISTER ^scsi/host.*/bus.*/target.*/lun.*/generic PERMISSIONS root.cdrom 660
+ In case you are not using devfs the devices are /dev/sg*.
Added: kde-extras/k3b/k3b/branches/upstream/current/README
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/README (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/README 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,92 @@
+K3b Version 1.0
+
+Thanx for downloading K3b - The CD Kreator
+
+These are the features so far:
+ - the most userfriendly interface ever ;-)
+ - themable
+
+ - Media-centric user interface:
+ - Select the medium to use for burning instead of the device
+ - K3b always knows about all optical devices and inserted media and adjusts the UI accordingly
+
+ - writing audio-cds
+ - On-the-fly decoding of many audio formats through plugin struxture
+ (decoding plugins for mp3, ogg vorbis, flac, wave, musepack, wma, aiff, and others)
+ - CD-Text support
+ - Metadata support, fill CD-Text from metadata or via Internet queries (CDDB + Musicbrainz)
+ - little gimmick: hide the first track (so that you have to search back from the
+ beginning of the cd to find it)
+ - volume level normalization (only when writing with an image)
+ - multiple sources for one track possible (merging of tracks, splitting of tracks,
+ adding silence of arbitrary length)
+ - integrated "preview" player
+ - Directly add audio tracks from other CDs and let K3b take care of the rest.
+
+ - writing ISO9660-CDs and DVDs
+ - Joliet/Rockridge support
+ - Udf filestructures (no pure Udf so far)
+ - create image/write image
+ - writing on-the-fly
+ - creating of file-tree via drag'n'drop (as easy as it could be)
+ - removing files and directories from data tree
+ - moving files within the project
+ - adding new empty directories to data tree
+ - renaming of files (manually or automatically for mp3-files) (for joliet and rockrigde)
+ - support for most of the mkisofs-options (I don't think anyone will ever use them! ;-))
+ - multisession support (including importing old sessions and overwriting files from old sessions)
+ Automagically multisession handling: start, continue, or finish multisession CDs and DVDs based on
+ the size of the project and the remaining capacity on the media.
+ - El Torito bootable CD/DVD support
+
+ - writing Video CDs
+ - VCD 1.1, 2.0, SVCD
+ - CD-i support (Version 4)
+
+ - writing mixed-mode CDs
+ - CD-Extra (CD-Plus, Enhanced Audio CD) support
+
+ - writing eMovix CDs and DVDs
+
+ - writing data DVDs
+ - Support for DVD-R(W) and DVD+R(W)
+ - Support for DVD+R Double Layer media
+
+ - formatting DVD-RWs and DVD+RWs
+
+ - writing existing iso-images and cue/bin images to CD
+ - Writing of Audio cue file images on-the-fly (All audio formats supported)
+
+ - CD copy (data, audio, mixed mode)
+
+ - DVD copy
+
+ - CD cloning with cdrecord >=2.01a17
+
+ - blanking of CD-RWs
+ - Also automagically before writing a CD.
+
+ - CD ripping to wav, mp3, ogg-vorbis, flac, or whatever format needed
+ - encoding plugin system
+ - Cddb support
+ - sophisticated pattern system to automatically organize the ripped tracks
+ - m3u playlist creation
+ - CD-TEXT support
+
+ - DVD ripping with the transcode tools
+ - Support for automatic clipping
+ - DivX/XviD encoding
+
+ - Retrieving CD/DVD info and toc
+
+ - Powerful default and automatic settings
+
+
+See INSTALL for further information
+
+
+Please report bugs (with k3b output!) and tell me what you like/dislike
+about the user-interface!
+
+Have fun
+Sebastian Trueg (trueg at k3b.org)
Added: kde-extras/k3b/k3b/branches/upstream/current/RELEASE_HOWTO
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/RELEASE_HOWTO (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/RELEASE_HOWTO 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,27 @@
+Howto create a K3b release (stable branch)
+
+1. create a package from the stable branch using the createPackage.sh script:
+ createPackage.sh -a k3b -av 0.12 -ab branches/stable/extragear/multimedia --notoplevel -ib branches/stable/l10n
+ -is extragear-multimedia --pofiles "k3b libk3b libk3bdevice k3bsetup" --postprocess postprocessk3b.sh --split
+ --admin /branches/KDE/3.4/kde-common/admin
+
+2. Make sure the version in src/main.cpp, k3b.lsm, README, INSTALL is valid.
+ Check the version in libk3b.
+
+3. Create the tarball.
+
+4. Test the tarball. That includes removing any trace of K3b from the test system before and in the ideal
+ case compile on a minimal system meaning minimal KDE/QT versions.
+
+5. Upload the tarball to upload.sf.net/incoming and create a release on www.sourceforge.net (or use releaseforge,
+ a nice little application which automates the whole sourceforge release thing).
+
+6. Create a news entry on www.k3b.org and update the download page.
+
+7. Promote the release on www.kde-apps.org and freshmeat.net (the latter may also be done with releaseforge)
+
+8. Send an announcement email to:
+ k3b-user at lists.sourceforge.net
+ k3b-announce at lists.sourceforge.net
+ kde-extra-gear at kde.org
+ kde-announce at kde.org
Added: kde-extras/k3b/k3b/branches/upstream/current/TODO
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/TODO (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/TODO 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,22 @@
++ integrated Audio CD player (as part of the audio project preview)
+
+- video cd photoalbum, portfolio
+- video cd Interactive Menues (automenues)
+- video cd split long mpegs (volume set)
+- video dvd creation with menu support
+- Support for other playlist formats
+
++ video cd ripping
++ video cd mpeg-still support
++ video cd Navigation
+
++ Alsa output plugin
++ Rewrite of the DVD ripping/encoding stuff
+ + Encoding on-the-fly (no extra encoding dialog)
+ + Do not rip in a special format but save the Video DVD as
+ a normal VideoDVD structure (or encoded)
+
+legend:
+- planned
+* work in progress
++ done
Added: kde-extras/k3b/k3b/branches/upstream/current/acinclude.m4
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/acinclude.m4 (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/acinclude.m4 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,11921 @@
+## -*- autoconf -*-
+
+dnl This file is part of the KDE libraries/packages
+dnl Copyright (C) 1997 Janos Farkas (chexum at shadow.banki.hu)
+dnl (C) 1997,98,99 Stephan Kulow (coolo at 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., 51 Franklin Street, Fifth Floor,
+dnl Boston, MA 02110-1301, USA.
+
+dnl IMPORTANT NOTE:
+dnl Please do not modify this file unless you expect your modifications to be
+dnl carried into every other module in the repository.
+dnl
+dnl Single-module modifications are best placed in configure.in for kdelibs
+dnl and kdebase or configure.in.in if present.
+
+# KDE_PATH_X_DIRECT
+dnl Internal subroutine of AC_PATH_X.
+dnl Set ac_x_includes and/or ac_x_libraries.
+AC_DEFUN([KDE_PATH_X_DIRECT],
+[
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+if test "$ac_x_includes" = NO; then
+ # Guess where to find include files, by looking for this one X11 .h file.
+ test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
+
+ # First, try using that file with no special directory specified.
+AC_TRY_CPP([#include <$x_direct_test_include>],
+[# We can compile using X headers with no special include directory.
+ac_x_includes=],
+[# Look for the header file in a standard set of common directories.
+# Check X11 before X11Rn because it is often a symlink to the current release.
+ for ac_dir in \
+ /usr/X11/include \
+ /usr/X11R6/include \
+ /usr/X11R5/include \
+ /usr/X11R4/include \
+ \
+ /usr/include/X11 \
+ /usr/include/X11R6 \
+ /usr/include/X11R5 \
+ /usr/include/X11R4 \
+ \
+ /usr/local/X11/include \
+ /usr/local/X11R6/include \
+ /usr/local/X11R5/include \
+ /usr/local/X11R4/include \
+ \
+ /usr/local/include/X11 \
+ /usr/local/include/X11R6 \
+ /usr/local/include/X11R5 \
+ /usr/local/include/X11R4 \
+ \
+ /usr/X386/include \
+ /usr/x386/include \
+ /usr/XFree86/include/X11 \
+ \
+ /usr/include \
+ /usr/local/include \
+ /usr/unsupported/include \
+ /usr/athena/include \
+ /usr/local/x11r5/include \
+ /usr/lpp/Xamples/include \
+ \
+ /usr/openwin/include \
+ /usr/openwin/share/include \
+ ; \
+ do
+ if test -r "$ac_dir/$x_direct_test_include"; then
+ ac_x_includes=$ac_dir
+ break
+ fi
+ done])
+fi # $ac_x_includes = NO
+
+if test "$ac_x_libraries" = NO; then
+ # Check for the libraries.
+
+ test -z "$x_direct_test_library" && x_direct_test_library=Xt
+ test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
+
+ # See if we find them without any special options.
+ # Don't add to $LIBS permanently.
+ ac_save_LIBS="$LIBS"
+ LIBS="-l$x_direct_test_library $LIBS"
+AC_TRY_LINK([#include <X11/Intrinsic.h>], [${x_direct_test_function}(1)],
+[LIBS="$ac_save_LIBS"
+# We can link X programs with no special library path.
+ac_x_libraries=],
+[LIBS="$ac_save_LIBS"
+# First see if replacing the include by lib works.
+# Check X11 before X11Rn because it is often a symlink to the current release.
+for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
+ /usr/X11/lib${kdelibsuff} \
+ /usr/X11R6/lib${kdelibsuff} \
+ /usr/X11R5/lib${kdelibsuff} \
+ /usr/X11R4/lib${kdelibsuff} \
+ \
+ /usr/lib${kdelibsuff}/X11 \
+ /usr/lib${kdelibsuff}/X11R6 \
+ /usr/lib${kdelibsuff}/X11R5 \
+ /usr/lib${kdelibsuff}/X11R4 \
+ \
+ /usr/local/X11/lib${kdelibsuff} \
+ /usr/local/X11R6/lib${kdelibsuff} \
+ /usr/local/X11R5/lib${kdelibsuff} \
+ /usr/local/X11R4/lib${kdelibsuff} \
+ \
+ /usr/local/lib${kdelibsuff}/X11 \
+ /usr/local/lib${kdelibsuff}/X11R6 \
+ /usr/local/lib${kdelibsuff}/X11R5 \
+ /usr/local/lib${kdelibsuff}/X11R4 \
+ \
+ /usr/X386/lib${kdelibsuff} \
+ /usr/x386/lib${kdelibsuff} \
+ /usr/XFree86/lib${kdelibsuff}/X11 \
+ \
+ /usr/lib${kdelibsuff} \
+ /usr/local/lib${kdelibsuff} \
+ /usr/unsupported/lib${kdelibsuff} \
+ /usr/athena/lib${kdelibsuff} \
+ /usr/local/x11r5/lib${kdelibsuff} \
+ /usr/lpp/Xamples/lib${kdelibsuff} \
+ /lib/usr/lib${kdelibsuff}/X11 \
+ \
+ /usr/openwin/lib${kdelibsuff} \
+ /usr/openwin/share/lib${kdelibsuff} \
+ ; \
+do
+dnl Don't even attempt the hair of trying to link an X program!
+ for ac_extension in a so sl; do
+ if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
+ ac_x_libraries=$ac_dir
+ break 2
+ fi
+ done
+done])
+fi # $ac_x_libraries = NO
+])
+
+
+dnl ------------------------------------------------------------------------
+dnl Find a file (or one of more files in a list of dirs)
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN([AC_FIND_FILE],
+[
+$3=NO
+for i in $2;
+do
+ for j in $1;
+ do
+ echo "configure: __oline__: $i/$j" >&AC_FD_CC
+ if test -r "$i/$j"; then
+ echo "taking that" >&AC_FD_CC
+ $3=$i
+ break 2
+ fi
+ done
+done
+])
+
+dnl KDE_FIND_PATH(program-name, variable-name, list-of-dirs,
+dnl if-not-found, test-parameter, prepend-path)
+dnl
+dnl Look for program-name in list-of-dirs+$PATH.
+dnl If prepend-path is set, look in $PATH+list-of-dirs instead.
+dnl If found, $variable-name is set. If not, if-not-found is evaluated.
+dnl test-parameter: if set, the program is executed with this arg,
+dnl and only a successful exit code is required.
+AC_DEFUN([KDE_FIND_PATH],
+[
+ AC_MSG_CHECKING([for $1])
+ if test -n "$$2"; then
+ kde_cv_path="$$2";
+ else
+ kde_cache=`echo $1 | sed 'y%./+-%__p_%'`
+
+ AC_CACHE_VAL(kde_cv_path_$kde_cache,
+ [
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ dirs=""
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ if test -z "$6"; then dnl Append dirs in PATH (default)
+ dirs="$3 $dirs"
+ else dnl Prepend dirs in PATH (if 6th arg is set)
+ dirs="$dirs $3"
+ fi
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/$1"; then
+ if test -n "$5"
+ then
+ evalstr="$dir/$1 $5 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/$1"
+ break
+ fi
+ else
+ kde_cv_path="$dir/$1"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+ ])
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ AC_MSG_RESULT(not found)
+ $4
+ else
+ AC_MSG_RESULT($kde_cv_path)
+ $2=$kde_cv_path
+
+ fi
+])
+
+AC_DEFUN([KDE_MOC_ERROR_MESSAGE],
+[
+ AC_MSG_ERROR([No Qt meta object compiler (moc) found!
+Please check whether you installed Qt correctly.
+You need to have a running moc binary.
+configure tried to run $ac_cv_path_moc and the test didn't
+succeed. If configure shouldn't have tried this one, set
+the environment variable MOC to the right one before running
+configure.
+])
+])
+
+AC_DEFUN([KDE_UIC_ERROR_MESSAGE],
+[
+ AC_MSG_WARN([No Qt ui compiler (uic) found!
+Please check whether you installed Qt correctly.
+You need to have a running uic binary.
+configure tried to run $ac_cv_path_uic and the test didn't
+succeed. If configure shouldn't have tried this one, set
+the environment variable UIC to the right one before running
+configure.
+])
+])
+
+
+AC_DEFUN([KDE_CHECK_UIC_FLAG],
+[
+ AC_MSG_CHECKING([whether uic supports -$1 ])
+ kde_cache=`echo $1 | sed 'y% .=/+-%____p_%'`
+ AC_CACHE_VAL(kde_cv_prog_uic_$kde_cache,
+ [
+ cat >conftest.ui <<EOT
+ <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
+EOT
+ ac_uic_testrun="$UIC_PATH -$1 $2 conftest.ui >/dev/null"
+ if AC_TRY_EVAL(ac_uic_testrun); then
+ eval "kde_cv_prog_uic_$kde_cache=yes"
+ else
+ eval "kde_cv_prog_uic_$kde_cache=no"
+ fi
+ rm -f conftest*
+ ])
+
+ if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
+ AC_MSG_RESULT([yes])
+ :
+ $3
+ else
+ AC_MSG_RESULT([no])
+ :
+ $4
+ fi
+])
+
+
+dnl ------------------------------------------------------------------------
+dnl Find the meta object compiler and the ui compiler in the PATH,
+dnl in $QTDIR/bin, and some more usual places
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN([AC_PATH_QT_MOC_UIC],
+[
+ AC_REQUIRE([KDE_CHECK_PERL])
+ qt_bindirs=""
+ for dir in $kde_qt_dirs; do
+ qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
+ done
+ qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
+ if test ! "$ac_qt_bindir" = "NO"; then
+ qt_bindirs="$ac_qt_bindir $qt_bindirs"
+ fi
+
+ KDE_FIND_PATH(moc, MOC, [$qt_bindirs], [KDE_MOC_ERROR_MESSAGE])
+ if test -z "$UIC_NOT_NEEDED"; then
+ KDE_FIND_PATH(uic, UIC_PATH, [$qt_bindirs], [UIC_PATH=""])
+ if test -z "$UIC_PATH" ; then
+ KDE_UIC_ERROR_MESSAGE
+ exit 1
+ else
+ UIC=$UIC_PATH
+
+ if test $kde_qtver = 3; then
+ KDE_CHECK_UIC_FLAG(L,[/nonexistent],ac_uic_supports_libpath=yes,ac_uic_supports_libpath=no)
+ KDE_CHECK_UIC_FLAG(nounload,,ac_uic_supports_nounload=yes,ac_uic_supports_nounload=no)
+
+ if test x$ac_uic_supports_libpath = xyes; then
+ UIC="$UIC -L \$(kde_widgetdir)"
+ fi
+ if test x$ac_uic_supports_nounload = xyes; then
+ UIC="$UIC -nounload"
+ fi
+ fi
+ fi
+ else
+ UIC="echo uic not available: "
+ fi
+
+ AC_SUBST(MOC)
+ AC_SUBST(UIC)
+
+ UIC_TR="i18n"
+ if test $kde_qtver = 3; then
+ UIC_TR="tr2i18n"
+ fi
+
+ AC_SUBST(UIC_TR)
+])
+
+AC_DEFUN([KDE_1_CHECK_PATHS],
+[
+ KDE_1_CHECK_PATH_HEADERS
+
+ KDE_TEST_RPATH=
+
+ if test -n "$USE_RPATH"; then
+
+ if test -n "$kde_libraries"; then
+ KDE_TEST_RPATH="-R $kde_libraries"
+ fi
+
+ if test -n "$qt_libraries"; then
+ KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
+ fi
+
+ if test -n "$x_libraries"; then
+ KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
+ fi
+
+ KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
+ fi
+
+AC_MSG_CHECKING([for KDE libraries installed])
+ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
+
+if AC_TRY_EVAL(ac_link) && test -s conftest; then
+ AC_MSG_RESULT(yes)
+else
+ AC_MSG_ERROR([your system fails at linking a small KDE application!
+Check, if your compiler is installed correctly and if you have used the
+same compiler to compile Qt and kdelibs as you did use now.
+For more details about this problem, look at the end of config.log.])
+fi
+
+if eval `KDEDIR= ./conftest 2>&5`; then
+ kde_result=done
+else
+ kde_result=problems
+fi
+
+KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
+kde_have_all_paths=yes
+
+KDE_SET_PATHS($kde_result)
+
+])
+
+AC_DEFUN([KDE_SET_PATHS],
+[
+ kde_cv_all_paths="kde_have_all_paths=\"yes\" \
+ kde_htmldir=\"$kde_htmldir\" \
+ kde_appsdir=\"$kde_appsdir\" \
+ kde_icondir=\"$kde_icondir\" \
+ kde_sounddir=\"$kde_sounddir\" \
+ kde_datadir=\"$kde_datadir\" \
+ kde_locale=\"$kde_locale\" \
+ kde_cgidir=\"$kde_cgidir\" \
+ kde_confdir=\"$kde_confdir\" \
+ kde_kcfgdir=\"$kde_kcfgdir\" \
+ kde_mimedir=\"$kde_mimedir\" \
+ kde_toolbardir=\"$kde_toolbardir\" \
+ kde_wallpaperdir=\"$kde_wallpaperdir\" \
+ kde_templatesdir=\"$kde_templatesdir\" \
+ kde_bindir=\"$kde_bindir\" \
+ kde_servicesdir=\"$kde_servicesdir\" \
+ kde_servicetypesdir=\"$kde_servicetypesdir\" \
+ kde_moduledir=\"$kde_moduledir\" \
+ kde_styledir=\"$kde_styledir\" \
+ kde_widgetdir=\"$kde_widgetdir\" \
+ xdg_appsdir=\"$xdg_appsdir\" \
+ xdg_menudir=\"$xdg_menudir\" \
+ xdg_directorydir=\"$xdg_directorydir\" \
+ kde_result=$1"
+])
+
+AC_DEFUN([KDE_SET_DEFAULT_PATHS],
+[
+if test "$1" = "default"; then
+
+ if test -z "$kde_htmldir"; then
+ kde_htmldir='\${datadir}/doc/HTML'
+ fi
+ if test -z "$kde_appsdir"; then
+ kde_appsdir='\${datadir}/applnk'
+ fi
+ if test -z "$kde_icondir"; then
+ kde_icondir='\${datadir}/icons'
+ fi
+ if test -z "$kde_sounddir"; then
+ kde_sounddir='\${datadir}/sounds'
+ fi
+ if test -z "$kde_datadir"; then
+ kde_datadir='\${datadir}/apps'
+ fi
+ if test -z "$kde_locale"; then
+ kde_locale='\${datadir}/locale'
+ fi
+ if test -z "$kde_cgidir"; then
+ kde_cgidir='\${exec_prefix}/cgi-bin'
+ fi
+ if test -z "$kde_confdir"; then
+ kde_confdir='\${datadir}/config'
+ fi
+ if test -z "$kde_kcfgdir"; then
+ kde_kcfgdir='\${datadir}/config.kcfg'
+ fi
+ if test -z "$kde_mimedir"; then
+ kde_mimedir='\${datadir}/mimelnk'
+ fi
+ if test -z "$kde_toolbardir"; then
+ kde_toolbardir='\${datadir}/toolbar'
+ fi
+ if test -z "$kde_wallpaperdir"; then
+ kde_wallpaperdir='\${datadir}/wallpapers'
+ fi
+ if test -z "$kde_templatesdir"; then
+ kde_templatesdir='\${datadir}/templates'
+ fi
+ if test -z "$kde_bindir"; then
+ kde_bindir='\${exec_prefix}/bin'
+ fi
+ if test -z "$kde_servicesdir"; then
+ kde_servicesdir='\${datadir}/services'
+ fi
+ if test -z "$kde_servicetypesdir"; then
+ kde_servicetypesdir='\${datadir}/servicetypes'
+ fi
+ if test -z "$kde_moduledir"; then
+ if test "$kde_qtver" = "2"; then
+ kde_moduledir='\${libdir}/kde2'
+ else
+ kde_moduledir='\${libdir}/kde3'
+ fi
+ fi
+ if test -z "$kde_styledir"; then
+ kde_styledir='\${libdir}/kde3/plugins/styles'
+ fi
+ if test -z "$kde_widgetdir"; then
+ kde_widgetdir='\${libdir}/kde3/plugins/designer'
+ fi
+ if test -z "$xdg_appsdir"; then
+ xdg_appsdir='\${datadir}/applications/kde'
+ fi
+ if test -z "$xdg_menudir"; then
+ xdg_menudir='\${sysconfdir}/xdg/menus'
+ fi
+ if test -z "$xdg_directorydir"; then
+ xdg_directorydir='\${datadir}/desktop-directories'
+ fi
+
+ KDE_SET_PATHS(defaults)
+
+else
+
+ if test $kde_qtver = 1; then
+ AC_MSG_RESULT([compiling])
+ KDE_1_CHECK_PATHS
+ else
+ AC_MSG_ERROR([path checking not yet supported for KDE 2])
+ fi
+
+fi
+])
+
+AC_DEFUN([KDE_CHECK_PATHS_FOR_COMPLETENESS],
+[ if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
+ test -z "$kde_icondir" || test -z "$kde_sounddir" ||
+ test -z "$kde_datadir" || test -z "$kde_locale" ||
+ test -z "$kde_cgidir" || test -z "$kde_confdir" ||
+ test -z "$kde_kcfgdir" ||
+ test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
+ test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
+ test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
+ test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
+ test -z "$kde_styledir" || test -z "kde_widgetdir" ||
+ test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
+ test "x$kde_have_all_paths" != "xyes"; then
+ kde_have_all_paths=no
+ fi
+])
+
+AC_DEFUN([KDE_MISSING_PROG_ERROR],
+[
+ AC_MSG_ERROR([The important program $1 was not found!
+Please check whether you installed KDE correctly.
+])
+])
+
+AC_DEFUN([KDE_MISSING_ARTS_ERROR],
+[
+ AC_MSG_ERROR([The important program $1 was not found!
+Please check whether you installed aRts correctly or use
+--without-arts to compile without aRts support (this will remove functionality).
+])
+])
+
+AC_DEFUN([KDE_SET_DEFAULT_BINDIRS],
+[
+ kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
+ test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
+ if test -n "$KDEDIRS"; then
+ kde_save_IFS=$IFS
+ IFS=:
+ for dir in $KDEDIRS; do
+ kde_default_bindirs="$dir/bin $kde_default_bindirs "
+ done
+ IFS=$kde_save_IFS
+ fi
+])
+
+AC_DEFUN([KDE_SUBST_PROGRAMS],
+[
+ AC_ARG_WITH(arts,
+ AC_HELP_STRING([--without-arts],[build without aRts [default=no]]),
+ [build_arts=$withval],
+ [build_arts=yes]
+ )
+ AM_CONDITIONAL(include_ARTS, test "$build_arts" '!=' "no")
+ if test "$build_arts" = "no"; then
+ AC_DEFINE(WITHOUT_ARTS, 1, [Defined if compiling without arts])
+ fi
+
+ KDE_SET_DEFAULT_BINDIRS
+ kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
+ KDE_FIND_PATH(dcopidl, DCOPIDL, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidl)])
+ KDE_FIND_PATH(dcopidl2cpp, DCOPIDL2CPP, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidl2cpp)])
+ if test "$build_arts" '!=' "no"; then
+ KDE_FIND_PATH(mcopidl, MCOPIDL, [$kde_default_bindirs], [KDE_MISSING_ARTS_ERROR(mcopidl)])
+ KDE_FIND_PATH(artsc-config, ARTSCCONFIG, [$kde_default_bindirs], [KDE_MISSING_ARTS_ERROR(artsc-config)])
+ fi
+ KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs])
+
+ kde32ornewer=1
+ kde33ornewer=1
+ if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
+ kde32ornewer=
+ kde33ornewer=
+ else
+ if test "$kde_qtver" = "3"; then
+ if test "$kde_qtsubver" -le 1; then
+ kde32ornewer=
+ fi
+ if test "$kde_qtsubver" -le 2; then
+ kde33ornewer=
+ fi
+ if test "$KDECONFIG" != "compiled"; then
+ if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then
+ kde33ornewer=
+ fi
+ fi
+ fi
+ fi
+
+ if test -n "$kde32ornewer"; then
+ KDE_FIND_PATH(kconfig_compiler, KCONFIG_COMPILER, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kconfig_compiler)])
+ KDE_FIND_PATH(dcopidlng, DCOPIDLNG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidlng)])
+ fi
+ if test -n "$kde33ornewer"; then
+ KDE_FIND_PATH(makekdewidgets, MAKEKDEWIDGETS, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(makekdewidgets)])
+ AC_SUBST(MAKEKDEWIDGETS)
+ fi
+ KDE_FIND_PATH(xmllint, XMLLINT, [${prefix}/bin ${exec_prefix}/bin], [XMLLINT=""])
+
+ if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
+ kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
+ test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
+ AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET)
+ if test "$KDE_XSL_STYLESHEET" = "NO"; then
+ KDE_XSL_STYLESHEET=""
+ else
+ KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
+ fi
+ fi
+
+ DCOP_DEPENDENCIES='$(DCOPIDL)'
+ if test -n "$kde32ornewer"; then
+ KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)'
+ DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)'
+ AC_SUBST(KCONFIG_COMPILER)
+ AC_SUBST(KCFG_DEPENDENCIES)
+ AC_SUBST(DCOPIDLNG)
+ fi
+ AC_SUBST(DCOPIDL)
+ AC_SUBST(DCOPIDL2CPP)
+ AC_SUBST(DCOP_DEPENDENCIES)
+ AC_SUBST(MCOPIDL)
+ AC_SUBST(ARTSCCONFIG)
+ AC_SUBST(MEINPROC)
+ AC_SUBST(KDE_XSL_STYLESHEET)
+ AC_SUBST(XMLLINT)
+])dnl
+
+AC_DEFUN([AC_CREATE_KFSSTND],
+[
+AC_REQUIRE([AC_CHECK_RPATH])
+
+AC_MSG_CHECKING([for KDE paths])
+kde_result=""
+kde_cached_paths=yes
+AC_CACHE_VAL(kde_cv_all_paths,
+[
+ KDE_SET_DEFAULT_PATHS($1)
+ kde_cached_paths=no
+])
+eval "$kde_cv_all_paths"
+KDE_CHECK_PATHS_FOR_COMPLETENESS
+if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
+ # wrong values were cached, may be, we can set better ones
+ kde_result=
+ kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
+ kde_datadir= kde_locale= kde_cgidir= kde_confdir= kde_kcfgdir=
+ kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
+ kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
+ kde_have_all_paths=
+ kde_styledir=
+ kde_widgetdir=
+ xdg_appsdir = xdg_menudir= xdg_directorydir=
+ KDE_SET_DEFAULT_PATHS($1)
+ eval "$kde_cv_all_paths"
+ KDE_CHECK_PATHS_FOR_COMPLETENESS
+ kde_result="$kde_result (cache overridden)"
+fi
+if test "$kde_have_all_paths" = "no"; then
+ AC_MSG_ERROR([configure could not run a little KDE program to test the environment.
+Since it had compiled and linked before, it must be a strange problem on your system.
+Look at config.log for details. If you are not able to fix this, look at
+http://www.kde.org/faq/installation.html or any www.kde.org mirror.
+(If you're using an egcs version on Linux, you may update binutils!)
+])
+else
+ rm -f conftest*
+ AC_MSG_RESULT($kde_result)
+fi
+
+bindir=$kde_bindir
+
+KDE_SUBST_PROGRAMS
+
+])
+
+AC_DEFUN([AC_SUBST_KFSSTND],
+[
+AC_SUBST(kde_htmldir)
+AC_SUBST(kde_appsdir)
+AC_SUBST(kde_icondir)
+AC_SUBST(kde_sounddir)
+AC_SUBST(kde_datadir)
+AC_SUBST(kde_locale)
+AC_SUBST(kde_confdir)
+AC_SUBST(kde_kcfgdir)
+AC_SUBST(kde_mimedir)
+AC_SUBST(kde_wallpaperdir)
+AC_SUBST(kde_bindir)
+dnl X Desktop Group standards
+AC_SUBST(xdg_appsdir)
+AC_SUBST(xdg_menudir)
+AC_SUBST(xdg_directorydir)
+dnl for KDE 2
+AC_SUBST(kde_templatesdir)
+AC_SUBST(kde_servicesdir)
+AC_SUBST(kde_servicetypesdir)
+AC_SUBST(kde_moduledir)
+AC_SUBST(kdeinitdir, '$(kde_moduledir)')
+AC_SUBST(kde_styledir)
+AC_SUBST(kde_widgetdir)
+if test "$kde_qtver" = 1; then
+ kde_minidir="$kde_icondir/mini"
+else
+# for KDE 1 - this breaks KDE2 apps using minidir, but
+# that's the plan ;-/
+ kde_minidir="/dev/null"
+fi
+dnl AC_SUBST(kde_minidir)
+dnl AC_SUBST(kde_cgidir)
+dnl AC_SUBST(kde_toolbardir)
+])
+
+AC_DEFUN([KDE_MISC_TESTS],
+[
+ dnl Checks for libraries.
+ AC_CHECK_LIB(util, main, [LIBUTIL="-lutil"]) dnl for *BSD
+ AC_SUBST(LIBUTIL)
+ AC_CHECK_LIB(compat, main, [LIBCOMPAT="-lcompat"]) dnl for *BSD
+ AC_SUBST(LIBCOMPAT)
+ kde_have_crypt=
+ AC_CHECK_LIB(crypt, crypt, [LIBCRYPT="-lcrypt"; kde_have_crypt=yes],
+ AC_CHECK_LIB(c, crypt, [kde_have_crypt=yes], [
+ AC_MSG_WARN([you have no crypt in either libcrypt or libc.
+You should install libcrypt from another source or configure with PAM
+support])
+ kde_have_crypt=no
+ ]))
+ AC_SUBST(LIBCRYPT)
+ if test $kde_have_crypt = yes; then
+ AC_DEFINE_UNQUOTED(HAVE_CRYPT, 1, [Defines if your system has the crypt function])
+ fi
+ AC_CHECK_SOCKLEN_T
+ AC_CHECK_LIB(dnet, dnet_ntoa, [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"])
+ if test $ac_cv_lib_dnet_dnet_ntoa = no; then
+ AC_CHECK_LIB(dnet_stub, dnet_ntoa,
+ [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"])
+ fi
+ AC_CHECK_FUNC(inet_ntoa)
+ if test $ac_cv_func_inet_ntoa = no; then
+ AC_CHECK_LIB(nsl, inet_ntoa, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl")
+ fi
+ AC_CHECK_FUNC(connect)
+ if test $ac_cv_func_connect = no; then
+ AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS", ,
+ $X_EXTRA_LIBS)
+ fi
+
+ AC_CHECK_FUNC(remove)
+ if test $ac_cv_func_remove = no; then
+ AC_CHECK_LIB(posix, remove, X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix")
+ fi
+
+ # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
+ AC_CHECK_FUNC(shmat, ,
+ AC_CHECK_LIB(ipc, shmat, X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"))
+
+ # more headers that need to be explicitly included on darwin
+ AC_CHECK_HEADERS(sys/types.h stdint.h)
+
+ # sys/bitypes.h is needed for uint32_t and friends on Tru64
+ AC_CHECK_HEADERS(sys/bitypes.h)
+
+ # darwin requires a poll emulation library
+ AC_CHECK_LIB(poll, poll, LIB_POLL="-lpoll")
+
+ # for some image handling on Mac OS X
+ AC_CHECK_HEADERS(Carbon/Carbon.h)
+
+ # CoreAudio framework
+ AC_CHECK_HEADER(CoreAudio/CoreAudio.h, [
+ AC_DEFINE(HAVE_COREAUDIO, 1, [Define if you have the CoreAudio API])
+ FRAMEWORK_COREAUDIO="-Wl,-framework,CoreAudio"
+ ])
+
+ AC_CHECK_RES_INIT
+ AC_SUBST(LIB_POLL)
+ AC_SUBST(FRAMEWORK_COREAUDIO)
+ LIBSOCKET="$X_EXTRA_LIBS"
+ AC_SUBST(LIBSOCKET)
+ AC_SUBST(X_EXTRA_LIBS)
+ AC_CHECK_LIB(ucb, killpg, [LIBUCB="-lucb"]) dnl for Solaris2.4
+ AC_SUBST(LIBUCB)
+
+ case $host in dnl this *is* LynxOS specific
+ *-*-lynxos* )
+ AC_MSG_CHECKING([LynxOS header file wrappers])
+ [CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"]
+ AC_MSG_RESULT(disabled)
+ AC_CHECK_LIB(bsd, gethostbyname, [LIBSOCKET="-lbsd"]) dnl for LynxOS
+ ;;
+ esac
+
+ KDE_CHECK_TYPES
+ KDE_CHECK_LIBDL
+ KDE_CHECK_STRLCPY
+ KDE_CHECK_PIE_SUPPORT
+
+# darwin needs this to initialize the environment
+AC_CHECK_HEADERS(crt_externs.h)
+AC_CHECK_FUNC(_NSGetEnviron, [AC_DEFINE(HAVE_NSGETENVIRON, 1, [Define if your system needs _NSGetEnviron to set up the environment])])
+
+AH_VERBATIM(_DARWIN_ENVIRON,
+[
+#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
+# include <sys/time.h>
+# include <crt_externs.h>
+# define environ (*_NSGetEnviron())
+#endif
+])
+
+AH_VERBATIM(_AIX_STRINGS_H_BZERO,
+[
+/*
+ * AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
+ * that defines bzero.
+ */
+
+#if defined(_AIX)
+#include <strings.h>
+#endif
+])
+
+AC_CHECK_FUNCS([vsnprintf snprintf])
+
+AH_VERBATIM(_TRU64,[
+/*
+ * On HP-UX, the declaration of vsnprintf() is needed every time !
+ */
+
+#if !defined(HAVE_VSNPRINTF) || defined(hpux)
+#if __STDC__
+#include <stdarg.h>
+#include <stdlib.h>
+#else
+#include <varargs.h>
+#endif
+#ifdef __cplusplus
+extern "C"
+#endif
+int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
+#ifdef __cplusplus
+extern "C"
+#endif
+int snprintf(char *str, size_t n, char const *fmt, ...);
+#endif
+])
+
+])
+
+dnl ------------------------------------------------------------------------
+dnl Find the header files and libraries for X-Windows. Extended the
+dnl macro AC_PATH_X
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN([K_PATH_X],
+[
+AC_REQUIRE([KDE_MISC_TESTS])dnl
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+AC_ARG_ENABLE(
+ embedded,
+ AC_HELP_STRING([--enable-embedded],[link to Qt-embedded, don't use X]),
+ kde_use_qt_emb=$enableval,
+ kde_use_qt_emb=no
+)
+
+AC_ARG_ENABLE(
+ qtopia,
+ AC_HELP_STRING([--enable-qtopia],[link to Qt-embedded, link to the Qtopia Environment]),
+ kde_use_qt_emb_palm=$enableval,
+ kde_use_qt_emb_palm=no
+)
+
+AC_ARG_ENABLE(
+ mac,
+ AC_HELP_STRING([--enable-mac],[link to Qt/Mac (don't use X)]),
+ kde_use_qt_mac=$enableval,
+ kde_use_qt_mac=no
+)
+
+# used to disable x11-specific stuff on special platforms
+AM_CONDITIONAL(include_x11, test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no")
+
+if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
+
+AC_MSG_CHECKING(for X)
+
+AC_CACHE_VAL(kde_cv_have_x,
+[# One or both of the vars are not set, and there is no cached value.
+if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
+ kde_x_includes=NO
+else
+ kde_x_includes=$x_includes
+fi
+if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
+ kde_x_libraries=NO
+else
+ kde_x_libraries=$x_libraries
+fi
+
+# below we use the standard autoconf calls
+ac_x_libraries=$kde_x_libraries
+ac_x_includes=$kde_x_includes
+
+KDE_PATH_X_DIRECT
+dnl AC_PATH_X_XMKMF picks /usr/lib as the path for the X libraries.
+dnl Unfortunately, if compiling with the N32 ABI, this is not the correct
+dnl location. The correct location is /usr/lib32 or an undefined value
+dnl (the linker is smart enough to pick the correct default library).
+dnl Things work just fine if you use just AC_PATH_X_DIRECT.
+dnl Solaris has a similar problem. AC_PATH_X_XMKMF forces x_includes to
+dnl /usr/openwin/include, which doesn't work. /usr/include does work, so
+dnl x_includes should be left alone.
+case "$host" in
+mips-sgi-irix6*)
+ ;;
+*-*-solaris*)
+ ;;
+*)
+ _AC_PATH_X_XMKMF
+ if test -z "$ac_x_includes"; then
+ ac_x_includes="."
+ fi
+ if test -z "$ac_x_libraries"; then
+ ac_x_libraries="/usr/lib${kdelibsuff}"
+ fi
+esac
+#from now on we use our own again
+
+# when the user already gave --x-includes, we ignore
+# what the standard autoconf macros told us.
+if test "$kde_x_includes" = NO; then
+ kde_x_includes=$ac_x_includes
+fi
+
+# for --x-libraries too
+if test "$kde_x_libraries" = NO; then
+ kde_x_libraries=$ac_x_libraries
+fi
+
+if test "$kde_x_includes" = NO; then
+ AC_MSG_ERROR([Can't find X includes. Please check your installation and add the correct paths!])
+fi
+
+if test "$kde_x_libraries" = NO; then
+ AC_MSG_ERROR([Can't find X libraries. Please check your installation and add the correct paths!])
+fi
+
+# Record where we found X for the cache.
+kde_cv_have_x="have_x=yes \
+ kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
+])dnl
+
+eval "$kde_cv_have_x"
+
+if test "$have_x" != yes; then
+ AC_MSG_RESULT($have_x)
+ no_x=yes
+else
+ AC_MSG_RESULT([libraries $kde_x_libraries, headers $kde_x_includes])
+fi
+
+if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
+ X_INCLUDES=""
+ x_includes="."; dnl better than nothing :-
+ else
+ x_includes=$kde_x_includes
+ X_INCLUDES="-I$x_includes"
+fi
+
+if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE || test "$kde_x_libraries" = "/usr/lib"; then
+ X_LDFLAGS=""
+ x_libraries="/usr/lib"; dnl better than nothing :-
+ else
+ x_libraries=$kde_x_libraries
+ X_LDFLAGS="-L$x_libraries"
+fi
+all_includes="$X_INCLUDES"
+all_libraries="$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS"
+
+# Check for libraries that X11R6 Xt/Xaw programs need.
+ac_save_LDFLAGS="$LDFLAGS"
+LDFLAGS="$LDFLAGS $X_LDFLAGS"
+# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
+# check for ICE first), but we must link in the order -lSM -lICE or
+# we get undefined symbols. So assume we have SM if we have ICE.
+# These have to be linked with before -lX11, unlike the other
+# libraries we check for below, so use a different variable.
+# --interran at uluru.Stanford.EDU, kb at cs.umb.edu.
+AC_CHECK_LIB(ICE, IceConnectionNumber,
+ [LIBSM="-lSM -lICE"], , $X_EXTRA_LIBS)
+LDFLAGS="$ac_save_LDFLAGS"
+
+LIB_X11='-lX11 $(LIBSOCKET)'
+
+AC_MSG_CHECKING(for libXext)
+AC_CACHE_VAL(kde_cv_have_libXext,
+[
+kde_ldflags_safe="$LDFLAGS"
+kde_libs_safe="$LIBS"
+
+LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
+LIBS="-lXext -lX11 $LIBSOCKET"
+
+AC_TRY_LINK([
+#include <stdio.h>
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+#endif
+],
+[
+printf("hello Xext\n");
+],
+kde_cv_have_libXext=yes,
+kde_cv_have_libXext=no
+)
+
+LDFLAGS=$kde_ldflags_safe
+LIBS=$kde_libs_safe
+])
+
+AC_MSG_RESULT($kde_cv_have_libXext)
+
+if test "$kde_cv_have_libXext" = "no"; then
+ AC_MSG_ERROR([We need a working libXext to proceed. Since configure
+can't find it itself, we stop here assuming that make wouldn't find
+them either.])
+fi
+
+LIB_XEXT="-lXext"
+QTE_NORTTI=""
+
+elif test "$kde_use_qt_emb" = "yes"; then
+ dnl We're using QT Embedded
+ CPPFLAGS=-DQWS
+ CXXFLAGS="$CXXFLAGS -fno-rtti"
+ QTE_NORTTI="-fno-rtti -DQWS"
+ X_PRE_LIBS=""
+ LIB_X11=""
+ LIB_XEXT=""
+ LIB_XRENDER=""
+ LIBSM=""
+ X_INCLUDES=""
+ X_LDFLAGS=""
+ x_includes=""
+ x_libraries=""
+elif test "$kde_use_qt_mac" = "yes"; then
+ dnl We're using QT/Mac (I use QT_MAC so that qglobal.h doesn't *have* to
+ dnl be included to get the information) --Sam
+ CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
+ CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp"
+ X_PRE_LIBS=""
+ LIB_X11=""
+ LIB_XEXT=""
+ LIB_XRENDER=""
+ LIBSM=""
+ X_INCLUDES=""
+ X_LDFLAGS=""
+ x_includes=""
+ x_libraries=""
+fi
+AC_SUBST(X_PRE_LIBS)
+AC_SUBST(LIB_X11)
+AC_SUBST(LIB_XRENDER)
+AC_SUBST(LIBSM)
+AC_SUBST(X_INCLUDES)
+AC_SUBST(X_LDFLAGS)
+AC_SUBST(x_includes)
+AC_SUBST(x_libraries)
+AC_SUBST(QTE_NORTTI)
+AC_SUBST(LIB_XEXT)
+
+])
+
+AC_DEFUN([KDE_PRINT_QT_PROGRAM],
+[
+AC_REQUIRE([KDE_USE_QT])
+cat > conftest.$ac_ext <<EOF
+#include "confdefs.h"
+#include <qglobal.h>
+#include <qapplication.h>
+EOF
+if test "$kde_qtver" = "2"; then
+cat >> conftest.$ac_ext <<EOF
+#include <qevent.h>
+#include <qstring.h>
+#include <qstyle.h>
+EOF
+
+if test $kde_qtsubver -gt 0; then
+cat >> conftest.$ac_ext <<EOF
+#if QT_VERSION < 210
+#error 1
+#endif
+EOF
+fi
+fi
+
+if test "$kde_qtver" = "3"; then
+cat >> conftest.$ac_ext <<EOF
+#include <qcursor.h>
+#include <qstylefactory.h>
+#include <private/qucomextra_p.h>
+EOF
+fi
+
+echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
+cat >> conftest.$ac_ext <<EOF
+#error 1
+#endif
+
+int main() {
+EOF
+if test "$kde_qtver" = "2"; then
+cat >> conftest.$ac_ext <<EOF
+ QStringList *t = new QStringList();
+ Q_UNUSED(t);
+EOF
+if test $kde_qtsubver -gt 0; then
+cat >> conftest.$ac_ext <<EOF
+ QString s;
+ s.setLatin1("Elvis is alive", 14);
+EOF
+fi
+fi
+if test "$kde_qtver" = "3"; then
+cat >> conftest.$ac_ext <<EOF
+ (void)QStyleFactory::create(QString::null);
+ QCursor c(Qt::WhatsThisCursor);
+EOF
+fi
+cat >> conftest.$ac_ext <<EOF
+ return 0;
+}
+EOF
+])
+
+AC_DEFUN([KDE_USE_QT],
+[
+if test -z "$1"; then
+ # Current default Qt version: 3.3
+ kde_qtver=3
+ kde_qtsubver=3
+else
+ kde_qtsubver=`echo "$1" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
+ # following is the check if subversion isnt found in passed argument
+ if test "$kde_qtsubver" = "$1"; then
+ kde_qtsubver=1
+ fi
+ kde_qtver=`echo "$1" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
+ if test "$kde_qtver" = "1"; then
+ kde_qtsubver=42
+ fi
+fi
+
+if test -z "$2"; then
+ if test "$kde_qtver" = "2"; then
+ if test $kde_qtsubver -gt 0; then
+ kde_qt_minversion=">= Qt 2.2.2"
+ else
+ kde_qt_minversion=">= Qt 2.0.2"
+ fi
+ fi
+ if test "$kde_qtver" = "3"; then
+ if test $kde_qtsubver -gt 0; then
+ if test $kde_qtsubver -gt 1; then
+ if test $kde_qtsubver -gt 2; then
+ kde_qt_minversion=">= Qt 3.3 and < 4.0"
+ else
+ kde_qt_minversion=">= Qt 3.2 and < 4.0"
+ fi
+ else
+ kde_qt_minversion=">= Qt 3.1 (20021021) and < 4.0"
+ fi
+ else
+ kde_qt_minversion=">= Qt 3.0 and < 4.0"
+ fi
+ fi
+ if test "$kde_qtver" = "1"; then
+ kde_qt_minversion=">= 1.42 and < 2.0"
+ fi
+else
+ kde_qt_minversion="$2"
+fi
+
+if test -z "$3"; then
+ if test $kde_qtver = 3; then
+ if test $kde_qtsubver -gt 0; then
+ kde_qt_verstring="QT_VERSION >= 0x03 at VER@00 && QT_VERSION < 0x040000"
+ qtsubver=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
+ kde_qt_verstring=`echo $kde_qt_verstring | sed -e "s, at VER@,$qtsubver,"`
+ else
+ kde_qt_verstring="QT_VERSION >= 300 && QT_VERSION < 0x040000"
+ fi
+ fi
+ if test $kde_qtver = 2; then
+ if test $kde_qtsubver -gt 0; then
+ kde_qt_verstring="QT_VERSION >= 222"
+ else
+ kde_qt_verstring="QT_VERSION >= 200"
+ fi
+ fi
+ if test $kde_qtver = 1; then
+ kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
+ fi
+else
+ kde_qt_verstring="$3"
+fi
+
+if test $kde_qtver = 4; then
+ kde_qt_dirs="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4"
+fi
+if test $kde_qtver = 3; then
+ kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
+fi
+if test $kde_qtver = 2; then
+ kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
+fi
+if test $kde_qtver = 1; then
+ kde_qt_dirs="$QTDIR /usr/lib/qt"
+fi
+])
+
+AC_DEFUN([KDE_CHECK_QT_DIRECT],
+[
+AC_REQUIRE([KDE_USE_QT])
+AC_MSG_CHECKING([if Qt compiles without flags])
+AC_CACHE_VAL(kde_cv_qt_direct,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
+ac_LIBRARY_PATH="$LIBRARY_PATH"
+ac_cxxflags_safe="$CXXFLAGS"
+ac_ldflags_safe="$LDFLAGS"
+ac_libs_safe="$LIBS"
+
+CXXFLAGS="$CXXFLAGS -I$qt_includes"
+LDFLAGS="$LDFLAGS $X_LDFLAGS"
+if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
+else
+LIBS="$LIBQT $LIBSOCKET"
+fi
+LD_LIBRARY_PATH=
+export LD_LIBRARY_PATH
+LIBRARY_PATH=
+export LIBRARY_PATH
+
+KDE_PRINT_QT_PROGRAM
+
+if AC_TRY_EVAL(ac_link) && test -s conftest; then
+ kde_cv_qt_direct="yes"
+else
+ kde_cv_qt_direct="no"
+ echo "configure: failed program was:" >&AC_FD_CC
+ cat conftest.$ac_ext >&AC_FD_CC
+fi
+
+rm -f conftest*
+CXXFLAGS="$ac_cxxflags_safe"
+LDFLAGS="$ac_ldflags_safe"
+LIBS="$ac_libs_safe"
+
+LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
+export LD_LIBRARY_PATH
+LIBRARY_PATH="$ac_LIBRARY_PATH"
+export LIBRARY_PATH
+AC_LANG_RESTORE
+])
+
+if test "$kde_cv_qt_direct" = "yes"; then
+ AC_MSG_RESULT(yes)
+ $1
+else
+ AC_MSG_RESULT(no)
+ $2
+fi
+])
+
+dnl ------------------------------------------------------------------------
+dnl Try to find the Qt headers and libraries.
+dnl $(QT_LDFLAGS) will be -Lqtliblocation (if needed)
+dnl and $(QT_INCLUDES) will be -Iqthdrlocation (if needed)
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN([AC_PATH_QT_1_3],
+[
+AC_REQUIRE([K_PATH_X])
+AC_REQUIRE([KDE_USE_QT])
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+dnl ------------------------------------------------------------------------
+dnl Add configure flag to enable linking to MT version of Qt library.
+dnl ------------------------------------------------------------------------
+
+AC_ARG_ENABLE(
+ mt,
+ AC_HELP_STRING([--disable-mt],[link to non-threaded Qt (deprecated)]),
+ kde_use_qt_mt=$enableval,
+ [
+ if test $kde_qtver = 3; then
+ kde_use_qt_mt=yes
+ else
+ kde_use_qt_mt=no
+ fi
+ ]
+)
+
+USING_QT_MT=""
+
+dnl ------------------------------------------------------------------------
+dnl If we not get --disable-qt-mt then adjust some vars for the host.
+dnl ------------------------------------------------------------------------
+
+KDE_MT_LDFLAGS=
+KDE_MT_LIBS=
+if test "x$kde_use_qt_mt" = "xyes"; then
+ KDE_CHECK_THREADING
+ if test "x$kde_use_threading" = "xyes"; then
+ CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
+ KDE_MT_LDFLAGS="$USE_THREADS"
+ KDE_MT_LIBS="$LIBPTHREAD"
+ else
+ kde_use_qt_mt=no
+ fi
+fi
+AC_SUBST(KDE_MT_LDFLAGS)
+AC_SUBST(KDE_MT_LIBS)
+
+kde_qt_was_given=yes
+
+dnl ------------------------------------------------------------------------
+dnl If we haven't been told how to link to Qt, we work it out for ourselves.
+dnl ------------------------------------------------------------------------
+if test -z "$LIBQT_GLOB"; then
+ if test "x$kde_use_qt_emb" = "xyes"; then
+ LIBQT_GLOB="libqte.*"
+ else
+ LIBQT_GLOB="libqt.*"
+ fi
+fi
+
+dnl ------------------------------------------------------------
+dnl If we got --enable-embedded then adjust the Qt library name.
+dnl ------------------------------------------------------------
+if test "x$kde_use_qt_emb" = "xyes"; then
+ qtlib="qte"
+else
+ qtlib="qt"
+fi
+
+kde_int_qt="-l$qtlib"
+
+if test -z "$LIBQPE"; then
+dnl ------------------------------------------------------------
+dnl If we got --enable-palmtop then add -lqpe to the link line
+dnl ------------------------------------------------------------
+ if test "x$kde_use_qt_emb" = "xyes"; then
+ if test "x$kde_use_qt_emb_palm" = "xyes"; then
+ LIB_QPE="-lqpe"
+ else
+ LIB_QPE=""
+ fi
+ else
+ LIB_QPE=""
+ fi
+fi
+
+dnl ------------------------------------------------------------------------
+dnl If we got --enable-qt-mt then adjust the Qt library name for the host.
+dnl ------------------------------------------------------------------------
+
+if test "x$kde_use_qt_mt" = "xyes"; then
+ LIBQT="-l$qtlib-mt"
+ kde_int_qt="-l$qtlib-mt"
+ LIBQT_GLOB="lib$qtlib-mt.*"
+ USING_QT_MT="using -mt"
+else
+ LIBQT="-l$qtlib"
+fi
+
+if test $kde_qtver != 1; then
+
+ AC_REQUIRE([AC_FIND_PNG])
+ AC_REQUIRE([AC_FIND_JPEG])
+ LIBQT="$LIBQT $LIBPNG $LIBJPEG"
+fi
+
+if test $kde_qtver = 3; then
+ AC_REQUIRE([KDE_CHECK_LIBDL])
+ LIBQT="$LIBQT $LIBDL"
+fi
+
+AC_MSG_CHECKING([for Qt])
+
+if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
+fi
+ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
+qt_libraries=""
+qt_includes=""
+AC_ARG_WITH(qt-dir,
+ AC_HELP_STRING([--with-qt-dir=DIR],[where the root of Qt is installed ]),
+ [ ac_qt_includes="$withval"/include
+ ac_qt_libraries="$withval"/lib${kdelibsuff}
+ ac_qt_bindir="$withval"/bin
+ ])
+
+AC_ARG_WITH(qt-includes,
+ AC_HELP_STRING([--with-qt-includes=DIR],[where the Qt includes are. ]),
+ [
+ ac_qt_includes="$withval"
+ ])
+
+kde_qt_libs_given=no
+
+AC_ARG_WITH(qt-libraries,
+ AC_HELP_STRING([--with-qt-libraries=DIR],[where the Qt library is installed.]),
+ [ ac_qt_libraries="$withval"
+ kde_qt_libs_given=yes
+ ])
+
+AC_CACHE_VAL(ac_cv_have_qt,
+[#try to guess Qt locations
+
+qt_incdirs=""
+for dir in $kde_qt_dirs; do
+ qt_incdirs="$qt_incdirs $dir/include $dir"
+done
+qt_incdirs="$QTINC $qt_incdirs /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/X11R6/include/qt2 /usr/include/qt3 $x_includes"
+if test ! "$ac_qt_includes" = "NO"; then
+ qt_incdirs="$ac_qt_includes $qt_incdirs"
+fi
+
+if test "$kde_qtver" != "1"; then
+ kde_qt_header=qstyle.h
+else
+ kde_qt_header=qglobal.h
+fi
+
+AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir)
+ac_qt_includes="$qt_incdir"
+
+qt_libdirs=""
+for dir in $kde_qt_dirs; do
+ qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
+done
+qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
+if test ! "$ac_qt_libraries" = "NO"; then
+ qt_libdir=$ac_qt_libraries
+else
+ qt_libdirs="$ac_qt_libraries $qt_libdirs"
+ # if the Qt was given, the chance is too big that libqt.* doesn't exist
+ qt_libdir=NONE
+ for dir in $qt_libdirs; do
+ try="ls -1 $dir/${LIBQT_GLOB}"
+ if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&AC_FD_CC ; fi
+ done
+fi
+for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
+ if test -e "$a"; then
+ LIBQT="$LIBQT ${kde_int_qt}_incremental"
+ break
+ fi
+done
+
+ac_qt_libraries="$qt_libdir"
+
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+
+ac_cxxflags_safe="$CXXFLAGS"
+ac_ldflags_safe="$LDFLAGS"
+ac_libs_safe="$LIBS"
+
+CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
+LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
+LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
+
+KDE_PRINT_QT_PROGRAM
+
+if AC_TRY_EVAL(ac_link) && test -s conftest; then
+ rm -f conftest*
+else
+ echo "configure: failed program was:" >&AC_FD_CC
+ cat conftest.$ac_ext >&AC_FD_CC
+ ac_qt_libraries="NO"
+fi
+rm -f conftest*
+CXXFLAGS="$ac_cxxflags_safe"
+LDFLAGS="$ac_ldflags_safe"
+LIBS="$ac_libs_safe"
+
+AC_LANG_RESTORE
+if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
+ ac_cv_have_qt="have_qt=no"
+ ac_qt_notfound=""
+ missing_qt_mt=""
+ if test "$ac_qt_includes" = NO; then
+ if test "$ac_qt_libraries" = NO; then
+ ac_qt_notfound="(headers and libraries)";
+ else
+ ac_qt_notfound="(headers)";
+ fi
+ else
+ if test "x$kde_use_qt_mt" = "xyes"; then
+ missing_qt_mt="
+Make sure that you have compiled Qt with thread support!"
+ ac_qt_notfound="(library $qtlib-mt)";
+ else
+ ac_qt_notfound="(library $qtlib)";
+ fi
+ fi
+
+ AC_MSG_ERROR([Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
+For more details about this problem, look at the end of config.log.$missing_qt_mt])
+else
+ have_qt="yes"
+fi
+])
+
+eval "$ac_cv_have_qt"
+
+if test "$have_qt" != yes; then
+ AC_MSG_RESULT([$have_qt]);
+else
+ ac_cv_have_qt="have_qt=yes \
+ ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
+ AC_MSG_RESULT([libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT])
+
+ qt_libraries="$ac_qt_libraries"
+ qt_includes="$ac_qt_includes"
+fi
+
+if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
+ KDE_CHECK_QT_DIRECT(qt_libraries= ,[])
+fi
+
+AC_SUBST(qt_libraries)
+AC_SUBST(qt_includes)
+
+if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
+ QT_INCLUDES=""
+else
+ QT_INCLUDES="-I$qt_includes"
+ all_includes="$QT_INCLUDES $all_includes"
+fi
+
+if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
+ QT_LDFLAGS=""
+else
+ QT_LDFLAGS="-L$qt_libraries"
+ all_libraries="$QT_LDFLAGS $all_libraries"
+fi
+test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
+
+AC_SUBST(QT_INCLUDES)
+AC_SUBST(QT_LDFLAGS)
+AC_PATH_QT_MOC_UIC
+
+KDE_CHECK_QT_JPEG
+
+if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
+else
+LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)'
+fi
+test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
+for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
+ if test -e "$a"; then
+ LIB_QT="$LIB_QT ${kde_int_qt}_incremental"
+ break
+ fi
+done
+
+AC_SUBST(LIB_QT)
+AC_SUBST(LIB_QPE)
+
+AC_SUBST(kde_qtver)
+])
+
+AC_DEFUN([AC_PATH_QT],
+[
+AC_PATH_QT_1_3
+])
+
+AC_DEFUN([KDE_CHECK_UIC_PLUGINS],
+[
+AC_REQUIRE([AC_PATH_QT_MOC_UIC])
+
+if test x$ac_uic_supports_libpath = xyes; then
+
+AC_MSG_CHECKING([if UIC has KDE plugins available])
+AC_CACHE_VAL(kde_cv_uic_plugins,
+[
+cat > actest.ui << EOF
+<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
+<class>NewConnectionDialog</class>
+<widget class="QDialog">
+ <widget class="KLineEdit">
+ <property name="name">
+ <cstring>testInput</cstring>
+ </property>
+ </widget>
+</widget>
+</UI>
+EOF
+
+
+
+kde_cv_uic_plugins=no
+kde_line="$UIC_PATH -L $kde_widgetdir"
+if test x$ac_uic_supports_nounload = xyes; then
+ kde_line="$kde_line -nounload"
+fi
+kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
+if AC_TRY_EVAL(kde_line); then
+ # if you're trying to debug this check and think it's incorrect,
+ # better check your installation. The check _is_ correct - your
+ # installation is not.
+ if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
+ kde_cv_uic_plugins=yes
+ fi
+fi
+rm -f actest.ui actest.cpp
+])
+
+AC_MSG_RESULT([$kde_cv_uic_plugins])
+if test "$kde_cv_uic_plugins" != yes; then
+ AC_MSG_ERROR([
+you need to install kdelibs first.
+
+If you did install kdelibs, then the Qt version that is picked up by
+this configure is not the same version you used to compile kdelibs.
+The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
+_same Qt version_, compiled with the _same compiler_ and the same Qt
+configuration settings.
+])
+fi
+fi
+])
+
+AC_DEFUN([KDE_CHECK_FINAL],
+[
+ AC_ARG_ENABLE(final,
+ AC_HELP_STRING([--enable-final],
+ [build size optimized apps (experimental - needs lots of memory)]),
+ kde_use_final=$enableval, kde_use_final=no)
+
+ if test "x$kde_use_final" = "xyes"; then
+ KDE_USE_FINAL_TRUE=""
+ KDE_USE_FINAL_FALSE="#"
+ else
+ KDE_USE_FINAL_TRUE="#"
+ KDE_USE_FINAL_FALSE=""
+ fi
+ AC_SUBST(KDE_USE_FINAL_TRUE)
+ AC_SUBST(KDE_USE_FINAL_FALSE)
+])
+
+AC_DEFUN([KDE_CHECK_CLOSURE],
+[
+ AC_ARG_ENABLE(closure,
+ AC_HELP_STRING([--enable-closure],[delay template instantiation]),
+ kde_use_closure=$enableval, kde_use_closure=no)
+
+ KDE_NO_UNDEFINED=""
+ if test "x$kde_use_closure" = "xyes"; then
+ KDE_USE_CLOSURE_TRUE=""
+ KDE_USE_CLOSURE_FALSE="#"
+# CXXFLAGS="$CXXFLAGS $REPO"
+ else
+ KDE_USE_CLOSURE_TRUE="#"
+ KDE_USE_CLOSURE_FALSE=""
+ KDE_NO_UNDEFINED=""
+ case $host in
+ *-*-linux-gnu)
+ KDE_CHECK_COMPILER_FLAG([Wl,--no-undefined],
+ [KDE_CHECK_COMPILER_FLAG([Wl,--allow-shlib-undefined],
+ [KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"],
+ [KDE_NO_UNDEFINED=""])],
+ [KDE_NO_UNDEFINED=""])
+ ;;
+ esac
+ fi
+ AC_SUBST(KDE_USE_CLOSURE_TRUE)
+ AC_SUBST(KDE_USE_CLOSURE_FALSE)
+ AC_SUBST(KDE_NO_UNDEFINED)
+])
+
+dnl Check if the linker supports --enable-new-dtags and --as-needed
+AC_DEFUN([KDE_CHECK_NEW_LDFLAGS],
+[
+ AC_ARG_ENABLE(new_ldflags,
+ AC_HELP_STRING([--enable-new-ldflags],
+ [enable the new linker flags]),
+ kde_use_new_ldflags=$enableval,
+ kde_use_new_ldflags=no)
+
+ LDFLAGS_AS_NEEDED=""
+ LDFLAGS_NEW_DTAGS=""
+ if test "x$kde_use_new_ldflags" = "xyes"; then
+ LDFLAGS_NEW_DTAGS=""
+ KDE_CHECK_COMPILER_FLAG([Wl,--enable-new-dtags],
+ [LDFLAGS_NEW_DTAGS="-Wl,--enable-new-dtags"],)
+
+ KDE_CHECK_COMPILER_FLAG([Wl,--as-needed],
+ [LDFLAGS_AS_NEEDED="-Wl,--as-needed"],)
+ fi
+ AC_SUBST(LDFLAGS_AS_NEEDED)
+ AC_SUBST(LDFLAGS_NEW_DTAGS)
+])
+
+AC_DEFUN([KDE_CHECK_NMCHECK],
+[
+ AC_ARG_ENABLE(nmcheck,AC_HELP_STRING([--enable-nmcheck],[enable automatic namespace cleanness check]),
+ kde_use_nmcheck=$enableval, kde_use_nmcheck=no)
+
+ if test "$kde_use_nmcheck" = "yes"; then
+ KDE_USE_NMCHECK_TRUE=""
+ KDE_USE_NMCHECK_FALSE="#"
+ else
+ KDE_USE_NMCHECK_TRUE="#"
+ KDE_USE_NMCHECK_FALSE=""
+ fi
+ AC_SUBST(KDE_USE_NMCHECK_TRUE)
+ AC_SUBST(KDE_USE_NMCHECK_FALSE)
+])
+
+AC_DEFUN([KDE_EXPAND_MAKEVAR], [
+savex=$exec_prefix
+test "x$exec_prefix" = xNONE && exec_prefix=$prefix
+tmp=$$2
+while $1=`eval echo "$tmp"`; test "x$$1" != "x$tmp"; do tmp=$$1; done
+exec_prefix=$savex
+])
+
+dnl ------------------------------------------------------------------------
+dnl Now, the same with KDE
+dnl $(KDE_LDFLAGS) will be the kdeliblocation (if needed)
+dnl and $(kde_includes) will be the kdehdrlocation (if needed)
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN([AC_BASE_PATH_KDE],
+[
+AC_REQUIRE([KDE_CHECK_STL])
+AC_REQUIRE([AC_PATH_QT])dnl
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+AC_CHECK_RPATH
+AC_MSG_CHECKING([for KDE])
+
+if test "${prefix}" != NONE; then
+ kde_includes=${includedir}
+ KDE_EXPAND_MAKEVAR(ac_kde_includes, includedir)
+
+ kde_libraries=${libdir}
+ KDE_EXPAND_MAKEVAR(ac_kde_libraries, libdir)
+
+else
+ ac_kde_includes=
+ ac_kde_libraries=
+ kde_libraries=""
+ kde_includes=""
+fi
+
+AC_CACHE_VAL(ac_cv_have_kde,
+[#try to guess kde locations
+
+if test "$kde_qtver" = 1; then
+ kde_check_header="ksock.h"
+ kde_check_lib="libkdecore.la"
+else
+ kde_check_header="ksharedptr.h"
+ kde_check_lib="libkio.la"
+fi
+
+if test -z "$1"; then
+
+kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
+test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
+kde_incdirs="$ac_kde_includes $kde_incdirs"
+AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir)
+ac_kde_includes="$kde_incdir"
+
+if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
+ AC_MSG_ERROR([
+in the prefix, you've chosen, are no KDE headers installed. This will fail.
+So, check this please and use another prefix!])
+fi
+
+kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
+test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
+kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
+AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir)
+ac_kde_libraries="$kde_libdir"
+
+kde_widgetdir=NO
+dnl this might be somewhere else
+AC_FIND_FILE("kde3/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir)
+
+if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
+AC_MSG_ERROR([
+in the prefix, you've chosen, are no KDE libraries installed. This will fail.
+So, check this please and use another prefix!])
+fi
+
+if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
+AC_MSG_ERROR([
+I can't find the designer plugins. These are required and should have been installed
+by kdelibs])
+fi
+
+if test -n "$kde_widgetdir"; then
+ kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
+fi
+
+
+if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then
+ ac_cv_have_kde="have_kde=no"
+else
+ ac_cv_have_kde="have_kde=yes \
+ ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
+fi
+
+else dnl test -z $1, e.g. from kdelibs
+
+ ac_cv_have_kde="have_kde=no"
+
+fi
+])dnl
+
+eval "$ac_cv_have_kde"
+
+if test "$have_kde" != "yes"; then
+ if test "${prefix}" = NONE; then
+ ac_kde_prefix="$ac_default_prefix"
+ else
+ ac_kde_prefix="$prefix"
+ fi
+ if test "$exec_prefix" = NONE; then
+ ac_kde_exec_prefix="$ac_kde_prefix"
+ AC_MSG_RESULT([will be installed in $ac_kde_prefix])
+ else
+ ac_kde_exec_prefix="$exec_prefix"
+ AC_MSG_RESULT([will be installed in $ac_kde_prefix and $ac_kde_exec_prefix])
+ fi
+
+ kde_libraries="${libdir}"
+ kde_includes="${includedir}"
+
+else
+ ac_cv_have_kde="have_kde=yes \
+ ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
+ AC_MSG_RESULT([libraries $ac_kde_libraries, headers $ac_kde_includes])
+
+ kde_libraries="$ac_kde_libraries"
+ kde_includes="$ac_kde_includes"
+fi
+AC_SUBST(kde_libraries)
+AC_SUBST(kde_includes)
+
+if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes" || test "$kde_includes" = "/usr/include"; then
+ KDE_INCLUDES=""
+else
+ KDE_INCLUDES="-I$kde_includes"
+ all_includes="$KDE_INCLUDES $all_includes"
+fi
+
+KDE_DEFAULT_CXXFLAGS="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION"
+
+KDE_LDFLAGS="-L$kde_libraries"
+if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
+ all_libraries="$KDE_LDFLAGS $all_libraries"
+fi
+
+AC_SUBST(KDE_LDFLAGS)
+AC_SUBST(KDE_INCLUDES)
+
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+
+all_libraries="$all_libraries $USER_LDFLAGS"
+all_includes="$all_includes $USER_INCLUDES"
+AC_SUBST(all_includes)
+AC_SUBST(all_libraries)
+
+if test -z "$1"; then
+KDE_CHECK_UIC_PLUGINS
+fi
+
+ac_kde_libraries="$kde_libdir"
+
+AC_SUBST(AUTODIRS)
+
+
+])
+
+AC_DEFUN([KDE_CHECK_EXTRA_LIBS],
+[
+AC_MSG_CHECKING(for extra includes)
+AC_ARG_WITH(extra-includes,AC_HELP_STRING([--with-extra-includes=DIR],[adds non standard include paths]),
+ kde_use_extra_includes="$withval",
+ kde_use_extra_includes=NONE
+)
+kde_extra_includes=
+if test -n "$kde_use_extra_includes" && \
+ test "$kde_use_extra_includes" != "NONE"; then
+
+ ac_save_ifs=$IFS
+ IFS=':'
+ for dir in $kde_use_extra_includes; do
+ kde_extra_includes="$kde_extra_includes $dir"
+ USER_INCLUDES="$USER_INCLUDES -I$dir"
+ done
+ IFS=$ac_save_ifs
+ kde_use_extra_includes="added"
+else
+ kde_use_extra_includes="no"
+fi
+AC_SUBST(USER_INCLUDES)
+
+AC_MSG_RESULT($kde_use_extra_includes)
+
+kde_extra_libs=
+AC_MSG_CHECKING(for extra libs)
+AC_ARG_WITH(extra-libs,AC_HELP_STRING([--with-extra-libs=DIR],[adds non standard library paths]),
+ kde_use_extra_libs=$withval,
+ kde_use_extra_libs=NONE
+)
+if test -n "$kde_use_extra_libs" && \
+ test "$kde_use_extra_libs" != "NONE"; then
+
+ ac_save_ifs=$IFS
+ IFS=':'
+ for dir in $kde_use_extra_libs; do
+ kde_extra_libs="$kde_extra_libs $dir"
+ KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
+ USER_LDFLAGS="$USER_LDFLAGS -L$dir"
+ done
+ IFS=$ac_save_ifs
+ kde_use_extra_libs="added"
+else
+ kde_use_extra_libs="no"
+fi
+
+AC_SUBST(USER_LDFLAGS)
+
+AC_MSG_RESULT($kde_use_extra_libs)
+
+])
+
+AC_DEFUN([KDE_1_CHECK_PATH_HEADERS],
+[
+ AC_MSG_CHECKING([for KDE headers installed])
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+cat > conftest.$ac_ext <<EOF
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+#endif
+#include <stdio.h>
+#include "confdefs.h"
+#include <kapp.h>
+
+int main() {
+ printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
+ printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
+ printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
+ printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
+ printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
+ printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
+ printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
+ printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
+ printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
+ printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
+ printf("kde_wallpaperdir=\\"%s\\"\n",
+ KApplication::kde_wallpaperdir().data());
+ printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
+ printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
+ printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
+ printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
+ printf("kde_moduledir=\\"/tmp/dummy\\"\n");
+ printf("kde_styledir=\\"/tmp/dummy\\"\n");
+ printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
+ printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
+ printf("xdg_menudir=\\"/tmp/dummy\\"\n");
+ printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
+ printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
+ return 0;
+ }
+EOF
+
+ ac_save_CPPFLAGS=$CPPFLAGS
+ CPPFLAGS="$all_includes $CPPFLAGS"
+ if AC_TRY_EVAL(ac_compile); then
+ AC_MSG_RESULT(yes)
+ else
+ AC_MSG_ERROR([your system is not able to compile a small KDE application!
+Check, if you installed the KDE header files correctly.
+For more details about this problem, look at the end of config.log.])
+ fi
+ CPPFLAGS=$ac_save_CPPFLAGS
+
+ AC_LANG_RESTORE
+])
+
+AC_DEFUN([KDE_CHECK_KDEQTADDON],
+[
+AC_MSG_CHECKING(for kde-qt-addon)
+AC_CACHE_VAL(kde_cv_have_kdeqtaddon,
+[
+ kde_ldflags_safe="$LDFLAGS"
+ kde_libs_safe="$LIBS"
+ kde_cxxflags_safe="$CXXFLAGS"
+
+ LIBS="-lkde-qt-addon $LIBQT $LIBS"
+ CXXFLAGS="$CXXFLAGS -I$prefix/include -I$prefix/include/kde $all_includes"
+ LDFLAGS="$LDFLAGS $all_libraries $USER_LDFLAGS"
+
+ AC_TRY_LINK([
+ #include <qdom.h>
+ ],
+ [
+ QDomDocument doc;
+ ],
+ kde_cv_have_kdeqtaddon=yes,
+ kde_cv_have_kdeqtaddon=no
+ )
+
+ LDFLAGS=$kde_ldflags_safe
+ LIBS=$kde_libs_safe
+ CXXFLAGS=$kde_cxxflags_safe
+])
+
+AC_MSG_RESULT($kde_cv_have_kdeqtaddon)
+
+if test "$kde_cv_have_kdeqtaddon" = "no"; then
+ AC_MSG_ERROR([Can't find libkde-qt-addon. You need to install it first.
+It is a separate package (and CVS module) named kde-qt-addon.])
+fi
+])
+
+AC_DEFUN([KDE_CREATE_LIBS_ALIASES],
+[
+ AC_REQUIRE([KDE_MISC_TESTS])
+ AC_REQUIRE([KDE_CHECK_LIBDL])
+ AC_REQUIRE([K_PATH_X])
+
+if test $kde_qtver = 3; then
+ case $host in
+ *cygwin*) lib_kded="-lkdeinit_kded" ;;
+ *) lib_kded="" ;;
+ esac
+ AC_SUBST(LIB_KDED, $lib_kded)
+ AC_SUBST(LIB_KDECORE, "-lkdecore")
+ AC_SUBST(LIB_KDEUI, "-lkdeui")
+ AC_SUBST(LIB_KIO, "-lkio")
+ AC_SUBST(LIB_KJS, "-lkjs")
+ AC_SUBST(LIB_SMB, "-lsmb")
+ AC_SUBST(LIB_KAB, "-lkab")
+ AC_SUBST(LIB_KABC, "-lkabc")
+ AC_SUBST(LIB_KHTML, "-lkhtml")
+ AC_SUBST(LIB_KSPELL, "-lkspell")
+ AC_SUBST(LIB_KPARTS, "-lkparts")
+ AC_SUBST(LIB_KDEPRINT, "-lkdeprint")
+ AC_SUBST(LIB_KUTILS, "-lkutils")
+ AC_SUBST(LIB_KDEPIM, "-lkdepim")
+ AC_SUBST(LIB_KIMPROXY, "-lkimproxy")
+ AC_SUBST(LIB_KNEWSTUFF, "-lknewstuff")
+ AC_SUBST(LIB_KDNSSD, "-lkdnssd")
+ AC_SUBST(LIB_KUNITTEST, "-lkunittest")
+# these are for backward compatibility
+ AC_SUBST(LIB_KSYCOCA, "-lkio")
+ AC_SUBST(LIB_KFILE, "-lkio")
+elif test $kde_qtver = 2; then
+ AC_SUBST(LIB_KDECORE, "-lkdecore")
+ AC_SUBST(LIB_KDEUI, "-lkdeui")
+ AC_SUBST(LIB_KIO, "-lkio")
+ AC_SUBST(LIB_KSYCOCA, "-lksycoca")
+ AC_SUBST(LIB_SMB, "-lsmb")
+ AC_SUBST(LIB_KFILE, "-lkfile")
+ AC_SUBST(LIB_KAB, "-lkab")
+ AC_SUBST(LIB_KHTML, "-lkhtml")
+ AC_SUBST(LIB_KSPELL, "-lkspell")
+ AC_SUBST(LIB_KPARTS, "-lkparts")
+ AC_SUBST(LIB_KDEPRINT, "-lkdeprint")
+else
+ AC_SUBST(LIB_KDECORE, "-lkdecore -lXext $(LIB_QT)")
+ AC_SUBST(LIB_KDEUI, "-lkdeui $(LIB_KDECORE)")
+ AC_SUBST(LIB_KFM, "-lkfm $(LIB_KDECORE)")
+ AC_SUBST(LIB_KFILE, "-lkfile $(LIB_KFM) $(LIB_KDEUI)")
+ AC_SUBST(LIB_KAB, "-lkab $(LIB_KIMGIO) $(LIB_KDECORE)")
+fi
+])
+
+AC_DEFUN([AC_PATH_KDE],
+[
+ AC_BASE_PATH_KDE
+ AC_ARG_ENABLE(path-check,AC_HELP_STRING([--disable-path-check],[don't try to find out, where to install]),
+ [
+ if test "$enableval" = "no";
+ then ac_use_path_checking="default"
+ else ac_use_path_checking=""
+ fi
+ ],
+ [
+ if test "$kde_qtver" = 1;
+ then ac_use_path_checking=""
+ else ac_use_path_checking="default"
+ fi
+ ]
+ )
+
+ AC_CREATE_KFSSTND($ac_use_path_checking)
+
+ AC_SUBST_KFSSTND
+ KDE_CREATE_LIBS_ALIASES
+])
+
+dnl KDE_CHECK_FUNC_EXT(<func>, [headers], [sample-use], [C prototype], [autoheader define], [call if found])
+AC_DEFUN([KDE_CHECK_FUNC_EXT],
+[
+AC_MSG_CHECKING(for $1)
+AC_CACHE_VAL(kde_cv_func_$1,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+save_CXXFLAGS="$CXXFLAGS"
+kde_safe_LIBS="$LIBS"
+LIBS="$LIBS $X_EXTRA_LIBS"
+if test "$GXX" = "yes"; then
+CXXFLAGS="$CXXFLAGS -pedantic-errors"
+fi
+AC_TRY_COMPILE([
+$2
+],
+[
+$3
+],
+kde_cv_func_$1=yes,
+kde_cv_func_$1=no)
+CXXFLAGS="$save_CXXFLAGS"
+LIBS="$kde_safe_LIBS"
+AC_LANG_RESTORE
+])
+
+AC_MSG_RESULT($kde_cv_func_$1)
+
+AC_MSG_CHECKING([if $1 needs custom prototype])
+AC_CACHE_VAL(kde_cv_proto_$1,
+[
+if test "x$kde_cv_func_$1" = xyes; then
+ kde_cv_proto_$1=no
+else
+ case "$1" in
+ setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
+ kde_cv_proto_$1="yes - in libkdefakes"
+ ;;
+ *)
+ kde_cv_proto_$1=unknown
+ ;;
+ esac
+fi
+
+if test "x$kde_cv_proto_$1" = xunknown; then
+
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+ kde_safe_libs=$LIBS
+ LIBS="$LIBS $X_EXTRA_LIBS"
+ AC_TRY_LINK([
+$2
+
+extern "C" $4;
+],
+[
+$3
+],
+[ kde_cv_func_$1=yes
+ kde_cv_proto_$1=yes ],
+ [kde_cv_proto_$1="$1 unavailable"]
+)
+LIBS=$kde_safe_libs
+AC_LANG_RESTORE
+fi
+])
+AC_MSG_RESULT($kde_cv_proto_$1)
+
+if test "x$kde_cv_func_$1" = xyes; then
+ AC_DEFINE(HAVE_$5, 1, [Define if you have $1])
+ $6
+fi
+if test "x$kde_cv_proto_$1" = xno; then
+ AC_DEFINE(HAVE_$5_PROTO, 1,
+ [Define if you have the $1 prototype])
+fi
+
+AH_VERBATIM([_HAVE_$5_PROTO],
+[
+#if !defined(HAVE_$5_PROTO)
+#ifdef __cplusplus
+extern "C" {
+#endif
+$4;
+#ifdef __cplusplus
+}
+#endif
+#endif
+])
+])
+
+AC_DEFUN([AC_CHECK_SETENV],
+[
+ KDE_CHECK_FUNC_EXT(setenv, [
+#include <stdlib.h>
+],
+ [setenv("VAR", "VALUE", 1);],
+ [int setenv (const char *, const char *, int)],
+ [SETENV])
+])
+
+AC_DEFUN([AC_CHECK_UNSETENV],
+[
+ KDE_CHECK_FUNC_EXT(unsetenv, [
+#include <stdlib.h>
+],
+ [unsetenv("VAR");],
+ [void unsetenv (const char *)],
+ [UNSETENV])
+])
+
+AC_DEFUN([AC_CHECK_GETDOMAINNAME],
+[
+ KDE_CHECK_FUNC_EXT(getdomainname, [
+#include <stdlib.h>
+#include <unistd.h>
+#include <netdb.h>
+],
+ [
+char buffer[200];
+getdomainname(buffer, 200);
+],
+ [#include <sys/types.h>
+ int getdomainname (char *, size_t)],
+ [GETDOMAINNAME])
+])
+
+AC_DEFUN([AC_CHECK_GETHOSTNAME],
+[
+ KDE_CHECK_FUNC_EXT(gethostname, [
+#include <stdlib.h>
+#include <unistd.h>
+],
+ [
+char buffer[200];
+gethostname(buffer, 200);
+],
+ [int gethostname (char *, unsigned int)],
+ [GETHOSTNAME])
+])
+
+AC_DEFUN([AC_CHECK_USLEEP],
+[
+ KDE_CHECK_FUNC_EXT(usleep, [
+#include <unistd.h>
+],
+ [
+usleep(200);
+],
+ [int usleep (unsigned int)],
+ [USLEEP])
+])
+
+
+AC_DEFUN([AC_CHECK_RANDOM],
+[
+ KDE_CHECK_FUNC_EXT(random, [
+#include <stdlib.h>
+],
+ [
+random();
+],
+ [long int random(void)],
+ [RANDOM])
+
+ KDE_CHECK_FUNC_EXT(srandom, [
+#include <stdlib.h>
+],
+ [
+srandom(27);
+],
+ [void srandom(unsigned int)],
+ [SRANDOM])
+
+])
+
+AC_DEFUN([AC_CHECK_INITGROUPS],
+[
+ KDE_CHECK_FUNC_EXT(initgroups, [
+#include <sys/types.h>
+#include <unistd.h>
+#include <grp.h>
+],
+ [
+char buffer[200];
+initgroups(buffer, 27);
+],
+ [int initgroups(const char *, gid_t)],
+ [INITGROUPS])
+])
+
+AC_DEFUN([AC_CHECK_MKSTEMPS],
+[
+ KDE_CHECK_FUNC_EXT(mkstemps, [
+#include <stdlib.h>
+#include <unistd.h>
+],
+ [
+mkstemps("/tmp/aaaXXXXXX", 6);
+],
+ [int mkstemps(char *, int)],
+ [MKSTEMPS])
+])
+
+AC_DEFUN([AC_CHECK_MKSTEMP],
+[
+ KDE_CHECK_FUNC_EXT(mkstemp, [
+#include <stdlib.h>
+#include <unistd.h>
+],
+ [
+mkstemp("/tmp/aaaXXXXXX");
+],
+ [int mkstemp(char *)],
+ [MKSTEMP])
+])
+
+AC_DEFUN([AC_CHECK_MKDTEMP],
+[
+ KDE_CHECK_FUNC_EXT(mkdtemp, [
+#include <stdlib.h>
+#include <unistd.h>
+],
+ [
+mkdtemp("/tmp/aaaXXXXXX");
+],
+ [char *mkdtemp(char *)],
+ [MKDTEMP])
+])
+
+
+AC_DEFUN([AC_CHECK_RES_INIT],
+[
+ AC_MSG_CHECKING([if res_init needs -lresolv])
+ kde_libs_safe="$LIBS"
+ LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
+ AC_TRY_LINK(
+ [
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+ ],
+ [
+ res_init();
+ ],
+ [
+ LIBRESOLV="-lresolv"
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_RES_INIT, 1, [Define if you have the res_init function])
+ ],
+ [ AC_MSG_RESULT(no) ]
+ )
+ LIBS=$kde_libs_safe
+ AC_SUBST(LIBRESOLV)
+
+ KDE_CHECK_FUNC_EXT(res_init,
+ [
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+ ],
+ [res_init()],
+ [int res_init(void)],
+ [RES_INIT])
+])
+
+AC_DEFUN([AC_CHECK_STRLCPY],
+[
+ KDE_CHECK_FUNC_EXT(strlcpy, [
+#include <string.h>
+],
+[ char buf[20];
+ strlcpy(buf, "KDE function test", sizeof(buf));
+],
+ [unsigned long strlcpy(char*, const char*, unsigned long)],
+ [STRLCPY])
+])
+
+AC_DEFUN([AC_CHECK_STRLCAT],
+[
+ KDE_CHECK_FUNC_EXT(strlcat, [
+#include <string.h>
+],
+[ char buf[20];
+ buf[0]='\0';
+ strlcat(buf, "KDE function test", sizeof(buf));
+],
+ [unsigned long strlcat(char*, const char*, unsigned long)],
+ [STRLCAT])
+])
+
+AC_DEFUN([AC_CHECK_RES_QUERY],
+[
+ KDE_CHECK_FUNC_EXT(res_query, [
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+#include <netdb.h>
+],
+[
+res_query(NULL, 0, 0, NULL, 0);
+],
+ [int res_query(const char *, int, int, unsigned char *, int)],
+ [RES_QUERY])
+])
+
+AC_DEFUN([AC_CHECK_DN_SKIPNAME],
+[
+ KDE_CHECK_FUNC_EXT(dn_skipname, [
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+],
+[
+dn_skipname (NULL, NULL);
+],
+ [int dn_skipname (unsigned char *, unsigned char *)],
+ [DN_SKIPNAME])
+])
+
+
+AC_DEFUN([AC_FIND_GIF],
+ [AC_MSG_CHECKING([for giflib])
+AC_CACHE_VAL(ac_cv_lib_gif,
+[ac_save_LIBS="$LIBS"
+if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+LIBS="$all_libraries -lgif -lX11 $LIBSOCKET"
+else
+LIBS="$all_libraries -lgif"
+fi
+AC_TRY_LINK(dnl
+[
+#ifdef __cplusplus
+extern "C" {
+#endif
+int GifLastError(void);
+#ifdef __cplusplus
+}
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+],
+ [return GifLastError();],
+ eval "ac_cv_lib_gif=yes",
+ eval "ac_cv_lib_gif=no")
+LIBS="$ac_save_LIBS"
+])dnl
+if eval "test \"`echo $ac_cv_lib_gif`\" = yes"; then
+ AC_MSG_RESULT(yes)
+ AC_DEFINE_UNQUOTED(HAVE_LIBGIF, 1, [Define if you have libgif])
+else
+ AC_MSG_ERROR(You need giflib30. Please install the kdesupport package)
+fi
+])
+
+AC_DEFUN([KDE_FIND_JPEG_HELPER],
+[
+AC_MSG_CHECKING([for libjpeg$2])
+AC_CACHE_VAL(ac_cv_lib_jpeg_$1,
+[
+ac_save_LIBS="$LIBS"
+LIBS="$all_libraries $USER_LDFLAGS -ljpeg$2 -lm"
+ac_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+AC_TRY_LINK(
+[
+#ifdef __cplusplus
+extern "C" {
+#endif
+void jpeg_CreateDecompress();
+#ifdef __cplusplus
+}
+#endif
+],
+[jpeg_CreateDecompress();],
+ eval "ac_cv_lib_jpeg_$1=-ljpeg$2",
+ eval "ac_cv_lib_jpeg_$1=no")
+LIBS="$ac_save_LIBS"
+CFLAGS="$ac_save_CFLAGS"
+])
+
+if eval "test ! \"`echo $ac_cv_lib_jpeg_$1`\" = no"; then
+ LIBJPEG="$ac_cv_lib_jpeg_$1"
+ AC_MSG_RESULT($ac_cv_lib_jpeg_$1)
+else
+ AC_MSG_RESULT(no)
+ $3
+fi
+
+])
+
+AC_DEFUN([AC_FIND_JPEG],
+[
+dnl first look for libraries
+KDE_FIND_JPEG_HELPER(6b, 6b,
+ KDE_FIND_JPEG_HELPER(normal, [],
+ [
+ LIBJPEG=
+ ]
+ )
+)
+
+dnl then search the headers (can't use simply AC_TRY_xxx, as jpeglib.h
+dnl requires system dependent includes loaded before it)
+jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes"
+AC_FIND_FILE(jpeglib.h, $jpeg_incdirs, jpeg_incdir)
+test "x$jpeg_incdir" = xNO && jpeg_incdir=
+
+dnl if headers _and_ libraries are missing, this is no error, and we
+dnl continue with a warning (the user will get no jpeg support in khtml)
+dnl if only one is missing, it means a configuration error, but we still
+dnl only warn
+if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
+ AC_DEFINE_UNQUOTED(HAVE_LIBJPEG, 1, [Define if you have libjpeg])
+else
+ if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
+ AC_MSG_WARN([
+There is an installation error in jpeg support. You seem to have only one
+of either the headers _or_ the libraries installed. You may need to either
+provide correct --with-extra-... options, or the development package of
+libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
+Disabling JPEG support.
+])
+ else
+ AC_MSG_WARN([libjpeg not found. disable JPEG support.])
+ fi
+ jpeg_incdir=
+ LIBJPEG=
+fi
+
+AC_SUBST(LIBJPEG)
+AH_VERBATIM(_AC_CHECK_JPEG,
+[/*
+ * jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
+ * headers and I'm too lazy to write a configure test as long as only
+ * unixware is related
+ */
+#ifdef _UNIXWARE
+#define HAVE_BOOLEAN
+#endif
+])
+])
+
+AC_DEFUN([KDE_CHECK_QT_JPEG],
+[
+if test -n "$LIBJPEG"; then
+AC_MSG_CHECKING([if Qt needs $LIBJPEG])
+AC_CACHE_VAL(kde_cv_qt_jpeg,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+ac_save_LIBS="$LIBS"
+LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
+LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
+ac_save_CXXFLAGS="$CXXFLAGS"
+CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
+AC_TRY_LINK(
+[#include <qapplication.h>],
+ [
+ int argc;
+ char** argv;
+ QApplication app(argc, argv);],
+ eval "kde_cv_qt_jpeg=no",
+ eval "kde_cv_qt_jpeg=yes")
+LIBS="$ac_save_LIBS"
+CXXFLAGS="$ac_save_CXXFLAGS"
+AC_LANG_RESTORE
+fi
+])
+
+if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
+ AC_MSG_RESULT(yes)
+ LIBJPEG_QT='$(LIBJPEG)'
+else
+ AC_MSG_RESULT(no)
+ LIBJPEG_QT=
+fi
+
+])
+
+AC_DEFUN([AC_FIND_ZLIB],
+[
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+AC_MSG_CHECKING([for libz])
+AC_CACHE_VAL(ac_cv_lib_z,
+[
+kde_save_LIBS="$LIBS"
+LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
+kde_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+AC_TRY_LINK(dnl
+[
+#include<zlib.h>
+#include<string.h>
+],
+[
+ char buf[42];
+ gzFile f = (gzFile) 0;
+ /* this would segfault.. but we only link, don't run */
+ (void) gzgets(f, buf, sizeof(buf));
+
+ return (strcmp(zlibVersion(), ZLIB_VERSION) == 0);
+],
+ eval "ac_cv_lib_z='-lz'",
+ eval "ac_cv_lib_z=no")
+LIBS="$kde_save_LIBS"
+CFLAGS="$kde_save_CFLAGS"
+])dnl
+if test ! "$ac_cv_lib_z" = no; then
+ AC_DEFINE_UNQUOTED(HAVE_LIBZ, 1, [Define if you have libz])
+ LIBZ="$ac_cv_lib_z"
+ AC_MSG_RESULT($ac_cv_lib_z)
+else
+ AC_MSG_ERROR(not found.
+ Possibly configure picks up an outdated version
+ installed by XFree86. Remove it from your system.
+
+ Check your installation and look into config.log)
+ LIBZ=""
+fi
+AC_SUBST(LIBZ)
+])
+
+AC_DEFUN([KDE_TRY_TIFFLIB],
+[
+AC_MSG_CHECKING([for libtiff $1])
+
+AC_CACHE_VAL(kde_cv_libtiff_$1,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+kde_save_LIBS="$LIBS"
+if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+LIBS="$all_libraries $USER_LDFLAGS -l$1 $LIBJPEG $LIBZ -lX11 $LIBSOCKET -lm"
+else
+LIBS="$all_libraries $USER_LDFLAGS -l$1 $LIBJPEG $LIBZ -lm"
+fi
+kde_save_CXXFLAGS="$CXXFLAGS"
+CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
+
+AC_TRY_LINK(dnl
+[
+#include<tiffio.h>
+],
+ [return (TIFFOpen( "", "r") == 0); ],
+[
+ kde_cv_libtiff_$1="-l$1 $LIBJPEG $LIBZ"
+], [
+ kde_cv_libtiff_$1=no
+])
+
+LIBS="$kde_save_LIBS"
+CXXFLAGS="$kde_save_CXXFLAGS"
+AC_LANG_RESTORE
+])
+
+if test "$kde_cv_libtiff_$1" = "no"; then
+ AC_MSG_RESULT(no)
+ LIBTIFF=""
+ $3
+else
+ LIBTIFF="$kde_cv_libtiff_$1"
+ AC_MSG_RESULT(yes)
+ AC_DEFINE_UNQUOTED(HAVE_LIBTIFF, 1, [Define if you have libtiff])
+ $2
+fi
+
+])
+
+AC_DEFUN([AC_FIND_TIFF],
+[
+AC_REQUIRE([K_PATH_X])
+AC_REQUIRE([AC_FIND_ZLIB])
+AC_REQUIRE([AC_FIND_JPEG])
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+
+KDE_TRY_TIFFLIB(tiff, [],
+ KDE_TRY_TIFFLIB(tiff34))
+
+AC_SUBST(LIBTIFF)
+])
+
+AC_DEFUN([KDE_FIND_LIBEXR],
+[
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+AC_REQUIRE([AC_FIND_ZLIB])
+AC_CACHE_VAL(ac_cv_libexr,
+[
+ if test -z "$PKG_CONFIG"; then
+ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+ fi
+
+ AC_MSG_CHECKING([for OpenEXR libraries])
+
+ if test "$PKG_CONFIG" = "no" ; then
+ AC_MSG_RESULT(no)
+ echo "*** The pkg-config script could not be found. Make sure it is"
+ echo "*** in your path, or set the PKG_CONFIG environment variable"
+ echo "*** to the full path to pkg-config."
+ echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
+ else
+ if !(`$PKG_CONFIG --exists OpenEXR`) ; then
+ AC_MSG_RESULT(no)
+ EXRSTATUS=no
+ else
+ if !(`$PKG_CONFIG --atleast-version="1.1.1" OpenEXR`) ; then
+ AC_MSG_RESULT(no)
+ EXRSTATUS=old
+ else
+ kde_save_LIBS="$LIBS"
+ LIBS="$LIBS $all_libraries $USER_LDFLAGS `pkg-config --libs OpenEXR` $LIBZ"
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ kde_save_CXXFLAGS="$CXXFLAGS"
+ EXR_FLAGS=`$PKG_CONFIG --cflags OpenEXR`
+ CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES $EXR_FLAGS"
+
+ AC_TRY_LINK(dnl
+ [
+ #include <ImfRgbaFile.h>
+ ],
+ [
+ using namespace Imf;
+ RgbaInputFile file ("dummy");
+ return 0;
+ ],
+ eval "ac_cv_libexr='`pkg-config --libs OpenEXR`'",
+ eval "ac_cv_libexr=no"
+ )
+ LIBS="$kde_save_LIBS"
+ CXXFLAGS="$kde_save_CXXFLAGS"
+ AC_LANG_RESTORE
+ ])dnl
+ if eval "test ! \"`echo $ac_cv_libexr`\" = no"; then
+ AC_DEFINE_UNQUOTED(HAVE_EXR, 1, [Define if you have OpenEXR])
+ LIB_EXR="$ac_cv_libexr"
+ AC_MSG_RESULT($ac_cv_libexr)
+ else
+ AC_MSG_RESULT(no)
+ LIB_EXR=""
+ fi
+ fi
+ fi
+ fi
+ AC_SUBST(LIB_EXR)
+ AC_SUBST(EXR_FLAGS)
+])
+
+
+
+AC_DEFUN([AC_FIND_PNG],
+[
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+AC_REQUIRE([AC_FIND_ZLIB])
+AC_MSG_CHECKING([for libpng])
+AC_CACHE_VAL(ac_cv_lib_png,
+[
+kde_save_LIBS="$LIBS"
+if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
+else
+LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
+fi
+kde_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+
+AC_TRY_LINK(dnl
+ [
+ #include<png.h>
+ ],
+ [
+ png_structp png_ptr = png_create_read_struct( /* image ptr */
+ PNG_LIBPNG_VER_STRING, 0, 0, 0 );
+ return( png_ptr != 0 );
+ ],
+ eval "ac_cv_lib_png='-lpng $LIBZ -lm'",
+ eval "ac_cv_lib_png=no"
+)
+LIBS="$kde_save_LIBS"
+CFLAGS="$kde_save_CFLAGS"
+])dnl
+if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
+ AC_DEFINE_UNQUOTED(HAVE_LIBPNG, 1, [Define if you have libpng])
+ LIBPNG="$ac_cv_lib_png"
+ AC_SUBST(LIBPNG)
+ AC_MSG_RESULT($ac_cv_lib_png)
+else
+ AC_MSG_RESULT(no)
+ LIBPNG=""
+ AC_SUBST(LIBPNG)
+fi
+])
+
+
+AC_DEFUN([AC_FIND_JASPER],
+[
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+AC_REQUIRE([AC_FIND_JPEG])
+AC_MSG_CHECKING([for jasper])
+AC_CACHE_VAL(ac_cv_jasper,
+[
+kde_save_LIBS="$LIBS"
+LIBS="$LIBS $all_libraries $USER_LDFLAGS -ljasper $LIBJPEG -lm"
+kde_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+
+AC_TRY_LINK(dnl
+ [
+ #include<jasper/jasper.h>
+ ],
+ [
+ return( jas_init() );
+ ],
+ eval "ac_cv_jasper='-ljasper $LIBJPEG -lm'",
+ eval "ac_cv_jasper=no"
+)
+LIBS="$kde_save_LIBS"
+CFLAGS="$kde_save_CFLAGS"
+])dnl
+if eval "test ! \"`echo $ac_cv_jasper`\" = no"; then
+ AC_DEFINE_UNQUOTED(HAVE_JASPER, 1, [Define if you have jasper])
+ LIB_JASPER="$ac_cv_jasper"
+ AC_MSG_RESULT($ac_cv_jasper)
+else
+ AC_MSG_RESULT(no)
+ LIB_JASPER=""
+fi
+AC_SUBST(LIB_JASPER)
+])
+
+AC_DEFUN([AC_CHECK_BOOL],
+[
+ AC_DEFINE_UNQUOTED(HAVE_BOOL, 1, [You _must_ have bool])
+])
+
+AC_DEFUN([AC_CHECK_GNU_EXTENSIONS],
+[
+AC_MSG_CHECKING(if you need GNU extensions)
+AC_CACHE_VAL(ac_cv_gnu_extensions,
+[
+cat > conftest.c << EOF
+#include <features.h>
+
+#ifdef __GNU_LIBRARY__
+yes
+#endif
+EOF
+
+if (eval "$ac_cpp conftest.c") 2>&5 |
+ egrep "yes" >/dev/null 2>&1; then
+ rm -rf conftest*
+ ac_cv_gnu_extensions=yes
+else
+ ac_cv_gnu_extensions=no
+fi
+])
+
+AC_MSG_RESULT($ac_cv_gnu_extensions)
+if test "$ac_cv_gnu_extensions" = "yes"; then
+ AC_DEFINE_UNQUOTED(_GNU_SOURCE, 1, [Define if you need to use the GNU extensions])
+fi
+])
+
+AC_DEFUN([KDE_CHECK_COMPILER_FLAG],
+[
+AC_MSG_CHECKING([whether $CXX supports -$1])
+kde_cache=`echo $1 | sed 'y% .=/+-,%____p__%'`
+AC_CACHE_VAL(kde_cv_prog_cxx_$kde_cache,
+[
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -$1"
+ AC_TRY_LINK([],[ return 0; ], [eval "kde_cv_prog_cxx_$kde_cache=yes"], [])
+ CXXFLAGS="$save_CXXFLAGS"
+ AC_LANG_RESTORE
+])
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ AC_MSG_RESULT(yes)
+ :
+ $2
+else
+ AC_MSG_RESULT(no)
+ :
+ $3
+fi
+])
+
+AC_DEFUN([KDE_CHECK_C_COMPILER_FLAG],
+[
+AC_MSG_CHECKING([whether $CC supports -$1])
+kde_cache=`echo $1 | sed 'y% .=/+-,%____p__%'`
+AC_CACHE_VAL(kde_cv_prog_cc_$kde_cache,
+[
+ AC_LANG_SAVE
+ AC_LANG_C
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -$1"
+ AC_TRY_LINK([],[ return 0; ], [eval "kde_cv_prog_cc_$kde_cache=yes"], [])
+ CFLAGS="$save_CFLAGS"
+ AC_LANG_RESTORE
+])
+if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then
+ AC_MSG_RESULT(yes)
+ :
+ $2
+else
+ AC_MSG_RESULT(no)
+ :
+ $3
+fi
+])
+
+
+dnl AC_REMOVE_FORBIDDEN removes forbidden arguments from variables
+dnl use: AC_REMOVE_FORBIDDEN(CC, [-forbid -bad-option whatever])
+dnl it's all white-space separated
+AC_DEFUN([AC_REMOVE_FORBIDDEN],
+[ __val=$$1
+ __forbid=" $2 "
+ if test -n "$__val"; then
+ __new=""
+ ac_save_IFS=$IFS
+ IFS=" "
+ for i in $__val; do
+ case "$__forbid" in
+ *" $i "*) AC_MSG_WARN([found forbidden $i in $1, removing it]) ;;
+ *) # Careful to not add spaces, where there were none, because otherwise
+ # libtool gets confused, if we change e.g. CXX
+ if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
+ esac
+ done
+ IFS=$ac_save_IFS
+ $1=$__new
+ fi
+])
+
+
+AC_DEFUN([KDE_CHECK_FOR_BAD_COMPILER],
+[
+ AC_MSG_CHECKING([whether $CC is blacklisted])
+
+ dnl In theory we have tu run this test against $CC and $CXX
+ dnl in C and in C++ mode, because its perfectly legal for
+ dnl the user to mix compiler versions, since C has a defined
+ dnl ABI.
+ dnl
+ dnl For now, we assume the user is not on crack.
+
+ AC_TRY_COMPILE([
+#ifdef __GNUC__
+#if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0
+choke me
+#endif
+#endif
+], ,
+ kde_bad_compiler=no,
+ kde_bad_compiler=yes
+)
+
+ AC_MSG_RESULT($kde_bad_compiler)
+
+if test "$kde_bad_compiler" = "yes"; then
+ AC_MSG_ERROR([
+
+This particular compiler version is blacklisted because it
+is known to miscompile KDE. Please use a newer version, or
+if that is not yet available, choose an older version.
+
+Please do not report a bug or bother us reporting this
+configure error. We know about it, and we introduced
+it by intention to avoid untraceable bugs or crashes in KDE.
+
+])
+fi
+
+])
+
+
+AC_DEFUN([KDE_CHECK_FOR_OPT_NOINLINE_MATCH],
+[
+ AC_CACHE_CHECK([whether system headers can cope with -O2 -fno-inline],
+ kde_cv_opt_noinline_match,
+ [
+ kde_cv_opt_noinline_match=irrelevant
+ dnl if we don't use both -O2 and -fno-inline, this check is moot
+ if echo "$CFLAGS" | grep -e -O2 >/dev/null 2>/dev/null \
+ && echo "$CFLAGS" | grep -e -fno-inline >/dev/null 2>/dev/null ; then
+
+ ac_cflags_save="$CFLAGS"
+ CFLAGS="$CFLAGS -D_USE_GNU"
+
+ AC_TRY_LINK([
+ #include <string.h>
+], [ const char *pt, *et;
+ et = __extension__ ({ char __a0, __a1, __a2; (__builtin_constant_p ( ";," ) && ((size_t)(const void *)(( ";," )+ 1) - (size_t)(const void *)( ";," ) == 1) ? ((__a0 =((__const char *) ( ";," ))[0], __a0 == '\0') ? ((void) ( pt ),((void *)0) ) : ((__a1 = ((__const char *) ( ";," ))[1], __a1== '\0') ? (__extension__ (__builtin_constant_p ( __a0 ) && ( __a0 ) == '\0' ? (char *) __rawmemchr ( pt , __a0) : strchr( pt , __a0 ))) : ((__a2 = ((__const char *) ( ";," ))[2], __a2 == '\0') ? __strpbrk_c2 ( pt , __a0, __a1) :(((__const char *) ( ";," ))[3] == '\0' ? __strpbrk_c3 ( pt ,__a0, __a1, __a2): strpbrk ( pt , ";," ))))) : strpbrk ( pt , ";," )); }) ;
+],
+ kde_cv_opt_noinline_match=yes,
+ kde_cv_opt_noinline_match=no
+ )
+
+ CFLAGS="$ac_cflags_save"
+ fi
+ ])
+])
+
+
+dnl AC_VALIDIFY_CXXFLAGS checks for forbidden flags the user may have given
+AC_DEFUN([AC_VALIDIFY_CXXFLAGS],
+[dnl
+if test "x$kde_use_qt_emb" != "xyes"; then
+ AC_REMOVE_FORBIDDEN(CXX, [-fno-rtti -rpath])
+ AC_REMOVE_FORBIDDEN(CXXFLAGS, [-fno-rtti -rpath])
+else
+ AC_REMOVE_FORBIDDEN(CXX, [-rpath])
+ AC_REMOVE_FORBIDDEN(CXXFLAGS, [-rpath])
+fi
+])
+
+AC_DEFUN([AC_CHECK_COMPILERS],
+[
+ AC_ARG_ENABLE(debug,
+ AC_HELP_STRING([--enable-debug=ARG],[enables debug symbols (yes|no|full) [default=no]]),
+ [
+ case $enableval in
+ yes)
+ kde_use_debug_code="yes"
+ kde_use_debug_define=no
+ ;;
+ full)
+ kde_use_debug_code="full"
+ kde_use_debug_define=no
+ ;;
+ *)
+ kde_use_debug_code="no"
+ kde_use_debug_define=yes
+ ;;
+ esac
+ ],
+ [kde_use_debug_code="no"
+ kde_use_debug_define=no
+ ])
+
+ dnl Just for configure --help
+ AC_ARG_ENABLE(dummyoption,
+ AC_HELP_STRING([--disable-debug],
+ [disables debug output and debug symbols [default=no]]),
+ [],[])
+
+ AC_ARG_ENABLE(strict,
+ AC_HELP_STRING([--enable-strict],
+ [compiles with strict compiler options (may not work!)]),
+ [
+ if test $enableval = "no"; then
+ kde_use_strict_options="no"
+ else
+ kde_use_strict_options="yes"
+ fi
+ ], [kde_use_strict_options="no"])
+
+ AC_ARG_ENABLE(warnings,AC_HELP_STRING([--disable-warnings],[disables compilation with -Wall and similar]),
+ [
+ if test $enableval = "no"; then
+ kde_use_warnings="no"
+ else
+ kde_use_warnings="yes"
+ fi
+ ], [kde_use_warnings="yes"])
+
+ dnl enable warnings for debug build
+ if test "$kde_use_debug_code" != "no"; then
+ kde_use_warnings=yes
+ fi
+
+ AC_ARG_ENABLE(profile,AC_HELP_STRING([--enable-profile],[creates profiling infos [default=no]]),
+ [kde_use_profiling=$enableval],
+ [kde_use_profiling="no"]
+ )
+
+ dnl this prevents stupid AC_PROG_CC to add "-g" to the default CFLAGS
+ CFLAGS=" $CFLAGS"
+
+ AC_PROG_CC
+
+ AC_PROG_CPP
+
+ if test "$GCC" = "yes"; then
+ if test "$kde_use_debug_code" != "no"; then
+ if test $kde_use_debug_code = "full"; then
+ CFLAGS="-g3 -fno-inline $CFLAGS"
+ else
+ CFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CFLAGS"
+ fi
+ else
+ CFLAGS="-O2 $CFLAGS"
+ fi
+ fi
+
+ if test "$kde_use_debug_define" = "yes"; then
+ CFLAGS="-DNDEBUG $CFLAGS"
+ fi
+
+
+ case "$host" in
+ *-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";;
+ *-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";;
+ esac
+
+ if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
+ LDFLAGS=""
+ fi
+
+ CXXFLAGS=" $CXXFLAGS"
+
+ AC_PROG_CXX
+
+ KDE_CHECK_FOR_BAD_COMPILER
+
+ if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
+ if test "$kde_use_debug_code" != "no"; then
+ if test "$CXX" = "KCC"; then
+ CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
+ else
+ if test "$kde_use_debug_code" = "full"; then
+ CXXFLAGS="-g3 -fno-inline $CXXFLAGS"
+ else
+ CXXFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CXXFLAGS"
+ fi
+ fi
+ KDE_CHECK_COMPILER_FLAG(fno-builtin,[CXXFLAGS="-fno-builtin $CXXFLAGS"])
+
+ dnl convenience compiler flags
+ KDE_CHECK_COMPILER_FLAG(Woverloaded-virtual, [WOVERLOADED_VIRTUAL="-Woverloaded-virtual"], [WOVERLOADED_VRITUAL=""])
+ AC_SUBST(WOVERLOADED_VIRTUAL)
+ else
+ if test "$CXX" = "KCC"; then
+ CXXFLAGS="+K3 $CXXFLAGS"
+ else
+ CXXFLAGS="-O2 $CXXFLAGS"
+ fi
+ fi
+ fi
+
+ if test "$kde_use_debug_define" = "yes"; then
+ CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
+ fi
+
+ if test "$kde_use_profiling" = "yes"; then
+ KDE_CHECK_COMPILER_FLAG(pg,
+ [
+ CFLAGS="-pg $CFLAGS"
+ CXXFLAGS="-pg $CXXFLAGS"
+ ])
+ fi
+
+ if test "$kde_use_warnings" = "yes"; then
+ if test "$GCC" = "yes"; then
+ CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
+ case $host in
+ *-*-linux-gnu)
+ CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
+ CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts $CXXFLAGS"
+ KDE_CHECK_COMPILER_FLAG(Wmissing-format-attribute, [CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"])
+ KDE_CHECK_C_COMPILER_FLAG(Wmissing-format-attribute, [CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"])
+ ;;
+ esac
+ KDE_CHECK_COMPILER_FLAG(Wundef,[CXXFLAGS="-Wundef $CXXFLAGS"])
+ KDE_CHECK_COMPILER_FLAG(Wno-long-long,[CXXFLAGS="-Wno-long-long $CXXFLAGS"])
+ dnl ### FIXME: revert for KDE 4
+ KDE_CHECK_COMPILER_FLAG(Wno-non-virtual-dtor,[CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"])
+ fi
+ fi
+
+ if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then
+ CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
+ fi
+
+ AC_ARG_ENABLE(pch,
+ AC_HELP_STRING([--enable-pch],
+ [enables precompiled header support (currently only KCC or gcc >=3.4+unsermake) [default=no]]),
+ [ kde_use_pch=$enableval ],[ kde_use_pch=no ])
+
+ HAVE_GCC_VISIBILITY=0
+ AC_SUBST([HAVE_GCC_VISIBILITY])
+
+ if test "$GXX" = "yes"; then
+ gcc_no_reorder_blocks=NO
+ KDE_CHECK_COMPILER_FLAG(fno-reorder-blocks,[gcc_no_reorder_blocks=YES])
+ if test $kde_use_debug_code != "no" && \
+ test $kde_use_debug_code != "full" && \
+ test "YES" = "$gcc_no_reorder_blocks" ; then
+ CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
+ CFLAGS="$CFLAGS -fno-reorder-blocks"
+ fi
+ KDE_CHECK_COMPILER_FLAG(fno-exceptions,[CXXFLAGS="$CXXFLAGS -fno-exceptions"])
+ KDE_CHECK_COMPILER_FLAG(fno-check-new, [CXXFLAGS="$CXXFLAGS -fno-check-new"])
+ KDE_CHECK_COMPILER_FLAG(fno-common, [CXXFLAGS="$CXXFLAGS -fno-common"])
+ KDE_CHECK_COMPILER_FLAG(fexceptions, [USE_EXCEPTIONS="-fexceptions"], USE_EXCEPTIONS= )
+ ENABLE_PERMISSIVE_FLAG="-fpermissive"
+
+ if test "$kde_use_pch" = "yes"; then
+ AC_MSG_CHECKING(whether gcc supports precompiling c header files)
+ echo >conftest.h
+ if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then
+ kde_gcc_supports_pch=yes
+ AC_MSG_RESULT(yes)
+ else
+ kde_gcc_supports_pch=no
+ AC_MSG_RESULT(no)
+ fi
+ if test "$kde_gcc_supports_pch" = "yes"; then
+ AC_MSG_CHECKING(whether gcc supports precompiling c++ header files)
+ if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then
+ kde_gcc_supports_pch=yes
+ AC_MSG_RESULT(yes)
+ else
+ kde_gcc_supports_pch=no
+ AC_MSG_RESULT(no)
+ fi
+ fi
+ rm -f conftest.h conftest.h.gch
+ fi
+
+ KDE_CHECK_FOR_OPT_NOINLINE_MATCH
+ if test "x$kde_cv_opt_noinline_match" = "xno" ; then
+ CFLAGS="`echo "$CFLAGS" | sed "s/ -fno-inline//"`"
+ fi
+ fi
+ AM_CONDITIONAL(unsermake_enable_pch, test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes")
+ if test "$CXX" = "KCC"; then
+ dnl unfortunately we currently cannot disable exception support in KCC
+ dnl because doing so is binary incompatible and Qt by default links with exceptions :-(
+ dnl KDE_CHECK_COMPILER_FLAG(-no_exceptions,[CXXFLAGS="$CXXFLAGS --no_exceptions"])
+ dnl KDE_CHECK_COMPILER_FLAG(-exceptions, [USE_EXCEPTIONS="--exceptions"], USE_EXCEPTIONS= )
+
+ if test "$kde_use_pch" = "yes"; then
+ dnl TODO: support --pch-dir!
+ KDE_CHECK_COMPILER_FLAG(-pch,[CXXFLAGS="$CXXFLAGS --pch"])
+ dnl the below works (but the dir must exist), but it's
+ dnl useless for a whole package.
+ dnl The are precompiled headers for each source file, so when compiling
+ dnl from scratch, it doesn't make a difference, and they take up
+ dnl around ~5Mb _per_ sourcefile.
+ dnl KDE_CHECK_COMPILER_FLAG(-pch_dir /tmp,
+ dnl [CXXFLAGS="$CXXFLAGS --pch_dir `pwd`/pcheaders"])
+ fi
+ dnl this flag controls inlining. by default KCC inlines in optimisation mode
+ dnl all implementations that are defined inside the class {} declaration.
+ dnl because of templates-compatibility with broken gcc compilers, this
+ dnl can cause excessive inlining. This flag limits it to a sane level
+ KDE_CHECK_COMPILER_FLAG(-inline_keyword_space_time=6,[CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"])
+ KDE_CHECK_COMPILER_FLAG(-inline_auto_space_time=2,[CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"])
+ KDE_CHECK_COMPILER_FLAG(-inline_implicit_space_time=2.0,[CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"])
+ KDE_CHECK_COMPILER_FLAG(-inline_generated_space_time=2.0,[CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"])
+ dnl Some source files are shared between multiple executables
+ dnl (or libraries) and some of those need template instantiations.
+ dnl In that case KCC needs to compile those sources with
+ dnl --one_instantiation_per_object. To make it easy for us we compile
+ dnl _all_ objects with that flag (--one_per is a shorthand).
+ KDE_CHECK_COMPILER_FLAG(-one_per, [CXXFLAGS="$CXXFLAGS --one_per"])
+ fi
+ AC_SUBST(USE_EXCEPTIONS)
+ dnl obsolete macro - provided to keep things going
+ USE_RTTI=
+ AC_SUBST(USE_RTTI)
+
+ case "$host" in
+ *-*-irix*) test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
+ *-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
+ *-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
+ *-*-solaris*)
+ if test "$GXX" = yes; then
+ libstdcpp=`$CXX -print-file-name=libstdc++.so`
+ if test ! -f $libstdcpp; then
+ AC_MSG_ERROR([You've compiled gcc without --enable-shared. This doesn't work with KDE. Please recompile gcc with --enable-shared to receive a libstdc++.so])
+ fi
+ fi
+ ;;
+ esac
+
+ AC_VALIDIFY_CXXFLAGS
+
+ AC_PROG_CXXCPP
+
+ if test "$GCC" = yes; then
+ NOOPT_CFLAGS=-O0
+ fi
+ KDE_CHECK_COMPILER_FLAG(O0,[NOOPT_CXXFLAGS=-O0])
+
+ AC_ARG_ENABLE(coverage,
+ AC_HELP_STRING([--enable-coverage],[use gcc coverage testing]), [
+ if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then
+ ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
+ ac_coverage_linker="-lgcc"
+ elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then
+ ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
+ ac_coverage_linker=""
+ else
+ AC_MSG_ERROR([coverage with your compiler is not supported])
+ fi
+ CFLAGS="$CFLAGS $ac_coverage_compiler"
+ CXXFLAGS="$CXXFLAGS $ac_coverage_compiler"
+ LDFLAGS="$LDFLAGS $ac_coverage_linker"
+ ])
+
+ AC_SUBST(NOOPT_CXXFLAGS)
+ AC_SUBST(NOOPT_CFLAGS)
+ AC_SUBST(ENABLE_PERMISSIVE_FLAG)
+
+ KDE_CHECK_NEW_LDFLAGS
+ KDE_CHECK_FINAL
+ KDE_CHECK_CLOSURE
+ KDE_CHECK_NMCHECK
+
+ ifdef([AM_DEPENDENCIES], AC_REQUIRE([KDE_ADD_DEPENDENCIES]), [])
+])
+
+AC_DEFUN([KDE_CHECK_VISIBILITY_GCC_BUG],
+ [
+ AC_CACHE_CHECK([for gcc -fvisibility-inlines-hidden bug], kde_cv_val_gcc_visibility_bug,
+ [
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+
+ safe_CXXFLAGS=$CXXFLAGS
+ safe_LDFLAGS=$LDFLAGS
+ CXXFLAGS="$CXXFLAGS -fPIC -fvisibility-inlines-hidden -O0"
+ LDFLAGS="$LDFLAGS -shared -fPIC"
+
+ AC_TRY_LINK(
+ [
+ /* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664 */
+ #include <string>
+ int some_function( void ) __attribute__ ((visibility("default")));
+ int some_function( void )
+ {
+ std::string s("blafasel");
+ return 0;
+ }
+ ], [/* elvis is alive */],
+ kde_cv_val_gcc_visibility_bug=no, kde_cv_val_gcc_visibility_bug=yes)
+
+ CXXFLAGS=$safe_CXXFLAGS
+ LDFLAGS=$safe_LDFLAGS
+ AC_LANG_RESTORE
+ ]
+ )
+
+ if test x$kde_cv_val_gcc_visibility_bug = xno; then
+ CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
+ fi
+ ]
+)
+
+AC_DEFUN([KDE_ENABLE_HIDDEN_VISIBILITY],
+[
+ AC_BEFORE([AC_PATH_QT_1_3], [KDE_ENABLE_HIDDEN_VISIBILITY])
+
+ AC_MSG_CHECKING([grepping for visibility push/pop in headers])
+
+ if test "x$GXX" = "xyes"; then
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_EGREP_CPP(
+ [GCC visibility push],
+ [ #include <exception>
+ ],
+ [
+ AC_MSG_RESULT(yes)
+ kde_stdc_visibility_patched=yes ],
+ [
+ AC_MSG_RESULT(no)
+ AC_MSG_WARN([Your libstdc++ doesn't appear to be patched for
+ visibility support. Disabling -fvisibility=hidden])
+
+ kde_stdc_visibility_patched=no ])
+
+ AC_LANG_RESTORE
+
+ kde_have_gcc_visibility=no
+ KDE_CHECK_COMPILER_FLAG(fvisibility=hidden,
+ [
+ kde_have_gcc_visibility=yes
+ dnl the whole toolchain is just a mess, gcc is just too buggy
+ dnl to handle STL with visibility enabled. Lets reconsider
+ dnl when gcc 4.2 is out or when things get fixed in the compiler.
+ dnl Contact mueller at kde.org for details.
+ AC_ARG_ENABLE(gcc-hidden-visibility,
+ AC_HELP_STRING([--enable-gcc-hidden-visibility],[toolchain hidden visibility [default=no]]),
+ [kde_have_gcc_visibility=$enableval],
+ [kde_have_gcc_visibility=no])
+
+ AC_CACHE_CHECK([if Qt is patched for -fvisibility], kde_cv_val_qt_gcc_visibility_patched,
+ [
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+
+ safe_CXXFLAGS=$CXXFLAGS
+ CXXFLAGS="$CXXFLAGS $all_includes"
+
+ AC_TRY_COMPILE(
+ [
+#include <qglobal.h>
+#if Q_EXPORT - 0 != 0
+/* if this compiles, then Q_EXPORT is undefined */
+/* if Q_EXPORT is nonempty, this will break compilation */
+#endif
+ ], [/* elvis is alive */],
+ kde_cv_val_qt_gcc_visibility_patched=no, kde_cv_val_qt_gcc_visibility_patched=yes)
+
+ CXXFLAGS=$safe_CXXFLAGS
+ AC_LANG_RESTORE
+ ]
+ )
+
+ if test x$kde_have_gcc_visibility = "xyes" && test x$kde_stdc_visibility_patched = "xyes" && test x$kde_cv_val_qt_gcc_visibility_patched = "xyes"; then
+ CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
+ KDE_CHECK_VISIBILITY_GCC_BUG
+ HAVE_GCC_VISIBILITY=1
+ AC_DEFINE_UNQUOTED(__KDE_HAVE_GCC_VISIBILITY, "$HAVE_GCC_VISIBILITY", [define to 1 if -fvisibility is supported])
+ fi
+ ])
+ fi
+])
+
+AC_DEFUN([KDE_ADD_DEPENDENCIES],
+[
+ [A]M_DEPENDENCIES(CC)
+ [A]M_DEPENDENCIES(CXX)
+])
+
+dnl just a wrapper to clean up configure.in
+AC_DEFUN([KDE_PROG_LIBTOOL],
+[
+AC_REQUIRE([AC_CHECK_COMPILERS])
+AC_REQUIRE([AC_ENABLE_SHARED])
+AC_REQUIRE([AC_ENABLE_STATIC])
+
+AC_REQUIRE([AC_LIBTOOL_DLOPEN])
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+AC_OBJEXT
+AC_EXEEXT
+
+AM_PROG_LIBTOOL
+AC_LIBTOOL_CXX
+
+LIBTOOL_SHELL="/bin/sh ./libtool"
+# LIBTOOL="$LIBTOOL --silent"
+KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
+AC_SUBST(KDE_PLUGIN)
+
+# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs.
+KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)"
+AC_SUBST(KDE_CHECK_PLUGIN)
+
+# we patch configure quite some so we better keep that consistent for incremental runs
+AC_SUBST(AUTOCONF,'$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure')
+])
+
+AC_DEFUN([KDE_CHECK_LIB64],
+[
+ AC_ARG_ENABLE(libsuffix,
+ AC_HELP_STRING([--enable-libsuffix],
+ [/lib directory suffix (64,32,none,auto[=default])]),
+ kdelibsuff=$enableval, kdelibsuff="auto")
+
+ if test "$kdelibsuff" = "auto"; then
+
+cat > conftest.c << EOF
+#include <stdio.h>
+int main() {
+ return 0;
+}
+EOF
+ kdelibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{
+ s,.*/lib\([[^\/]]*\)/.*,\1,
+ p
+}'`
+ rm -rf conftest.*
+ fi
+
+ if test "$kdelibsuff" = "no" || test "$kdelibsuff" = "none"; then
+ kdelibsuff=
+ fi
+ if test -z "$kdelibsuff"; then
+ AC_MSG_RESULT([not using lib directory suffix])
+ AC_DEFINE(KDELIBSUFF, [""], Suffix for lib directories)
+ else
+ if test "$libdir" = '${exec_prefix}/lib'; then
+ libdir="$libdir${kdelibsuff}"
+ AC_SUBST([libdir], ["$libdir"]) dnl ugly hack for lib64 platforms
+ fi
+ AC_DEFINE_UNQUOTED(KDELIBSUFF, ["${kdelibsuff}"], Suffix for lib directories)
+ AC_MSG_RESULT([using lib directory suffix $kdelibsuff])
+ fi
+])
+
+AC_DEFUN([KDE_CHECK_TYPES],
+[ AC_CHECK_SIZEOF(int, 4)dnl
+ AC_CHECK_SIZEOF(short)dnl
+ AC_CHECK_SIZEOF(long, 4)dnl
+ AC_CHECK_SIZEOF(char *, 4)dnl
+])dnl
+
+dnl Not used - kept for compat only?
+AC_DEFUN([KDE_DO_IT_ALL],
+[
+AC_CANONICAL_SYSTEM
+AC_ARG_PROGRAM
+AM_INIT_AUTOMAKE($1, $2)
+AM_DISABLE_LIBRARIES
+AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde})
+AC_CHECK_COMPILERS
+KDE_PROG_LIBTOOL
+AM_KDE_WITH_NLS
+AC_PATH_KDE
+])
+
+AC_DEFUN([AC_CHECK_RPATH],
+[
+AC_MSG_CHECKING(for rpath)
+AC_ARG_ENABLE(rpath,
+ AC_HELP_STRING([--disable-rpath],[do not use the rpath feature of ld]),
+ USE_RPATH=$enableval, USE_RPATH=yes)
+
+if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
+
+ KDE_RPATH="-R \$(libdir)"
+
+ if test "$kde_libraries" != "$libdir"; then
+ KDE_RPATH="$KDE_RPATH -R \$(kde_libraries)"
+ fi
+
+ if test -n "$qt_libraries"; then
+ KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
+ fi
+ dnl $x_libraries is set to /usr/lib in case
+ if test -n "$X_LDFLAGS"; then
+ X_RPATH="-R \$(x_libraries)"
+ KDE_RPATH="$KDE_RPATH $X_RPATH"
+ fi
+ if test -n "$KDE_EXTRA_RPATH"; then
+ KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
+ fi
+fi
+AC_SUBST(KDE_EXTRA_RPATH)
+AC_SUBST(KDE_RPATH)
+AC_SUBST(X_RPATH)
+AC_MSG_RESULT($USE_RPATH)
+])
+
+dnl Check for the type of the third argument of getsockname
+AC_DEFUN([AC_CHECK_SOCKLEN_T],
+[
+ AC_MSG_CHECKING(for socklen_t)
+ AC_CACHE_VAL(kde_cv_socklen_t,
+ [
+ AC_LANG_PUSH(C++)
+ kde_cv_socklen_t=no
+ AC_TRY_COMPILE([
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ ],
+ [
+ socklen_t len;
+ getpeername(0,0,&len);
+ ],
+ [
+ kde_cv_socklen_t=yes
+ kde_cv_socklen_t_equiv=socklen_t
+ ])
+ AC_LANG_POP(C++)
+ ])
+ AC_MSG_RESULT($kde_cv_socklen_t)
+ if test $kde_cv_socklen_t = no; then
+ AC_MSG_CHECKING([for socklen_t equivalent for socket functions])
+ AC_CACHE_VAL(kde_cv_socklen_t_equiv,
+ [
+ kde_cv_socklen_t_equiv=int
+ AC_LANG_PUSH(C++)
+ for t in int size_t unsigned long "unsigned long"; do
+ AC_TRY_COMPILE([
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ ],
+ [
+ $t len;
+ getpeername(0,0,&len);
+ ],
+ [
+ kde_cv_socklen_t_equiv="$t"
+ break
+ ])
+ done
+ AC_LANG_POP(C++)
+ ])
+ AC_MSG_RESULT($kde_cv_socklen_t_equiv)
+ fi
+ AC_DEFINE_UNQUOTED(kde_socklen_t, $kde_cv_socklen_t_equiv,
+ [type to use in place of socklen_t if not defined])
+ AC_DEFINE_UNQUOTED(ksize_t, $kde_cv_socklen_t_equiv,
+ [type to use in place of socklen_t if not defined (deprecated, use kde_socklen_t)])
+])
+
+dnl This is a merge of some macros out of the gettext aclocal.m4
+dnl since we don't need anything, I took the things we need
+dnl the copyright for them is:
+dnl >
+dnl Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+dnl This Makefile.in is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+dnl PARTICULAR PURPOSE.
+dnl >
+dnl for this file it is relicensed under LGPL
+
+AC_DEFUN([AM_KDE_WITH_NLS],
+ [
+ dnl If we use NLS figure out what method
+
+ AM_PATH_PROG_WITH_TEST_KDE(MSGFMT, msgfmt,
+ [test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"], msgfmt)
+ AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
+
+ if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
+ AC_MSG_RESULT([found msgfmt program is not GNU msgfmt; ignore it])
+ GMSGFMT=":"
+ fi
+ MSGFMT=$GMSGFMT
+ AC_SUBST(GMSGFMT)
+ AC_SUBST(MSGFMT)
+
+ AM_PATH_PROG_WITH_TEST_KDE(XGETTEXT, xgettext,
+ [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
+
+ dnl Test whether we really found GNU xgettext.
+ if test "$XGETTEXT" != ":"; then
+ dnl If it is no GNU xgettext we define it as : so that the
+ dnl Makefiles still can work.
+ if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
+ : ;
+ else
+ AC_MSG_RESULT(
+ [found xgettext programs is not GNU xgettext; ignore it])
+ XGETTEXT=":"
+ fi
+ fi
+ AC_SUBST(XGETTEXT)
+
+ ])
+
+# Search path for a program which passes the given test.
+# Ulrich Drepper <drepper at cygnus.com>, 1996.
+
+# serial 1
+# Stephan Kulow: I appended a _KDE against name conflicts
+
+dnl AM_PATH_PROG_WITH_TEST_KDE(VARIABLE, PROG-TO-CHECK-FOR,
+dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
+AC_DEFUN([AM_PATH_PROG_WITH_TEST_KDE],
+[# Extract the first word of "$2", so it can be a program name with args.
+set dummy $2; ac_word=[$]2
+AC_MSG_CHECKING([for $ac_word])
+AC_CACHE_VAL(ac_cv_path_$1,
+[case "[$]$1" in
+ /*)
+ ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
+ ;;
+ *)
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in ifelse([$5], , $PATH, [$5]); do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ if [$3]; then
+ ac_cv_path_$1="$ac_dir/$ac_word"
+ break
+ fi
+ fi
+ done
+ IFS="$ac_save_ifs"
+dnl If no 4th arg is given, leave the cache variable unset,
+dnl so AC_PATH_PROGS will keep looking.
+ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
+])dnl
+ ;;
+esac])dnl
+$1="$ac_cv_path_$1"
+if test -n "[$]$1"; then
+ AC_MSG_RESULT([$]$1)
+else
+ AC_MSG_RESULT(no)
+fi
+AC_SUBST($1)dnl
+])
+
+
+# Check whether LC_MESSAGES is available in <locale.h>.
+# Ulrich Drepper <drepper at cygnus.com>, 1995.
+
+# serial 1
+
+AC_DEFUN([AM_LC_MESSAGES],
+ [if test $ac_cv_header_locale_h = yes; then
+ AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
+ [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
+ am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
+ if test $am_cv_val_LC_MESSAGES = yes; then
+ AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your locale.h file contains LC_MESSAGES])
+ fi
+ fi])
+
+dnl From Jim Meyering.
+dnl FIXME: migrate into libit.
+
+AC_DEFUN([AM_FUNC_OBSTACK],
+[AC_CACHE_CHECK([for obstacks], am_cv_func_obstack,
+ [AC_TRY_LINK([#include "obstack.h"],
+ [struct obstack *mem;obstack_free(mem,(char *) 0)],
+ am_cv_func_obstack=yes,
+ am_cv_func_obstack=no)])
+ if test $am_cv_func_obstack = yes; then
+ AC_DEFINE(HAVE_OBSTACK)
+ else
+ LIBOBJS="$LIBOBJS obstack.o"
+ fi
+])
+
+dnl From Jim Meyering. Use this if you use the GNU error.[ch].
+dnl FIXME: Migrate into libit
+
+AC_DEFUN([AM_FUNC_ERROR_AT_LINE],
+[AC_CACHE_CHECK([for error_at_line], am_cv_lib_error_at_line,
+ [AC_TRY_LINK([],[error_at_line(0, 0, "", 0, "");],
+ am_cv_lib_error_at_line=yes,
+ am_cv_lib_error_at_line=no)])
+ if test $am_cv_lib_error_at_line = no; then
+ LIBOBJS="$LIBOBJS error.o"
+ fi
+ AC_SUBST(LIBOBJS)dnl
+])
+
+# Macro to add for using GNU gettext.
+# Ulrich Drepper <drepper at cygnus.com>, 1995.
+
+# serial 1
+# Stephan Kulow: I put a KDE in it to avoid name conflicts
+
+AC_DEFUN([AM_KDE_GNU_GETTEXT],
+ [AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+ AC_REQUIRE([AC_PROG_RANLIB])dnl
+ AC_REQUIRE([AC_HEADER_STDC])dnl
+ AC_REQUIRE([AC_TYPE_OFF_T])dnl
+ AC_REQUIRE([AC_TYPE_SIZE_T])dnl
+ AC_REQUIRE([AC_FUNC_ALLOCA])dnl
+ AC_REQUIRE([AC_FUNC_MMAP])dnl
+ AC_REQUIRE([AM_KDE_WITH_NLS])dnl
+ AC_CHECK_HEADERS([limits.h locale.h nl_types.h string.h values.h alloca.h])
+ AC_CHECK_FUNCS([getcwd munmap putenv setlocale strchr strcasecmp \
+__argz_count __argz_stringify __argz_next])
+
+ AC_MSG_CHECKING(for stpcpy)
+ AC_CACHE_VAL(kde_cv_func_stpcpy,
+ [
+ kde_safe_cxxflags=$CXXFLAGS
+ CXXFLAGS="-Werror"
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_TRY_COMPILE([
+ #include <string.h>
+ ],
+ [
+ char buffer[200];
+ stpcpy(buffer, buffer);
+ ],
+ kde_cv_func_stpcpy=yes,
+ kde_cv_func_stpcpy=no)
+ AC_LANG_RESTORE
+ CXXFLAGS=$kde_safe_cxxflags
+ ])
+ AC_MSG_RESULT($kde_cv_func_stpcpy)
+ if eval "test \"`echo $kde_cv_func_stpcpy`\" = yes"; then
+ AC_DEFINE(HAVE_STPCPY, 1, [Define if you have stpcpy])
+ fi
+
+ AM_LC_MESSAGES
+
+ if test "x$CATOBJEXT" != "x"; then
+ if test "x$ALL_LINGUAS" = "x"; then
+ LINGUAS=
+ else
+ AC_MSG_CHECKING(for catalogs to be installed)
+ NEW_LINGUAS=
+ for lang in ${LINGUAS=$ALL_LINGUAS}; do
+ case "$ALL_LINGUAS" in
+ *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
+ esac
+ done
+ LINGUAS=$NEW_LINGUAS
+ AC_MSG_RESULT($LINGUAS)
+ fi
+
+ dnl Construct list of names of catalog files to be constructed.
+ if test -n "$LINGUAS"; then
+ for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
+ fi
+ fi
+
+ ])
+
+AC_DEFUN([AC_HAVE_XPM],
+ [AC_REQUIRE_CPP()dnl
+ AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+
+ test -z "$XPM_LDFLAGS" && XPM_LDFLAGS=
+ test -z "$XPM_INCLUDE" && XPM_INCLUDE=
+
+ AC_ARG_WITH(xpm,AC_HELP_STRING([--without-xpm],[disable color pixmap XPM tests]),
+ xpm_test=$withval, xpm_test="yes")
+ if test "x$xpm_test" = xno; then
+ ac_cv_have_xpm=no
+ else
+ AC_MSG_CHECKING(for XPM)
+ AC_CACHE_VAL(ac_cv_have_xpm,
+ [
+ ac_save_ldflags="$LDFLAGS"
+ ac_save_cflags="$CFLAGS"
+ if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+ LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS $LDFLAGS $XPM_LDFLAGS $all_libraries -lXpm -lX11 -lXext $LIBZ $LIBSOCKET"
+ else
+ LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS $LDFLAGS $XPM_LDFLAGS $all_libraries -lXpm $LIBZ $LIBSOCKET"
+ fi
+ CFLAGS="$CFLAGS $X_INCLUDES $USER_INCLUDES"
+ test -n "$XPM_INCLUDE" && CFLAGS="-I$XPM_INCLUDE $CFLAGS"
+ AC_TRY_LINK([#include <X11/xpm.h>],[],
+ ac_cv_have_xpm="yes",ac_cv_have_xpm="no")
+ LDFLAGS="$ac_save_ldflags"
+ CFLAGS="$ac_save_cflags"
+ ])dnl
+
+ if test "$ac_cv_have_xpm" = no; then
+ AC_MSG_RESULT(no)
+ XPM_LDFLAGS=""
+ XPMINC=""
+ $2
+ else
+ AC_DEFINE(HAVE_XPM, 1, [Define if you have XPM support])
+ if test "$XPM_LDFLAGS" = ""; then
+ XPMLIB='-lXpm $(LIB_X11)'
+ else
+ XPMLIB="-L$XPM_LDFLAGS -lXpm "'$(LIB_X11)'
+ fi
+ if test "$XPM_INCLUDE" = ""; then
+ XPMINC=""
+ else
+ XPMINC="-I$XPM_INCLUDE"
+ fi
+ AC_MSG_RESULT(yes)
+ $1
+ fi
+ fi
+ AC_SUBST(XPMINC)
+ AC_SUBST(XPMLIB)
+])
+
+AC_DEFUN([AC_HAVE_DPMS],
+ [AC_REQUIRE_CPP()dnl
+ AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+
+ test -z "$DPMS_LDFLAGS" && DPMS_LDFLAGS=
+ test -z "$DPMS_INCLUDE" && DPMS_INCLUDE=
+ DPMS_LIB=
+
+ AC_ARG_WITH(dpms,AC_HELP_STRING([--without-dpms],[disable DPMS power saving]),
+ dpms_test=$withval, dpms_test="yes")
+ if test "x$dpms_test" = xno; then
+ ac_cv_have_dpms=no
+ else
+ AC_MSG_CHECKING(for DPMS)
+ dnl Note: ac_cv_have_dpms can be no, yes, or -lXdpms.
+ dnl 'yes' means DPMS_LIB="", '-lXdpms' means DPMS_LIB="-lXdpms".
+ AC_CACHE_VAL(ac_cv_have_dpms,
+ [
+ if test "x$kde_use_qt_emb" = "xyes" || test "x$kde_use_qt_mac" = "xyes"; then
+ AC_MSG_RESULT(no)
+ ac_cv_have_dpms="no"
+ else
+ ac_save_ldflags="$LDFLAGS"
+ ac_save_cflags="$CFLAGS"
+ ac_save_libs="$LIBS"
+ LDFLAGS="$LDFLAGS $DPMS_LDFLAGS $all_libraries"
+ LIBS="-lX11 -lXext $LIBSOCKET"
+ CFLAGS="$CFLAGS $X_INCLUDES"
+ test -n "$DPMS_INCLUDE" && CFLAGS="-I$DPMS_INCLUDE $CFLAGS"
+ AC_TRY_LINK([
+ #include <X11/Xproto.h>
+ #include <X11/X.h>
+ #include <X11/Xlib.h>
+ #include <X11/extensions/dpms.h>
+ int foo_test_dpms()
+ { return DPMSSetTimeouts( 0, 0, 0, 0 ); }],[],
+ ac_cv_have_dpms="yes", [
+ LIBS="-lXdpms $LIBS"
+ AC_TRY_LINK([
+ #include <X11/Xproto.h>
+ #include <X11/X.h>
+ #include <X11/Xlib.h>
+ #include <X11/extensions/dpms.h>
+ int foo_test_dpms()
+ { return DPMSSetTimeouts( 0, 0, 0, 0 ); }],[],
+ [
+ ac_cv_have_dpms="-lXdpms"
+ ],ac_cv_have_dpms="no")
+ ])
+ LDFLAGS="$ac_save_ldflags"
+ CFLAGS="$ac_save_cflags"
+ LIBS="$ac_save_libs"
+ fi
+ ])dnl
+
+ if test "$ac_cv_have_dpms" = no; then
+ AC_MSG_RESULT(no)
+ DPMS_LDFLAGS=""
+ DPMSINC=""
+ $2
+ else
+ AC_DEFINE(HAVE_DPMS, 1, [Define if you have DPMS support])
+ if test "$ac_cv_have_dpms" = "-lXdpms"; then
+ DPMS_LIB="-lXdpms"
+ fi
+ if test "$DPMS_LDFLAGS" = ""; then
+ DPMSLIB="$DPMS_LIB "'$(LIB_X11)'
+ else
+ DPMSLIB="$DPMS_LDFLAGS $DPMS_LIB "'$(LIB_X11)'
+ fi
+ if test "$DPMS_INCLUDE" = ""; then
+ DPMSINC=""
+ else
+ DPMSINC="-I$DPMS_INCLUDE"
+ fi
+ AC_MSG_RESULT(yes)
+ $1
+ fi
+ fi
+ ac_save_cflags="$CFLAGS"
+ CFLAGS="$CFLAGS $X_INCLUDES"
+ test -n "$DPMS_INCLUDE" && CFLAGS="-I$DPMS_INCLUDE $CFLAGS"
+ AH_TEMPLATE(HAVE_DPMSCAPABLE_PROTO,
+ [Define if you have the DPMSCapable prototype in <X11/extensions/dpms.h>])
+ AC_CHECK_DECL(DPMSCapable,
+ AC_DEFINE(HAVE_DPMSCAPABLE_PROTO),,
+ [#include <X11/Xlib.h>
+ #include <X11/extensions/dpms.h>])
+ AH_TEMPLATE(HAVE_DPMSINFO_PROTO,
+ [Define if you have the DPMSInfo prototype in <X11/extensions/dpms.h>])
+ AC_CHECK_DECL(DPMSInfo,
+ AC_DEFINE(HAVE_DPMSINFO_PROTO),,
+ [#include <X11/Xlib.h>
+ #include <X11/extensions/dpms.h>])
+ CFLAGS="$ac_save_cflags"
+ AC_SUBST(DPMSINC)
+ AC_SUBST(DPMSLIB)
+])
+
+AC_DEFUN([AC_HAVE_GL],
+ [AC_REQUIRE_CPP()dnl
+ AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+
+ test -z "$GL_LDFLAGS" && GL_LDFLAGS=
+ test -z "$GL_INCLUDE" && GL_INCLUDE=
+
+ AC_ARG_WITH(gl,AC_HELP_STRING([--without-gl],[disable 3D GL modes]),
+ gl_test=$withval, gl_test="yes")
+ if test "x$kde_use_qt_emb" = "xyes"; then
+ # GL and Qt Embedded is a no-go for now.
+ ac_cv_have_gl=no
+ elif test "x$gl_test" = xno; then
+ ac_cv_have_gl=no
+ else
+ AC_MSG_CHECKING(for GL)
+ AC_CACHE_VAL(ac_cv_have_gl,
+ [
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ ac_save_ldflags=$LDFLAGS
+ ac_save_cxxflags=$CXXFLAGS
+ ac_save_libs=$LIBS
+ LDFLAGS="$LDFLAGS $GL_LDFLAGS $X_LDFLAGS $all_libraries"
+ LIBS="$LIBS -lGL -lGLU"
+ test "x$kde_use_qt_mac" != xyes && test "x$kde_use_qt_emb" != xyes && LIBS="$LIBS -lX11"
+ LIBS="$LIBS $LIB_XEXT -lm $LIBSOCKET"
+ CXXFLAGS="$CFLAGS $X_INCLUDES"
+ test -n "$GL_INCLUDE" && CFLAGS="-I$GL_INCLUDE $CFLAGS"
+ AC_TRY_LINK([#include <GL/gl.h>
+#include <GL/glu.h>
+], [],
+ ac_cv_have_gl="yes", ac_cv_have_gl="no")
+ AC_LANG_RESTORE
+ LDFLAGS=$ac_save_ldflags
+ CXXFLAGS=$ac_save_cxxflags
+ LIBS=$ac_save_libs
+ ])dnl
+
+ if test "$ac_cv_have_gl" = "no"; then
+ AC_MSG_RESULT(no)
+ GL_LDFLAGS=""
+ GLINC=""
+ $2
+ else
+ AC_DEFINE(HAVE_GL, 1, [Defines if you have GL (Mesa, OpenGL, ...)])
+ if test "$GL_LDFLAGS" = ""; then
+ GLLIB='-lGLU -lGL $(LIB_X11)'
+ else
+ GLLIB="$GL_LDFLAGS -lGLU -lGL "'$(LIB_X11)'
+ fi
+ if test "$GL_INCLUDE" = ""; then
+ GLINC=""
+ else
+ GLINC="-I$GL_INCLUDE"
+ fi
+ AC_MSG_RESULT($ac_cv_have_gl)
+ $1
+ fi
+ fi
+ AC_SUBST(GLINC)
+ AC_SUBST(GLLIB)
+])
+
+
+ dnl shadow password and PAM magic - maintained by ossi at kde.org
+
+AC_DEFUN([KDE_PAM], [
+ AC_REQUIRE([KDE_CHECK_LIBDL])
+
+ want_pam=
+ AC_ARG_WITH(pam,
+ AC_HELP_STRING([--with-pam[=ARG]],[enable support for PAM: ARG=[yes|no|service name]]),
+ [ if test "x$withval" = "xyes"; then
+ want_pam=yes
+ pam_service=kde
+ elif test "x$withval" = "xno"; then
+ want_pam=no
+ else
+ want_pam=yes
+ pam_service=$withval
+ fi
+ ], [ pam_service=kde ])
+
+ use_pam=
+ PAMLIBS=
+ if test "x$want_pam" != xno; then
+ AC_CHECK_LIB(pam, pam_start, [
+ AC_CHECK_HEADER(security/pam_appl.h,
+ [ pam_header=security/pam_appl.h ],
+ [ AC_CHECK_HEADER(pam/pam_appl.h,
+ [ pam_header=pam/pam_appl.h ],
+ [
+ AC_MSG_WARN([PAM detected, but no headers found!
+Make sure you have the necessary development packages installed.])
+ ]
+ )
+ ]
+ )
+ ], , $LIBDL)
+ if test -z "$pam_header"; then
+ if test "x$want_pam" = xyes; then
+ AC_MSG_ERROR([--with-pam was specified, but cannot compile with PAM!])
+ fi
+ else
+ AC_DEFINE(HAVE_PAM, 1, [Defines if you have PAM (Pluggable Authentication Modules)])
+ PAMLIBS="$PAM_MISC_LIB -lpam $LIBDL"
+ use_pam=yes
+
+ dnl darwin claims to be something special
+ if test "$pam_header" = "pam/pam_appl.h"; then
+ AC_DEFINE(HAVE_PAM_PAM_APPL_H, 1, [Define if your PAM headers are in pam/ instead of security/])
+ fi
+
+ dnl test whether struct pam_message is const (Linux) or not (Sun)
+ AC_MSG_CHECKING(for const pam_message)
+ AC_EGREP_HEADER([struct pam_message], $pam_header,
+ [ AC_EGREP_HEADER([const struct pam_message], $pam_header,
+ [AC_MSG_RESULT([const: Linux-type PAM])],
+ [AC_MSG_RESULT([nonconst: Sun-type PAM])
+ AC_DEFINE(PAM_MESSAGE_NONCONST, 1, [Define if your PAM support takes non-const arguments (Solaris)])]
+ )],
+ [AC_MSG_RESULT([not found - assume const, Linux-type PAM])])
+ fi
+ fi
+
+ AC_SUBST(PAMLIBS)
+])
+
+dnl DEF_PAM_SERVICE(arg name, full name, define name)
+AC_DEFUN([DEF_PAM_SERVICE], [
+ AC_ARG_WITH($1-pam,
+ AC_HELP_STRING([--with-$1-pam=[val]],[override PAM service from --with-pam for $2]),
+ [ if test "x$use_pam" = xyes; then
+ $3_PAM_SERVICE=$withval
+ else
+ AC_MSG_ERROR([Cannot use use --with-$1-pam, as no PAM was detected.
+You may want to enforce it by using --with-pam.])
+ fi
+ ],
+ [ if test "x$use_pam" = xyes; then
+ $3_PAM_SERVICE="$pam_service"
+ fi
+ ])
+ if test -n "$$3_PAM_SERVICE"; then
+ AC_MSG_RESULT([The PAM service used by $2 will be $$3_PAM_SERVICE])
+ AC_DEFINE_UNQUOTED($3_PAM_SERVICE, "$$3_PAM_SERVICE", [The PAM service to be used by $2])
+ fi
+ AC_SUBST($3_PAM_SERVICE)
+])
+
+AC_DEFUN([KDE_SHADOWPASSWD], [
+ AC_REQUIRE([KDE_PAM])
+
+ AC_CHECK_LIB(shadow, getspent,
+ [ LIBSHADOW="-lshadow"
+ ac_use_shadow=yes
+ ],
+ [ dnl for UnixWare
+ AC_CHECK_LIB(gen, getspent,
+ [ LIBGEN="-lgen"
+ ac_use_shadow=yes
+ ],
+ [ AC_CHECK_FUNC(getspent,
+ [ ac_use_shadow=yes ],
+ [ ac_use_shadow=no ])
+ ])
+ ])
+ AC_SUBST(LIBSHADOW)
+ AC_SUBST(LIBGEN)
+
+ AC_MSG_CHECKING([for shadow passwords])
+
+ AC_ARG_WITH(shadow,
+ AC_HELP_STRING([--with-shadow],[If you want shadow password support]),
+ [ if test "x$withval" != "xno"; then
+ use_shadow=yes
+ else
+ use_shadow=no
+ fi
+ ], [
+ use_shadow="$ac_use_shadow"
+ ])
+
+ if test "x$use_shadow" = xyes; then
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_SHADOW, 1, [Define if you use shadow passwords])
+ else
+ AC_MSG_RESULT(no)
+ LIBSHADOW=
+ LIBGEN=
+ fi
+
+ dnl finally make the relevant binaries setuid root, if we have shadow passwds.
+ dnl this still applies, if we could use it indirectly through pam.
+ if test "x$use_shadow" = xyes ||
+ ( test "x$use_pam" = xyes && test "x$ac_use_shadow" = xyes ); then
+ case $host in
+ *-*-freebsd* | *-*-netbsd* | *-*-openbsd*)
+ SETUIDFLAGS="-m 4755 -o root";;
+ *)
+ SETUIDFLAGS="-m 4755";;
+ esac
+ fi
+ AC_SUBST(SETUIDFLAGS)
+
+])
+
+AC_DEFUN([KDE_PASSWDLIBS], [
+ AC_REQUIRE([KDE_MISC_TESTS]) dnl for LIBCRYPT
+ AC_REQUIRE([KDE_PAM])
+ AC_REQUIRE([KDE_SHADOWPASSWD])
+
+ if test "x$use_pam" = "xyes"; then
+ PASSWDLIBS="$PAMLIBS"
+ else
+ PASSWDLIBS="$LIBCRYPT $LIBSHADOW $LIBGEN"
+ fi
+
+ dnl FreeBSD uses a shadow-like setup, where /etc/passwd holds the users, but
+ dnl /etc/master.passwd holds the actual passwords. /etc/master.passwd requires
+ dnl root to read, so kcheckpass needs to be root (even when using pam, since pam
+ dnl may need to read /etc/master.passwd).
+ case $host in
+ *-*-freebsd*)
+ SETUIDFLAGS="-m 4755 -o root"
+ ;;
+ *)
+ ;;
+ esac
+
+ AC_SUBST(PASSWDLIBS)
+])
+
+AC_DEFUN([KDE_CHECK_LIBDL],
+[
+AC_CHECK_LIB(dl, dlopen, [
+LIBDL="-ldl"
+ac_cv_have_dlfcn=yes
+])
+
+AC_CHECK_LIB(dld, shl_unload, [
+LIBDL="-ldld"
+ac_cv_have_shload=yes
+])
+
+AC_SUBST(LIBDL)
+])
+
+AC_DEFUN([KDE_CHECK_DLOPEN],
+[
+KDE_CHECK_LIBDL
+AC_CHECK_HEADERS(dlfcn.h dl.h)
+if test "$ac_cv_header_dlfcn_h" = "no"; then
+ ac_cv_have_dlfcn=no
+fi
+
+if test "$ac_cv_header_dl_h" = "no"; then
+ ac_cv_have_shload=no
+fi
+
+dnl XXX why change enable_dlopen? its already set by autoconf's AC_ARG_ENABLE
+dnl (MM)
+AC_ARG_ENABLE(dlopen,
+AC_HELP_STRING([--disable-dlopen],[link statically [default=no]]),
+enable_dlopen=$enableval,
+enable_dlopen=yes)
+
+# override the user's opinion, if we know it better ;)
+if test "$ac_cv_have_dlfcn" = "no" && test "$ac_cv_have_shload" = "no"; then
+ enable_dlopen=no
+fi
+
+if test "$ac_cv_have_dlfcn" = "yes"; then
+ AC_DEFINE_UNQUOTED(HAVE_DLFCN, 1, [Define if you have dlfcn])
+fi
+
+if test "$ac_cv_have_shload" = "yes"; then
+ AC_DEFINE_UNQUOTED(HAVE_SHLOAD, 1, [Define if you have shload])
+fi
+
+if test "$enable_dlopen" = no ; then
+ test -n "$1" && eval $1
+else
+ test -n "$2" && eval $2
+fi
+
+])
+
+AC_DEFUN([KDE_CHECK_DYNAMIC_LOADING],
+[
+KDE_CHECK_DLOPEN(libtool_enable_shared=yes, libtool_enable_static=no)
+KDE_PROG_LIBTOOL
+AC_MSG_CHECKING([dynamic loading])
+eval "`egrep '^build_libtool_libs=' libtool`"
+if test "$build_libtool_libs" = "yes" && test "$enable_dlopen" = "yes"; then
+ dynamic_loading=yes
+ AC_DEFINE_UNQUOTED(HAVE_DYNAMIC_LOADING)
+else
+ dynamic_loading=no
+fi
+AC_MSG_RESULT($dynamic_loading)
+if test "$dynamic_loading" = "yes"; then
+ $1
+else
+ $2
+fi
+])
+
+AC_DEFUN([KDE_ADD_INCLUDES],
+[
+if test -z "$1"; then
+ test_include="Pix.h"
+else
+ test_include="$1"
+fi
+
+AC_MSG_CHECKING([for libg++ ($test_include)])
+
+AC_CACHE_VAL(kde_cv_libgpp_includes,
+[
+kde_cv_libgpp_includes=no
+
+ for ac_dir in \
+ \
+ /usr/include/g++ \
+ /usr/include \
+ /usr/unsupported/include \
+ /opt/include \
+ $extra_include \
+ ; \
+ do
+ if test -r "$ac_dir/$test_include"; then
+ kde_cv_libgpp_includes=$ac_dir
+ break
+ fi
+ done
+])
+
+AC_MSG_RESULT($kde_cv_libgpp_includes)
+if test "$kde_cv_libgpp_includes" != "no"; then
+ all_includes="-I$kde_cv_libgpp_includes $all_includes $USER_INCLUDES"
+fi
+])
+])
+
+AC_DEFUN([KDE_CHECK_LIBPTHREAD],
+[
+ dnl This code is here specifically to handle the
+ dnl various flavors of threading library on FreeBSD
+ dnl 4-, 5-, and 6-, and the (weird) rules around it.
+ dnl There may be an environment PTHREAD_LIBS that
+ dnl specifies what to use; otherwise, search for it.
+ dnl -pthread is special cased and unsets LIBPTHREAD
+ dnl below if found.
+ LIBPTHREAD=""
+
+ if test -n "$PTHREAD_LIBS"; then
+ if test "x$PTHREAD_LIBS" = "x-pthread" ; then
+ LIBPTHREAD="PTHREAD"
+ else
+ PTHREAD_LIBS_save="$PTHREAD_LIBS"
+ PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
+ AC_MSG_CHECKING([for pthread_create in $PTHREAD_LIBS])
+ KDE_CHECK_LIB($PTHREAD_LIBS, pthread_create, [
+ LIBPTHREAD="$PTHREAD_LIBS_save"])
+ PTHREAD_LIBS="$PTHREAD_LIBS_save"
+ fi
+ fi
+
+ dnl Is this test really needed, in the face of the Tru64 test below?
+ if test -z "$LIBPTHREAD"; then
+ AC_CHECK_LIB(pthread, pthread_create, [LIBPTHREAD="-lpthread"])
+ fi
+
+ dnl This is a special Tru64 check, see BR 76171 issue #18.
+ if test -z "$LIBPTHREAD" ; then
+ AC_MSG_CHECKING([for pthread_create in -lpthread])
+ kde_safe_libs=$LIBS
+ LIBS="$LIBS -lpthread"
+ AC_TRY_LINK([#include <pthread.h>],[(void)pthread_create(0,0,0,0);],[
+ AC_MSG_RESULT(yes)
+ LIBPTHREAD="-lpthread"],[
+ AC_MSG_RESULT(no)])
+ LIBS=$kde_safe_libs
+ fi
+
+ dnl Un-special-case for FreeBSD.
+ if test "x$LIBPTHREAD" = "xPTHREAD" ; then
+ LIBPTHREAD=""
+ fi
+
+ AC_SUBST(LIBPTHREAD)
+])
+
+AC_DEFUN([KDE_CHECK_PTHREAD_OPTION],
+[
+ USE_THREADS=""
+ if test -z "$LIBPTHREAD"; then
+ KDE_CHECK_COMPILER_FLAG(pthread, [USE_THREADS="-D_THREAD_SAFE -pthread"])
+ fi
+
+ AH_VERBATIM(__svr_define, [
+#if defined(__SVR4) && !defined(__svr4__)
+#define __svr4__ 1
+#endif
+])
+ case $host_os in
+ solaris*)
+ KDE_CHECK_COMPILER_FLAG(mt, [USE_THREADS="-mt"])
+ CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
+ ;;
+ freebsd*)
+ CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS"
+ ;;
+ aix*)
+ CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
+ LIBPTHREAD="$LIBPTHREAD -lc_r"
+ ;;
+ linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
+ if test "$CXX" = "KCC"; then
+ CXXFLAGS="$CXXFLAGS --thread_safe"
+ NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
+ fi
+ ;;
+ *)
+ ;;
+ esac
+ AC_SUBST(USE_THREADS)
+ AC_SUBST(LIBPTHREAD)
+])
+
+AC_DEFUN([KDE_CHECK_THREADING],
+[
+ AC_REQUIRE([KDE_CHECK_LIBPTHREAD])
+ AC_REQUIRE([KDE_CHECK_PTHREAD_OPTION])
+ dnl default is yes if libpthread is found and no if no libpthread is available
+ if test -z "$LIBPTHREAD"; then
+ if test -z "$USE_THREADS"; then
+ kde_check_threading_default=no
+ else
+ kde_check_threading_default=yes
+ fi
+ else
+ kde_check_threading_default=yes
+ fi
+ AC_ARG_ENABLE(threading,AC_HELP_STRING([--disable-threading],[disables threading even if libpthread found]),
+ kde_use_threading=$enableval, kde_use_threading=$kde_check_threading_default)
+ if test "x$kde_use_threading" = "xyes"; then
+ AC_DEFINE(HAVE_LIBPTHREAD, 1, [Define if you have a working libpthread (will enable threaded code)])
+ fi
+])
+
+AC_DEFUN([KDE_TRY_LINK_PYTHON],
+[
+if test "$kde_python_link_found" = no; then
+
+if test "$1" = normal; then
+ AC_MSG_CHECKING(if a Python application links)
+else
+ AC_MSG_CHECKING(if Python depends on $2)
+fi
+
+AC_CACHE_VAL(kde_cv_try_link_python_$1,
+[
+kde_save_cflags="$CFLAGS"
+CFLAGS="$CFLAGS $PYTHONINC"
+kde_save_libs="$LIBS"
+LIBS="$LIBS $LIBPYTHON $2 $LIBDL $LIBSOCKET"
+kde_save_ldflags="$LDFLAGS"
+LDFLAGS="$LDFLAGS $PYTHONLIB"
+
+AC_TRY_LINK(
+[
+#include <Python.h>
+],[
+ PySys_SetArgv(1, 0);
+],
+ [kde_cv_try_link_python_$1=yes],
+ [kde_cv_try_link_python_$1=no]
+)
+CFLAGS="$kde_save_cflags"
+LIBS="$kde_save_libs"
+LDFLAGS="$kde_save_ldflags"
+])
+
+if test "$kde_cv_try_link_python_$1" = "yes"; then
+ AC_MSG_RESULT(yes)
+ kde_python_link_found=yes
+ if test ! "$1" = normal; then
+ LIBPYTHON="$LIBPYTHON $2"
+ fi
+ $3
+else
+ AC_MSG_RESULT(no)
+ $4
+fi
+
+fi
+
+])
+
+AC_DEFUN([KDE_CHECK_PYTHON_DIR],
+[
+AC_MSG_CHECKING([for Python directory])
+
+AC_CACHE_VAL(kde_cv_pythondir,
+[
+ if test -z "$PYTHONDIR"; then
+ kde_cv_pythondir=/usr/local
+ else
+ kde_cv_pythondir="$PYTHONDIR"
+ fi
+])
+
+AC_ARG_WITH(pythondir,
+AC_HELP_STRING([--with-pythondir=pythondir],[use python installed in pythondir]),
+[
+ ac_python_dir=$withval
+], ac_python_dir=$kde_cv_pythondir
+)
+
+AC_MSG_RESULT($ac_python_dir)
+])
+
+AC_DEFUN([KDE_CHECK_PYTHON_INTERN],
+[
+AC_REQUIRE([KDE_CHECK_LIBDL])
+AC_REQUIRE([KDE_CHECK_LIBPTHREAD])
+AC_REQUIRE([KDE_CHECK_PYTHON_DIR])
+
+if test -z "$1"; then
+ version="1.5"
+else
+ version="$1"
+fi
+
+AC_MSG_CHECKING([for Python$version])
+
+python_incdirs="$ac_python_dir/include /usr/include /usr/local/include/ $kde_extra_includes"
+AC_FIND_FILE(Python.h, $python_incdirs, python_incdir)
+if test ! -r $python_incdir/Python.h; then
+ AC_FIND_FILE(python$version/Python.h, $python_incdirs, python_incdir)
+ python_incdir=$python_incdir/python$version
+ if test ! -r $python_incdir/Python.h; then
+ python_incdir=no
+ fi
+fi
+
+PYTHONINC=-I$python_incdir
+
+python_libdirs="$ac_python_dir/lib$kdelibsuff /usr/lib$kdelibsuff /usr/local /usr/lib$kdelibsuff $kde_extra_libs"
+AC_FIND_FILE(libpython$version.so, $python_libdirs, python_libdir)
+if test ! -r $python_libdir/libpython$version.so; then
+ AC_FIND_FILE(libpython$version.a, $python_libdirs, python_libdir)
+ if test ! -r $python_libdir/libpython$version.a; then
+ AC_FIND_FILE(python$version/config/libpython$version.a, $python_libdirs, python_libdir)
+ python_libdir=$python_libdir/python$version/config
+ if test ! -r $python_libdir/libpython$version.a; then
+ python_libdir=no
+ fi
+ fi
+fi
+
+PYTHONLIB=-L$python_libdir
+kde_orig_LIBPYTHON=$LIBPYTHON
+if test -z "$LIBPYTHON"; then
+ LIBPYTHON=-lpython$version
+fi
+
+AC_FIND_FILE(python$version/copy.py, $python_libdirs, python_moddir)
+python_moddir=$python_moddir/python$version
+if test ! -r $python_moddir/copy.py; then
+ python_moddir=no
+fi
+
+PYTHONMODDIR=$python_moddir
+
+AC_MSG_RESULT(header $python_incdir library $python_libdir modules $python_moddir)
+
+if test x$python_incdir = xno || test x$python_libdir = xno || test x$python_moddir = xno; then
+ LIBPYTHON=$kde_orig_LIBPYTHON
+ test "x$PYTHONLIB" = "x-Lno" && PYTHONLIB=""
+ test "x$PYTHONINC" = "x-Ino" && PYTHONINC=""
+ $2
+else
+ dnl Note: this test is very weak
+ kde_python_link_found=no
+ KDE_TRY_LINK_PYTHON(normal)
+ KDE_TRY_LINK_PYTHON(m, -lm)
+ KDE_TRY_LINK_PYTHON(pthread, $LIBPTHREAD)
+ KDE_TRY_LINK_PYTHON(tcl, -ltcl)
+ KDE_TRY_LINK_PYTHON(db2, -ldb2)
+ KDE_TRY_LINK_PYTHON(m_and_thread, [$LIBPTHREAD -lm])
+ KDE_TRY_LINK_PYTHON(m_and_thread_and_util, [$LIBPTHREAD -lm -lutil])
+ KDE_TRY_LINK_PYTHON(m_and_thread_and_db3, [$LIBPTHREAD -lm -ldb-3 -lutil])
+ KDE_TRY_LINK_PYTHON(pthread_and_db3, [$LIBPTHREAD -ldb-3])
+ KDE_TRY_LINK_PYTHON(m_and_thread_and_db, [$LIBPTHREAD -lm -ldb -ltermcap -lutil])
+ KDE_TRY_LINK_PYTHON(pthread_and_dl, [$LIBPTHREAD $LIBDL -lutil -lreadline -lncurses -lm])
+ KDE_TRY_LINK_PYTHON(pthread_and_panel_curses, [$LIBPTHREAD $LIBDL -lm -lpanel -lcurses])
+ KDE_TRY_LINK_PYTHON(m_and_thread_and_db_special, [$LIBPTHREAD -lm -ldb -lutil], [],
+ [AC_MSG_WARN([it seems, Python depends on another library.
+ Please set LIBPYTHON to '-lpython$version -lotherlib' before calling configure to fix this
+ and contact the authors to let them know about this problem])
+ ])
+
+ LIBPYTHON="$LIBPYTHON $LIBDL $LIBSOCKET"
+ AC_SUBST(PYTHONINC)
+ AC_SUBST(PYTHONLIB)
+ AC_SUBST(LIBPYTHON)
+ AC_SUBST(PYTHONMODDIR)
+ AC_DEFINE(HAVE_PYTHON, 1, [Define if you have the development files for python])
+fi
+
+])
+
+
+AC_DEFUN([KDE_CHECK_PYTHON],
+[
+ KDE_CHECK_PYTHON_INTERN("2.5",
+ [KDE_CHECK_PYTHON_INTERN("2.4",
+ [KDE_CHECK_PYTHON_INTERN("2.3",
+ [KDE_CHECK_PYTHON_INTERN("2.2",
+ [KDE_CHECK_PYTHON_INTERN("2.1",
+ [KDE_CHECK_PYTHON_INTERN("2.0",
+ [KDE_CHECK_PYTHON_INTERN($1, $2) ])
+ ])
+ ])
+ ])
+ ])
+ ])
+])
+
+AC_DEFUN([KDE_CHECK_STL],
+[
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ ac_save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
+
+ AC_MSG_CHECKING([if C++ programs can be compiled])
+ AC_CACHE_VAL(kde_cv_stl_works,
+ [
+ AC_TRY_COMPILE([
+#include <string>
+using namespace std;
+],[
+ string astring="Hallo Welt.";
+ astring.erase(0, 6); // now astring is "Welt"
+ return 0;
+], kde_cv_stl_works=yes,
+ kde_cv_stl_works=no)
+])
+
+ AC_MSG_RESULT($kde_cv_stl_works)
+
+ if test "$kde_cv_stl_works" = "yes"; then
+ # back compatible
+ AC_DEFINE_UNQUOTED(HAVE_SGI_STL, 1, [Define if you have a STL implementation by SGI])
+ else
+ AC_MSG_ERROR([Your Installation isn't able to compile simple C++ programs.
+Check config.log for details - if you're using a Linux distribution you might miss
+a package named similar to libstdc++-dev.])
+ fi
+
+ CXXFLAGS="$ac_save_CXXFLAGS"
+ AC_LANG_RESTORE
+])
+
+AC_DEFUN([AC_FIND_QIMGIO],
+ [AC_REQUIRE([AC_FIND_JPEG])
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+AC_MSG_CHECKING([for qimgio])
+AC_CACHE_VAL(ac_cv_lib_qimgio,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+ac_save_LIBS="$LIBS"
+ac_save_CXXFLAGS="$CXXFLAGS"
+LIBS="$all_libraries -lqimgio -lpng -lz $LIBJPEG $LIBQT"
+CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
+AC_TRY_RUN(dnl
+[
+#include <qimageio.h>
+#include <qstring.h>
+int main() {
+ QString t = "hallo";
+ t.fill('t');
+ qInitImageIO();
+}
+],
+ ac_cv_lib_qimgio=yes,
+ ac_cv_lib_qimgio=no,
+ ac_cv_lib_qimgio=no)
+LIBS="$ac_save_LIBS"
+CXXFLAGS="$ac_save_CXXFLAGS"
+AC_LANG_RESTORE
+])dnl
+if eval "test \"`echo $ac_cv_lib_qimgio`\" = yes"; then
+ LIBQIMGIO="-lqimgio -lpng -lz $LIBJPEG"
+ AC_MSG_RESULT(yes)
+ AC_DEFINE_UNQUOTED(HAVE_QIMGIO, 1, [Define if you have the Qt extension qimgio available])
+ AC_SUBST(LIBQIMGIO)
+else
+ AC_MSG_RESULT(not found)
+fi
+])
+
+AC_DEFUN([AM_DISABLE_LIBRARIES],
+[
+ AC_PROVIDE([AM_ENABLE_STATIC])
+ AC_PROVIDE([AM_ENABLE_SHARED])
+ enable_static=no
+ enable_shared=yes
+])
+
+
+AC_DEFUN([AC_CHECK_UTMP_FILE],
+[
+ AC_MSG_CHECKING([for utmp file])
+
+ AC_CACHE_VAL(kde_cv_utmp_file,
+ [
+ kde_cv_utmp_file=no
+
+ for ac_file in \
+ \
+ /var/run/utmp \
+ /var/adm/utmp \
+ /etc/utmp \
+ ; \
+ do
+ if test -r "$ac_file"; then
+ kde_cv_utmp_file=$ac_file
+ break
+ fi
+ done
+ ])
+
+ if test "$kde_cv_utmp_file" != "no"; then
+ AC_DEFINE_UNQUOTED(UTMP, "$kde_cv_utmp_file", [Define the file for utmp entries])
+ $1
+ AC_MSG_RESULT($kde_cv_utmp_file)
+ else
+ $2
+ AC_MSG_RESULT([non found])
+ fi
+])
+
+
+AC_DEFUN([KDE_CREATE_SUBDIRSLIST],
+[
+
+DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
+TOPSUBDIRS=""
+
+if test ! -s $srcdir/subdirs; then
+ dnl Note: Makefile.common creates subdirs, so this is just a fallback
+ files=`cd $srcdir && ls -1`
+ dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
+ for i in $dirs; do
+ echo $i >> $srcdir/subdirs
+ done
+fi
+
+ac_topsubdirs=
+if test -s $srcdir/inst-apps; then
+ ac_topsubdirs="`cat $srcdir/inst-apps`"
+elif test -s $srcdir/subdirs; then
+ ac_topsubdirs="`cat $srcdir/subdirs`"
+fi
+
+for i in $ac_topsubdirs; do
+ AC_MSG_CHECKING([if $i should be compiled])
+ if test -d $srcdir/$i; then
+ install_it="yes"
+ for j in $DO_NOT_COMPILE; do
+ if test $i = $j; then
+ install_it="no"
+ fi
+ done
+ else
+ install_it="no"
+ fi
+ AC_MSG_RESULT($install_it)
+ vari=`echo $i | sed -e 's,[[-+.@]],_,g'`
+ if test $install_it = "yes"; then
+ TOPSUBDIRS="$TOPSUBDIRS $i"
+ eval "$vari""_SUBDIR_included=yes"
+ else
+ eval "$vari""_SUBDIR_included=no"
+ fi
+done
+
+AC_SUBST(TOPSUBDIRS)
+])
+
+AC_DEFUN([KDE_CHECK_NAMESPACES],
+[
+AC_MSG_CHECKING(whether C++ compiler supports namespaces)
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+AC_TRY_COMPILE([
+],
+[
+namespace Foo {
+ extern int i;
+ namespace Bar {
+ extern int i;
+ }
+}
+
+int Foo::i = 0;
+int Foo::Bar::i = 1;
+],[
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_NAMESPACES)
+], [
+AC_MSG_RESULT(no)
+])
+AC_LANG_RESTORE
+])
+
+dnl ------------------------------------------------------------------------
+dnl Check for S_ISSOCK macro. Doesn't exist on Unix SCO. faure at kde.org
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN([AC_CHECK_S_ISSOCK],
+[
+AC_MSG_CHECKING(for S_ISSOCK)
+AC_CACHE_VAL(ac_cv_have_s_issock,
+[
+AC_TRY_LINK(
+[
+#include <sys/stat.h>
+],
+[
+struct stat buff;
+int b = S_ISSOCK( buff.st_mode );
+],
+ac_cv_have_s_issock=yes,
+ac_cv_have_s_issock=no)
+])
+AC_MSG_RESULT($ac_cv_have_s_issock)
+if test "$ac_cv_have_s_issock" = "yes"; then
+ AC_DEFINE_UNQUOTED(HAVE_S_ISSOCK, 1, [Define if sys/stat.h declares S_ISSOCK.])
+fi
+
+AH_VERBATIM(_ISSOCK,
+[
+#ifndef HAVE_S_ISSOCK
+#define HAVE_S_ISSOCK
+#define S_ISSOCK(mode) (1==0)
+#endif
+])
+
+])
+
+dnl ------------------------------------------------------------------------
+dnl Check for MAXPATHLEN macro, defines KDEMAXPATHLEN. faure at kde.org
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN([AC_CHECK_KDEMAXPATHLEN],
+[
+AC_MSG_CHECKING(for MAXPATHLEN)
+AC_CACHE_VAL(ac_cv_maxpathlen,
+[
+cat > conftest.$ac_ext <<EOF
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+#endif
+#include <stdio.h>
+#include <sys/param.h>
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 1024
+#endif
+
+KDE_HELLO MAXPATHLEN
+
+EOF
+
+ac_try="$ac_cpp conftest.$ac_ext 2>/dev/null | grep '^KDE_HELLO' >conftest.out"
+
+if AC_TRY_EVAL(ac_try) && test -s conftest.out; then
+ ac_cv_maxpathlen=`sed 's#KDE_HELLO ##' conftest.out`
+else
+ ac_cv_maxpathlen=1024
+fi
+
+rm conftest.*
+
+])
+AC_MSG_RESULT($ac_cv_maxpathlen)
+AC_DEFINE_UNQUOTED(KDEMAXPATHLEN,$ac_cv_maxpathlen, [Define a safe value for MAXPATHLEN] )
+])
+
+AC_DEFUN([KDE_CHECK_HEADER],
+[
+ kde_safe_cppflags=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $all_includes"
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_CHECK_HEADER([$1], [$2], [$3], [$4])
+ AC_LANG_RESTORE
+ CPPFLAGS=$kde_safe_cppflags
+])
+
+AC_DEFUN([KDE_CHECK_HEADERS],
+[
+ AH_CHECK_HEADERS([$1])
+ AC_LANG_SAVE
+ kde_safe_cppflags=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $all_includes"
+ AC_LANG_CPLUSPLUS
+ AC_CHECK_HEADERS([$1], [$2], [$3], [$4])
+ CPPFLAGS=$kde_safe_cppflags
+ AC_LANG_RESTORE
+])
+
+AC_DEFUN([KDE_FAST_CONFIGURE],
+[
+ dnl makes configure fast (needs perl)
+ AC_ARG_ENABLE(fast-perl, AC_HELP_STRING([--disable-fast-perl],[disable fast Makefile generation (needs perl)]),
+ with_fast_perl=$enableval, with_fast_perl=yes)
+])
+
+AC_DEFUN([KDE_CONF_FILES],
+[
+ val=
+ if test -f $srcdir/configure.files ; then
+ val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
+ fi
+ CONF_FILES=
+ if test -n "$val" ; then
+ for i in $val ; do
+ CONF_FILES="$CONF_FILES $i"
+ done
+ fi
+ AC_SUBST(CONF_FILES)
+])dnl
+
+dnl This sets the prefix, for arts and kdelibs
+dnl Do NOT use in any other module.
+dnl It only looks at --prefix, KDEDIR and falls back to /usr/local/kde
+AC_DEFUN([KDE_SET_PREFIX_CORE],
+[
+ unset CDPATH
+ dnl make $KDEDIR the default for the installation
+ AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde})
+
+ if test "x$prefix" = "xNONE"; then
+ prefix=$ac_default_prefix
+ ac_configure_args="$ac_configure_args --prefix=$prefix"
+ fi
+ # And delete superfluous '/' to make compares easier
+ prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
+ exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
+
+ kde_libs_prefix='$(prefix)'
+ kde_libs_htmldir='$(kde_htmldir)'
+ AC_SUBST(kde_libs_prefix)
+ AC_SUBST(kde_libs_htmldir)
+ KDE_FAST_CONFIGURE
+ KDE_CONF_FILES
+])
+
+
+AC_DEFUN([KDE_SET_PREFIX],
+[
+ unset CDPATH
+ dnl We can't give real code to that macro, only a value.
+ dnl It only matters for --help, since we set the prefix in this function anyway.
+ AC_PREFIX_DEFAULT(${KDEDIR:-the kde prefix})
+
+ KDE_SET_DEFAULT_BINDIRS
+ if test "x$prefix" = "xNONE"; then
+ dnl no prefix given: look for kde-config in the PATH and deduce the prefix from it
+ KDE_FIND_PATH(kde-config, KDECONFIG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kde-config)], [], prepend)
+ else
+ dnl prefix given: look for kde-config, preferrably in prefix, otherwise in PATH
+ kde_save_PATH="$PATH"
+ PATH="$exec_prefix/bin:$prefix/bin:$PATH"
+ KDE_FIND_PATH(kde-config, KDECONFIG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kde-config)], [], prepend)
+ PATH="$kde_save_PATH"
+ fi
+
+ kde_libs_prefix=`$KDECONFIG --prefix`
+ if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
+ AC_MSG_ERROR([$KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
+ This means it has been moved since you installed it.
+ This won't work. Please recompile kdelibs for the new prefix.
+ ])
+ fi
+ kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
+
+ AC_MSG_CHECKING([where to install])
+ if test "x$prefix" = "xNONE"; then
+ prefix=$kde_libs_prefix
+ AC_MSG_RESULT([$prefix (as returned by kde-config)])
+ else
+ dnl --prefix was given. Compare prefixes and warn (in configure.in.bot.end) if different
+ given_prefix=$prefix
+ AC_MSG_RESULT([$prefix (as requested)])
+ fi
+
+ # And delete superfluous '/' to make compares easier
+ prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
+ exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
+ given_prefix=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
+
+ AC_SUBST(KDECONFIG)
+ AC_SUBST(kde_libs_prefix)
+ AC_SUBST(kde_libs_htmldir)
+
+ KDE_FAST_CONFIGURE
+ KDE_CONF_FILES
+])
+
+pushdef([AC_PROG_INSTALL],
+[
+ dnl our own version, testing for a -p flag
+ popdef([AC_PROG_INSTALL])
+ dnl as AC_PROG_INSTALL works as it works we first have
+ dnl to save if the user didn't specify INSTALL, as the
+ dnl autoconf one overwrites INSTALL and we have no chance to find
+ dnl out afterwards
+ test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
+ test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
+ test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
+ AC_PROG_INSTALL
+
+ if test -z "$kde_save_INSTALL_given" ; then
+ # OK, user hasn't given any INSTALL, autoconf found one for us
+ # now we test, if it supports the -p flag
+ AC_MSG_CHECKING(for -p flag to install)
+ rm -f confinst.$$.* > /dev/null 2>&1
+ echo "Testtest" > confinst.$$.orig
+ ac_res=no
+ if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
+ if test -f confinst.$$.new ; then
+ # OK, -p seems to do no harm to install
+ INSTALL="${INSTALL} -p"
+ ac_res=yes
+ fi
+ fi
+ rm -f confinst.$$.*
+ AC_MSG_RESULT($ac_res)
+ fi
+ dnl the following tries to resolve some signs and wonders coming up
+ dnl with different autoconf/automake versions
+ dnl e.g.:
+ dnl *automake 1.4 install-strip sets A_M_INSTALL_PROGRAM_FLAGS to -s
+ dnl and has INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(A_M_INSTALL_PROGRAM_FLAGS)
+ dnl it header-vars.am, so there the actual INSTALL_PROGRAM gets the -s
+ dnl *automake 1.4a (and above) use INSTALL_STRIP_FLAG and only has
+ dnl INSTALL_PROGRAM = @INSTALL_PROGRAM@ there, but changes the
+ dnl install- at DIR@PROGRAMS targets to explicitly use that flag
+ dnl *autoconf 2.13 is dumb, and thinks it can use INSTALL_PROGRAM as
+ dnl INSTALL_SCRIPT, which breaks with automake <= 1.4
+ dnl *autoconf >2.13 (since 10.Apr 1999) has not that failure
+ dnl *sometimes KDE does not use the install- at DIR@PROGRAM targets from
+ dnl automake (due to broken Makefile.am or whatever) to install programs,
+ dnl and so does not see the -s flag in automake > 1.4
+ dnl to clean up that mess we:
+ dnl +set INSTALL_PROGRAM to use INSTALL_STRIP_FLAG
+ dnl which cleans KDE's program with automake > 1.4;
+ dnl +set INSTALL_SCRIPT to only use INSTALL, to clean up autoconf's problems
+ dnl with automake<=1.4
+ dnl note that dues to this sometimes two '-s' flags are used (if KDE
+ dnl properly uses install- at DIR@PROGRAMS, but I don't care
+ dnl
+ dnl And to all this comes, that I even can't write in comments variable
+ dnl names used by automake, because it is so stupid to think I wanted to
+ dnl _use_ them, therefor I have written A_M_... instead of AM_
+ dnl hmm, I wanted to say something ... ahh yes: Arghhh.
+
+ if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
+ INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
+ fi
+ if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
+ INSTALL_SCRIPT='${INSTALL}'
+ fi
+])dnl
+
+AC_DEFUN([KDE_LANG_CPLUSPLUS],
+[AC_LANG_CPLUSPLUS
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&AC_FD_CC'
+pushdef([AC_LANG_CPLUSPLUS], [popdef([AC_LANG_CPLUSPLUS]) KDE_LANG_CPLUSPLUS])
+])
+
+pushdef([AC_LANG_CPLUSPLUS],
+[popdef([AC_LANG_CPLUSPLUS])
+KDE_LANG_CPLUSPLUS
+])
+
+AC_DEFUN([KDE_CHECK_LONG_LONG],
+[
+AC_MSG_CHECKING(for long long)
+AC_CACHE_VAL(kde_cv_c_long_long,
+[
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_TRY_LINK([], [
+ long long foo = 0;
+ foo = foo+1;
+ ],
+ kde_cv_c_long_long=yes, kde_cv_c_long_long=no)
+ AC_LANG_RESTORE
+])
+AC_MSG_RESULT($kde_cv_c_long_long)
+if test "$kde_cv_c_long_long" = yes; then
+ AC_DEFINE(HAVE_LONG_LONG, 1, [Define if you have long long as datatype])
+fi
+])
+
+AC_DEFUN([KDE_CHECK_LIB],
+[
+ kde_save_LDFLAGS="$LDFLAGS"
+ dnl AC_CHECK_LIB modifies LIBS, so save it here
+ kde_save_LIBS="$LIBS"
+ LDFLAGS="$LDFLAGS $all_libraries"
+ case $host_os in
+ aix*) LDFLAGS="-brtl $LDFLAGS"
+ test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
+ ;;
+ esac
+ AC_CHECK_LIB($1, $2, $3, $4, $5)
+ LDFLAGS="$kde_save_LDFLAGS"
+ LIBS="$kde_save_LIBS"
+])
+
+AC_DEFUN([KDE_JAVA_PREFIX],
+[
+ dir=`dirname "$1"`
+ base=`basename "$1"`
+ list=`ls -1 $dir 2> /dev/null`
+ for entry in $list; do
+ if test -d $dir/$entry/bin; then
+ case $entry in
+ $base)
+ javadirs="$javadirs $dir/$entry/bin"
+ ;;
+ esac
+ elif test -d $dir/$entry/jre/bin; then
+ case $entry in
+ $base)
+ javadirs="$javadirs $dir/$entry/jre/bin"
+ ;;
+ esac
+ fi
+ done
+])
+
+dnl KDE_CHEC_JAVA_DIR(onlyjre)
+AC_DEFUN([KDE_CHECK_JAVA_DIR],
+[
+
+AC_ARG_WITH(java,
+AC_HELP_STRING([--with-java=javadir],[use java installed in javadir, --without-java disables]),
+[ ac_java_dir=$withval
+], ac_java_dir=""
+)
+
+AC_MSG_CHECKING([for Java])
+
+dnl at this point ac_java_dir is either a dir, 'no' to disable, or '' to say look in $PATH
+if test "x$ac_java_dir" = "xno"; then
+ kde_java_bindir=no
+ kde_java_includedir=no
+ kde_java_libjvmdir=no
+ kde_java_libgcjdir=no
+ kde_java_libhpidir=no
+else
+ if test "x$ac_java_dir" = "x"; then
+
+
+ dnl No option set -> collect list of candidate paths
+ if test -n "$JAVA_HOME"; then
+ KDE_JAVA_PREFIX($JAVA_HOME)
+ fi
+ KDE_JAVA_PREFIX(/usr/j2se)
+ KDE_JAVA_PREFIX(/usr/lib/j2se)
+ KDE_JAVA_PREFIX(/usr/j*dk*)
+ KDE_JAVA_PREFIX(/usr/lib/j*dk*)
+ KDE_JAVA_PREFIX(/opt/j*sdk*)
+ KDE_JAVA_PREFIX(/usr/lib/java*)
+ KDE_JAVA_PREFIX(/usr/java*)
+ KDE_JAVA_PREFIX(/usr/java/j*dk*)
+ KDE_JAVA_PREFIX(/usr/java/j*re*)
+ KDE_JAVA_PREFIX(/usr/lib/SunJava2*)
+ KDE_JAVA_PREFIX(/usr/lib/SunJava*)
+ KDE_JAVA_PREFIX(/usr/lib/IBMJava2*)
+ KDE_JAVA_PREFIX(/usr/lib/IBMJava*)
+ KDE_JAVA_PREFIX(/opt/java*)
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ for dir in $PATH; do
+ if test -d "$dir"; then
+ javadirs="$javadirs $dir"
+ fi
+ done
+ IFS=$kde_save_IFS
+ jredirs=
+
+ dnl Now javadirs contains a list of paths that exist, all ending with bin/
+ for dir in $javadirs; do
+ dnl Check for the java executable
+ if test -x "$dir/java"; then
+ sane_path=$(cd $dir; /bin/pwd)
+ dnl And also check for a libjvm.so somewhere under there
+ dnl Since we have to go to the parent dir, /usr/bin is excluded, /usr is too big.
+ if test "$sane_path" != "/usr/bin"; then
+ libjvmdir=`find $dir/.. -name libjvm.so | sed 's,libjvm.so,,'|head -n 1`
+ if test ! -f $libjvmdir/libjvm.so; then continue; fi
+ jredirs="$jredirs $dir"
+ fi
+ fi
+ done
+
+ dnl Now jredirs contains a reduced list, of paths where both java and ../**/libjvm.so was found
+ JAVAC=
+ JAVA=
+ kde_java_bindir=no
+ for dir in $jredirs; do
+ JAVA="$dir/java"
+ kde_java_bindir=$dir
+ if test -x "$dir/javac"; then
+ JAVAC="$dir/javac"
+ break
+ fi
+ done
+
+ if test -n "$JAVAC"; then
+ dnl this substitution might not work - well, we test for jni.h below
+ kde_java_includedir=`echo $JAVAC | sed -e 's,bin/javac$,include/,'`
+ else
+ kde_java_includedir=no
+ fi
+ else
+ dnl config option set
+ kde_java_bindir=$ac_java_dir/bin
+ if test -x $ac_java_dir/bin/java && test ! -x $ac_java_dir/bin/javac; then
+ kde_java_includedir=no
+ else
+ kde_java_includedir=$ac_java_dir/include
+ fi
+ fi
+fi
+
+dnl At this point kde_java_bindir and kde_java_includedir are either set or "no"
+if test "x$kde_java_bindir" != "xno"; then
+
+ dnl Look for libjvm.so
+ kde_java_libjvmdir=`find $kde_java_bindir/.. -name libjvm.so | sed 's,libjvm.so,,'|head -n 1`
+ dnl Look for libgcj.so
+ kde_java_libgcjdir=`find $kde_java_bindir/.. -name libgcj.so | sed 's,libgcj.so,,'|head -n 1`
+ dnl Look for libhpi.so and avoid green threads
+ kde_java_libhpidir=`find $kde_java_bindir/.. -name libhpi.so | grep -v green | sed 's,libhpi.so,,' | head -n 1`
+
+ dnl Now check everything's fine under there
+ dnl the include dir is our flag for having the JDK
+ if test -d "$kde_java_includedir"; then
+ if test ! -x "$kde_java_bindir/javac"; then
+ AC_MSG_ERROR([javac not found under $kde_java_bindir - it seems you passed a wrong --with-java.])
+ fi
+ if test ! -x "$kde_java_bindir/javah"; then
+ AC_MSG_ERROR([javah not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.])
+ fi
+ if test ! -x "$kde_java_bindir/jar"; then
+ AC_MSG_ERROR([jar not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.])
+ fi
+ if test ! -r "$kde_java_includedir/jni.h"; then
+ AC_MSG_ERROR([jni.h not found under $kde_java_includedir. Use --with-java or --without-java.])
+ fi
+
+ jni_includes="-I$kde_java_includedir"
+ dnl Strange thing, jni.h requires jni_md.h which is under genunix here..
+ dnl and under linux here..
+
+ dnl not needed for gcj
+
+ if test "x$kde_java_libgcjdir" = "x"; then
+ test -d "$kde_java_includedir/linux" && jni_includes="$jni_includes -I$kde_java_includedir/linux"
+ test -d "$kde_java_includedir/solaris" && jni_includes="$jni_includes -I$kde_java_includedir/solaris"
+ test -d "$kde_java_includedir/genunix" && jni_includes="$jni_includes -I$kde_java_includedir/genunix"
+ fi
+
+ else
+ JAVAC=
+ jni_includes=
+ fi
+
+ if test "x$kde_java_libgcjdir" = "x"; then
+ if test ! -r "$kde_java_libjvmdir/libjvm.so"; then
+ AC_MSG_ERROR([libjvm.so not found under $kde_java_libjvmdir. Use --without-java.])
+ fi
+ else
+ if test ! -r "$kde_java_libgcjdir/libgcj.so"; then
+ AC_MSG_ERROR([libgcj.so not found under $kde_java_libgcjdir. Use --without-java.])
+ fi
+ fi
+
+ if test ! -x "$kde_java_bindir/java"; then
+ AC_MSG_ERROR([java not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.])
+ fi
+
+ dnl not needed for gcj compile
+
+ if test "x$kde_java_libgcjdir" = "x"; then
+ if test ! -r "$kde_java_libhpidir/libhpi.so"; then
+ AC_MSG_ERROR([libhpi.so not found under $kde_java_libhpidir. Use --without-java.])
+ fi
+ fi
+
+ if test -n "$jni_includes"; then
+ dnl Check for JNI version
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ ac_cxxflags_safe="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS $all_includes $jni_includes"
+
+ AC_TRY_COMPILE([
+ #include <jni.h>
+ ],
+ [
+ #ifndef JNI_VERSION_1_2
+ Syntax Error
+ #endif
+ ],[ kde_jni_works=yes ],
+ [ kde_jni_works=no ])
+
+ if test $kde_jni_works = no; then
+ AC_MSG_ERROR([Incorrect version of $kde_java_includedir/jni.h.
+ You need to have Java Development Kit (JDK) version 1.2.
+
+ Use --with-java to specify another location.
+ Use --without-java to configure without java support.
+ Or download a newer JDK and try again.
+ See e.g. http://java.sun.com/products/jdk/1.2 ])
+ fi
+
+ CXXFLAGS="$ac_cxxflags_safe"
+ AC_LANG_RESTORE
+
+ dnl All tests ok, inform and subst the variables
+
+ JAVAC=$kde_java_bindir/javac
+ JAVAH=$kde_java_bindir/javah
+ JAR=$kde_java_bindir/jar
+ AC_DEFINE_UNQUOTED(PATH_JAVA, "$kde_java_bindir/java", [Define where your java executable is])
+ if test "x$kde_java_libgcjdir" = "x"; then
+ JVMLIBS="-L$kde_java_libjvmdir -ljvm -L$kde_java_libhpidir -lhpi"
+ else
+ JVMLIBS="-L$kde_java_libgcjdir -lgcj"
+ fi
+ AC_MSG_RESULT([java JDK in $kde_java_bindir])
+
+ else
+ AC_DEFINE_UNQUOTED(PATH_JAVA, "$kde_java_bindir/java", [Define where your java executable is])
+ AC_MSG_RESULT([java JRE in $kde_java_bindir])
+ fi
+elif test -d "/Library/Java/Home"; then
+ kde_java_bindir="/Library/Java/Home/bin"
+ jni_includes="-I/Library/Java/Home/include"
+
+ JAVAC=$kde_java_bindir/javac
+ JAVAH=$kde_java_bindir/javah
+ JAR=$kde_java_bindir/jar
+ JVMLIBS="-Wl,-framework,JavaVM"
+
+ AC_DEFINE_UNQUOTED(PATH_JAVA, "$kde_java_bindir/java", [Define where your java executable is])
+ AC_MSG_RESULT([Apple Java Framework])
+else
+ AC_MSG_RESULT([none found])
+fi
+
+AC_SUBST(JAVAC)
+AC_SUBST(JAVAH)
+AC_SUBST(JAR)
+AC_SUBST(JVMLIBS)
+AC_SUBST(jni_includes)
+
+# for backward compat
+kde_cv_java_includedir=$kde_java_includedir
+kde_cv_java_bindir=$kde_java_bindir
+])
+
+dnl this is a redefinition of autoconf 2.5x's AC_FOREACH.
+dnl When the argument list becomes big, as in KDE for AC_OUTPUT in
+dnl big packages, m4_foreach is dog-slow. So use our own version of
+dnl it. (matz at kde.org)
+m4_define([mm_foreach],
+[m4_pushdef([$1])_mm_foreach($@)m4_popdef([$1])])
+m4_define([mm_car], [[$1]])
+m4_define([mm_car2], [[$@]])
+m4_define([_mm_foreach],
+[m4_if(m4_quote($2), [], [],
+ [m4_define([$1], mm_car($2))$3[]_mm_foreach([$1],
+ mm_car2(m4_shift($2)),
+ [$3])])])
+m4_define([AC_FOREACH],
+[mm_foreach([$1], m4_split(m4_normalize([$2])), [$3])])
+
+AC_DEFUN([KDE_NEED_FLEX],
+[
+kde_libs_safe=$LIBS
+LIBS="$LIBS $USER_LDFLAGS"
+AM_PROG_LEX
+LIBS=$kde_libs_safe
+if test -z "$LEXLIB"; then
+ AC_MSG_ERROR([You need to have flex installed.])
+fi
+AC_SUBST(LEXLIB)
+])
+
+AC_DEFUN([AC_PATH_QTOPIA],
+[
+ dnl TODO: use AC_CACHE_VAL
+
+ if test -z "$1"; then
+ qtopia_minver_maj=1
+ qtopia_minver_min=5
+ qtopia_minver_pat=0
+ else
+ qtopia_minver_maj=`echo "$1" | sed -e "s/^\(.*\)\..*\..*$/\1/"`
+ qtopia_minver_min=`echo "$1" | sed -e "s/^.*\.\(.*\)\..*$/\1/"`
+ qtopia_minver_pat=`echo "$1" | sed -e "s/^.*\..*\.\(.*\)$/\1/"`
+ fi
+
+ qtopia_minver="$qtopia_minver_maj$qtopia_minver_min$qtopia_minver_pat"
+ qtopia_minverstr="$qtopia_minver_maj.$qtopia_minver_min.$qtopia_minver_pat"
+
+ AC_REQUIRE([AC_PATH_QT])
+
+ AC_MSG_CHECKING([for Qtopia])
+
+ LIB_QTOPIA="-lqpe"
+ AC_SUBST(LIB_QTOPIA)
+
+ kde_qtopia_dirs="$QPEDIR /opt/Qtopia"
+
+ ac_qtopia_incdir=NO
+
+ AC_ARG_WITH(qtopia-dir,
+ AC_HELP_STRING([--with-qtopia-dir=DIR],[where the root of Qtopia is installed]),
+ [ ac_qtopia_incdir="$withval"/include] )
+
+ qtopia_incdirs=""
+ for dir in $kde_qtopia_dirs; do
+ qtopia_incdirs="$qtopia_incdirs $dir/include"
+ done
+
+ if test ! "$ac_qtopia_incdir" = "NO"; then
+ qtopia_incdirs="$ac_qtopia_incdir $qtopia_incdirs"
+ fi
+
+ qtopia_incdir=""
+ AC_FIND_FILE(qpe/qpeapplication.h, $qtopia_incdirs, qtopia_incdir)
+ ac_qtopia_incdir="$qtopia_incdir"
+
+ if test -z "$qtopia_incdir"; then
+ AC_MSG_ERROR([Cannot find Qtopia headers. Please check your installation.])
+ fi
+
+ qtopia_ver_maj=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION "\(.*\)\..*\..*".*,\1,p'`;
+ qtopia_ver_min=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION ".*\.\(.*\)\..*".*,\1,p'`;
+ qtopia_ver_pat=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION ".*\..*\.\(.*\)".*,\1,p'`;
+
+ qtopia_ver="$qtopia_ver_maj$qtopia_ver_min$qtopia_ver_pat"
+ qtopia_verstr="$qtopia_ver_maj.$qtopia_ver_min.$qtopia_ver_pat"
+ if test "$qtopia_ver" -lt "$qtopia_minver"; then
+ AC_MSG_ERROR([found Qtopia version $qtopia_verstr but version $qtopia_minverstr
+is required.])
+ fi
+
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+
+ ac_cxxflags_safe="$CXXFLAGS"
+ ac_ldflags_safe="$LDFLAGS"
+ ac_libs_safe="$LIBS"
+
+ CXXFLAGS="$CXXFLAGS -I$qtopia_incdir $all_includes"
+ LDFLAGS="$LDFLAGS $QT_LDFLAGS $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
+ LIBS="$LIBS $LIB_QTOPIA $LIBQT"
+
+ cat > conftest.$ac_ext <<EOF
+#include "confdefs.h"
+#include <qpe/qpeapplication.h>
+#include <qpe/version.h>
+
+int main( int argc, char **argv )
+{
+ QPEApplication app( argc, argv );
+ return 0;
+}
+EOF
+
+ if AC_TRY_EVAL(ac_link) && test -s conftest; then
+ rm -f conftest*
+ else
+ rm -f conftest*
+ AC_MSG_ERROR([Cannot link small Qtopia Application. For more details look at
+the end of config.log])
+ fi
+
+ CXXFLAGS="$ac_cxxflags_safe"
+ LDFLAGS="$ac_ldflags_safe"
+ LIBS="$ac_libs_safe"
+
+ AC_LANG_RESTORE
+
+ QTOPIA_INCLUDES="-I$qtopia_incdir"
+ AC_SUBST(QTOPIA_INCLUDES)
+
+ AC_MSG_RESULT([found version $qtopia_verstr with headers at $qtopia_incdir])
+])
+
+
+AC_DEFUN([KDE_INIT_DOXYGEN],
+[
+AC_MSG_CHECKING([for Qt docs])
+kde_qtdir=
+if test "${with_qt_dir+set}" = set; then
+ kde_qtdir="$with_qt_dir"
+fi
+
+AC_FIND_FILE(qsql.html, [ $kde_qtdir/doc/html $QTDIR/doc/html /usr/share/doc/packages/qt3/html /usr/lib/qt/doc /usr/lib/qt3/doc /usr/lib/qt3/doc/html /usr/doc/qt3/html /usr/doc/qt3 /usr/share/doc/qt3-doc /usr/share/qt3/doc/html /usr/X11R6/share/doc/qt/html ], QTDOCDIR)
+AC_MSG_RESULT($QTDOCDIR)
+
+AC_SUBST(QTDOCDIR)
+
+KDE_FIND_PATH(dot, DOT, [], [])
+if test -n "$DOT"; then
+ KDE_HAVE_DOT="YES"
+else
+ KDE_HAVE_DOT="NO"
+fi
+AC_SUBST(KDE_HAVE_DOT)
+KDE_FIND_PATH(doxygen, DOXYGEN, [], [])
+AC_SUBST(DOXYGEN)
+
+DOXYGEN_PROJECT_NAME="$1"
+DOXYGEN_PROJECT_NUMBER="$2"
+AC_SUBST(DOXYGEN_PROJECT_NAME)
+AC_SUBST(DOXYGEN_PROJECT_NUMBER)
+
+KDE_HAS_DOXYGEN=no
+if test -n "$DOXYGEN" && test -x "$DOXYGEN" && test -f $QTDOCDIR/qsql.html; then
+ KDE_HAS_DOXYGEN=yes
+fi
+AC_SUBST(KDE_HAS_DOXYGEN)
+
+])
+
+
+AC_DEFUN([AC_FIND_BZIP2],
+[
+AC_MSG_CHECKING([for bzDecompress in libbz2])
+AC_CACHE_VAL(ac_cv_lib_bzip2,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+kde_save_LIBS="$LIBS"
+LIBS="$all_libraries $USER_LDFLAGS -lbz2 $LIBSOCKET"
+kde_save_CXXFLAGS="$CXXFLAGS"
+CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
+AC_TRY_LINK(dnl
+[
+#define BZ_NO_STDIO
+#include<bzlib.h>
+],
+ [ bz_stream s; (void) bzDecompress(&s); ],
+ eval "ac_cv_lib_bzip2='-lbz2'",
+ eval "ac_cv_lib_bzip2=no")
+LIBS="$kde_save_LIBS"
+CXXFLAGS="$kde_save_CXXFLAGS"
+AC_LANG_RESTORE
+])dnl
+AC_MSG_RESULT($ac_cv_lib_bzip2)
+
+if test ! "$ac_cv_lib_bzip2" = no; then
+ BZIP2DIR=bzip2
+
+ LIBBZ2="$ac_cv_lib_bzip2"
+ AC_SUBST(LIBBZ2)
+
+else
+
+ cxx_shared_flag=
+ ld_shared_flag=
+ KDE_CHECK_COMPILER_FLAG(shared, [
+ ld_shared_flag="-shared"
+ ])
+ KDE_CHECK_COMPILER_FLAG(fPIC, [
+ cxx_shared_flag="-fPIC"
+ ])
+
+ AC_MSG_CHECKING([for BZ2_bzDecompress in (shared) libbz2])
+ AC_CACHE_VAL(ac_cv_lib_bzip2_prefix,
+ [
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ kde_save_LIBS="$LIBS"
+ LIBS="$all_libraries $USER_LDFLAGS $ld_shared_flag -lbz2 $LIBSOCKET"
+ kde_save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CFLAGS $cxx_shared_flag $all_includes $USER_INCLUDES"
+
+ AC_TRY_LINK(dnl
+ [
+ #define BZ_NO_STDIO
+ #include<bzlib.h>
+ ],
+ [ bz_stream s; (void) BZ2_bzDecompress(&s); ],
+ eval "ac_cv_lib_bzip2_prefix='-lbz2'",
+ eval "ac_cv_lib_bzip2_prefix=no")
+ LIBS="$kde_save_LIBS"
+ CXXFLAGS="$kde_save_CXXFLAGS"
+ AC_LANG_RESTORE
+ ])dnl
+
+ AC_MSG_RESULT($ac_cv_lib_bzip2_prefix)
+
+ if test ! "$ac_cv_lib_bzip2_prefix" = no; then
+ BZIP2DIR=bzip2
+
+ LIBBZ2="$ac_cv_lib_bzip2_prefix"
+ AC_SUBST(LIBBZ2)
+
+ AC_DEFINE(NEED_BZ2_PREFIX, 1, [Define if the libbz2 functions need the BZ2_ prefix])
+ dnl else, we just ignore this
+ fi
+
+fi
+AM_CONDITIONAL(include_BZIP2, test -n "$BZIP2DIR")
+])
+
+dnl ------------------------------------------------------------------------
+dnl Try to find the SSL headers and libraries.
+dnl $(SSL_LDFLAGS) will be -Lsslliblocation (if needed)
+dnl and $(SSL_INCLUDES) will be -Isslhdrlocation (if needed)
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN([KDE_CHECK_SSL],
+[
+LIBSSL="-lssl -lcrypto"
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+ac_ssl_includes=NO ac_ssl_libraries=NO
+ssl_libraries=""
+ssl_includes=""
+AC_ARG_WITH(ssl-dir,
+ AC_HELP_STRING([--with-ssl-dir=DIR],[where the root of OpenSSL is installed]),
+ [ ac_ssl_includes="$withval"/include
+ ac_ssl_libraries="$withval"/lib$kdelibsuff
+ ])
+
+want_ssl=yes
+AC_ARG_WITH(ssl,
+ AC_HELP_STRING([--without-ssl],[disable SSL checks]),
+ [want_ssl=$withval])
+
+if test $want_ssl = yes; then
+
+AC_MSG_CHECKING(for OpenSSL)
+
+AC_CACHE_VAL(ac_cv_have_ssl,
+[#try to guess OpenSSL locations
+
+ ssl_incdirs="/usr/include /usr/local/include /usr/ssl/include /usr/local/ssl/include $prefix/include $kde_extra_includes"
+ ssl_incdirs="$ac_ssl_includes $ssl_incdirs"
+ AC_FIND_FILE(openssl/ssl.h, $ssl_incdirs, ssl_incdir)
+ ac_ssl_includes="$ssl_incdir"
+
+ ssl_libdirs="/usr/lib$kdelibsuff /usr/local/lib$kdelibsuff /usr/ssl/lib$kdelibsuff /usr/local/ssl/lib$kdelibsuff $libdir $prefix/lib$kdelibsuff $exec_prefix/lib$kdelibsuff $kde_extra_libs"
+ if test ! "$ac_ssl_libraries" = "NO"; then
+ ssl_libdirs="$ac_ssl_libraries $ssl_libdirs"
+ fi
+
+ test=NONE
+ ssl_libdir=NONE
+ for dir in $ssl_libdirs; do
+ try="ls -1 $dir/libssl*"
+ if test=`eval $try 2> /dev/null`; then ssl_libdir=$dir; break; else echo "tried $dir" >&AC_FD_CC ; fi
+ done
+
+ ac_ssl_libraries="$ssl_libdir"
+
+ ac_ldflags_safe="$LDFLAGS"
+ ac_libs_safe="$LIBS"
+
+ LDFLAGS="$LDFLAGS -L$ssl_libdir $all_libraries"
+ LIBS="$LIBS $LIBSSL -lRSAglue -lrsaref"
+
+ AC_TRY_LINK(,void RSAPrivateEncrypt(void);RSAPrivateEncrypt();,
+ ac_ssl_rsaref="yes"
+ ,
+ ac_ssl_rsaref="no"
+ )
+
+ LDFLAGS="$ac_ldflags_safe"
+ LIBS="$ac_libs_safe"
+
+ if test "$ac_ssl_includes" = NO || test "$ac_ssl_libraries" = NO; then
+ have_ssl=no
+ else
+ have_ssl=yes;
+ fi
+
+ ])
+
+ eval "$ac_cv_have_ssl"
+
+ AC_MSG_RESULT([libraries $ac_ssl_libraries, headers $ac_ssl_includes])
+
+ AC_MSG_CHECKING([whether OpenSSL uses rsaref])
+ AC_MSG_RESULT($ac_ssl_rsaref)
+
+ AC_MSG_CHECKING([for easter eggs])
+ AC_MSG_RESULT([none found])
+
+else
+ have_ssl=no
+fi
+
+if test "$have_ssl" = yes; then
+ AC_MSG_CHECKING(for OpenSSL version)
+ dnl Check for SSL version
+ AC_CACHE_VAL(ac_cv_ssl_version,
+ [
+
+ cat >conftest.$ac_ext <<EOF
+#include <openssl/opensslv.h>
+#include <stdio.h>
+ int main() {
+
+#ifndef OPENSSL_VERSION_NUMBER
+ printf("ssl_version=\\"error\\"\n");
+#else
+ if (OPENSSL_VERSION_NUMBER < 0x00906000)
+ printf("ssl_version=\\"old\\"\n");
+ else
+ printf("ssl_version=\\"ok\\"\n");
+#endif
+ return (0);
+ }
+EOF
+
+ ac_save_CPPFLAGS=$CPPFLAGS
+ if test "$ac_ssl_includes" != "/usr/include"; then
+ CPPFLAGS="$CPPFLAGS -I$ac_ssl_includes"
+ fi
+
+ if AC_TRY_EVAL(ac_link); then
+
+ if eval `./conftest 2>&5`; then
+ if test $ssl_version = error; then
+ AC_MSG_ERROR([$ssl_incdir/openssl/opensslv.h doesn't define OPENSSL_VERSION_NUMBER !])
+ else
+ if test $ssl_version = old; then
+ AC_MSG_WARN([OpenSSL version too old. Upgrade to 0.9.6 at least, see http://www.openssl.org. SSL support disabled.])
+ have_ssl=no
+ fi
+ fi
+ ac_cv_ssl_version="ssl_version=$ssl_version"
+ else
+ AC_MSG_ERROR([Your system couldn't run a small SSL test program.
+ Check config.log, and if you can't figure it out, send a mail to
+ David Faure <faure at kde.org>, attaching your config.log])
+ fi
+
+ else
+ AC_MSG_ERROR([Your system couldn't link a small SSL test program.
+ Check config.log, and if you can't figure it out, send a mail to
+ David Faure <faure at kde.org>, attaching your config.log])
+ fi
+ CPPFLAGS=$ac_save_CPPFLAGS
+
+ ])
+
+ eval "$ac_cv_ssl_version"
+ AC_MSG_RESULT($ssl_version)
+fi
+
+if test "$have_ssl" != yes; then
+ LIBSSL="";
+else
+ AC_DEFINE(HAVE_SSL, 1, [If we are going to use OpenSSL])
+ ac_cv_have_ssl="have_ssl=yes \
+ ac_ssl_includes=$ac_ssl_includes ac_ssl_libraries=$ac_ssl_libraries ac_ssl_rsaref=$ac_ssl_rsaref"
+
+
+ ssl_libraries="$ac_ssl_libraries"
+ ssl_includes="$ac_ssl_includes"
+
+ if test "$ac_ssl_rsaref" = yes; then
+ LIBSSL="-lssl -lcrypto -lRSAglue -lrsaref"
+ fi
+
+ if test $ssl_version = "old"; then
+ AC_DEFINE(HAVE_OLD_SSL_API, 1, [Define if you have OpenSSL < 0.9.6])
+ fi
+fi
+
+SSL_INCLUDES=
+
+if test "$ssl_includes" = "/usr/include"; then
+ if test -f /usr/kerberos/include/krb5.h; then
+ SSL_INCLUDES="-I/usr/kerberos/include"
+ fi
+elif test "$ssl_includes" != "/usr/local/include" && test -n "$ssl_includes"; then
+ SSL_INCLUDES="-I$ssl_includes"
+fi
+
+if test "$ssl_libraries" = "/usr/lib" || test "$ssl_libraries" = "/usr/local/lib" || test -z "$ssl_libraries" || test "$ssl_libraries" = "NONE"; then
+ SSL_LDFLAGS=""
+else
+ SSL_LDFLAGS="-L$ssl_libraries -R$ssl_libraries"
+fi
+
+AC_SUBST(SSL_INCLUDES)
+AC_SUBST(SSL_LDFLAGS)
+AC_SUBST(LIBSSL)
+])
+
+AC_DEFUN([KDE_CHECK_STRLCPY],
+[
+ AC_REQUIRE([AC_CHECK_STRLCAT])
+ AC_REQUIRE([AC_CHECK_STRLCPY])
+ AC_CHECK_SIZEOF(size_t)
+ AC_CHECK_SIZEOF(unsigned long)
+
+ AC_MSG_CHECKING([sizeof size_t == sizeof unsigned long])
+ AC_TRY_COMPILE(,[
+ #if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
+ choke me
+ #endif
+ ],AC_MSG_RESULT([yes]),[
+ AC_MSG_RESULT(no)
+ AC_MSG_ERROR([
+ Apparently on your system our assumption sizeof size_t == sizeof unsigned long
+ does not apply. Please mail kde-devel at kde.org with a description of your system!
+ ])
+ ])
+])
+
+AC_DEFUN([KDE_CHECK_BINUTILS],
+[
+ AC_MSG_CHECKING([if ld supports unversioned version maps])
+
+ kde_save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map"
+ echo "{ local: extern \"C++\" { foo }; };" > conftest.map
+ AC_TRY_LINK([int foo;],
+[
+#ifdef __INTEL_COMPILER
+icc apparently does not support libtools version-info and version-script
+at the same time. Dunno where the bug is, but until somebody figured out,
+better disable the optional version scripts.
+#endif
+
+ foo = 42;
+], kde_supports_versionmaps=yes, kde_supports_versionmaps=no)
+ LDFLAGS="$kde_save_LDFLAGS"
+ rm -f conftest.map
+ AM_CONDITIONAL(include_VERSION_SCRIPT,
+ [test "$kde_supports_versionmaps" = "yes" && test "$kde_use_debug_code" = "no"])
+
+ AC_MSG_RESULT($kde_supports_versionmaps)
+])
+
+AC_DEFUN([AM_PROG_OBJC],[
+AC_CHECK_PROGS(OBJC, gcc, gcc)
+test -z "$OBJC" && AC_MSG_ERROR([no acceptable objective-c gcc found in \$PATH])
+if test "x${OBJCFLAGS-unset}" = xunset; then
+ OBJCFLAGS="-g -O2"
+fi
+AC_SUBST(OBJCFLAGS)
+_AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES(OBJC)])
+])
+
+AC_DEFUN([KDE_CHECK_PERL],
+[
+ KDE_FIND_PATH(perl, PERL, [$bindir $exec_prefix/bin $prefix/bin], [
+ AC_MSG_ERROR([No Perl found in your $PATH.
+We need perl to generate some code.])
+ ])
+ AC_SUBST(PERL)
+])
+
+AC_DEFUN([KDE_CHECK_LARGEFILE],
+[
+AC_SYS_LARGEFILE
+if test "$ac_cv_sys_file_offset_bits" != no; then
+ CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
+fi
+
+if test "x$ac_cv_sys_large_files" != "xno"; then
+ CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=1"
+fi
+
+])
+
+dnl A small extension to PKG_CHECK_MODULES (defined in pkg.m4.in)
+dnl which allows to search for libs that get installed into the KDE prefix.
+dnl
+dnl Syntax: KDE_PKG_CHECK_MODULES(KSTUFF, libkexif >= 0.2 glib = 1.3.4, action-if, action-not)
+dnl defines KSTUFF_LIBS, KSTUFF_CFLAGS, see pkg-config man page
+dnl also defines KSTUFF_PKG_ERRORS on error
+AC_DEFUN([KDE_PKG_CHECK_MODULES], [
+
+ PKG_CONFIG_PATH="$prefix/lib${kdelibsuff}/pkgconfig:$PKG_CONFIG_PATH"
+ if test "$prefix" != "$kde_libs_prefix"; then
+ PKG_CONFIG_PATH="$kde_libs_prefix/lib${kdelibsuff}/pkgconfig:$PKG_CONFIG_PATH"
+ fi
+ export PKG_CONFIG_PATH
+ PKG_CHECK_MODULES([$1],[$2],[$3],[$4])
+])
+
+
+dnl Check for PIE support in the compiler and linker
+AC_DEFUN([KDE_CHECK_PIE_SUPPORT],
+[
+ AC_CACHE_CHECK([for PIE support], kde_cv_val_pie_support,
+ [
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ safe_CXXFLAGS=$CXXFLAGS
+ safe_LDFLAGS=$LDFLAGS
+ CXXFLAGS="$CXXFLAGS -fPIE"
+ LDFLAGS="$LDFLAGS -pie"
+
+ AC_TRY_LINK([int foo;], [], [kde_cv_val_pie_support=yes], [kde_cv_val_pie_support=no])
+
+ CXXFLAGS=$safe_CXXFLAGS
+ LDFLAGS=$safe_LDFLAGS
+ AC_LANG_RESTORE
+ ])
+
+ AC_MSG_CHECKING(if enabling -pie/fPIE support)
+
+ AC_ARG_ENABLE(pie,
+ AC_HELP_STRING([--enable-pie],[platform supports PIE linking [default=detect]]),
+ [kde_has_pie_support=$enableval],
+ [kde_has_pie_support=detect])
+
+ if test "$kde_has_pie_support" = "detect"; then
+ kde_has_pie_support=$kde_cv_val_pie_support
+ fi
+
+ AC_MSG_RESULT([$kde_has_pie_support])
+
+ KDE_USE_FPIE=""
+ KDE_USE_PIE=""
+
+ AC_SUBST([KDE_USE_FPIE])
+ AC_SUBST([KDE_USE_PIE])
+
+ if test "$kde_has_pie_support" = "yes"; then
+ KDE_USE_FPIE="-fPIE"
+ KDE_USE_PIE="-pie"
+ fi
+])
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
+## Copyright 1996, 1997, 1998, 1999, 2000, 2001
+## Free Software Foundation, Inc.
+## Originally by Gordon Matzigkeit <gord at gnu.ai.mit.edu>, 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 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+## General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+##
+## 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.
+
+# serial 47 AC_PROG_LIBTOOL
+
+
+# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
+# -----------------------------------------------------------
+# If this macro is not defined by Autoconf, define it here.
+m4_ifdef([AC_PROVIDE_IFELSE],
+ [],
+ [m4_define([AC_PROVIDE_IFELSE],
+ [m4_ifdef([AC_PROVIDE_$1],
+ [$2], [$3])])])
+
+
+# AC_PROG_LIBTOOL
+# ---------------
+AC_DEFUN([AC_PROG_LIBTOOL],
+[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
+dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
+dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
+ AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [AC_LIBTOOL_CXX],
+ [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
+ ])])
+dnl And a similar setup for Fortran 77 support
+ AC_PROVIDE_IFELSE([AC_PROG_F77],
+ [AC_LIBTOOL_F77],
+ [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
+])])
+
+dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
+dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
+dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
+ AC_PROVIDE_IFELSE([AC_PROG_GCJ],
+ [AC_LIBTOOL_GCJ],
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
+ [AC_LIBTOOL_GCJ],
+ [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
+ [AC_LIBTOOL_GCJ],
+ [ifdef([AC_PROG_GCJ],
+ [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
+ ifdef([A][M_PROG_GCJ],
+ [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
+ ifdef([LT_AC_PROG_GCJ],
+ [define([LT_AC_PROG_GCJ],
+ defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
+])])# AC_PROG_LIBTOOL
+
+
+# _AC_PROG_LIBTOOL
+# ----------------
+AC_DEFUN([_AC_PROG_LIBTOOL],
+[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
+AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
+AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
+AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
+
+# This can be used to rebuild libtool when needed
+LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+
+# Always use our own libtool.
+LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
+AC_SUBST(LIBTOOL)dnl
+
+# Prevent multiple expansion
+define([AC_PROG_LIBTOOL], [])
+])# _AC_PROG_LIBTOOL
+
+
+# AC_LIBTOOL_SETUP
+# ----------------
+AC_DEFUN([AC_LIBTOOL_SETUP],
+[AC_PREREQ(2.50)dnl
+AC_REQUIRE([AC_ENABLE_SHARED])dnl
+AC_REQUIRE([AC_ENABLE_STATIC])dnl
+AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_PROG_LD])dnl
+AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
+AC_REQUIRE([AC_PROG_NM])dnl
+
+AC_REQUIRE([AC_PROG_LN_S])dnl
+AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
+# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
+AC_REQUIRE([AC_OBJEXT])dnl
+AC_REQUIRE([AC_EXEEXT])dnl
+dnl
+
+AC_LIBTOOL_SYS_MAX_CMD_LEN
+AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
+AC_LIBTOOL_OBJDIR
+
+AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
+_LT_AC_PROG_ECHO_BACKSLASH
+
+case $host_os in
+aix3*)
+ # AIX sometimes has problems with the GCC collect2 program. For some
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
+ # vanish in a puff of smoke.
+ if test "X${COLLECT_NAMES+set}" != Xset; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+ fi
+ ;;
+esac
+
+# Sed substitution that helps us do robust quoting. It backslashifies
+# metacharacters that are still active within double-quoted strings.
+Xsed='sed -e s/^X//'
+[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
+
+# Same as above, but do not quote variable references.
+[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+
+# Constants:
+rm="rm -f"
+
+# Global variables:
+default_ofile=libtool
+can_build_shared=yes
+
+# All known linkers require a `.a' archive for static linking (except M$VC,
+# which needs '.lib').
+libext=a
+ltmain="$ac_aux_dir/ltmain.sh"
+ofile="$default_ofile"
+with_gnu_ld="$lt_cv_prog_gnu_ld"
+
+AC_CHECK_TOOL(AR, ar, false)
+AC_CHECK_TOOL(RANLIB, ranlib, :)
+AC_CHECK_TOOL(STRIP, strip, :)
+
+old_CC="$CC"
+old_CFLAGS="$CFLAGS"
+
+# Set sane defaults for various variables
+test -z "$AR" && AR=ar
+test -z "$AR_FLAGS" && AR_FLAGS=cru
+test -z "$AS" && AS=as
+test -z "$CC" && CC=cc
+test -z "$LTCC" && LTCC=$CC
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+test -z "$LD" && LD=ld
+test -z "$LN_S" && LN_S="ln -s"
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
+test -z "$NM" && NM=nm
+test -z "$SED" && SED=sed
+test -z "$OBJDUMP" && OBJDUMP=objdump
+test -z "$RANLIB" && RANLIB=:
+test -z "$STRIP" && STRIP=:
+test -z "$ac_objext" && ac_objext=o
+
+# Determine commands to create old-style static archives.
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
+old_postinstall_cmds='chmod 644 $oldlib'
+old_postuninstall_cmds=
+
+if test -n "$RANLIB"; then
+ case $host_os in
+ openbsd*)
+ old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
+ ;;
+ *)
+ old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+ ;;
+ esac
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+fi
+
+# Only perform the check for file, if the check method requires it
+case $deplibs_check_method in
+file_magic*)
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+ AC_PATH_MAGIC
+ fi
+ ;;
+esac
+
+AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
+enable_win32_dll=yes, enable_win32_dll=no)
+
+AC_ARG_ENABLE([libtool-lock],
+ [AC_HELP_STRING([--disable-libtool-lock],
+ [avoid locking (might break parallel builds)])])
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+
+AC_ARG_WITH([pic],
+ [AC_HELP_STRING([--with-pic],
+ [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
+ [pic_mode="$withval"],
+ [pic_mode=default])
+test -z "$pic_mode" && pic_mode=default
+
+# Use C for the default configuration in the libtool script
+tagname=
+AC_LIBTOOL_LANG_C_CONFIG
+_LT_AC_TAGCONFIG
+])# AC_LIBTOOL_SETUP
+
+
+# _LT_AC_SYS_COMPILER
+# -------------------
+AC_DEFUN([_LT_AC_SYS_COMPILER],
+[AC_REQUIRE([AC_PROG_CC])dnl
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+])# _LT_AC_SYS_COMPILER
+
+
+# _LT_AC_SYS_LIBPATH_AIX
+# ----------------------
+# Links a minimal program and checks the executable
+# for the system default hardcoded library path. In most cases,
+# this is /usr/lib:/lib, but when the MPI compilers are used
+# the location of the communication and MPI libs are included too.
+# If we don't find anything, use the default library path according
+# to the aix ld manual.
+AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
+[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`
+# Check for a 64-bit object if we didn't find anything.
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`; fi],[])
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+])# _LT_AC_SYS_LIBPATH_AIX
+
+
+# _LT_AC_SHELL_INIT(ARG)
+# ----------------------
+AC_DEFUN([_LT_AC_SHELL_INIT],
+[ifdef([AC_DIVERSION_NOTICE],
+ [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
+ [AC_DIVERT_PUSH(NOTICE)])
+$1
+AC_DIVERT_POP
+])# _LT_AC_SHELL_INIT
+
+
+# _LT_AC_PROG_ECHO_BACKSLASH
+# --------------------------
+# Add some code to the start of the generated configure script which
+# will find an echo command which doesn't interpret backslashes.
+AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
+[_LT_AC_SHELL_INIT([
+# Check that we are running under the correct shell.
+SHELL=${CONFIG_SHELL-/bin/sh}
+
+case X$ECHO in
+X*--fallback-echo)
+ # Remove one level of quotation (which was required for Make).
+ ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
+ ;;
+esac
+
+echo=${ECHO-echo}
+if test "X[$]1" = X--no-reexec; then
+ # Discard the --no-reexec flag, and continue.
+ shift
+elif test "X[$]1" = X--fallback-echo; then
+ # Avoid inline document here, it may be left over
+ :
+elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
+ # Yippee, $echo works!
+ :
+else
+ # Restart under the correct shell.
+ exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
+fi
+
+if test "X[$]1" = X--fallback-echo; then
+ # used as fallback echo
+ shift
+ cat <<EOF
+[$]*
+EOF
+ exit 0
+fi
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+
+if test -z "$ECHO"; then
+if test "X${echo_test_string+set}" != Xset; then
+# find a string as large as possible, as long as the shell can cope with it
+ for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
+ # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
+ if (echo_test_string="`eval $cmd`") 2>/dev/null &&
+ echo_test_string="`eval $cmd`" &&
+ (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
+ then
+ break
+ fi
+ done
+fi
+
+if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ :
+else
+ # The Solaris, AIX, and Digital Unix default echo programs unquote
+ # backslashes. This makes it impossible to quote backslashes using
+ # echo "$something" | sed 's/\\/\\\\/g'
+ #
+ # So, first we look for a working echo in the user's PATH.
+
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for dir in $PATH /usr/ucb; do
+ IFS="$lt_save_ifs"
+ if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
+ test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ echo="$dir/echo"
+ break
+ fi
+ done
+ IFS="$lt_save_ifs"
+
+ if test "X$echo" = Xecho; then
+ # We didn't find a better echo, so look for alternatives.
+ if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ # This shell has a builtin print -r that does the trick.
+ echo='print -r'
+ elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
+ test "X$CONFIG_SHELL" != X/bin/ksh; then
+ # If we have ksh, try running configure again with it.
+ ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
+ export ORIGINAL_CONFIG_SHELL
+ CONFIG_SHELL=/bin/ksh
+ export CONFIG_SHELL
+ exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
+ else
+ # Try using printf.
+ echo='printf %s\n'
+ if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ # Cool, printf works
+ :
+ elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
+ test "X$echo_testing_string" = 'X\t' &&
+ echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
+ export CONFIG_SHELL
+ SHELL="$CONFIG_SHELL"
+ export SHELL
+ echo="$CONFIG_SHELL [$]0 --fallback-echo"
+ elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
+ test "X$echo_testing_string" = 'X\t' &&
+ echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ echo="$CONFIG_SHELL [$]0 --fallback-echo"
+ else
+ # maybe with a smaller string...
+ prev=:
+
+ for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
+ if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
+ then
+ break
+ fi
+ prev="$cmd"
+ done
+
+ if test "$prev" != 'sed 50q "[$]0"'; then
+ echo_test_string=`eval $prev`
+ export echo_test_string
+ exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
+ else
+ # Oops. We lost completely, so just stick with echo.
+ echo=echo
+ fi
+ fi
+ fi
+ fi
+fi
+fi
+
+# Copy echo and quote the copy suitably for passing to libtool from
+# the Makefile, instead of quoting the original, which is used later.
+ECHO=$echo
+if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
+ ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
+fi
+
+AC_SUBST(ECHO)
+])])# _LT_AC_PROG_ECHO_BACKSLASH
+
+
+# _LT_AC_LOCK
+# -----------
+AC_DEFUN([_LT_AC_LOCK],
+[AC_ARG_ENABLE([libtool-lock],
+ [AC_HELP_STRING([--disable-libtool-lock],
+ [avoid locking (might break parallel builds)])])
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+
+# Some flags need to be propagated to the compiler or linker for good
+# libtool support.
+case $host in
+ia64-*-hpux*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *ELF-32*)
+ HPUX_IA64_MODE="32"
+ ;;
+ *ELF-64*)
+ HPUX_IA64_MODE="64"
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+*-*-irix6*)
+ # Find out which ABI we are using.
+ echo '[#]line __oline__ "configure"' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ if test "$lt_cv_prog_gnu_ld" = yes; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -melf32bsmip"
+ ;;
+ *N32*)
+ LD="${LD-ld} -melf32bmipn32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -melf64bmip"
+ ;;
+ esac
+ else
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -32"
+ ;;
+ *N32*)
+ LD="${LD-ld} -n32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -64"
+ ;;
+ esac
+ fi
+ fi
+ rm -rf conftest*
+ ;;
+
+x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case "`/usr/bin/file conftest.o`" in
+ *32-bit*)
+ LINUX_64_MODE="32"
+ case $host in
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ ppc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+ ;;
+ s390x-*linux*)
+ LD="${LD-ld} -m elf_s390"
+ ;;
+ sparc64-*linux*)
+ LD="${LD-ld} -m elf32_sparc"
+ ;;
+ esac
+ ;;
+ *64-bit*)
+ LINUX_64_MODE="64"
+ case $host in
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ ppc*-*linux*|powerpc*-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
+ s390*-*linux*)
+ LD="${LD-ld} -m elf64_s390"
+ ;;
+ sparc*-*linux*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+
+*-*-sco3.2v5*)
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+ SAVE_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -belf"
+ AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
+ [AC_LANG_PUSH(C)
+ AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
+ AC_LANG_POP])
+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+ CFLAGS="$SAVE_CFLAGS"
+ fi
+ ;;
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
+[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
+ AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+ AC_CHECK_TOOL(AS, as, false)
+ AC_CHECK_TOOL(OBJDUMP, objdump, false)
+ ;;
+ ])
+esac
+
+need_locks="$enable_libtool_lock"
+
+])# _LT_AC_LOCK
+
+
+# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
+# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
+# ----------------------------------------------------------------
+# Check whether the given compiler option works
+AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
+[AC_REQUIRE([LT_AC_PROG_SED])
+AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$3"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test ! -s conftest.err; then
+ $2=yes
+ fi
+ fi
+ $rm conftest*
+])
+
+if test x"[$]$2" = xyes; then
+ ifelse([$5], , :, [$5])
+else
+ ifelse([$6], , :, [$6])
+fi
+])# AC_LIBTOOL_COMPILER_OPTION
+
+
+# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
+# [ACTION-SUCCESS], [ACTION-FAILURE])
+# ------------------------------------------------------------
+# Check whether the given compiler option works
+AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
+[AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $3"
+ printf "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
+ else
+ $2=yes
+ fi
+ fi
+ $rm conftest*
+ LDFLAGS="$save_LDFLAGS"
+])
+
+if test x"[$]$2" = xyes; then
+ ifelse([$4], , :, [$4])
+else
+ ifelse([$5], , :, [$5])
+fi
+])# AC_LIBTOOL_LINKER_OPTION
+
+
+# AC_LIBTOOL_SYS_MAX_CMD_LEN
+# --------------------------
+AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
+[# find the maximum length of command line arguments
+AC_MSG_CHECKING([the maximum length of command line arguments])
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
+ i=0
+ testring="ABCD"
+
+ case $build_os in
+ msdosdjgpp*)
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
+ # during glob expansion). Even if it were fixed, the result of this
+ # check would be larger than it should be.
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
+ ;;
+
+ gnu*)
+ # Under GNU Hurd, this test is not required because there is
+ # no limit to the length of command line arguments.
+ # Libtool will interpret -1 as no limit whatsoever
+ lt_cv_sys_max_cmd_len=-1;
+ ;;
+
+ cygwin* | mingw*)
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
+ # about 5 minutes as the teststring grows exponentially.
+ # Worse, since 9x/ME are not pre-emptively multitasking,
+ # you end up with a "frozen" computer, even though with patience
+ # the test eventually succeeds (with a max line length of 256k).
+ # Instead, let's just punt: use the minimum linelength reported by
+ # all of the supported platforms: 8192 (on NT/2K/XP).
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ *)
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+ while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \
+ = "XX$testring") >/dev/null 2>&1 &&
+ new_result=`expr "X$testring" : ".*" 2>&1` &&
+ lt_cv_sys_max_cmd_len=$new_result &&
+ test $i != 17 # 1/2 MB should be enough
+ do
+ i=`expr $i + 1`
+ testring=$testring$testring
+ done
+ testring=
+ # Add a significant safety factor because C++ compilers can tack on massive
+ # amounts of additional arguments before passing them to the linker.
+ # It appears as though 1/2 is a usable value.
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+ ;;
+ esac
+])
+if test -n $lt_cv_sys_max_cmd_len ; then
+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
+else
+ AC_MSG_RESULT(none)
+fi
+])# AC_LIBTOOL_SYS_MAX_CMD_LEN
+
+
+# _LT_AC_CHECK_DLFCN
+# --------------------
+AC_DEFUN([_LT_AC_CHECK_DLFCN],
+[AC_CHECK_HEADERS(dlfcn.h)dnl
+])# _LT_AC_CHECK_DLFCN
+
+
+# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
+# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
+# ------------------------------------------------------------------
+AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
+[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
+if test "$cross_compiling" = yes; then :
+ [$4]
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<EOF
+[#line __oline__ "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+#ifdef __cplusplus
+extern "C" void exit (int);
+#endif
+
+void fnord() { int i=42;}
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ /* dlclose (self); */
+ }
+
+ exit (status);
+}]
+EOF
+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
+ (./conftest; exit; ) 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) $1 ;;
+ x$lt_dlneed_uscore) $2 ;;
+ x$lt_unknown|x*) $3 ;;
+ esac
+ else :
+ # compilation failed
+ $3
+ fi
+fi
+rm -fr conftest*
+])# _LT_AC_TRY_DLOPEN_SELF
+
+
+# AC_LIBTOOL_DLOPEN_SELF
+# -------------------
+AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
+[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
+if test "x$enable_dlopen" != xyes; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen="load_add_on"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32*)
+ lt_cv_dlopen="LoadLibrary"
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen="dlopen"
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
+ lt_cv_dlopen="dyld"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ])
+ ;;
+
+ *)
+ AC_CHECK_FUNC([shl_load],
+ [lt_cv_dlopen="shl_load"],
+ [AC_CHECK_LIB([dld], [shl_load],
+ [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
+ [AC_CHECK_FUNC([dlopen],
+ [lt_cv_dlopen="dlopen"],
+ [AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
+ [AC_CHECK_LIB([svld], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
+ [AC_CHECK_LIB([dld], [dld_link],
+ [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
+ ])
+ ])
+ ])
+ ])
+ ])
+ ;;
+ esac
+
+ if test "x$lt_cv_dlopen" != xno; then
+ enable_dlopen=yes
+ else
+ enable_dlopen=no
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS="$CPPFLAGS"
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS="$LDFLAGS"
+ eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS="$LIBS"
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ AC_CACHE_CHECK([whether a program can dlopen itself],
+ lt_cv_dlopen_self, [dnl
+ _LT_AC_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
+ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
+ ])
+
+ if test "x$lt_cv_dlopen_self" = xyes; then
+ LDFLAGS="$LDFLAGS $link_static_flag"
+ AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
+ lt_cv_dlopen_self_static, [dnl
+ _LT_AC_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
+ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
+ ])
+ fi
+
+ CPPFLAGS="$save_CPPFLAGS"
+ LDFLAGS="$save_LDFLAGS"
+ LIBS="$save_LIBS"
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+])# AC_LIBTOOL_DLOPEN_SELF
+
+
+# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
+# ---------------------------------
+# Check to see if options -c and -o are simultaneously supported by compiler
+AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
+[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
+ [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
+ [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
+ $rm -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
+ # that will create temporary files in the current directory regardless of
+ # the output directory. Thus, making CWD read-only will cause this test
+ # to fail, enabling locking or at least warning the user not to do parallel
+ # builds.
+ chmod -w .
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&AS_MESSAGE_LOG_FD
+ echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test ! -s out/conftest.err; then
+ _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+ fi
+ fi
+ chmod u+w .
+ $rm conftest* out/*
+ rmdir out
+ cd ..
+ rmdir conftest
+ $rm conftest*
+])
+])# AC_LIBTOOL_PROG_CC_C_O
+
+
+# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
+# -----------------------------------------
+# Check to see if we can do hard links to lock some files if needed
+AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
+[AC_REQUIRE([_LT_AC_LOCK])dnl
+
+hard_links="nottested"
+if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
+ # do not overwrite the value of need_locks provided by the user
+ AC_MSG_CHECKING([if we can lock with hard links])
+ hard_links=yes
+ $rm conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ AC_MSG_RESULT([$hard_links])
+ if test "$hard_links" = no; then
+ AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
+
+
+# AC_LIBTOOL_OBJDIR
+# -----------------
+AC_DEFUN([AC_LIBTOOL_OBJDIR],
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
+[rm -f .libs 2>/dev/null
+mkdir .libs 2>/dev/null
+if test -d .libs; then
+ lt_cv_objdir=.libs
+else
+ # MS-DOS does not allow filenames that begin with a dot.
+ lt_cv_objdir=_libs
+fi
+rmdir .libs 2>/dev/null])
+objdir=$lt_cv_objdir
+])# AC_LIBTOOL_OBJDIR
+
+
+# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
+# ----------------------------------------------
+# Check hardcoding attributes.
+AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
+_LT_AC_TAGVAR(hardcode_action, $1)=
+if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
+ test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
+ test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
+
+ # We can hardcode non-existant directories.
+ if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
+ test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
+ # Linking always hardcodes the temporary library directory.
+ _LT_AC_TAGVAR(hardcode_action, $1)=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ _LT_AC_TAGVAR(hardcode_action, $1)=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
+fi
+AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
+
+if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test "$shlibpath_overrides_runpath" = yes ||
+ test "$enable_shared" = no; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
+
+
+# AC_LIBTOOL_SYS_LIB_STRIP
+# ------------------------
+AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
+[striplib=
+old_striplib=
+AC_MSG_CHECKING([whether stripping libraries is possible])
+if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ AC_MSG_RESULT([yes])
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP" ; then
+ striplib="$STRIP -x"
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+fi
+ ;;
+ *)
+ AC_MSG_RESULT([no])
+ ;;
+ esac
+fi
+])# AC_LIBTOOL_SYS_LIB_STRIP
+
+
+# AC_LIBTOOL_SYS_DYNAMIC_LINKER
+# -----------------------------
+# PORTME Fill in your ld.so characteristics
+AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
+[AC_MSG_CHECKING([dynamic linker characteristics])
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext=".so"
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+
+aix4* | aix5*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test "$host_cpu" = ia64; then
+ # AIX 5 supports IA64
+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line `#! .'. This would cause the generated library to
+ # depend on `.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[[01]] | aix4.[[01]].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ if test "$aix_use_runtimelinking" = yes; then
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ else
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='${libname}${release}.a $libname.a'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ fi
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+ ;;
+
+beos*)
+ library_names_spec='${libname}${shared_ext}'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi4*)
+ version_type=linux
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32*)
+ version_type=windows
+ shrext=".dll"
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$host_os in
+ yes,cygwin* | yes,mingw* | yes,pw32*)
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $rm \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
+ sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
+ ;;
+ mingw*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
+ sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
+ if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
+ # It is most probably a Windows format PATH printed by
+ # mingw gcc, but we are running on Cygwin. Gcc prints its search
+ # path with ; separators, and with drive letters. We can handle the
+ # drive letters (cygwin fileutils understands them), so leave them,
+ # especially as we might pass files found there to a mingw objdump,
+ # which wouldn't understand a cygwinified path. Ahh.
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ ;;
+ esac
+ ;;
+
+ *)
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
+ soname_spec='${libname}${release}${major}$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext='$(test .$module = .yes && echo .so || echo .dylib)'
+ # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
+ if test "$GCC" = yes; then
+ sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
+ else
+ sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
+ fi
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd1*)
+ dynamic_linker=no
+ ;;
+
+kfreebsd*-gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='GNU ld.so'
+ ;;
+
+freebsd*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ *) # from 3.2 on
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case "$host_cpu" in
+ ia64*)
+ shrext='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ if test "X$HPUX_IA64_MODE" = X32; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
+ postinstall_cmds='chmod 555 $lib'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test "$lt_cv_prog_gnu_ld" = yes; then
+ version_type=linux
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+# This must be Linux ELF.
+linux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ libsuff=
+ if test "x$LINUX_64_MODE" = x64; then
+ # Some platforms are per default 64-bit, so there's no /lib64
+ if test -d /lib64 -a ! -h /lib64; then
+ libsuff=64
+ fi
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+nto-qnx*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+openbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ case $host_os in
+ openbsd2.[[89]] | openbsd2.[[89]].*)
+ shlibpath_overrides_runpath=no
+ ;;
+ *)
+ shlibpath_overrides_runpath=yes
+ ;;
+ esac
+ else
+ shlibpath_overrides_runpath=yes
+ fi
+ ;;
+
+os2*)
+ libname_spec='$name'
+ shrext=".dll"
+ need_lib_prefix=no
+ library_names_spec='$libname${shared_ext} $libname.a'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=LIBPATH
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+ ;;
+
+sco3.2v5*)
+ version_type=osf
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+solaris*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test "$with_gnu_ld" = yes; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec ;then
+ version_type=linux
+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
+ soname_spec='$libname${shared_ext}.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+uts4*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+AC_MSG_RESULT([$dynamic_linker])
+test "$dynamic_linker" = no && can_build_shared=no
+])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
+
+
+# _LT_AC_TAGCONFIG
+# ----------------
+AC_DEFUN([_LT_AC_TAGCONFIG],
+[AC_ARG_WITH([tags],
+ [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
+ [include additional configurations @<:@automatic@:>@])],
+ [tagnames="$withval"])
+
+if test -f "$ltmain" && test -n "$tagnames"; then
+ if test ! -f "${ofile}"; then
+ AC_MSG_WARN([output file `$ofile' does not exist])
+ fi
+
+ if test -z "$LTCC"; then
+ eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
+ if test -z "$LTCC"; then
+ AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
+ else
+ AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
+ fi
+ fi
+
+ # Extract list of available tagged configurations in $ofile.
+ # Note that this assumes the entire list is on one line.
+ available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
+
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for tagname in $tagnames; do
+ IFS="$lt_save_ifs"
+ # Check whether tagname contains only valid characters
+ case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
+ "") ;;
+ *) AC_MSG_ERROR([invalid tag name: $tagname])
+ ;;
+ esac
+
+ if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
+ then
+ AC_MSG_ERROR([tag name \"$tagname\" already exists])
+ fi
+
+ # Update the list of available tags.
+ if test -n "$tagname"; then
+ echo appending configuration tag \"$tagname\" to $ofile
+
+ case $tagname in
+ CXX)
+ if test -n "$CXX" && test "X$CXX" != "Xno"; then
+ AC_LIBTOOL_LANG_CXX_CONFIG
+ else
+ tagname=""
+ fi
+ ;;
+
+ F77)
+ if test -n "$F77" && test "X$F77" != "Xno"; then
+ AC_LIBTOOL_LANG_F77_CONFIG
+ else
+ tagname=""
+ fi
+ ;;
+
+ GCJ)
+ if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
+ AC_LIBTOOL_LANG_GCJ_CONFIG
+ else
+ tagname=""
+ fi
+ ;;
+
+ RC)
+ AC_LIBTOOL_LANG_RC_CONFIG
+ ;;
+
+ *)
+ AC_MSG_ERROR([Unsupported tag name: $tagname])
+ ;;
+ esac
+
+ # Append the new tag name to the list of available tags.
+ if test -n "$tagname" ; then
+ available_tags="$available_tags $tagname"
+ fi
+ fi
+ done
+ IFS="$lt_save_ifs"
+
+ # Now substitute the updated list of available tags.
+ if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
+ mv "${ofile}T" "$ofile"
+ chmod +x "$ofile"
+ else
+ rm -f "${ofile}T"
+ AC_MSG_ERROR([unable to update list of available tagged configurations.])
+ fi
+fi
+])# _LT_AC_TAGCONFIG
+
+
+# AC_LIBTOOL_DLOPEN
+# -----------------
+# enable checks for dlopen support
+AC_DEFUN([AC_LIBTOOL_DLOPEN],
+ [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
+])# AC_LIBTOOL_DLOPEN
+
+
+# AC_LIBTOOL_WIN32_DLL
+# --------------------
+# declare package support for building win32 dll's
+AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
+[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
+])# AC_LIBTOOL_WIN32_DLL
+
+
+# AC_ENABLE_SHARED([DEFAULT])
+# ---------------------------
+# implement the --enable-shared flag
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
+AC_DEFUN([AC_ENABLE_SHARED],
+[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
+AC_ARG_ENABLE([shared],
+ [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
+ [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+ enable_shared=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_shared=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
+ [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
+])# AC_ENABLE_SHARED
+
+
+# AC_DISABLE_SHARED
+# -----------------
+#- set the default shared flag to --disable-shared
+AC_DEFUN([AC_DISABLE_SHARED],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+AC_ENABLE_SHARED(no)
+])# AC_DISABLE_SHARED
+
+
+# AC_ENABLE_STATIC([DEFAULT])
+# ---------------------------
+# implement the --enable-static flag
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
+AC_DEFUN([AC_ENABLE_STATIC],
+[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
+AC_ARG_ENABLE([static],
+ [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
+ [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+ enable_static=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_static=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
+ [enable_static=]AC_ENABLE_STATIC_DEFAULT)
+])# AC_ENABLE_STATIC
+
+
+# AC_DISABLE_STATIC
+# -----------------
+# set the default static flag to --disable-static
+AC_DEFUN([AC_DISABLE_STATIC],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+AC_ENABLE_STATIC(no)
+])# AC_DISABLE_STATIC
+
+
+# AC_ENABLE_FAST_INSTALL([DEFAULT])
+# ---------------------------------
+# implement the --enable-fast-install flag
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
+AC_DEFUN([AC_ENABLE_FAST_INSTALL],
+[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
+AC_ARG_ENABLE([fast-install],
+ [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
+ [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+ enable_fast_install=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_fast_install=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
+ [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
+])# AC_ENABLE_FAST_INSTALL
+
+
+# AC_DISABLE_FAST_INSTALL
+# -----------------------
+# set the default to --disable-fast-install
+AC_DEFUN([AC_DISABLE_FAST_INSTALL],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+AC_ENABLE_FAST_INSTALL(no)
+])# AC_DISABLE_FAST_INSTALL
+
+
+# AC_LIBTOOL_PICMODE([MODE])
+# --------------------------
+# implement the --with-pic flag
+# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
+AC_DEFUN([AC_LIBTOOL_PICMODE],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+pic_mode=ifelse($#,1,$1,default)
+])# AC_LIBTOOL_PICMODE
+
+
+# AC_PROG_EGREP
+# -------------
+# This is predefined starting with Autoconf 2.54, so this conditional
+# definition can be removed once we require Autoconf 2.54 or later.
+m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
+[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
+ [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
+ then ac_cv_prog_egrep='grep -E'
+ else ac_cv_prog_egrep='egrep'
+ fi])
+ EGREP=$ac_cv_prog_egrep
+ AC_SUBST([EGREP])
+])])
+
+
+# AC_PATH_TOOL_PREFIX
+# -------------------
+# find a file program which can recognise shared library
+AC_DEFUN([AC_PATH_TOOL_PREFIX],
+[AC_REQUIRE([AC_PROG_EGREP])dnl
+AC_MSG_CHECKING([for $1])
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
+[case $MAGIC_CMD in
+[[\\/*] | ?:[\\/]*])
+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD="$MAGIC_CMD"
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+dnl $ac_dummy forces splitting on constant user-supplied paths.
+dnl POSIX.2 word splitting is done only on the output of word expansions,
+dnl not every word. This closes a longstanding sh security hole.
+ ac_dummy="ifelse([$2], , $PATH, [$2])"
+ for ac_dir in $ac_dummy; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$1; then
+ lt_cv_path_MAGIC_CMD="$ac_dir/$1"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool at gnu.org
+
+EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS="$lt_save_ifs"
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
+ ;;
+esac])
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+if test -n "$MAGIC_CMD"; then
+ AC_MSG_RESULT($MAGIC_CMD)
+else
+ AC_MSG_RESULT(no)
+fi
+])# AC_PATH_TOOL_PREFIX
+
+
+# AC_PATH_MAGIC
+# -------------
+# find a file program which can recognise a shared library
+AC_DEFUN([AC_PATH_MAGIC],
+[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
+if test -z "$lt_cv_path_MAGIC_CMD"; then
+ if test -n "$ac_tool_prefix"; then
+ AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
+ else
+ MAGIC_CMD=:
+ fi
+fi
+])# AC_PATH_MAGIC
+
+
+# AC_PROG_LD
+# ----------
+# find the pathname to the GNU or non-GNU linker
+AC_DEFUN([AC_PROG_LD],
+[AC_ARG_WITH([gnu-ld],
+ [AC_HELP_STRING([--with-gnu-ld],
+ [assume the C compiler uses GNU ld @<:@default=no@:>@])],
+ [test "$withval" = no || with_gnu_ld=yes],
+ [with_gnu_ld=no])
+AC_REQUIRE([LT_AC_PROG_SED])dnl
+AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ac_prog=ld
+if test "$GCC" = yes; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ AC_MSG_CHECKING([for ld used by $CC])
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [[\\/]]* | ?:[[\\/]]*)
+ re_direlt='/[[^/]][[^/]]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
+ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD="$ac_prog"
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test "$with_gnu_ld" = yes; then
+ AC_MSG_CHECKING([for GNU ld])
+else
+ AC_MSG_CHECKING([for non-GNU ld])
+fi
+AC_CACHE_VAL(lt_cv_path_LD,
+[if test -z "$LD"; then
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD="$ac_dir/$ac_prog"
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some GNU ld's only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test "$with_gnu_ld" != no && break
+ ;;
+ *)
+ test "$with_gnu_ld" != yes && break
+ ;;
+ esac
+ fi
+ done
+ IFS="$lt_save_ifs"
+else
+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
+fi])
+LD="$lt_cv_path_LD"
+if test -n "$LD"; then
+ AC_MSG_RESULT($LD)
+else
+ AC_MSG_RESULT(no)
+fi
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
+AC_PROG_LD_GNU
+])# AC_PROG_LD
+
+
+# AC_PROG_LD_GNU
+# --------------
+AC_DEFUN([AC_PROG_LD_GNU],
+[AC_REQUIRE([AC_PROG_EGREP])dnl
+AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
+[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac])
+with_gnu_ld=$lt_cv_prog_gnu_ld
+])# AC_PROG_LD_GNU
+
+
+# AC_PROG_LD_RELOAD_FLAG
+# ----------------------
+# find reload flag for linker
+# -- PORTME Some linkers may need a different reload flag.
+AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
+[AC_CACHE_CHECK([for $LD option to reload object files],
+ lt_cv_ld_reload_flag,
+ [lt_cv_ld_reload_flag='-r'])
+reload_flag=$lt_cv_ld_reload_flag
+case $reload_flag in
+"" | " "*) ;;
+*) reload_flag=" $reload_flag" ;;
+esac
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
+])# AC_PROG_LD_RELOAD_FLAG
+
+
+# AC_DEPLIBS_CHECK_METHOD
+# -----------------------
+# how to check for library dependencies
+# -- PORTME fill in with the dynamic library characteristics
+AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
+[AC_CACHE_CHECK([how to recognise dependent libraries],
+lt_cv_deplibs_check_method,
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_deplibs_check_method='unknown'
+# Need to set the preceding variable on all platforms that support
+# interlibrary dependencies.
+# 'none' -- dependencies not supported.
+# `unknown' -- same as none, but documents that we really don't know.
+# 'pass_all' -- all dependencies passed with no checks.
+# 'test_compile' -- check by making test program.
+# 'file_magic [[regex]]' -- check by looking for files in library path
+# which responds to the $file_magic_cmd with a given extended regex.
+# If you have `file' or equivalent on your system and you're not sure
+# whether `pass_all' will *always* work, you probably want this one.
+
+case $host_os in
+aix4* | aix5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+beos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+bsdi4*)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ ;;
+
+cygwin*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+mingw* | pw32*)
+ # win32_libid is a shell function defined in ltmain.sh
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='win32_libid'
+ ;;
+
+darwin* | rhapsody*)
+ # this will be overwritten by pass_all, but leave it in just in case
+ lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ case "$host_os" in
+ rhapsody* | darwin1.[[012]])
+ lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
+ ;;
+ *) # Darwin 1.3 on
+ lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
+ ;;
+ esac
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+freebsd* | kfreebsd*-gnu)
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+ # Not sure whether the presence of OpenBSD here was a mistake.
+ # Let's accept both of them until this is cleared up.
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ ;;
+ esac
+ else
+ lt_cv_deplibs_check_method=pass_all
+ fi
+ ;;
+
+gnu*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+hpux10.20* | hpux11*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ case "$host_cpu" in
+ ia64*)
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
+ ;;
+ hppa*64*)
+ [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
+ ;;
+ *)
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
+ ;;
+ esac
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ irix5* | nonstopux*)
+ # this will be overridden with pass_all, but let us keep it just in case
+ lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+ ;;
+ *)
+ case $LD in
+ *-32|*"-32 ") libmagic=32-bit;;
+ *-n32|*"-n32 ") libmagic=N32;;
+ *-64|*"-64 ") libmagic=64-bit;;
+ *) libmagic=never-match;;
+ esac
+ # this will be overridden with pass_all, but let us keep it just in case
+ lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
+ ;;
+ esac
+ lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+# This must be Linux ELF.
+linux*)
+ case $host_cpu in
+ alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh* | x86_64* )
+ lt_cv_deplibs_check_method=pass_all ;;
+ # the debian people say, arm and glibc 2.3.1 works for them with pass_all
+ arm* )
+ lt_cv_deplibs_check_method=pass_all ;;
+ *)
+ # glibc up to 2.1.1 does not perform some relocations on ARM
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
+ esac
+ lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+ ;;
+
+netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
+ fi
+ ;;
+
+newos6*)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
+ ;;
+
+nto-qnx*)
+ lt_cv_deplibs_check_method=unknown
+ ;;
+
+openbsd*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
+ else
+ lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
+ fi
+ ;;
+
+osf3* | osf4* | osf5*)
+ # this will be overridden with pass_all, but let us keep it just in case
+ lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sco3.2v5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+solaris*)
+ lt_cv_deplibs_check_method=pass_all
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ case $host_vendor in
+ motorola)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ ;;
+ ncr)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ sequent)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
+ ;;
+ sni)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+ siemens)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ esac
+ ;;
+
+sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+esac
+])
+file_magic_cmd=$lt_cv_file_magic_cmd
+deplibs_check_method=$lt_cv_deplibs_check_method
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
+])# AC_DEPLIBS_CHECK_METHOD
+
+
+# AC_PROG_NM
+# ----------
+# find the pathname to a BSD-compatible name lister
+AC_DEFUN([AC_PROG_NM],
+[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
+[if test -n "$NM"; then
+ # Let the user override the test.
+ lt_cv_path_NM="$NM"
+else
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ tmp_nm="$ac_dir/${ac_tool_prefix}nm"
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
+ # Check to see if the nm accepts a BSD-compat flag.
+ # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+ # nm: unknown option "B" ignored
+ # Tru64's nm complains that /dev/null is an invalid object file
+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
+ */dev/null* | *'Invalid file or object type'*)
+ lt_cv_path_NM="$tmp_nm -B"
+ break
+ ;;
+ *)
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
+ */dev/null*)
+ lt_cv_path_NM="$tmp_nm -p"
+ break
+ ;;
+ *)
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ continue # so that we can try to find one that supports BSD flags
+ ;;
+ esac
+ esac
+ fi
+ done
+ IFS="$lt_save_ifs"
+ test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
+fi])
+NM="$lt_cv_path_NM"
+])# AC_PROG_NM
+
+
+# AC_CHECK_LIBM
+# -------------
+# check for math library
+AC_DEFUN([AC_CHECK_LIBM],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+LIBM=
+case $host in
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
+ # These system don't have libm, or don't need it
+ ;;
+*-ncr-sysv4.3*)
+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
+ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
+ ;;
+*)
+ AC_CHECK_LIB(m, cos, LIBM="-lm")
+ ;;
+esac
+])# AC_CHECK_LIBM
+
+
+# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
+# -----------------------------------
+# sets LIBLTDL to the link flags for the libltdl convenience library and
+# LTDLINCL to the include flags for the libltdl header and adds
+# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
+# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
+# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
+# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
+# '${top_srcdir}/' (note the single quotes!). If your package is not
+# flat and you're not using automake, define top_builddir and
+# top_srcdir appropriately in the Makefiles.
+AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ case $enable_ltdl_convenience in
+ no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
+ "") enable_ltdl_convenience=yes
+ ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
+ esac
+ LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
+ LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
+ # For backwards non-gettext consistent compatibility...
+ INCLTDL="$LTDLINCL"
+])# AC_LIBLTDL_CONVENIENCE
+
+
+# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
+# -----------------------------------
+# sets LIBLTDL to the link flags for the libltdl installable library and
+# LTDLINCL to the include flags for the libltdl header and adds
+# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
+# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
+# DIRECTORY is not provided and an installed libltdl is not found, it is
+# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
+# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
+# quotes!). If your package is not flat and you're not using automake,
+# define top_builddir and top_srcdir appropriately in the Makefiles.
+# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
+AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ AC_CHECK_LIB(ltdl, lt_dlinit,
+ [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
+ [if test x"$enable_ltdl_install" = xno; then
+ AC_MSG_WARN([libltdl not installed, but installation disabled])
+ else
+ enable_ltdl_install=yes
+ fi
+ ])
+ if test x"$enable_ltdl_install" = x"yes"; then
+ ac_configure_args="$ac_configure_args --enable-ltdl-install"
+ LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
+ LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
+ else
+ ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
+ LIBLTDL="-lltdl"
+ LTDLINCL=
+ fi
+ # For backwards non-gettext consistent compatibility...
+ INCLTDL="$LTDLINCL"
+])# AC_LIBLTDL_INSTALLABLE
+
+
+# AC_LIBTOOL_CXX
+# --------------
+# enable support for C++ libraries
+AC_DEFUN([AC_LIBTOOL_CXX],
+[AC_REQUIRE([_LT_AC_LANG_CXX])
+])# AC_LIBTOOL_CXX
+
+
+# _LT_AC_LANG_CXX
+# ---------------
+AC_DEFUN([_LT_AC_LANG_CXX],
+[AC_REQUIRE([AC_PROG_CXX])
+AC_REQUIRE([AC_PROG_CXXCPP])
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
+])# _LT_AC_LANG_CXX
+
+
+# AC_LIBTOOL_F77
+# --------------
+# enable support for Fortran 77 libraries
+AC_DEFUN([AC_LIBTOOL_F77],
+[AC_REQUIRE([_LT_AC_LANG_F77])
+])# AC_LIBTOOL_F77
+
+
+# _LT_AC_LANG_F77
+# ---------------
+AC_DEFUN([_LT_AC_LANG_F77],
+[AC_REQUIRE([AC_PROG_F77])
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
+])# _LT_AC_LANG_F77
+
+
+# AC_LIBTOOL_GCJ
+# --------------
+# enable support for GCJ libraries
+AC_DEFUN([AC_LIBTOOL_GCJ],
+[AC_REQUIRE([_LT_AC_LANG_GCJ])
+])# AC_LIBTOOL_GCJ
+
+
+# _LT_AC_LANG_GCJ
+# ---------------
+AC_DEFUN([_LT_AC_LANG_GCJ],
+[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
+ [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
+ [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
+ [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
+ [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
+])# _LT_AC_LANG_GCJ
+
+
+# AC_LIBTOOL_RC
+# --------------
+# enable support for Windows resource files
+AC_DEFUN([AC_LIBTOOL_RC],
+[AC_REQUIRE([LT_AC_PROG_RC])
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
+])# AC_LIBTOOL_RC
+
+
+# AC_LIBTOOL_LANG_C_CONFIG
+# ------------------------
+# Ensure that the configuration vars for the C compiler are
+# suitably defined. Those variables are subsequently used by
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
+AC_DEFUN([_LT_AC_LANG_C_CONFIG],
+[lt_save_CC="$CC"
+AC_LANG_PUSH(C)
+
+# Source file extension for C test sources.
+ac_ext=c
+
+# Object file extension for compiled C test sources.
+objext=o
+_LT_AC_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;\n"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(){return(0);}\n'
+
+_LT_AC_SYS_COMPILER
+
+#
+# Check for any special shared library compilation flags.
+#
+_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
+if test "$GCC" = no; then
+ case $host_os in
+ sco3.2v5*)
+ _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
+ ;;
+ esac
+fi
+if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
+ AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
+ if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then :
+ else
+ AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
+ _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
+ fi
+fi
+
+
+#
+# Check to make sure the static flag actually works.
+#
+AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
+ _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
+ $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
+ [],
+ [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
+
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
+AC_LIBTOOL_PROG_CC_C_O($1)
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
+AC_LIBTOOL_SYS_LIB_STRIP
+AC_LIBTOOL_DLOPEN_SELF($1)
+
+# Report which librarie types wil actually be built
+AC_MSG_CHECKING([if libtool supports shared libraries])
+AC_MSG_RESULT([$can_build_shared])
+
+AC_MSG_CHECKING([whether to build shared libraries])
+test "$can_build_shared" = "no" && enable_shared=no
+
+# On AIX, shared libraries and static libraries use the same namespace, and
+# are all built from PIC.
+case "$host_os" in
+aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+aix4*)
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+ test "$enable_shared" = yes && enable_static=no
+ fi
+ ;;
+ darwin* | rhapsody*)
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ case "$host_os" in
+ rhapsody* | darwin1.[[012]])
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,suppress'
+ ;;
+ *) # Darwin 1.3 on
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ else
+ case ${MACOSX_DEPLOYMENT_TARGET} in
+ 10.[012])
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ ;;
+ 10.*)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,dynamic_lookup'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ output_verbose_link_cmd='echo'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+esac
+AC_MSG_RESULT([$enable_shared])
+
+AC_MSG_CHECKING([whether to build static libraries])
+# Make sure either enable_shared or enable_static is yes.
+test "$enable_shared" = yes || enable_static=yes
+AC_MSG_RESULT([$enable_static])
+
+AC_LIBTOOL_CONFIG($1)
+
+AC_LANG_POP
+CC="$lt_save_CC"
+])# AC_LIBTOOL_LANG_C_CONFIG
+
+
+# AC_LIBTOOL_LANG_CXX_CONFIG
+# --------------------------
+# Ensure that the configuration vars for the C compiler are
+# suitably defined. Those variables are subsequently used by
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
+AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
+[AC_LANG_PUSH(C++)
+AC_REQUIRE([AC_PROG_CXX])
+AC_REQUIRE([AC_PROG_CXXCPP])
+
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_AC_TAGVAR(allow_undefined_flag, $1)=
+_LT_AC_TAGVAR(always_export_symbols, $1)=no
+_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
+_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_AC_TAGVAR(hardcode_direct, $1)=no
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
+_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
+_LT_AC_TAGVAR(hardcode_automatic, $1)=no
+_LT_AC_TAGVAR(module_cmds, $1)=
+_LT_AC_TAGVAR(module_expsym_cmds, $1)=
+_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_AC_TAGVAR(no_undefined_flag, $1)=
+_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+
+# Dependencies to place before and after the object being linked:
+_LT_AC_TAGVAR(predep_objects, $1)=
+_LT_AC_TAGVAR(postdep_objects, $1)=
+_LT_AC_TAGVAR(predeps, $1)=
+_LT_AC_TAGVAR(postdeps, $1)=
+_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
+
+# Source file extension for C++ test sources.
+ac_ext=cc
+
+# Object file extension for compiled C++ test sources.
+objext=o
+_LT_AC_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;\n"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_AC_SYS_COMPILER
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_LD=$LD
+lt_save_GCC=$GCC
+GCC=$GXX
+lt_save_with_gnu_ld=$with_gnu_ld
+lt_save_path_LD=$lt_cv_path_LD
+if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
+ lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
+else
+ unset lt_cv_prog_gnu_ld
+fi
+if test -n "${lt_cv_path_LDCXX+set}"; then
+ lt_cv_path_LD=$lt_cv_path_LDCXX
+else
+ unset lt_cv_path_LD
+fi
+test -z "${LDCXX+set}" || LD=$LDCXX
+CC=${CXX-"c++"}
+compiler=$CC
+_LT_AC_TAGVAR(compiler, $1)=$CC
+cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
+
+# We don't want -fno-exception wen compiling C++ code, so set the
+# no_builtin_flag separately
+if test "$GXX" = yes; then
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
+else
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
+fi
+
+if test "$GXX" = yes; then
+ # Set up default GNU C++ configuration
+
+ AC_PROG_LD
+
+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
+ # archiving commands below assume that GNU ld is being used.
+ if test "$with_gnu_ld" = yes; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
+ # investigate it a little bit more. (MM)
+ wlarc='${wl}'
+
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
+ grep 'no-whole-archive' > /dev/null; then
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ else
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ else
+ with_gnu_ld=no
+ wlarc=
+
+ # A generic and very simple default shared library creation
+ # command for GNU C++ for the case where it uses the native
+ # linker, instead of GNU ld. If possible, this setting should
+ # overridden to take advantage of the native linker features on
+ # the platform it is being used on.
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib'
+ fi
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
+
+else
+ GXX=no
+ with_gnu_ld=no
+ wlarc=
+fi
+
+# PORTME: fill in a description of your system's C++ link characteristics
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
+_LT_AC_TAGVAR(ld_shlibs, $1)=yes
+case $host_os in
+ aix3*)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aix4* | aix5*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ # KDE requires run time linking. Make it the default.
+ aix_use_runtimelinking=yes
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ _LT_AC_TAGVAR(archive_cmds, $1)=''
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+
+ if test "$GXX" = yes; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" && \
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ else
+ # We have old collect2
+ _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+ fi
+ esac
+ shared_flag='-shared'
+ else
+ # not using gcc
+ if test "$host_cpu" = ia64; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='-qmkshrobj ${wl}-G'
+ else
+ shared_flag='-qmkshrobj'
+ fi
+ fi
+ fi
+
+ # Let the compiler handle the export list.
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
+ if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
+ # Determine the default libpath from the value encoded in an empty executable.
+ _LT_AC_SYS_LIBPATH_AIX
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+
+ _LT_AC_TAGVAR(archive_cmds, $1)="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+ else
+ if test "$host_cpu" = ia64; then
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an empty executable.
+ _LT_AC_SYS_LIBPATH_AIX
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
+ # -bexpall does not export symbols beginning with underscore (_)
+ _LT_AC_TAGVAR(always_export_symbols, $1)=yes
+ # Exported symbols can be pulled into shared objects from archives
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
+ # This is similar to how AIX traditionally builds it's shared libraries.
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ fi
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ cygwin* | mingw* | pw32*)
+ # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
+ # as there is no search path for DLLs.
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=no
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+
+ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ # If the export-symbols file already is a .def file (1st line
+ # is EXPORTS), use it as is; otherwise, prepend...
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared -nostdlib $output_objdir/$soname.def $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ darwin* | rhapsody*)
+ if test "$GXX" = yes; then
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ case "$host_os" in
+ rhapsody* | darwin1.[[012]])
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,suppress'
+ ;;
+ *) # Darwin 1.3 on
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ else
+ case ${MACOSX_DEPLOYMENT_TARGET} in
+ 10.[012])
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ ;;
+ 10.*)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,dynamic_lookup'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ lt_int_apple_cc_single_mod=no
+ output_verbose_link_cmd='echo'
+ if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
+ lt_int_apple_cc_single_mod=yes
+ fi
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
+ fi
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
+
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ else
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ fi
+ _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ dgux*)
+ case $cc_basename in
+ ec++)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ ghcx)
+ # Green Hills C++ Compiler
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+ freebsd[12]*)
+ # C++ shared libraries reported to be fairly broken before switch to ELF
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ freebsd-elf*)
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ ;;
+ freebsd* | kfreebsd*-gnu)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
+ ;;
+ gnu*)
+ ;;
+ hpux9*)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+
+ case $cc_basename in
+ CC)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aCC)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+ hpux10*|hpux11*)
+ if test $with_gnu_ld = no; then
+ case "$host_cpu" in
+ hppa*64*)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+ ia64*)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ ;;
+ *)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ ;;
+ esac
+ fi
+ case "$host_cpu" in
+ hppa*64*)
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+ ia64*)
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+ ;;
+ *)
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+ ;;
+ esac
+
+ case $cc_basename in
+ CC)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aCC)
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
+ ;;
+ *)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
+ ;;
+ esac
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ if test $with_gnu_ld = no; then
+ case "$host_cpu" in
+ ia64*|hppa*64*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
+ ;;
+ *)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
+ ;;
+ esac
+ fi
+ else
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+ irix5* | irix6*)
+ case $cc_basename in
+ CC)
+ # SGI C++
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+
+ # Archives containing C++ object files must be created using
+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ if test "$with_gnu_ld" = no; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
+ fi
+ fi
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+ esac
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+ linux*)
+ case $cc_basename in
+ KCC)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
+ ;;
+ icpc)
+ # Intel C++
+ with_gnu_ld=yes
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+ ;;
+ cxx)
+ # Compaq C++
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
+
+ runpath_var=LD_RUN_PATH
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ esac
+ ;;
+ lynxos*)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ m88k*)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+ netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
+ wlarc=
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ fi
+ # Workaround some broken pre-1.5 toolchains
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
+ ;;
+ osf3*)
+ case $cc_basename in
+ KCC)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
+
+ ;;
+ RCC)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ cxx)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ *)
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+ osf4* | osf5*)
+ case $cc_basename in
+ KCC)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Archives containing C++ object files must be created using
+ # the KAI C++ compiler.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
+ ;;
+ RCC)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ cxx)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
+ echo "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
+ $rm $lib.exp'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ *)
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+ psos*)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ sco*)
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ case $cc_basename in
+ CC)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC)
+ # Sun C++ 4.x
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ lcc)
+ # Lucid
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ # The C++ compiler is used as linker so we must use $wl
+ # flag to pass the commands to the underlying system
+ # linker.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
+ ;;
+ esac
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ gcx)
+ # Green Hills C++ Compiler
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
+
+ # The C++ compiler must be used to create the archive.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
+ ;;
+ *)
+ # GNU C++ compiler with Solaris linker
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
+ if $CC --version | grep -v '^2\.7' > /dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
+ else
+ # g++ 2.7 appears to require `-G' NOT `-shared' on this
+ # platform.
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
+ fi
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
+ fi
+ ;;
+ esac
+ ;;
+ sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC)
+ # NonStop-UX NCC 3.20
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+ vxworks*)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+esac
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+
+_LT_AC_TAGVAR(GCC, $1)="$GXX"
+_LT_AC_TAGVAR(LD, $1)="$LD"
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+AC_LIBTOOL_POSTDEP_PREDEP($1)
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
+AC_LIBTOOL_PROG_CC_C_O($1)
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
+AC_LIBTOOL_SYS_LIB_STRIP
+AC_LIBTOOL_DLOPEN_SELF($1)
+
+AC_LIBTOOL_CONFIG($1)
+
+AC_LANG_POP
+CC=$lt_save_CC
+LDCXX=$LD
+LD=$lt_save_LD
+GCC=$lt_save_GCC
+with_gnu_ldcxx=$with_gnu_ld
+with_gnu_ld=$lt_save_with_gnu_ld
+lt_cv_path_LDCXX=$lt_cv_path_LD
+lt_cv_path_LD=$lt_save_path_LD
+lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
+lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
+])# AC_LIBTOOL_LANG_CXX_CONFIG
+
+# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
+# ------------------------
+# Figure out "hidden" library dependencies from verbose
+# compiler output when linking a shared library.
+# Parse the compiler output and extract the necessary
+# objects, libraries and library flags.
+AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
+dnl we can't use the lt_simple_compile_test_code here,
+dnl because it contains code intended for an executable,
+dnl not a library. It's possible we should let each
+dnl tag define a new lt_????_link_test_code variable,
+dnl but it's only used here...
+ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
+int a;
+void foo (void) { a = 0; }
+EOF
+],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
+class Foo
+{
+public:
+ Foo (void) { a = 0; }
+private:
+ int a;
+};
+EOF
+],[$1],[F77],[cat > conftest.$ac_ext <<EOF
+ subroutine foo
+ implicit none
+ integer*4 a
+ a=0
+ return
+ end
+EOF
+],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
+public class foo {
+ private int a;
+ public void bar (void) {
+ a = 0;
+ }
+};
+EOF
+])
+dnl Parse the compiler output and extract the necessary
+dnl objects, libraries and library flags.
+if AC_TRY_EVAL(ac_compile); then
+ # Parse the compiler output and extract the necessary
+ # objects, libraries and library flags.
+
+ # Sentinel used to keep track of whether or not we are before
+ # the conftest object file.
+ pre_test_object_deps_done=no
+
+ # The `*' in the case matches for architectures that use `case' in
+ # $output_verbose_cmd can trigger glob expansion during the loop
+ # eval without this substitution.
+ output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
+
+ for p in `eval $output_verbose_link_cmd`; do
+ case $p in
+
+ -L* | -R* | -l*)
+ # Some compilers place space between "-{L,R}" and the path.
+ # Remove the space.
+ if test $p = "-L" \
+ || test $p = "-R"; then
+ prev=$p
+ continue
+ else
+ prev=
+ fi
+
+ if test "$pre_test_object_deps_done" = no; then
+ case $p in
+ -L* | -R*)
+ # Internal compiler library paths should come after those
+ # provided the user. The postdeps already come after the
+ # user supplied libs so there is no need to process them.
+ if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
+ _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
+ else
+ _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
+ fi
+ ;;
+ # The "-l" case would never come before the object being
+ # linked, so don't bother handling this case.
+ esac
+ else
+ if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
+ _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
+ else
+ _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
+ fi
+ fi
+ ;;
+
+ *.$objext|*.$libext)
+ # This assumes that the test object file only shows up
+ # once in the compiler output.
+ if test "$p" = "conftest.$objext"; then
+ pre_test_object_deps_done=yes
+ continue
+ fi
+
+ if test "$pre_test_object_deps_done" = no; then
+ if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
+ _LT_AC_TAGVAR(predep_objects, $1)="$p"
+ else
+ _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
+ fi
+ else
+ if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
+ _LT_AC_TAGVAR(postdep_objects, $1)="$p"
+ else
+ _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
+ fi
+ fi
+ ;;
+
+ *) ;; # Ignore the rest.
+
+ esac
+ done
+
+ # Clean up.
+ rm -f a.out a.exe
+else
+ echo "libtool.m4: error: problem compiling $1 test program"
+fi
+
+$rm -f confest.$objext
+
+case " $_LT_AC_TAGVAR(postdeps, $1) " in
+*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
+esac
+])# AC_LIBTOOL_POSTDEP_PREDEP
+
+# AC_LIBTOOL_LANG_F77_CONFIG
+# ------------------------
+# Ensure that the configuration vars for the C compiler are
+# suitably defined. Those variables are subsequently used by
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
+AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
+[AC_REQUIRE([AC_PROG_F77])
+AC_LANG_PUSH(Fortran 77)
+
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_AC_TAGVAR(allow_undefined_flag, $1)=
+_LT_AC_TAGVAR(always_export_symbols, $1)=no
+_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
+_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_AC_TAGVAR(hardcode_direct, $1)=no
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
+_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
+_LT_AC_TAGVAR(hardcode_automatic, $1)=no
+_LT_AC_TAGVAR(module_cmds, $1)=
+_LT_AC_TAGVAR(module_expsym_cmds, $1)=
+_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_AC_TAGVAR(no_undefined_flag, $1)=
+_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+
+# Source file extension for f77 test sources.
+ac_ext=f
+
+# Object file extension for compiled f77 test sources.
+objext=o
+_LT_AC_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code=" subroutine t\n return\n end\n"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code=" program t\n end\n"
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_AC_SYS_COMPILER
+
+# Allow CC to be a program name with arguments.
+lt_save_CC="$CC"
+CC=${F77-"f77"}
+compiler=$CC
+_LT_AC_TAGVAR(compiler, $1)=$CC
+cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
+
+AC_MSG_CHECKING([if libtool supports shared libraries])
+AC_MSG_RESULT([$can_build_shared])
+
+AC_MSG_CHECKING([whether to build shared libraries])
+test "$can_build_shared" = "no" && enable_shared=no
+
+# On AIX, shared libraries and static libraries use the same namespace, and
+# are all built from PIC.
+case "$host_os" in
+aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+aix4*)
+ test "$enable_shared" = yes && enable_static=no
+ ;;
+esac
+AC_MSG_RESULT([$enable_shared])
+
+AC_MSG_CHECKING([whether to build static libraries])
+# Make sure either enable_shared or enable_static is yes.
+test "$enable_shared" = yes || enable_static=yes
+AC_MSG_RESULT([$enable_static])
+
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+
+_LT_AC_TAGVAR(GCC, $1)="$G77"
+_LT_AC_TAGVAR(LD, $1)="$LD"
+
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
+AC_LIBTOOL_PROG_CC_C_O($1)
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
+AC_LIBTOOL_SYS_LIB_STRIP
+
+
+AC_LIBTOOL_CONFIG($1)
+
+AC_LANG_POP
+CC="$lt_save_CC"
+])# AC_LIBTOOL_LANG_F77_CONFIG
+
+
+# AC_LIBTOOL_LANG_GCJ_CONFIG
+# --------------------------
+# Ensure that the configuration vars for the C compiler are
+# suitably defined. Those variables are subsequently used by
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
+AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
+[AC_LANG_SAVE
+
+# Source file extension for Java test sources.
+ac_ext=java
+
+# Object file extension for compiled Java test sources.
+objext=o
+_LT_AC_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="class foo {}\n"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_AC_SYS_COMPILER
+
+# Allow CC to be a program name with arguments.
+lt_save_CC="$CC"
+CC=${GCJ-"gcj"}
+compiler=$CC
+_LT_AC_TAGVAR(compiler, $1)=$CC
+
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
+AC_LIBTOOL_PROG_CC_C_O($1)
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
+AC_LIBTOOL_SYS_LIB_STRIP
+AC_LIBTOOL_DLOPEN_SELF($1)
+
+AC_LIBTOOL_CONFIG($1)
+
+AC_LANG_RESTORE
+CC="$lt_save_CC"
+])# AC_LIBTOOL_LANG_GCJ_CONFIG
+
+
+# AC_LIBTOOL_LANG_RC_CONFIG
+# --------------------------
+# Ensure that the configuration vars for the Windows resource compiler are
+# suitably defined. Those variables are subsequently used by
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
+AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
+[AC_LANG_SAVE
+
+# Source file extension for RC test sources.
+ac_ext=rc
+
+# Object file extension for compiled RC test sources.
+objext=o
+_LT_AC_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
+
+# Code to be used in simple link tests
+lt_simple_link_test_code="$lt_simple_compile_test_code"
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_AC_SYS_COMPILER
+
+# Allow CC to be a program name with arguments.
+lt_save_CC="$CC"
+CC=${RC-"windres"}
+compiler=$CC
+_LT_AC_TAGVAR(compiler, $1)=$CC
+_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+
+AC_LIBTOOL_CONFIG($1)
+
+AC_LANG_RESTORE
+CC="$lt_save_CC"
+])# AC_LIBTOOL_LANG_RC_CONFIG
+
+
+# AC_LIBTOOL_CONFIG([TAGNAME])
+# ----------------------------
+# If TAGNAME is not passed, then create an initial libtool script
+# with a default configuration from the untagged config vars. Otherwise
+# add code to config.status for appending the configuration named by
+# TAGNAME from the matching tagged config vars.
+AC_DEFUN([AC_LIBTOOL_CONFIG],
+[# The else clause should only fire when bootstrapping the
+# libtool distribution, otherwise you forgot to ship ltmain.sh
+# with your package, and you will get complaints that there are
+# no rules to generate ltmain.sh.
+if test -f "$ltmain"; then
+ # See if we are running on zsh, and set the options which allow our commands through
+ # without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}" ; then
+ setopt NO_GLOB_SUBST
+ fi
+ # Now quote all the things that may contain metacharacters while being
+ # careful not to overquote the AC_SUBSTed values. We take copies of the
+ # variables and quote the copies for generation of the libtool script.
+ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
+ libname_spec library_names_spec soname_spec extract_expsyms_cmds \
+ old_striplib striplib file_magic_cmd finish_cmds finish_eval \
+ deplibs_check_method reload_flag reload_cmds need_locks \
+ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+ lt_cv_sys_global_symbol_to_c_name_address \
+ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+ old_postinstall_cmds old_postuninstall_cmds \
+ _LT_AC_TAGVAR(compiler, $1) \
+ _LT_AC_TAGVAR(CC, $1) \
+ _LT_AC_TAGVAR(LD, $1) \
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
+ _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
+ _LT_AC_TAGVAR(old_archive_cmds, $1) \
+ _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
+ _LT_AC_TAGVAR(predep_objects, $1) \
+ _LT_AC_TAGVAR(postdep_objects, $1) \
+ _LT_AC_TAGVAR(predeps, $1) \
+ _LT_AC_TAGVAR(postdeps, $1) \
+ _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
+ _LT_AC_TAGVAR(archive_cmds, $1) \
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
+ _LT_AC_TAGVAR(postinstall_cmds, $1) \
+ _LT_AC_TAGVAR(postuninstall_cmds, $1) \
+ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
+ _LT_AC_TAGVAR(allow_undefined_flag, $1) \
+ _LT_AC_TAGVAR(no_undefined_flag, $1) \
+ _LT_AC_TAGVAR(export_symbols_cmds, $1) \
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
+ _LT_AC_TAGVAR(hardcode_automatic, $1) \
+ _LT_AC_TAGVAR(module_cmds, $1) \
+ _LT_AC_TAGVAR(module_expsym_cmds, $1) \
+ _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
+ _LT_AC_TAGVAR(exclude_expsyms, $1) \
+ _LT_AC_TAGVAR(include_expsyms, $1); do
+
+ case $var in
+ _LT_AC_TAGVAR(old_archive_cmds, $1) | \
+ _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
+ _LT_AC_TAGVAR(archive_cmds, $1) | \
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
+ _LT_AC_TAGVAR(module_cmds, $1) | \
+ _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
+ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
+ _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
+ extract_expsyms_cmds | reload_cmds | finish_cmds | \
+ postinstall_cmds | postuninstall_cmds | \
+ old_postinstall_cmds | old_postuninstall_cmds | \
+ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
+ # Double-quote double-evaled strings.
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
+ ;;
+ *)
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
+ ;;
+ esac
+ done
+
+ case $lt_echo in
+ *'\[$]0 --fallback-echo"')
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
+ ;;
+ esac
+
+ifelse([$1], [],
+ [cfgfile="${ofile}T"
+ trap "$rm \"$cfgfile\"; exit 1" 1 2 15
+ $rm -f "$cfgfile"
+ AC_MSG_NOTICE([creating $ofile])],
+ [cfgfile="$ofile"])
+
+ cat <<__EOF__ >> "$cfgfile"
+ifelse([$1], [],
+[#! $SHELL
+
+# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
+# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+#
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
+# Free Software Foundation, Inc.
+#
+# This file is part of GNU Libtool:
+# Originally by Gordon Matzigkeit <gord at gnu.ai.mit.edu>, 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 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# 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.
+
+# A sed program that does not truncate output.
+SED=$lt_SED
+
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
+Xsed="$SED -e s/^X//"
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+
+# The names of the tagged configurations supported by this script.
+available_tags=
+
+# ### BEGIN LIBTOOL CONFIG],
+[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
+
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# Whether or not to build shared libraries.
+build_libtool_libs=$enable_shared
+
+# Whether or not to build static libraries.
+build_old_libs=$enable_static
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
+
+# Whether or not to disallow shared libs when runtime libs are static
+allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
+
+# Whether or not to optimize for fast installation.
+fast_install=$enable_fast_install
+
+# The host system.
+host_alias=$host_alias
+host=$host
+
+# An echo program that does not interpret backslashes.
+echo=$lt_echo
+
+# The archiver.
+AR=$lt_AR
+AR_FLAGS=$lt_AR_FLAGS
+
+# A C compiler.
+LTCC=$lt_LTCC
+
+# A language-specific compiler.
+CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
+
+# Is the compiler the GNU C compiler?
+with_gcc=$_LT_AC_TAGVAR(GCC, $1)
+
+# An ERE matcher.
+EGREP=$lt_EGREP
+
+# The linker used to build libraries.
+LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
+
+# Whether we need hard or soft links.
+LN_S=$lt_LN_S
+
+# A BSD-compatible nm program.
+NM=$lt_NM
+
+# A symbol stripping program
+STRIP=$STRIP
+
+# Used to examine libraries when file_magic_cmd begins "file"
+MAGIC_CMD=$MAGIC_CMD
+
+# Used on cygwin: DLL creation program.
+DLLTOOL="$DLLTOOL"
+
+# Used on cygwin: object dumper.
+OBJDUMP="$OBJDUMP"
+
+# Used on cygwin: assembler.
+AS="$AS"
+
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
+# How to pass a linker flag through the compiler.
+wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
+
+# Object file suffix (normally "o").
+objext="$ac_objext"
+
+# Old archive suffix (normally "a").
+libext="$libext"
+
+# Shared library suffix (normally ".so").
+shrext='$shrext'
+
+# Executable file suffix (normally "").
+exeext="$exeext"
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
+pic_mode=$pic_mode
+
+# What is the maximum length of a command?
+max_cmd_len=$lt_cv_sys_max_cmd_len
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
+
+# Must we lock files when doing compilation ?
+need_locks=$lt_need_locks
+
+# Do we need the lib prefix for modules?
+need_lib_prefix=$need_lib_prefix
+
+# Do we need a version for libraries?
+need_version=$need_version
+
+# Whether dlopen is supported.
+dlopen_support=$enable_dlopen
+
+# Whether dlopen of programs is supported.
+dlopen_self=$enable_dlopen_self
+
+# Whether dlopen of statically linked programs is supported.
+dlopen_self_static=$enable_dlopen_self_static
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
+
+# Compiler flag to generate thread-safe objects.
+thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
+
+# Library versioning type.
+version_type=$version_type
+
+# Format of library name prefix.
+libname_spec=$lt_libname_spec
+
+# List of archive names. First name is the real one, the rest are links.
+# The last name is the one that the linker finds with -lNAME.
+library_names_spec=$lt_library_names_spec
+
+# The coded name of the library, if different from the real name.
+soname_spec=$lt_soname_spec
+
+# Commands used to build and install an old-style archive.
+RANLIB=$lt_RANLIB
+old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
+old_postinstall_cmds=$lt_old_postinstall_cmds
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
+
+# Commands used to build and install a shared archive.
+archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
+archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
+postinstall_cmds=$lt_postinstall_cmds
+postuninstall_cmds=$lt_postuninstall_cmds
+
+# Commands used to build a loadable module (assumed same as above if empty)
+module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
+module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
+
+# Commands to strip libraries.
+old_striplib=$lt_old_striplib
+striplib=$lt_striplib
+
+# Dependencies to place before the objects being linked to create a
+# shared library.
+predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
+
+# Dependencies to place after the objects being linked to create a
+# shared library.
+postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
+
+# Dependencies to place before the objects being linked to create a
+# shared library.
+predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
+
+# Dependencies to place after the objects being linked to create a
+# shared library.
+postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
+
+# Method to check whether dependent libraries are shared objects.
+deplibs_check_method=$lt_deplibs_check_method
+
+# Command to use when deplibs_check_method == file_magic.
+file_magic_cmd=$lt_file_magic_cmd
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
+
+# Flag that forces no undefined symbols.
+no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
+
+# Commands used to finish a libtool library installation in a directory.
+finish_cmds=$lt_finish_cmds
+
+# Same as above, but a single script fragment to be evaled but not shown.
+finish_eval=$lt_finish_eval
+
+# Take the output of nm and produce a listing of raw symbols and C names.
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
+
+# Transform the output of nm in a proper C declaration
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
+
+# Transform the output of nm in a C name address pair
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+
+# This is the shared library runtime path variable.
+runpath_var=$runpath_var
+
+# This is the shared library path variable.
+shlibpath_var=$shlibpath_var
+
+# Is shlibpath searched before the hard-coded library search path?
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
+
+# Whether we should hardcode library paths into libraries.
+hardcode_into_libs=$hardcode_into_libs
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist.
+hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
+
+# If ld is used when linking, flag to hardcode \$libdir into
+# a binary during linking. This must work even if \$libdir does
+# not exist.
+hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
+
+# Whether we need a single -rpath flag with a separated argument.
+hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
+
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
+# resulting binary.
+hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
+
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
+# resulting binary.
+hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
+
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
+# the resulting binary.
+hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
+
+# Set to yes if building a shared library automatically hardcodes DIR into the library
+# and all subsequent libraries and executables linked against it.
+hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
+
+# Variables whose values should be saved in libtool wrapper scripts and
+# restored at relink time.
+variables_saved_for_relink="$variables_saved_for_relink"
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
+
+# Compile-time system search path for libraries
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+
+# Run-time system search path for libraries
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+
+# Fix the shell variable \$srcfile for the compiler.
+fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
+
+# Set to yes if exported symbols are required.
+always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
+
+# The commands to extract the exported symbol list from a shared archive.
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
+
+# Symbols that must always be exported.
+include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
+
+ifelse([$1],[],
+[# ### END LIBTOOL CONFIG],
+[# ### END LIBTOOL TAG CONFIG: $tagname])
+
+__EOF__
+
+ifelse([$1],[], [
+ case $host_os in
+ aix3*)
+ cat <<\EOF >> "$cfgfile"
+
+# AIX sometimes has problems with the GCC collect2 program. For some
+# reason, if we set the COLLECT_NAMES environment variable, the problems
+# vanish in a puff of smoke.
+if test "X${COLLECT_NAMES+set}" != Xset; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+fi
+EOF
+ ;;
+ esac
+
+ # We use sed instead of cat because bash on DJGPP gets confused if
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+ sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
+
+ mv -f "$cfgfile" "$ofile" || \
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+])
+else
+ # If there is no Makefile yet, we rely on a make rule to execute
+ # `config.status --recheck' to rerun these tests and create the
+ # libtool script then.
+ test -f Makefile && make "$ltmain"
+fi
+])# AC_LIBTOOL_CONFIG
+
+
+# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
+# -------------------------------------------
+AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
+[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
+
+_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
+
+if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
+
+ AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
+ lt_cv_prog_compiler_rtti_exceptions,
+ [-fno-rtti -fno-exceptions], [],
+ [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
+fi
+])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
+
+
+# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
+# ---------------------------------
+AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
+[AC_REQUIRE([AC_CANONICAL_HOST])
+AC_REQUIRE([AC_PROG_NM])
+AC_REQUIRE([AC_OBJEXT])
+# Check for command to grab the raw symbol name followed by C symbol from nm.
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
+[
+# These are sane defaults that work on at least a few old systems.
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
+
+# Character class describing NM global symbol codes.
+symcode='[[BCDEGRST]]'
+
+# Regexp to match symbols that can be accessed directly from C.
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
+
+# Transform the above into a raw symbol and a C symbol.
+symxfrm='\1 \2\3 \3'
+
+# Transform an extracted symbol line into a proper C declaration
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
+
+# Transform an extracted symbol line into symbol name and symbol address
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
+
+# Define system-specific variables.
+case $host_os in
+aix*)
+ symcode='[[BCDT]]'
+ ;;
+cygwin* | mingw* | pw32*)
+ symcode='[[ABCDGISTW]]'
+ ;;
+hpux*) # Its linker distinguishes data from code symbols
+ if test "$host_cpu" = ia64; then
+ symcode='[[ABCDEGRST]]'
+ fi
+ lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+ lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
+ ;;
+irix* | nonstopux*)
+ symcode='[[BCDEGRST]]'
+ ;;
+osf*)
+ symcode='[[BCDEGQRST]]'
+ ;;
+solaris* | sysv5*)
+ symcode='[[BDT]]'
+ ;;
+sysv4)
+ symcode='[[DFNSTU]]'
+ ;;
+esac
+
+# Handle CRLF in mingw tool chain
+opt_cr=
+case $build_os in
+mingw*)
+ opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+ ;;
+esac
+
+# If we're using GNU nm, then use its standard symbol codes.
+case `$NM -V 2>&1` in
+*GNU* | *'with BFD'*)
+ symcode='[[ABCDGISTW]]' ;;
+esac
+
+# Try without a prefix undercore, then with it.
+for ac_symprfx in "" "_"; do
+
+ # Write the raw and C identifiers.
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+
+ rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#ifdef __cplusplus
+extern "C" {
+#endif
+char nm_test_var;
+void nm_test_func(){}
+#ifdef __cplusplus
+}
+#endif
+int main(){nm_test_var='a';nm_test_func();return(0);}
+EOF
+
+ if AC_TRY_EVAL(ac_compile); then
+ # Now try to grab the symbols.
+ nlist=conftest.nm
+ if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
+ # Try sorting and uniquifying the output.
+ if sort "$nlist" | uniq > "$nlist"T; then
+ mv -f "$nlist"T "$nlist"
+ else
+ rm -f "$nlist"T
+ fi
+
+ # Make sure that we snagged all the symbols we need.
+ if grep ' nm_test_var$' "$nlist" >/dev/null; then
+ if grep ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<EOF > conftest.$ac_ext
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+EOF
+ # Now generate the symbol file.
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
+
+ cat <<EOF >> conftest.$ac_ext
+#if defined (__STDC__) && __STDC__
+# define lt_ptr_t void *
+#else
+# define lt_ptr_t char *
+# define const
+#endif
+
+/* The mapping between symbol names and symbols. */
+const struct {
+ const char *name;
+ lt_ptr_t address;
+}
+lt_preloaded_symbols[[]] =
+{
+EOF
+ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
+ cat <<\EOF >> conftest.$ac_ext
+ {0, (lt_ptr_t) 0}
+};
+
+#ifdef __cplusplus
+}
+#endif
+EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+ lt_save_LIBS="$LIBS"
+ lt_save_CFLAGS="$CFLAGS"
+ LIBS="conftstm.$ac_objext"
+ CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
+ pipe_works=yes
+ fi
+ LIBS="$lt_save_LIBS"
+ CFLAGS="$lt_save_CFLAGS"
+ else
+ echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
+ cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest* conftst*
+
+ # Do not use the global_symbol_pipe unless it works.
+ if test "$pipe_works" = yes; then
+ break
+ else
+ lt_cv_sys_global_symbol_pipe=
+ fi
+done
+])
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
+ lt_cv_sys_global_symbol_to_cdecl=
+fi
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
+ AC_MSG_RESULT(failed)
+else
+ AC_MSG_RESULT(ok)
+fi
+]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
+
+
+# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
+# ---------------------------------------
+AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
+[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
+_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
+
+AC_MSG_CHECKING([for $compiler option to produce PIC])
+ ifelse([$1],[CXX],[
+ # C++ specific cases for pic, static, wl, etc.
+ if test "$GXX" = yes; then
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+ amigaos*)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the `-m68020' flag to GCC prevents building anything better,
+ # like `-m68040'.
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+ mingw* | os2* | pw32*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
+ ;;
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ ;;
+ *djgpp*)
+ # DJGPP does not support shared libraries at all
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+ ;;
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
+ fi
+ ;;
+ hpux*)
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ else
+ case $host_os in
+ aix4* | aix5*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ else
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ cxch68)
+ # Green Hills C++ Compiler
+ # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
+ ;;
+ esac
+ ;;
+ dgux*)
+ case $cc_basename in
+ ec++)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ ;;
+ ghcx)
+ # Green Hills C++ Compiler
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ freebsd* | kfreebsd*-gnu)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ case $cc_basename in
+ CC)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
+ if test "$host_cpu" != ia64; then
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ fi
+ ;;
+ aCC)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ ;;
+ esac
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ irix5* | irix6* | nonstopux*)
+ case $cc_basename in
+ CC)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ # CC pic flag -KPIC is the default.
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ linux*)
+ case $cc_basename in
+ KCC)
+ # KAI C++ Compiler
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ icpc)
+ # Intel C++
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ cxx)
+ # Compaq C++
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ lynxos*)
+ ;;
+ m88k*)
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ netbsd*)
+ ;;
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
+ ;;
+ RCC)
+ # Rational C++ 2.4.1
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ cxx)
+ # Digital/Compaq C++
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ psos*)
+ ;;
+ sco*)
+ case $cc_basename in
+ CC)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ ;;
+ gcx)
+ # Green Hills C++ Compiler
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC)
+ # Sun C++ 4.x
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ lcc)
+ # Lucid
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC)
+ # NonStop-UX NCC 3.20
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ unixware*)
+ ;;
+ vxworks*)
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+ esac
+ fi
+],
+[
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+
+ amigaos*)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the `-m68020' flag to GCC prevents building anything better,
+ # like `-m68040'.
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
+ ;;
+
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+
+ mingw* | pw32* | os2*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ ;;
+
+ msdosdjgpp*)
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
+ # on systems that don't support them.
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ enable_shared=no
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
+ fi
+ ;;
+
+ hpux*)
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ ;;
+
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ else
+ # PORTME Check for flag to pass linker flags through the system compiler.
+ case $host_os in
+ aix*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ else
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+
+ mingw* | pw32* | os2*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ ;;
+ esac
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # PIC (with -KPIC) is the default.
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ newsos6)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ linux*)
+ case $CC in
+ icc* | ecc*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ ccc*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # All Alpha code is PIC.
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ esac
+ ;;
+
+ osf3* | osf4* | osf5*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # All OSF/1 code is PIC.
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ sco3.2v5*)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
+ ;;
+
+ solaris*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sunos4*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec ;then
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+
+ uts4*)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+ esac
+ fi
+])
+AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
+ AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
+ _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
+ [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
+ [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
+ "" | " "*) ;;
+ *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
+ esac],
+ [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
+fi
+case "$host_os" in
+ # For platforms which do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
+ ;;
+esac
+])
+
+
+# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
+# ------------------------------------
+# See if the linker supports building shared libraries.
+AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
+[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
+ifelse([$1],[CXX],[
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ case $host_os in
+ aix4* | aix5*)
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
+ if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
+ else
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
+ fi
+ ;;
+ pw32*)
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
+ ;;
+ cygwin* | mingw*)
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
+ ;;
+ *)
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ ;;
+ esac
+],[
+ runpath_var=
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+ _LT_AC_TAGVAR(archive_cmds, $1)=
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
+ _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
+ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+ _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
+ _LT_AC_TAGVAR(hardcode_automatic, $1)=no
+ _LT_AC_TAGVAR(module_cmds, $1)=
+ _LT_AC_TAGVAR(module_expsym_cmds, $1)=
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ # include_expsyms should be a list of space-separated symbols to be *always*
+ # included in the symbol list
+ _LT_AC_TAGVAR(include_expsyms, $1)=
+ # exclude_expsyms can be an extended regexp of symbols to exclude
+ # it will be wrapped by ` (' and `)$', so one must not match beginning or
+ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
+ # as well as any symbol that contains `d'.
+ _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+ # platforms (ab)use it in PIC code, but their linkers get confused if
+ # the symbol is explicitly referenced. Since portable code cannot
+ # rely on this symbol name, it's probably fine to never include it in
+ # preloaded symbol tables.
+ extract_expsyms_cmds=
+
+ case $host_os in
+ cygwin* | mingw* | pw32*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test "$GCC" != yes; then
+ with_gnu_ld=no
+ fi
+ ;;
+ openbsd*)
+ with_gnu_ld=no
+ ;;
+ esac
+
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
+ if test "$with_gnu_ld" = yes; then
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ wlarc='${wl}'
+
+ # See if GNU ld supports shared libraries.
+ case $host_os in
+ aix3* | aix4* | aix5*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test "$host_cpu" != ia64; then
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ cat <<EOF 1>&2
+
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
+*** to be unable to reliably create shared libraries on AIX.
+*** Therefore, libtool is disabling shared libraries support. If you
+*** really care for shared libraries, you may want to modify your PATH
+*** so that a non-GNU linker is found, and then restart.
+
+EOF
+ fi
+ ;;
+
+ amigaos*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+
+ # Samuel A. Falvo II <kc5tja at dolphin.openprojects.net> reports
+ # that the semantics of dynamic libraries on AmigaOS, at least up
+ # to version 4, is to share data among multiple programs linked
+ # with the same dynamic library. Since this doesn't match the
+ # behavior of shared libraries on other platforms, we can't use
+ # them.
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+ # Joseph Beckenbach <jrb3 at best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32*)
+ # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
+ # as there is no search path for DLLs.
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=no
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
+
+ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ # If the export-symbols file already is a .def file (1st line
+ # is EXPORTS), use it as is; otherwise, prepend...
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+ solaris* | sysv5*)
+ if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ cat <<EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** create shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+EOF
+ elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ sunos4*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ wlarc=
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+
+ if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
+ runpath_var=LD_RUN_PATH
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ else
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ fi
+ else
+ # PORTME fill in a description of your system's linker (not GNU ld)
+ case $host_os in
+ aix3*)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_AC_TAGVAR(always_export_symbols, $1)=yes
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ if test "$GCC" = yes && test -z "$link_static_flag"; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
+ fi
+ ;;
+
+ aix4* | aix5*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
+ if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
+ else
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
+ fi
+
+ # KDE requires run time linking. Make it the default.
+ aix_use_runtimelinking=yes
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ _LT_AC_TAGVAR(archive_cmds, $1)=''
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+
+ if test "$GCC" = yes; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" && \
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ else
+ # We have old collect2
+ _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+ fi
+ esac
+ shared_flag='-shared'
+ else
+ # not using gcc
+ if test "$host_cpu" = ia64; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='-qmkshrobj ${wl}-G'
+ else
+ shared_flag='-qmkshrobj'
+ fi
+ fi
+ fi
+
+ # Let the compiler handle the export list.
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
+ if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
+ # Determine the default libpath from the value encoded in an empty executable.
+ _LT_AC_SYS_LIBPATH_AIX
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ _LT_AC_TAGVAR(archive_cmds, $1)="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+ else
+ if test "$host_cpu" = ia64; then
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an empty executable.
+ _LT_AC_SYS_LIBPATH_AIX
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
+ # -bexpall does not export symbols beginning with underscore (_)
+ _LT_AC_TAGVAR(always_export_symbols, $1)=yes
+ # Exported symbols can be pulled into shared objects from archives
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
+ # This is similar to how AIX traditionally builds it's shared libraries.
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ fi
+ fi
+ ;;
+
+ amigaos*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ # see comment about different semantics on the GNU ld section
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ bsdi4*)
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
+ ;;
+
+ cygwin* | mingw* | pw32*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=no
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext=".dll"
+ # FIXME: Setting linknames here is a bad hack.
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
+ # The linker will automatically build a .lib file if we build a DLL.
+ _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
+ # FIXME: Should let the user specify the lib program.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
+ fix_srcfile_path='`cygpath -w "$srcfile"`'
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ ;;
+
+ darwin* | rhapsody*)
+ if test "$GXX" = yes ; then
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ case "$host_os" in
+ rhapsody* | darwin1.[[012]])
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,suppress'
+ ;;
+ *) # Darwin 1.3 on
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ else
+ case ${MACOSX_DEPLOYMENT_TARGET} in
+ 10.[012])
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ ;;
+ 10.*)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,dynamic_lookup'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ lt_int_apple_cc_single_mod=no
+ output_verbose_link_cmd='echo'
+ if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
+ lt_int_apple_cc_single_mod=yes
+ fi
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
+ fi
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ else
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ fi
+ _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ dgux*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ freebsd1*)
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+ # support. Future versions do this automatically, but an explicit c++rt0.o
+ # does not break anything, and helps significantly (at the cost of a little
+ # extra space).
+ freebsd2.2*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+ freebsd2*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | kfreebsd*-gnu)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ hpux9*)
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ ;;
+
+ hpux10* | hpux11*)
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ ;;
+ *)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
+ ;;
+ esac
+ else
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
+ ;;
+ *)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ ;;
+ esac
+ fi
+ if test "$with_gnu_ld" = no; then
+ case "$host_cpu" in
+ hppa*64*)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+ ia64*)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ ;;
+ *)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ ;;
+ esac
+ fi
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ newsos6)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ openbsd*)
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ else
+ case $host_os in
+ openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ ;;
+ *)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ ;;
+ esac
+ fi
+ ;;
+
+ os2*)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
+ _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+ ;;
+
+ osf3*)
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ else
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
+ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
+
+ # Both c and cxx compiler support -rpath directly
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+
+ sco3.2v5*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ ;;
+
+ solaris*)
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ case $host_os in
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+ *) # Supported since Solaris 2.6 (maybe 2.5.1?)
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
+ esac
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ sunos4*)
+ if test "x$host_vendor" = xsequent; then
+ # Use $CC to link under sequent, because it throws in some extra .o
+ # files that make .init and .fini sections work.
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv4)
+ case $host_vendor in
+ sni)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
+ ;;
+ siemens)
+ ## LD is ld it makes a PLAMLIB
+ ## CC just makes a GrossModule.
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ ;;
+ motorola)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ runpath_var='LD_RUN_PATH'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv4.3*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
+ fi
+ ;;
+
+ sysv4.2uw2*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ hardcode_runpath_var=yes
+ runpath_var=LD_RUN_PATH
+ ;;
+
+ sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
+ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ fi
+ runpath_var='LD_RUN_PATH'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv5*)
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
+ # $CC -shared without GNU ld will not create a library from C++
+ # object files and a static libstdc++, better avoid it by now
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var='LD_RUN_PATH'
+ ;;
+
+ uts4*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *)
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ fi
+])
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test "$GCC" = yes; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
+x|xyes)
+ # Assume -lc should be added
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
+
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
+ case $_LT_AC_TAGVAR(archive_cmds, $1) in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ AC_MSG_CHECKING([whether -lc should be explicitly linked in])
+ $rm conftest*
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=
+ if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
+ then
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ else
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
+ fi
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $rm conftest*
+ AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
+ ;;
+ esac
+ fi
+ ;;
+esac
+])# AC_LIBTOOL_PROG_LD_SHLIBS
+
+
+# _LT_AC_FILE_LTDLL_C
+# -------------------
+# Be careful that the start marker always follows a newline.
+AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
+# /* ltdll.c starts here */
+# #define WIN32_LEAN_AND_MEAN
+# #include <windows.h>
+# #undef WIN32_LEAN_AND_MEAN
+# #include <stdio.h>
+#
+# #ifndef __CYGWIN__
+# # ifdef __CYGWIN32__
+# # define __CYGWIN__ __CYGWIN32__
+# # endif
+# #endif
+#
+# #ifdef __cplusplus
+# extern "C" {
+# #endif
+# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
+# #ifdef __cplusplus
+# }
+# #endif
+#
+# #ifdef __CYGWIN__
+# #include <cygwin/cygwin_dll.h>
+# DECLARE_CYGWIN_DLL( DllMain );
+# #endif
+# HINSTANCE __hDllInstance_base;
+#
+# BOOL APIENTRY
+# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
+# {
+# __hDllInstance_base = hInst;
+# return TRUE;
+# }
+# /* ltdll.c ends here */
+])# _LT_AC_FILE_LTDLL_C
+
+
+# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
+# ---------------------------------
+AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
+
+
+# old names
+AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
+AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
+AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
+AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
+AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
+AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
+AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
+
+# This is just to silence aclocal about the macro not being used
+ifelse([AC_DISABLE_FAST_INSTALL])
+
+AC_DEFUN([LT_AC_PROG_GCJ],
+[AC_CHECK_TOOL(GCJ, gcj, no)
+ test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
+ AC_SUBST(GCJFLAGS)
+])
+
+AC_DEFUN([LT_AC_PROG_RC],
+[AC_CHECK_TOOL(RC, windres, no)
+])
+
+############################################################
+# NOTE: This macro has been submitted for inclusion into #
+# GNU Autoconf as AC_PROG_SED. When it is available in #
+# a released version of Autoconf we should remove this #
+# macro and use it instead. #
+############################################################
+# LT_AC_PROG_SED
+# --------------
+# Check for a fully-functional sed program, that truncates
+# as few characters as possible. Prefer GNU sed if found.
+AC_DEFUN([LT_AC_PROG_SED],
+[AC_MSG_CHECKING([for a sed that does not truncate output])
+AC_CACHE_VAL(lt_cv_path_SED,
+[# Loop through the user's path and test for sed and gsed.
+# Then use that list of sed's as ones to test for truncation.
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for lt_ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
+ lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
+ fi
+ done
+ done
+done
+lt_ac_max=0
+lt_ac_count=0
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
+# along with /bin/sed that truncates output.
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
+ test ! -f $lt_ac_sed && break
+ cat /dev/null > conftest.in
+ lt_ac_count=0
+ echo $ECHO_N "0123456789$ECHO_C" >conftest.in
+ # Check for GNU sed and select it if it is found.
+ if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
+ lt_cv_path_SED=$lt_ac_sed
+ break
+ fi
+ while true; do
+ cat conftest.in conftest.in >conftest.tmp
+ mv conftest.tmp conftest.in
+ cp conftest.in conftest.nl
+ echo >>conftest.nl
+ $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
+ cmp -s conftest.out conftest.nl || break
+ # 10000 chars as input seems more than enough
+ test $lt_ac_count -gt 10 && break
+ lt_ac_count=`expr $lt_ac_count + 1`
+ if test $lt_ac_count -gt $lt_ac_max; then
+ lt_ac_max=$lt_ac_count
+ lt_cv_path_SED=$lt_ac_sed
+ fi
+ done
+done
+])
+SED=$lt_cv_path_SED
+AC_MSG_RESULT([$SED])
+])
+
+dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
+dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
+dnl also defines GSTUFF_PKG_ERRORS on error
+AC_DEFUN([PKG_CHECK_MODULES], [
+ succeeded=no
+
+ if test -z "$PKG_CONFIG"; then
+ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+ fi
+
+ if test "$PKG_CONFIG" = "no" ; then
+ echo "*** The pkg-config script could not be found. Make sure it is"
+ echo "*** in your path, or set the PKG_CONFIG environment variable"
+ echo "*** to the full path to pkg-config."
+ echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
+ else
+ PKG_CONFIG_MIN_VERSION=0.9.0
+ if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+ AC_MSG_CHECKING(for $2)
+
+ if $PKG_CONFIG --exists "$2" ; then
+ AC_MSG_RESULT(yes)
+ succeeded=yes
+
+ AC_MSG_CHECKING($1_CFLAGS)
+ $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
+ AC_MSG_RESULT($$1_CFLAGS)
+
+ AC_MSG_CHECKING($1_LIBS)
+ $1_LIBS=`$PKG_CONFIG --libs "$2"`
+ AC_MSG_RESULT($$1_LIBS)
+ else
+ $1_CFLAGS=""
+ $1_LIBS=""
+ ## If we have a custom action on failure, don't print errors, but
+ ## do set a variable so people can do so.
+ $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
+ ifelse([$4], ,echo $$1_PKG_ERRORS,)
+ fi
+
+ AC_SUBST($1_CFLAGS)
+ AC_SUBST($1_LIBS)
+ else
+ echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
+ echo "*** See http://www.freedesktop.org/software/pkgconfig"
+ fi
+ fi
+
+ if test $succeeded = yes; then
+ ifelse([$3], , :, [$3])
+ else
+ ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
+ fi
+])
+
+
Added: kde-extras/k3b/k3b/branches/upstream/current/aclocal.m4
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/aclocal.m4 (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/aclocal.m4 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,897 @@
+# generated automatically by aclocal 1.10 -*- Autoconf -*-
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+# 2005, 2006 Free Software Foundation, Inc.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# 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.
+
+m4_if(m4_PACKAGE_VERSION, [2.61],,
+[m4_fatal([this file was generated for autoconf 2.61.
+You have another version of autoconf. If you want to use that,
+you should regenerate the build system entirely.], [63])])
+
+# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_AUTOMAKE_VERSION(VERSION)
+# ----------------------------
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
+# generated from the m4 files accompanying Automake X.Y.
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.10'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version. Point them to the right macro.
+m4_if([$1], [1.10], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
+
+# _AM_AUTOCONF_VERSION(VERSION)
+# -----------------------------
+# aclocal traces this macro to find the Autoconf version.
+# This is a private macro too. Using m4_define simplifies
+# the logic in aclocal, which can simply ignore this definition.
+m4_define([_AM_AUTOCONF_VERSION], [])
+
+# AM_SET_CURRENT_AUTOMAKE_VERSION
+# -------------------------------
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
+# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
+[AM_AUTOMAKE_VERSION([1.10])dnl
+_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
+
+# Figure out how to run the assembler. -*- Autoconf -*-
+
+# Copyright (C) 2001, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 5
+
+# AM_PROG_AS
+# ----------
+AC_DEFUN([AM_PROG_AS],
+[# By default we simply use the C compiler to build assembly code.
+AC_REQUIRE([AC_PROG_CC])
+test "${CCAS+set}" = set || CCAS=$CC
+test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
+AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)])
+AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)])
+_AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES([CCAS])])dnl
+])
+
+# AM_AUX_DIR_EXPAND -*- Autoconf -*-
+
+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
+# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
+# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
+#
+# Of course, Automake must honor this variable whenever it calls a
+# tool from the auxiliary directory. The problem is that $srcdir (and
+# therefore $ac_aux_dir as well) can be either absolute or relative,
+# depending on how configure is run. This is pretty annoying, since
+# it makes $ac_aux_dir quite unusable in subdirectories: in the top
+# source directory, any form will work fine, but in subdirectories a
+# relative path needs to be adjusted first.
+#
+# $ac_aux_dir/missing
+# fails when called from a subdirectory if $ac_aux_dir is relative
+# $top_srcdir/$ac_aux_dir/missing
+# fails if $ac_aux_dir is absolute,
+# fails when called from a subdirectory in a VPATH build with
+# a relative $ac_aux_dir
+#
+# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
+# are both prefixed by $srcdir. In an in-source build this is usually
+# harmless because $srcdir is `.', but things will broke when you
+# start a VPATH build or use an absolute $srcdir.
+#
+# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
+# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
+# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
+# and then we would define $MISSING as
+# MISSING="\${SHELL} $am_aux_dir/missing"
+# This will work as long as MISSING is not called from configure, because
+# unfortunately $(top_srcdir) has no meaning in configure.
+# However there are other variables, like CC, which are often used in
+# configure, and could therefore not use this "fixed" $ac_aux_dir.
+#
+# Another solution, used here, is to always expand $ac_aux_dir to an
+# absolute PATH. The drawback is that using absolute paths prevent a
+# configured tree to be moved without reconfiguration.
+
+AC_DEFUN([AM_AUX_DIR_EXPAND],
+[dnl Rely on autoconf to set up CDPATH properly.
+AC_PREREQ([2.50])dnl
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+])
+
+# AM_CONDITIONAL -*- Autoconf -*-
+
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 8
+
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
+# -------------------------------------
+# Define a conditional.
+AC_DEFUN([AM_CONDITIONAL],
+[AC_PREREQ(2.52)dnl
+ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
+AC_SUBST([$1_TRUE])dnl
+AC_SUBST([$1_FALSE])dnl
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
+if $2; then
+ $1_TRUE=
+ $1_FALSE='#'
+else
+ $1_TRUE='#'
+ $1_FALSE=
+fi
+AC_CONFIG_COMMANDS_PRE(
+[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
+ AC_MSG_ERROR([[conditional "$1" was never defined.
+Usually this means the macro was only invoked conditionally.]])
+fi])])
+
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 9
+
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
+# written in clear, in which case automake, when reading aclocal.m4,
+# will think it sees a *use*, and therefore will trigger all it's
+# C support machinery. Also note that it means that autoscan, seeing
+# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
+
+
+# _AM_DEPENDENCIES(NAME)
+# ----------------------
+# See how the compiler implements dependency checking.
+# NAME is "CC", "CXX", "GCJ", or "OBJC".
+# We try a few techniques and use that to set a single cache variable.
+#
+# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
+# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
+# dependency, and given that the user is not expected to run this macro,
+# just rely on AC_PROG_CC.
+AC_DEFUN([_AM_DEPENDENCIES],
+[AC_REQUIRE([AM_SET_DEPDIR])dnl
+AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
+AC_REQUIRE([AM_MAKE_INCLUDE])dnl
+AC_REQUIRE([AM_DEP_TRACK])dnl
+
+ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
+ [$1], CXX, [depcc="$CXX" am_compiler_list=],
+ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+ [$1], UPC, [depcc="$UPC" am_compiler_list=],
+ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
+ [depcc="$$1" am_compiler_list=])
+
+AC_CACHE_CHECK([dependency style of $depcc],
+ [am_cv_$1_dependencies_compiler_type],
+[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named `D' -- because `-MD' means `put the output
+ # in D'.
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_$1_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
+ fi
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+ # Solaris 8's {/usr,}/bin/sh.
+ touch sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ case $depmode in
+ nosideeffect)
+ # after this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ none) break ;;
+ esac
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle `-M -o', and we need to detect this.
+ if depmode=$depmode \
+ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_$1_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_$1_dependencies_compiler_type=none
+fi
+])
+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
+AM_CONDITIONAL([am__fastdep$1], [
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
+])
+
+
+# AM_SET_DEPDIR
+# -------------
+# Choose a directory name for dependency files.
+# This macro is AC_REQUIREd in _AM_DEPENDENCIES
+AC_DEFUN([AM_SET_DEPDIR],
+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
+])
+
+
+# AM_DEP_TRACK
+# ------------
+AC_DEFUN([AM_DEP_TRACK],
+[AC_ARG_ENABLE(dependency-tracking,
+[ --disable-dependency-tracking speeds up one-time build
+ --enable-dependency-tracking do not reject slow dependency extractors])
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+fi
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
+AC_SUBST([AMDEPBACKSLASH])dnl
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
+])
+
+# Generate code to set up dependency tracking. -*- Autoconf -*-
+
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+#serial 3
+
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
+# ------------------------------
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
+[for mf in $CONFIG_FILES; do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named `Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
+ dirpart=`AS_DIRNAME("$mf")`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running `make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # When using ansi2knr, U may be empty or an underscore; expand it
+ U=`sed -n 's/^U = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`AS_DIRNAME(["$file"])`
+ AS_MKDIR_P([$dirpart/$fdir])
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+done
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
+
+
+# AM_OUTPUT_DEPENDENCY_COMMANDS
+# -----------------------------
+# This macro should only be invoked once -- use via AC_REQUIRE.
+#
+# This code is only required when automatic dependency tracking
+# is enabled. FIXME. This creates each `.P' file that we will
+# need in order to bootstrap the dependency handling code.
+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
+[AC_CONFIG_COMMANDS([depfiles],
+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
+])
+
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 8
+
+# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
+AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
+
+# Do all the work for Automake. -*- Autoconf -*-
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+# 2005, 2006 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 12
+
+# This macro actually does too much. Some checks are only needed if
+# your package does certain things. But this isn't really a big deal.
+
+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
+# AM_INIT_AUTOMAKE([OPTIONS])
+# -----------------------------------------------
+# The call with PACKAGE and VERSION arguments is the old style
+# call (pre autoconf-2.50), which is being phased out. PACKAGE
+# and VERSION should now be passed to AC_INIT and removed from
+# the call to AM_INIT_AUTOMAKE.
+# We support both call styles for the transition. After
+# the next Automake release, Autoconf can make the AC_INIT
+# arguments mandatory, and then we can depend on a new Autoconf
+# release and drop the old call support.
+AC_DEFUN([AM_INIT_AUTOMAKE],
+[AC_PREREQ([2.60])dnl
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
+dnl the ones we care about.
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
+AC_REQUIRE([AC_PROG_INSTALL])dnl
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+AC_SUBST([CYGPATH_W])
+
+# Define the identity of the package.
+dnl Distinguish between old-style and new-style calls.
+m4_ifval([$2],
+[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
+ AC_SUBST([PACKAGE], [$1])dnl
+ AC_SUBST([VERSION], [$2])],
+[_AM_SET_OPTIONS([$1])dnl
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
+
+_AM_IF_OPTION([no-define],,
+[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
+
+# Some tools Automake needs.
+AC_REQUIRE([AM_SANITY_CHECK])dnl
+AC_REQUIRE([AC_ARG_PROGRAM])dnl
+AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
+AM_MISSING_PROG(AUTOCONF, autoconf)
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
+AM_MISSING_PROG(AUTOHEADER, autoheader)
+AM_MISSING_PROG(MAKEINFO, makeinfo)
+AM_PROG_INSTALL_SH
+AM_PROG_INSTALL_STRIP
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+AC_REQUIRE([AC_PROG_AWK])dnl
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+ [_AM_PROG_TAR([v7])])])
+_AM_IF_OPTION([no-dependencies],,
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
+ [_AM_DEPENDENCIES(CC)],
+ [define([AC_PROG_CC],
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [_AM_DEPENDENCIES(CXX)],
+ [define([AC_PROG_CXX],
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES(OBJC)],
+ [define([AC_PROG_OBJC],
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
+])
+])
+
+
+# When config.status generates a header, we must update the stamp-h file.
+# This file resides in the same directory as the config header
+# that is generated. The stamp files are numbered to have different names.
+
+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
+# loop where config.status creates the headers, so we can generate
+# our stamp files there.
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
+[# Compute $1's index in $config_headers.
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $1 | $1:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
+
+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_SH
+# ------------------
+# Define $install_sh.
+AC_DEFUN([AM_PROG_INSTALL_SH],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
+AC_SUBST(install_sh)])
+
+# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 2
+
+# Check whether the underlying file-system supports filenames
+# with a leading dot. For instance MS-DOS doesn't.
+AC_DEFUN([AM_SET_LEADING_DOT],
+[rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+AC_SUBST([am__leading_dot])])
+
+# Check to see how 'make' treats includes. -*- Autoconf -*-
+
+# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 3
+
+# AM_MAKE_INCLUDE()
+# -----------------
+# Check to see how make treats includes.
+AC_DEFUN([AM_MAKE_INCLUDE],
+[am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo done
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+AC_MSG_CHECKING([for style of include used by $am_make])
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# We grep out `Entering directory' and `Leaving directory'
+# messages which can occur if `w' ends up in MAKEFLAGS.
+# In particular we don't look at `^make:' because GNU make might
+# be invoked under some other name (usually "gmake"), in which
+# case it prints its new name instead of `make'.
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
+ am__include=include
+ am__quote=
+ _am_result=GNU
+fi
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ fi
+fi
+AC_SUBST([am__include])
+AC_SUBST([am__quote])
+AC_MSG_RESULT([$_am_result])
+rm -f confinc confmf
+])
+
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
+
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 5
+
+# AM_MISSING_PROG(NAME, PROGRAM)
+# ------------------------------
+AC_DEFUN([AM_MISSING_PROG],
+[AC_REQUIRE([AM_MISSING_HAS_RUN])
+$1=${$1-"${am_missing_run}$2"}
+AC_SUBST($1)])
+
+
+# AM_MISSING_HAS_RUN
+# ------------------
+# Define MISSING if not defined so far and test if it supports --run.
+# If it does, set am_missing_run to use it, otherwise, to nothing.
+AC_DEFUN([AM_MISSING_HAS_RUN],
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+AC_REQUIRE_AUX_FILE([missing])dnl
+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
+# Use eval to expand $SHELL
+if eval "$MISSING --run true"; then
+ am_missing_run="$MISSING --run "
+else
+ am_missing_run=
+ AC_MSG_WARN([`missing' script is too old or missing])
+fi
+])
+
+# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_MKDIR_P
+# ---------------
+# Check for `mkdir -p'.
+AC_DEFUN([AM_PROG_MKDIR_P],
+[AC_PREREQ([2.60])dnl
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
+dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
+dnl while keeping a definition of mkdir_p for backward compatibility.
+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
+dnl Makefile.ins that do not define MKDIR_P, so we do our own
+dnl adjustment using top_builddir (which is defined more often than
+dnl MKDIR_P).
+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
+case $mkdir_p in
+ [[\\/$]]* | ?:[[\\/]]*) ;;
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
+esac
+])
+
+# Helper functions for option handling. -*- Autoconf -*-
+
+# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 3
+
+# _AM_MANGLE_OPTION(NAME)
+# -----------------------
+AC_DEFUN([_AM_MANGLE_OPTION],
+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
+
+# _AM_SET_OPTION(NAME)
+# ------------------------------
+# Set option NAME. Presently that only means defining a flag for this option.
+AC_DEFUN([_AM_SET_OPTION],
+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
+
+# _AM_SET_OPTIONS(OPTIONS)
+# ----------------------------------
+# OPTIONS is a space-separated list of Automake options.
+AC_DEFUN([_AM_SET_OPTIONS],
+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
+# -------------------------------------------
+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
+AC_DEFUN([_AM_IF_OPTION],
+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
+
+# Check to make sure that the build environment is sane. -*- Autoconf -*-
+
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 4
+
+# AM_SANITY_CHECK
+# ---------------
+AC_DEFUN([AM_SANITY_CHECK],
+[AC_MSG_CHECKING([whether build environment is sane])
+# Just in case
+sleep 1
+echo timestamp > conftest.file
+# Do `set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
+ if test "$[*]" = "X"; then
+ # -L didn't work.
+ set X `ls -t $srcdir/configure conftest.file`
+ fi
+ rm -f conftest.file
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
+alias in your environment])
+ fi
+
+ test "$[2]" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+AC_MSG_RESULT(yes)])
+
+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# AM_PROG_INSTALL_STRIP
+# ---------------------
+# One issue with vendor `install' (even GNU) is that you can't
+# specify the program used to strip binaries. This is especially
+# annoying in cross-compiling environments, where the build's strip
+# is unlikely to handle the host's binaries.
+# Fortunately install-sh will honor a STRIPPROG variable, so we
+# always use install-sh in `make install-strip', and initialize
+# STRIPPROG with the value of the STRIP variable (set by the user).
+AC_DEFUN([AM_PROG_INSTALL_STRIP],
+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+# Installed binaries are usually stripped using `strip' when the user
+# run `make install-strip'. However `strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the `STRIP' environment variable to overrule this program.
+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
+if test "$cross_compiling" != no; then
+ AC_CHECK_TOOL([STRIP], [strip], :)
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
+
+# Copyright (C) 2006 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# _AM_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
+# This macro is traced by Automake.
+AC_DEFUN([_AM_SUBST_NOTMAKE])
+
+# Check how to create a tarball. -*- Autoconf -*-
+
+# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 2
+
+# _AM_PROG_TAR(FORMAT)
+# --------------------
+# Check how to create a tarball in format FORMAT.
+# FORMAT should be one of `v7', `ustar', or `pax'.
+#
+# Substitute a variable $(am__tar) that is a command
+# writing to stdout a FORMAT-tarball containing the directory
+# $tardir.
+# tardir=directory && $(am__tar) > result.tar
+#
+# Substitute a variable $(am__untar) that extract such
+# a tarball read from stdin.
+# $(am__untar) < result.tar
+AC_DEFUN([_AM_PROG_TAR],
+[# Always define AMTAR for backward compatibility.
+AM_MISSING_PROG([AMTAR], [tar])
+m4_if([$1], [v7],
+ [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
+ [m4_case([$1], [ustar],, [pax],,
+ [m4_fatal([Unknown tar format])])
+AC_MSG_CHECKING([how to create a $1 tar archive])
+# Loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
+_am_tools=${am_cv_prog_tar_$1-$_am_tools}
+# Do not fold the above two line into one, because Tru64 sh and
+# Solaris sh will not grok spaces in the rhs of `-'.
+for _am_tool in $_am_tools
+do
+ case $_am_tool in
+ gnutar)
+ for _am_tar in tar gnutar gtar;
+ do
+ AM_RUN_LOG([$_am_tar --version]) && break
+ done
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
+ am__untar="$_am_tar -xf -"
+ ;;
+ plaintar)
+ # Must skip GNU tar: if it does not support --format= it doesn't create
+ # ustar tarball either.
+ (tar --version) >/dev/null 2>&1 && continue
+ am__tar='tar chf - "$$tardir"'
+ am__tar_='tar chf - "$tardir"'
+ am__untar='tar xf -'
+ ;;
+ pax)
+ am__tar='pax -L -x $1 -w "$$tardir"'
+ am__tar_='pax -L -x $1 -w "$tardir"'
+ am__untar='pax -r'
+ ;;
+ cpio)
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+ am__untar='cpio -i -H $1 -d'
+ ;;
+ none)
+ am__tar=false
+ am__tar_=false
+ am__untar=false
+ ;;
+ esac
+
+ # If the value was cached, stop now. We just wanted to have am__tar
+ # and am__untar set.
+ test -n "${am_cv_prog_tar_$1}" && break
+
+ # tar/untar a dummy directory, and stop if the command works
+ rm -rf conftest.dir
+ mkdir conftest.dir
+ echo GrepMe > conftest.dir/file
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
+ rm -rf conftest.dir
+ if test -s conftest.tar; then
+ AM_RUN_LOG([$am__untar <conftest.tar])
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
+ fi
+done
+rm -rf conftest.dir
+
+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
+AC_MSG_RESULT([$am_cv_prog_tar_$1])])
+AC_SUBST([am__tar])
+AC_SUBST([am__untar])
+]) # _AM_PROG_TAR
+
+m4_include([acinclude.m4])
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/Doxyfile.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/Doxyfile.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/Doxyfile.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,102 @@
+## generate API documentation with doxygen
+apidox-am-yes:
+ @if test \! -d "$(top_srcdir)/doc/common/" && test -z "$$DOXDATA" ; then \
+ export DOXDATA=$(kde_libs_htmldir)/en/common ; \
+ fi ; \
+ abs_top_srcdir=`cd $(top_srcdir) && pwd` ;\
+ test -d $(top_builddir)/apidocs || \
+ ( cd $(top_builddir) && sh $$abs_top_srcdir/admin/doxygen.sh \
+ --no-modulename --installdir=$(kde_libs_htmldir)/en \
+ --no-recurse $(abs_top_srcdir) . ) ; \
+ cd $(top_builddir) && sh $$abs_top_srcdir/admin/doxygen.sh \
+ --recurse --no-modulename --installdir=$(kde_libs_htmldir)/en \
+ $$abs_top_srcdir $(subdir)
+
+apidox-am-toplevel-yes:
+ @if test \! -d "$(top_srcdir)/doc/common/" && test -z "$$ADMIN" ; then \
+ export DOXDATA=$(kde_libs_htmldir)/en/common ; \
+ fi ; \
+ abs_top_srcdir=`cd $(top_srcdir) && pwd` ;\
+ cd $(top_builddir) && sh $$abs_top_srcdir/admin/doxygen.sh \
+ --no-modulename --installdir=$(kde_libs_htmldir)/en \
+ $$abs_top_srcdir
+
+## Don't generate API documentation without doxygen
+apidox-am-no:
+
+apidox-am-toplevel-no:
+
+
+apidox:
+ @if test "$(subdir)" != "."; then \
+ $(MAKE) apidox-am- at KDE_HAS_DOXYGEN@ ;\
+ else \
+ $(MAKE) apidox-am-toplevel- at KDE_HAS_DOXYGEN@ ;\
+ fi
+
+
+
+install-data-local: install-apidox
+
+## install API documentation
+install-apidox:
+ @if test "$(subdir)" != "."; then \
+ $(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html ; \
+ if test -f $(top_builddir)/apidocs/$(subdir)/$(subdir).tag; then \
+ echo $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
+ $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
+ fi; \
+ if test -d $(top_builddir)/apidocs/$(subdir)/html; then \
+ list=`ls $(top_builddir)/apidocs/$(subdir)/html`; \
+ echo "installing $(top_builddir)/apidocs/$(subdir)/html" ;\
+ for file in $$list; do \
+ $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/html/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html; \
+ done; \
+ fi; \
+ else\
+ if test -d $(top_builddir)/apidocs; then \
+ $(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs ;\
+ list=`cd $(top_builddir)/apidocs && ls -1`; \
+ echo "installing $(top_builddir)/apidocs/$$file" ;\
+ echo "target directory $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs" ; \
+ for file in $$list; do \
+ if test -f $(top_builddir)/apidocs/$$file; then \
+ $(INSTALL_DATA) $(top_builddir)/apidocs/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
+ fi; \
+ done ; fi; \
+ fi
+
+uninstall-local: uninstall-apidox
+
+## uninstall API documentation
+uninstall-apidox:
+ @if test "$(subdir)" != "."; then \
+ if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); then \
+ rm -rfv $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
+ fi \
+ else \
+ if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; then \
+ rm -rfv $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
+ fi \
+ fi
+
+install-apidox-recurse: install-apidox
+ @set fnord $(MAKEFLAGS); amf=$$2; if test -n '$(SUBDIRS)'; then \
+ list='$(SUBDIRS)'; \
+ for subdir in $$list; do \
+ if grep '^include .*Doxyfile.am' $(srcdir)/$$subdir/Makefile.am > /dev/null ; then \
+ echo "Installing apidox from $$subdir"; \
+ if test "$$subdir" != "."; then \
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) GENERATE_FLAG=no install-apidox-recurse) || exit 1; \
+ fi ; fi ;\
+ done; \
+ fi
+
+
+
+.PHONY: apidox-am-yes apidox-am-no install-data-local install-apidox install-apidox uninstall-local uninstall-apidox uninstall-apidox apidox apidox-am-toplevel-no apidox-am-toplevel-yes
+
+
+# Local Variables:
+# mode: makefile
+# End:
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/Doxyfile.global
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/Doxyfile.global (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/Doxyfile.global 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,192 @@
+OUTPUT_LANGUAGE = English
+USE_WINDOWS_ENCODING = NO
+BRIEF_MEMBER_DESC = NO
+REPEAT_BRIEF = YES
+ABBREVIATE_BRIEF =
+ALWAYS_DETAILED_SEC = YES
+INLINE_INHERITED_MEMB = NO
+FULL_PATH_NAMES = NO
+STRIP_FROM_PATH =
+SHORT_NAMES = NO
+JAVADOC_AUTOBRIEF = YES
+MULTILINE_CPP_IS_BRIEF = NO
+INHERIT_DOCS = YES
+DISTRIBUTE_GROUP_DOC = NO
+TAB_SIZE = 4
+OPTIMIZE_OUTPUT_FOR_C = NO
+OPTIMIZE_OUTPUT_JAVA = NO
+SUBGROUPING = YES
+EXTRACT_ALL = NO
+EXTRACT_PRIVATE = NO
+EXTRACT_STATIC = YES
+EXTRACT_LOCAL_CLASSES = NO
+HIDE_UNDOC_MEMBERS = NO
+HIDE_UNDOC_CLASSES = YES
+HIDE_FRIEND_COMPOUNDS = NO
+HIDE_IN_BODY_DOCS = NO
+INTERNAL_DOCS = NO
+CASE_SENSE_NAMES = YES
+HIDE_SCOPE_NAMES = NO
+SHOW_INCLUDE_FILES = YES
+INLINE_INFO = YES
+SORT_BRIEF_DOCS = NO
+SORT_BY_SCOPE_NAME = NO
+GENERATE_TESTLIST = NO
+GENERATE_BUGLIST = YES
+GENERATE_DEPRECATEDLIST= YES
+ENABLED_SECTIONS =
+MAX_INITIALIZER_LINES = 30
+SHOW_USED_FILES = YES
+QUIET = YES
+WARNINGS = NO
+WARN_IF_UNDOCUMENTED = NO
+WARN_IF_DOC_ERROR = YES
+WARN_FORMAT =
+WARN_LOGFILE =
+INPUT =
+FILE_PATTERNS = *.h \
+ *.cpp \
+ *.cc \
+ *.hpp \
+ *.dox \
+ *.c++ \
+ *.cxx \
+ *.h++ \
+ *.hh
+RECURSIVE = YES
+EXCLUDE =
+EXCLUDE_SYMLINKS = NO
+EXCLUDE_PATTERNS = *.moc.* \
+ moc* \
+ *.all_cpp.* \
+ *unload.* \
+ */test/* \
+ */tests/* \
+ *_p.h
+EXAMPLE_PATH =
+EXAMPLE_PATTERNS =
+EXAMPLE_RECURSIVE = NO
+IMAGE_PATH =
+INPUT_FILTER =
+FILTER_SOURCE_FILES = NO
+SOURCE_BROWSER = YES
+INLINE_SOURCES = NO
+STRIP_CODE_COMMENTS = YES
+REFERENCED_BY_RELATION = YES
+REFERENCES_RELATION = YES
+VERBATIM_HEADERS = YES
+ALPHABETICAL_INDEX = YES
+COLS_IN_ALPHA_INDEX = 3
+HTML_OUTPUT =
+HTML_FILE_EXTENSION = .html
+HTML_HEADER = ../apidocs/common/header.html
+HTML_FOOTER = ../apidocs/common/footer.html
+HTML_STYLESHEET = ../apidocs/common/doxygen.css
+HTML_ALIGN_MEMBERS = YES
+GENERATE_HTMLHELP = NO
+CHM_FILE =
+HHC_LOCATION =
+GENERATE_CHI = NO
+BINARY_TOC = NO
+TOC_EXPAND = NO
+DISABLE_INDEX = YES
+ENUM_VALUES_PER_LINE = 4
+GENERATE_TREEVIEW = NO
+TREEVIEW_WIDTH = 250
+GENERATE_LATEX = NO
+LATEX_OUTPUT =
+LATEX_CMD_NAME = latex
+MAKEINDEX_CMD_NAME = makeindex
+COMPACT_LATEX = NO
+PAPER_TYPE = a4wide
+EXTRA_PACKAGES =
+LATEX_HEADER =
+PDF_HYPERLINKS = NO
+USE_PDFLATEX = NO
+LATEX_BATCHMODE = NO
+LATEX_HIDE_INDICES = NO
+GENERATE_RTF = NO
+RTF_OUTPUT =
+COMPACT_RTF = NO
+RTF_HYPERLINKS = NO
+RTF_STYLESHEET_FILE =
+RTF_EXTENSIONS_FILE =
+GENERATE_MAN = NO
+MAN_OUTPUT =
+MAN_EXTENSION = .kde3
+MAN_LINKS = YES
+GENERATE_XML = NO
+XML_OUTPUT = xml
+XML_SCHEMA =
+XML_DTD =
+XML_PROGRAMLISTING = NO
+GENERATE_AUTOGEN_DEF = NO
+GENERATE_PERLMOD = NO
+PERLMOD_LATEX = NO
+PERLMOD_PRETTY = YES
+PERLMOD_MAKEVAR_PREFIX =
+ENABLE_PREPROCESSING = YES
+SEARCH_INCLUDES = YES
+INCLUDE_PATH =
+INCLUDE_FILE_PATTERNS =
+PREDEFINED = QT_VERSION=320 \
+ __cplusplus \
+ Q_WS_X11
+EXPAND_AS_DEFINED =
+SKIP_FUNCTION_MACROS = YES
+TAGFILES =
+GENERATE_TAGFILE =
+ALLEXTERNALS = NO
+EXTERNAL_GROUPS = NO
+PERL_PATH =
+CLASS_DIAGRAMS = YES
+HIDE_UNDOC_RELATIONS = NO
+HAVE_DOT = NO
+UML_LOOK = NO
+TEMPLATE_RELATIONS = YES
+INCLUDE_GRAPH = YES
+INCLUDED_BY_GRAPH = YES
+CALL_GRAPH = NO
+GRAPHICAL_HIERARCHY = YES
+DOT_IMAGE_FORMAT = png
+DOT_PATH =
+DOTFILE_DIRS =
+MAX_DOT_GRAPH_WIDTH = 800
+MAX_DOT_GRAPH_HEIGHT = 1024
+MAX_DOT_GRAPH_DEPTH = 0
+GENERATE_LEGEND = YES
+DOT_CLEANUP = YES
+SEARCHENGINE = NO
+
+### KDE Settings
+ALIASES = \
+ "intern=\par<b>Internal use only.</b>" \
+ "reimp=\par<b>Reimplemented from superclass.</b>" \
+ "obsolete=@deprecated" \
+ "feature=\xrefitem features \"Feature(s)\" \"Features\"" \
+ "maintainer=\xrefitem maintainers \"Maintainer(s)\" \"Maintainers\"" \
+ "unmaintained=\xrefitem unmaintained \"Unmaintained\" \"Unmaintained\"" \
+ "requirement=\xrefitem requirements \"Requirement(s)\" \"Requirements\"" \
+ "faq=\xrefitem FAQ \"F.A.Q.\" \"F.A.Q.\"" \
+ "authors=\xrefitem authors \"Author(s)\" \"Authors\"" \
+ "FIXME=\xrefitem fixme \"Fixme\" \"Fixme\""
+
+HTML_ALIGN_MEMBERS = YES
+REFERENCED_BY_RELATION = NO
+REFERENCES_RELATION = NO
+VERBATIM_HEADERS = NO
+GENERATE_HTML = YES
+SOURCE_BROWSER = YES
+GENERATE_AUTOGEN_DEF = NO
+DETAILS_AT_TOP = YES
+SORT_MEMBER_DOCS = YES
+GENERATE_TODOLIST = YES
+IGNORE_PREFIX = K
+GENERATE_HTML = YES
+CLASS_GRAPH = YES
+COLLABORATION_GRAPH = NO
+
+
+MACRO_EXPANSION = YES
+EXPAND_ONLY_PREDEF = YES
+
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/admin/Doxyfile.global
___________________________________________________________________
Name: svn:executable
+
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/Makefile.common
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/Makefile.common (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/Makefile.common 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,37 @@
+### 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 configure configure.in configure.files subdirs package-messages package-merge Makefile.am acinclude.m4 extract-messages:
+ @admindir=$(admindir); \
+ if test "x$$admindir" = x; then \
+ admindir=.; until test -f $$admindir/admin/cvs.sh; do \
+ admindir=$$admindir/..; \
+ if test `cd $$admindir && pwd` = / ; then break; fi; \
+ done; \
+ admindir=$$admindir/admin; \
+ if test -f $$admindir/cvs.sh; then :; else \
+ echo "Can't find the admin/ directory in any parent of the"; \
+ echo "current directory. Please set it with admindir=..."; \
+ exit 1; \
+ fi; \
+ fi; \
+ if test "$@" = "package-merge"; then \
+ MAKE="$(MAKE)" POFILES="$(POFILES)" PACKAGE="$(PACKAGE)" \
+ $(SHELL) $$admindir/cvs.sh package-merge ;\
+ else \
+ MAKE="$(MAKE)" $(SHELL) $$admindir/cvs.sh $@ ;\
+ fi
+
+configure.in: configure.files subdirs
+configure.files: subdirs
+
+svn: cvs
+
+.SILENT:
+
+.PHONY: svn cvs dist package-merge package-messages
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/acinclude.m4.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/acinclude.m4.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/acinclude.m4.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,5973 @@
+## -*- autoconf -*-
+
+dnl This file is part of the KDE libraries/packages
+dnl Copyright (C) 1997 Janos Farkas (chexum at shadow.banki.hu)
+dnl (C) 1997,98,99 Stephan Kulow (coolo at 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., 51 Franklin Street, Fifth Floor,
+dnl Boston, MA 02110-1301, USA.
+
+dnl IMPORTANT NOTE:
+dnl Please do not modify this file unless you expect your modifications to be
+dnl carried into every other module in the repository.
+dnl
+dnl Single-module modifications are best placed in configure.in for kdelibs
+dnl and kdebase or configure.in.in if present.
+
+# KDE_PATH_X_DIRECT
+dnl Internal subroutine of AC_PATH_X.
+dnl Set ac_x_includes and/or ac_x_libraries.
+AC_DEFUN([KDE_PATH_X_DIRECT],
+[
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+if test "$ac_x_includes" = NO; then
+ # Guess where to find include files, by looking for this one X11 .h file.
+ test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
+
+ # First, try using that file with no special directory specified.
+AC_TRY_CPP([#include <$x_direct_test_include>],
+[# We can compile using X headers with no special include directory.
+ac_x_includes=],
+[# Look for the header file in a standard set of common directories.
+# Check X11 before X11Rn because it is often a symlink to the current release.
+ for ac_dir in \
+ /usr/X11/include \
+ /usr/X11R6/include \
+ /usr/X11R5/include \
+ /usr/X11R4/include \
+ \
+ /usr/include/X11 \
+ /usr/include/X11R6 \
+ /usr/include/X11R5 \
+ /usr/include/X11R4 \
+ \
+ /usr/local/X11/include \
+ /usr/local/X11R6/include \
+ /usr/local/X11R5/include \
+ /usr/local/X11R4/include \
+ \
+ /usr/local/include/X11 \
+ /usr/local/include/X11R6 \
+ /usr/local/include/X11R5 \
+ /usr/local/include/X11R4 \
+ \
+ /usr/X386/include \
+ /usr/x386/include \
+ /usr/XFree86/include/X11 \
+ \
+ /usr/include \
+ /usr/local/include \
+ /usr/unsupported/include \
+ /usr/athena/include \
+ /usr/local/x11r5/include \
+ /usr/lpp/Xamples/include \
+ \
+ /usr/openwin/include \
+ /usr/openwin/share/include \
+ ; \
+ do
+ if test -r "$ac_dir/$x_direct_test_include"; then
+ ac_x_includes=$ac_dir
+ break
+ fi
+ done])
+fi # $ac_x_includes = NO
+
+if test "$ac_x_libraries" = NO; then
+ # Check for the libraries.
+
+ test -z "$x_direct_test_library" && x_direct_test_library=Xt
+ test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
+
+ # See if we find them without any special options.
+ # Don't add to $LIBS permanently.
+ ac_save_LIBS="$LIBS"
+ LIBS="-l$x_direct_test_library $LIBS"
+AC_TRY_LINK([#include <X11/Intrinsic.h>], [${x_direct_test_function}(1)],
+[LIBS="$ac_save_LIBS"
+# We can link X programs with no special library path.
+ac_x_libraries=],
+[LIBS="$ac_save_LIBS"
+# First see if replacing the include by lib works.
+# Check X11 before X11Rn because it is often a symlink to the current release.
+for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
+ /usr/X11/lib${kdelibsuff} \
+ /usr/X11R6/lib${kdelibsuff} \
+ /usr/X11R5/lib${kdelibsuff} \
+ /usr/X11R4/lib${kdelibsuff} \
+ \
+ /usr/lib${kdelibsuff}/X11 \
+ /usr/lib${kdelibsuff}/X11R6 \
+ /usr/lib${kdelibsuff}/X11R5 \
+ /usr/lib${kdelibsuff}/X11R4 \
+ \
+ /usr/local/X11/lib${kdelibsuff} \
+ /usr/local/X11R6/lib${kdelibsuff} \
+ /usr/local/X11R5/lib${kdelibsuff} \
+ /usr/local/X11R4/lib${kdelibsuff} \
+ \
+ /usr/local/lib${kdelibsuff}/X11 \
+ /usr/local/lib${kdelibsuff}/X11R6 \
+ /usr/local/lib${kdelibsuff}/X11R5 \
+ /usr/local/lib${kdelibsuff}/X11R4 \
+ \
+ /usr/X386/lib${kdelibsuff} \
+ /usr/x386/lib${kdelibsuff} \
+ /usr/XFree86/lib${kdelibsuff}/X11 \
+ \
+ /usr/lib${kdelibsuff} \
+ /usr/local/lib${kdelibsuff} \
+ /usr/unsupported/lib${kdelibsuff} \
+ /usr/athena/lib${kdelibsuff} \
+ /usr/local/x11r5/lib${kdelibsuff} \
+ /usr/lpp/Xamples/lib${kdelibsuff} \
+ /lib/usr/lib${kdelibsuff}/X11 \
+ \
+ /usr/openwin/lib${kdelibsuff} \
+ /usr/openwin/share/lib${kdelibsuff} \
+ ; \
+do
+dnl Don't even attempt the hair of trying to link an X program!
+ for ac_extension in a so sl; do
+ if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
+ ac_x_libraries=$ac_dir
+ break 2
+ fi
+ done
+done])
+fi # $ac_x_libraries = NO
+])
+
+
+dnl ------------------------------------------------------------------------
+dnl Find a file (or one of more files in a list of dirs)
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN([AC_FIND_FILE],
+[
+$3=NO
+for i in $2;
+do
+ for j in $1;
+ do
+ echo "configure: __oline__: $i/$j" >&AC_FD_CC
+ if test -r "$i/$j"; then
+ echo "taking that" >&AC_FD_CC
+ $3=$i
+ break 2
+ fi
+ done
+done
+])
+
+dnl KDE_FIND_PATH(program-name, variable-name, list-of-dirs,
+dnl if-not-found, test-parameter, prepend-path)
+dnl
+dnl Look for program-name in list-of-dirs+$PATH.
+dnl If prepend-path is set, look in $PATH+list-of-dirs instead.
+dnl If found, $variable-name is set. If not, if-not-found is evaluated.
+dnl test-parameter: if set, the program is executed with this arg,
+dnl and only a successful exit code is required.
+AC_DEFUN([KDE_FIND_PATH],
+[
+ AC_MSG_CHECKING([for $1])
+ if test -n "$$2"; then
+ kde_cv_path="$$2";
+ else
+ kde_cache=`echo $1 | sed 'y%./+-%__p_%'`
+
+ AC_CACHE_VAL(kde_cv_path_$kde_cache,
+ [
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ dirs=""
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ if test -z "$6"; then dnl Append dirs in PATH (default)
+ dirs="$3 $dirs"
+ else dnl Prepend dirs in PATH (if 6th arg is set)
+ dirs="$dirs $3"
+ fi
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/$1"; then
+ if test -n "$5"
+ then
+ evalstr="$dir/$1 $5 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/$1"
+ break
+ fi
+ else
+ kde_cv_path="$dir/$1"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+ ])
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ AC_MSG_RESULT(not found)
+ $4
+ else
+ AC_MSG_RESULT($kde_cv_path)
+ $2=$kde_cv_path
+
+ fi
+])
+
+AC_DEFUN([KDE_MOC_ERROR_MESSAGE],
+[
+ AC_MSG_ERROR([No Qt meta object compiler (moc) found!
+Please check whether you installed Qt correctly.
+You need to have a running moc binary.
+configure tried to run $ac_cv_path_moc and the test didn't
+succeed. If configure shouldn't have tried this one, set
+the environment variable MOC to the right one before running
+configure.
+])
+])
+
+AC_DEFUN([KDE_UIC_ERROR_MESSAGE],
+[
+ AC_MSG_WARN([No Qt ui compiler (uic) found!
+Please check whether you installed Qt correctly.
+You need to have a running uic binary.
+configure tried to run $ac_cv_path_uic and the test didn't
+succeed. If configure shouldn't have tried this one, set
+the environment variable UIC to the right one before running
+configure.
+])
+])
+
+
+AC_DEFUN([KDE_CHECK_UIC_FLAG],
+[
+ AC_MSG_CHECKING([whether uic supports -$1 ])
+ kde_cache=`echo $1 | sed 'y% .=/+-%____p_%'`
+ AC_CACHE_VAL(kde_cv_prog_uic_$kde_cache,
+ [
+ cat >conftest.ui <<EOT
+ <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
+EOT
+ ac_uic_testrun="$UIC_PATH -$1 $2 conftest.ui >/dev/null"
+ if AC_TRY_EVAL(ac_uic_testrun); then
+ eval "kde_cv_prog_uic_$kde_cache=yes"
+ else
+ eval "kde_cv_prog_uic_$kde_cache=no"
+ fi
+ rm -f conftest*
+ ])
+
+ if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
+ AC_MSG_RESULT([yes])
+ :
+ $3
+ else
+ AC_MSG_RESULT([no])
+ :
+ $4
+ fi
+])
+
+
+dnl ------------------------------------------------------------------------
+dnl Find the meta object compiler and the ui compiler in the PATH,
+dnl in $QTDIR/bin, and some more usual places
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN([AC_PATH_QT_MOC_UIC],
+[
+ AC_REQUIRE([KDE_CHECK_PERL])
+ qt_bindirs=""
+ for dir in $kde_qt_dirs; do
+ qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
+ done
+ qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
+ if test ! "$ac_qt_bindir" = "NO"; then
+ qt_bindirs="$ac_qt_bindir $qt_bindirs"
+ fi
+
+ KDE_FIND_PATH(moc, MOC, [$qt_bindirs], [KDE_MOC_ERROR_MESSAGE])
+ if test -z "$UIC_NOT_NEEDED"; then
+ KDE_FIND_PATH(uic, UIC_PATH, [$qt_bindirs], [UIC_PATH=""])
+ if test -z "$UIC_PATH" ; then
+ KDE_UIC_ERROR_MESSAGE
+ exit 1
+ else
+ UIC=$UIC_PATH
+
+ if test $kde_qtver = 3; then
+ KDE_CHECK_UIC_FLAG(L,[/nonexistent],ac_uic_supports_libpath=yes,ac_uic_supports_libpath=no)
+ KDE_CHECK_UIC_FLAG(nounload,,ac_uic_supports_nounload=yes,ac_uic_supports_nounload=no)
+
+ if test x$ac_uic_supports_libpath = xyes; then
+ UIC="$UIC -L \$(kde_widgetdir)"
+ fi
+ if test x$ac_uic_supports_nounload = xyes; then
+ UIC="$UIC -nounload"
+ fi
+ fi
+ fi
+ else
+ UIC="echo uic not available: "
+ fi
+
+ AC_SUBST(MOC)
+ AC_SUBST(UIC)
+
+ UIC_TR="i18n"
+ if test $kde_qtver = 3; then
+ UIC_TR="tr2i18n"
+ fi
+
+ AC_SUBST(UIC_TR)
+])
+
+AC_DEFUN([KDE_1_CHECK_PATHS],
+[
+ KDE_1_CHECK_PATH_HEADERS
+
+ KDE_TEST_RPATH=
+
+ if test -n "$USE_RPATH"; then
+
+ if test -n "$kde_libraries"; then
+ KDE_TEST_RPATH="-R $kde_libraries"
+ fi
+
+ if test -n "$qt_libraries"; then
+ KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
+ fi
+
+ if test -n "$x_libraries"; then
+ KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
+ fi
+
+ KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
+ fi
+
+AC_MSG_CHECKING([for KDE libraries installed])
+ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
+
+if AC_TRY_EVAL(ac_link) && test -s conftest; then
+ AC_MSG_RESULT(yes)
+else
+ AC_MSG_ERROR([your system fails at linking a small KDE application!
+Check, if your compiler is installed correctly and if you have used the
+same compiler to compile Qt and kdelibs as you did use now.
+For more details about this problem, look at the end of config.log.])
+fi
+
+if eval `KDEDIR= ./conftest 2>&5`; then
+ kde_result=done
+else
+ kde_result=problems
+fi
+
+KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
+kde_have_all_paths=yes
+
+KDE_SET_PATHS($kde_result)
+
+])
+
+AC_DEFUN([KDE_SET_PATHS],
+[
+ kde_cv_all_paths="kde_have_all_paths=\"yes\" \
+ kde_htmldir=\"$kde_htmldir\" \
+ kde_appsdir=\"$kde_appsdir\" \
+ kde_icondir=\"$kde_icondir\" \
+ kde_sounddir=\"$kde_sounddir\" \
+ kde_datadir=\"$kde_datadir\" \
+ kde_locale=\"$kde_locale\" \
+ kde_cgidir=\"$kde_cgidir\" \
+ kde_confdir=\"$kde_confdir\" \
+ kde_kcfgdir=\"$kde_kcfgdir\" \
+ kde_mimedir=\"$kde_mimedir\" \
+ kde_toolbardir=\"$kde_toolbardir\" \
+ kde_wallpaperdir=\"$kde_wallpaperdir\" \
+ kde_templatesdir=\"$kde_templatesdir\" \
+ kde_bindir=\"$kde_bindir\" \
+ kde_servicesdir=\"$kde_servicesdir\" \
+ kde_servicetypesdir=\"$kde_servicetypesdir\" \
+ kde_moduledir=\"$kde_moduledir\" \
+ kde_styledir=\"$kde_styledir\" \
+ kde_widgetdir=\"$kde_widgetdir\" \
+ xdg_appsdir=\"$xdg_appsdir\" \
+ xdg_menudir=\"$xdg_menudir\" \
+ xdg_directorydir=\"$xdg_directorydir\" \
+ kde_result=$1"
+])
+
+AC_DEFUN([KDE_SET_DEFAULT_PATHS],
+[
+if test "$1" = "default"; then
+
+ if test -z "$kde_htmldir"; then
+ kde_htmldir='\${datadir}/doc/HTML'
+ fi
+ if test -z "$kde_appsdir"; then
+ kde_appsdir='\${datadir}/applnk'
+ fi
+ if test -z "$kde_icondir"; then
+ kde_icondir='\${datadir}/icons'
+ fi
+ if test -z "$kde_sounddir"; then
+ kde_sounddir='\${datadir}/sounds'
+ fi
+ if test -z "$kde_datadir"; then
+ kde_datadir='\${datadir}/apps'
+ fi
+ if test -z "$kde_locale"; then
+ kde_locale='\${datadir}/locale'
+ fi
+ if test -z "$kde_cgidir"; then
+ kde_cgidir='\${exec_prefix}/cgi-bin'
+ fi
+ if test -z "$kde_confdir"; then
+ kde_confdir='\${datadir}/config'
+ fi
+ if test -z "$kde_kcfgdir"; then
+ kde_kcfgdir='\${datadir}/config.kcfg'
+ fi
+ if test -z "$kde_mimedir"; then
+ kde_mimedir='\${datadir}/mimelnk'
+ fi
+ if test -z "$kde_toolbardir"; then
+ kde_toolbardir='\${datadir}/toolbar'
+ fi
+ if test -z "$kde_wallpaperdir"; then
+ kde_wallpaperdir='\${datadir}/wallpapers'
+ fi
+ if test -z "$kde_templatesdir"; then
+ kde_templatesdir='\${datadir}/templates'
+ fi
+ if test -z "$kde_bindir"; then
+ kde_bindir='\${exec_prefix}/bin'
+ fi
+ if test -z "$kde_servicesdir"; then
+ kde_servicesdir='\${datadir}/services'
+ fi
+ if test -z "$kde_servicetypesdir"; then
+ kde_servicetypesdir='\${datadir}/servicetypes'
+ fi
+ if test -z "$kde_moduledir"; then
+ if test "$kde_qtver" = "2"; then
+ kde_moduledir='\${libdir}/kde2'
+ else
+ kde_moduledir='\${libdir}/kde3'
+ fi
+ fi
+ if test -z "$kde_styledir"; then
+ kde_styledir='\${libdir}/kde3/plugins/styles'
+ fi
+ if test -z "$kde_widgetdir"; then
+ kde_widgetdir='\${libdir}/kde3/plugins/designer'
+ fi
+ if test -z "$xdg_appsdir"; then
+ xdg_appsdir='\${datadir}/applications/kde'
+ fi
+ if test -z "$xdg_menudir"; then
+ xdg_menudir='\${sysconfdir}/xdg/menus'
+ fi
+ if test -z "$xdg_directorydir"; then
+ xdg_directorydir='\${datadir}/desktop-directories'
+ fi
+
+ KDE_SET_PATHS(defaults)
+
+else
+
+ if test $kde_qtver = 1; then
+ AC_MSG_RESULT([compiling])
+ KDE_1_CHECK_PATHS
+ else
+ AC_MSG_ERROR([path checking not yet supported for KDE 2])
+ fi
+
+fi
+])
+
+AC_DEFUN([KDE_CHECK_PATHS_FOR_COMPLETENESS],
+[ if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
+ test -z "$kde_icondir" || test -z "$kde_sounddir" ||
+ test -z "$kde_datadir" || test -z "$kde_locale" ||
+ test -z "$kde_cgidir" || test -z "$kde_confdir" ||
+ test -z "$kde_kcfgdir" ||
+ test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
+ test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
+ test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
+ test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
+ test -z "$kde_styledir" || test -z "kde_widgetdir" ||
+ test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
+ test "x$kde_have_all_paths" != "xyes"; then
+ kde_have_all_paths=no
+ fi
+])
+
+AC_DEFUN([KDE_MISSING_PROG_ERROR],
+[
+ AC_MSG_ERROR([The important program $1 was not found!
+Please check whether you installed KDE correctly.
+])
+])
+
+AC_DEFUN([KDE_MISSING_ARTS_ERROR],
+[
+ AC_MSG_ERROR([The important program $1 was not found!
+Please check whether you installed aRts correctly or use
+--without-arts to compile without aRts support (this will remove functionality).
+])
+])
+
+AC_DEFUN([KDE_SET_DEFAULT_BINDIRS],
+[
+ kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
+ test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
+ if test -n "$KDEDIRS"; then
+ kde_save_IFS=$IFS
+ IFS=:
+ for dir in $KDEDIRS; do
+ kde_default_bindirs="$dir/bin $kde_default_bindirs "
+ done
+ IFS=$kde_save_IFS
+ fi
+])
+
+AC_DEFUN([KDE_SUBST_PROGRAMS],
+[
+ AC_ARG_WITH(arts,
+ AC_HELP_STRING([--without-arts],[build without aRts [default=no]]),
+ [build_arts=$withval],
+ [build_arts=yes]
+ )
+ AM_CONDITIONAL(include_ARTS, test "$build_arts" '!=' "no")
+ if test "$build_arts" = "no"; then
+ AC_DEFINE(WITHOUT_ARTS, 1, [Defined if compiling without arts])
+ fi
+
+ KDE_SET_DEFAULT_BINDIRS
+ kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
+ KDE_FIND_PATH(dcopidl, DCOPIDL, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidl)])
+ KDE_FIND_PATH(dcopidl2cpp, DCOPIDL2CPP, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidl2cpp)])
+ if test "$build_arts" '!=' "no"; then
+ KDE_FIND_PATH(mcopidl, MCOPIDL, [$kde_default_bindirs], [KDE_MISSING_ARTS_ERROR(mcopidl)])
+ KDE_FIND_PATH(artsc-config, ARTSCCONFIG, [$kde_default_bindirs], [KDE_MISSING_ARTS_ERROR(artsc-config)])
+ fi
+ KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs])
+
+ kde32ornewer=1
+ kde33ornewer=1
+ if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
+ kde32ornewer=
+ kde33ornewer=
+ else
+ if test "$kde_qtver" = "3"; then
+ if test "$kde_qtsubver" -le 1; then
+ kde32ornewer=
+ fi
+ if test "$kde_qtsubver" -le 2; then
+ kde33ornewer=
+ fi
+ if test "$KDECONFIG" != "compiled"; then
+ if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then
+ kde33ornewer=
+ fi
+ fi
+ fi
+ fi
+
+ if test -n "$kde32ornewer"; then
+ KDE_FIND_PATH(kconfig_compiler, KCONFIG_COMPILER, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kconfig_compiler)])
+ KDE_FIND_PATH(dcopidlng, DCOPIDLNG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidlng)])
+ fi
+ if test -n "$kde33ornewer"; then
+ KDE_FIND_PATH(makekdewidgets, MAKEKDEWIDGETS, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(makekdewidgets)])
+ AC_SUBST(MAKEKDEWIDGETS)
+ fi
+ KDE_FIND_PATH(xmllint, XMLLINT, [${prefix}/bin ${exec_prefix}/bin], [XMLLINT=""])
+
+ if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
+ kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
+ test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
+ AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET)
+ if test "$KDE_XSL_STYLESHEET" = "NO"; then
+ KDE_XSL_STYLESHEET=""
+ else
+ KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
+ fi
+ fi
+
+ DCOP_DEPENDENCIES='$(DCOPIDL)'
+ if test -n "$kde32ornewer"; then
+ KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)'
+ DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)'
+ AC_SUBST(KCONFIG_COMPILER)
+ AC_SUBST(KCFG_DEPENDENCIES)
+ AC_SUBST(DCOPIDLNG)
+ fi
+ AC_SUBST(DCOPIDL)
+ AC_SUBST(DCOPIDL2CPP)
+ AC_SUBST(DCOP_DEPENDENCIES)
+ AC_SUBST(MCOPIDL)
+ AC_SUBST(ARTSCCONFIG)
+ AC_SUBST(MEINPROC)
+ AC_SUBST(KDE_XSL_STYLESHEET)
+ AC_SUBST(XMLLINT)
+])dnl
+
+AC_DEFUN([AC_CREATE_KFSSTND],
+[
+AC_REQUIRE([AC_CHECK_RPATH])
+
+AC_MSG_CHECKING([for KDE paths])
+kde_result=""
+kde_cached_paths=yes
+AC_CACHE_VAL(kde_cv_all_paths,
+[
+ KDE_SET_DEFAULT_PATHS($1)
+ kde_cached_paths=no
+])
+eval "$kde_cv_all_paths"
+KDE_CHECK_PATHS_FOR_COMPLETENESS
+if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
+ # wrong values were cached, may be, we can set better ones
+ kde_result=
+ kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
+ kde_datadir= kde_locale= kde_cgidir= kde_confdir= kde_kcfgdir=
+ kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
+ kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
+ kde_have_all_paths=
+ kde_styledir=
+ kde_widgetdir=
+ xdg_appsdir = xdg_menudir= xdg_directorydir=
+ KDE_SET_DEFAULT_PATHS($1)
+ eval "$kde_cv_all_paths"
+ KDE_CHECK_PATHS_FOR_COMPLETENESS
+ kde_result="$kde_result (cache overridden)"
+fi
+if test "$kde_have_all_paths" = "no"; then
+ AC_MSG_ERROR([configure could not run a little KDE program to test the environment.
+Since it had compiled and linked before, it must be a strange problem on your system.
+Look at config.log for details. If you are not able to fix this, look at
+http://www.kde.org/faq/installation.html or any www.kde.org mirror.
+(If you're using an egcs version on Linux, you may update binutils!)
+])
+else
+ rm -f conftest*
+ AC_MSG_RESULT($kde_result)
+fi
+
+bindir=$kde_bindir
+
+KDE_SUBST_PROGRAMS
+
+])
+
+AC_DEFUN([AC_SUBST_KFSSTND],
+[
+AC_SUBST(kde_htmldir)
+AC_SUBST(kde_appsdir)
+AC_SUBST(kde_icondir)
+AC_SUBST(kde_sounddir)
+AC_SUBST(kde_datadir)
+AC_SUBST(kde_locale)
+AC_SUBST(kde_confdir)
+AC_SUBST(kde_kcfgdir)
+AC_SUBST(kde_mimedir)
+AC_SUBST(kde_wallpaperdir)
+AC_SUBST(kde_bindir)
+dnl X Desktop Group standards
+AC_SUBST(xdg_appsdir)
+AC_SUBST(xdg_menudir)
+AC_SUBST(xdg_directorydir)
+dnl for KDE 2
+AC_SUBST(kde_templatesdir)
+AC_SUBST(kde_servicesdir)
+AC_SUBST(kde_servicetypesdir)
+AC_SUBST(kde_moduledir)
+AC_SUBST(kdeinitdir, '$(kde_moduledir)')
+AC_SUBST(kde_styledir)
+AC_SUBST(kde_widgetdir)
+if test "$kde_qtver" = 1; then
+ kde_minidir="$kde_icondir/mini"
+else
+# for KDE 1 - this breaks KDE2 apps using minidir, but
+# that's the plan ;-/
+ kde_minidir="/dev/null"
+fi
+dnl AC_SUBST(kde_minidir)
+dnl AC_SUBST(kde_cgidir)
+dnl AC_SUBST(kde_toolbardir)
+])
+
+AC_DEFUN([KDE_MISC_TESTS],
+[
+ dnl Checks for libraries.
+ AC_CHECK_LIB(util, main, [LIBUTIL="-lutil"]) dnl for *BSD
+ AC_SUBST(LIBUTIL)
+ AC_CHECK_LIB(compat, main, [LIBCOMPAT="-lcompat"]) dnl for *BSD
+ AC_SUBST(LIBCOMPAT)
+ kde_have_crypt=
+ AC_CHECK_LIB(crypt, crypt, [LIBCRYPT="-lcrypt"; kde_have_crypt=yes],
+ AC_CHECK_LIB(c, crypt, [kde_have_crypt=yes], [
+ AC_MSG_WARN([you have no crypt in either libcrypt or libc.
+You should install libcrypt from another source or configure with PAM
+support])
+ kde_have_crypt=no
+ ]))
+ AC_SUBST(LIBCRYPT)
+ if test $kde_have_crypt = yes; then
+ AC_DEFINE_UNQUOTED(HAVE_CRYPT, 1, [Defines if your system has the crypt function])
+ fi
+ AC_CHECK_SOCKLEN_T
+ AC_CHECK_LIB(dnet, dnet_ntoa, [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"])
+ if test $ac_cv_lib_dnet_dnet_ntoa = no; then
+ AC_CHECK_LIB(dnet_stub, dnet_ntoa,
+ [X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"])
+ fi
+ AC_CHECK_FUNC(inet_ntoa)
+ if test $ac_cv_func_inet_ntoa = no; then
+ AC_CHECK_LIB(nsl, inet_ntoa, X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl")
+ fi
+ AC_CHECK_FUNC(connect)
+ if test $ac_cv_func_connect = no; then
+ AC_CHECK_LIB(socket, connect, X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS", ,
+ $X_EXTRA_LIBS)
+ fi
+
+ AC_CHECK_FUNC(remove)
+ if test $ac_cv_func_remove = no; then
+ AC_CHECK_LIB(posix, remove, X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix")
+ fi
+
+ # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
+ AC_CHECK_FUNC(shmat, ,
+ AC_CHECK_LIB(ipc, shmat, X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"))
+
+ # more headers that need to be explicitly included on darwin
+ AC_CHECK_HEADERS(sys/types.h stdint.h)
+
+ # sys/bitypes.h is needed for uint32_t and friends on Tru64
+ AC_CHECK_HEADERS(sys/bitypes.h)
+
+ # darwin requires a poll emulation library
+ AC_CHECK_LIB(poll, poll, LIB_POLL="-lpoll")
+
+ # for some image handling on Mac OS X
+ AC_CHECK_HEADERS(Carbon/Carbon.h)
+
+ # CoreAudio framework
+ AC_CHECK_HEADER(CoreAudio/CoreAudio.h, [
+ AC_DEFINE(HAVE_COREAUDIO, 1, [Define if you have the CoreAudio API])
+ FRAMEWORK_COREAUDIO="-Wl,-framework,CoreAudio"
+ ])
+
+ AC_CHECK_RES_INIT
+ AC_SUBST(LIB_POLL)
+ AC_SUBST(FRAMEWORK_COREAUDIO)
+ LIBSOCKET="$X_EXTRA_LIBS"
+ AC_SUBST(LIBSOCKET)
+ AC_SUBST(X_EXTRA_LIBS)
+ AC_CHECK_LIB(ucb, killpg, [LIBUCB="-lucb"]) dnl for Solaris2.4
+ AC_SUBST(LIBUCB)
+
+ case $host in dnl this *is* LynxOS specific
+ *-*-lynxos* )
+ AC_MSG_CHECKING([LynxOS header file wrappers])
+ [CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"]
+ AC_MSG_RESULT(disabled)
+ AC_CHECK_LIB(bsd, gethostbyname, [LIBSOCKET="-lbsd"]) dnl for LynxOS
+ ;;
+ esac
+
+ KDE_CHECK_TYPES
+ KDE_CHECK_LIBDL
+ KDE_CHECK_STRLCPY
+ KDE_CHECK_PIE_SUPPORT
+
+# darwin needs this to initialize the environment
+AC_CHECK_HEADERS(crt_externs.h)
+AC_CHECK_FUNC(_NSGetEnviron, [AC_DEFINE(HAVE_NSGETENVIRON, 1, [Define if your system needs _NSGetEnviron to set up the environment])])
+
+AH_VERBATIM(_DARWIN_ENVIRON,
+[
+#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
+# include <sys/time.h>
+# include <crt_externs.h>
+# define environ (*_NSGetEnviron())
+#endif
+])
+
+AH_VERBATIM(_AIX_STRINGS_H_BZERO,
+[
+/*
+ * AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
+ * that defines bzero.
+ */
+
+#if defined(_AIX)
+#include <strings.h>
+#endif
+])
+
+AC_CHECK_FUNCS([vsnprintf snprintf])
+
+AH_VERBATIM(_TRU64,[
+/*
+ * On HP-UX, the declaration of vsnprintf() is needed every time !
+ */
+
+#if !defined(HAVE_VSNPRINTF) || defined(hpux)
+#if __STDC__
+#include <stdarg.h>
+#include <stdlib.h>
+#else
+#include <varargs.h>
+#endif
+#ifdef __cplusplus
+extern "C"
+#endif
+int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
+#ifdef __cplusplus
+extern "C"
+#endif
+int snprintf(char *str, size_t n, char const *fmt, ...);
+#endif
+])
+
+])
+
+dnl ------------------------------------------------------------------------
+dnl Find the header files and libraries for X-Windows. Extended the
+dnl macro AC_PATH_X
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN([K_PATH_X],
+[
+AC_REQUIRE([KDE_MISC_TESTS])dnl
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+AC_ARG_ENABLE(
+ embedded,
+ AC_HELP_STRING([--enable-embedded],[link to Qt-embedded, don't use X]),
+ kde_use_qt_emb=$enableval,
+ kde_use_qt_emb=no
+)
+
+AC_ARG_ENABLE(
+ qtopia,
+ AC_HELP_STRING([--enable-qtopia],[link to Qt-embedded, link to the Qtopia Environment]),
+ kde_use_qt_emb_palm=$enableval,
+ kde_use_qt_emb_palm=no
+)
+
+AC_ARG_ENABLE(
+ mac,
+ AC_HELP_STRING([--enable-mac],[link to Qt/Mac (don't use X)]),
+ kde_use_qt_mac=$enableval,
+ kde_use_qt_mac=no
+)
+
+# used to disable x11-specific stuff on special platforms
+AM_CONDITIONAL(include_x11, test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no")
+
+if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
+
+AC_MSG_CHECKING(for X)
+
+AC_CACHE_VAL(kde_cv_have_x,
+[# One or both of the vars are not set, and there is no cached value.
+if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
+ kde_x_includes=NO
+else
+ kde_x_includes=$x_includes
+fi
+if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
+ kde_x_libraries=NO
+else
+ kde_x_libraries=$x_libraries
+fi
+
+# below we use the standard autoconf calls
+ac_x_libraries=$kde_x_libraries
+ac_x_includes=$kde_x_includes
+
+KDE_PATH_X_DIRECT
+dnl AC_PATH_X_XMKMF picks /usr/lib as the path for the X libraries.
+dnl Unfortunately, if compiling with the N32 ABI, this is not the correct
+dnl location. The correct location is /usr/lib32 or an undefined value
+dnl (the linker is smart enough to pick the correct default library).
+dnl Things work just fine if you use just AC_PATH_X_DIRECT.
+dnl Solaris has a similar problem. AC_PATH_X_XMKMF forces x_includes to
+dnl /usr/openwin/include, which doesn't work. /usr/include does work, so
+dnl x_includes should be left alone.
+case "$host" in
+mips-sgi-irix6*)
+ ;;
+*-*-solaris*)
+ ;;
+*)
+ _AC_PATH_X_XMKMF
+ if test -z "$ac_x_includes"; then
+ ac_x_includes="."
+ fi
+ if test -z "$ac_x_libraries"; then
+ ac_x_libraries="/usr/lib${kdelibsuff}"
+ fi
+esac
+#from now on we use our own again
+
+# when the user already gave --x-includes, we ignore
+# what the standard autoconf macros told us.
+if test "$kde_x_includes" = NO; then
+ kde_x_includes=$ac_x_includes
+fi
+
+# for --x-libraries too
+if test "$kde_x_libraries" = NO; then
+ kde_x_libraries=$ac_x_libraries
+fi
+
+if test "$kde_x_includes" = NO; then
+ AC_MSG_ERROR([Can't find X includes. Please check your installation and add the correct paths!])
+fi
+
+if test "$kde_x_libraries" = NO; then
+ AC_MSG_ERROR([Can't find X libraries. Please check your installation and add the correct paths!])
+fi
+
+# Record where we found X for the cache.
+kde_cv_have_x="have_x=yes \
+ kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
+])dnl
+
+eval "$kde_cv_have_x"
+
+if test "$have_x" != yes; then
+ AC_MSG_RESULT($have_x)
+ no_x=yes
+else
+ AC_MSG_RESULT([libraries $kde_x_libraries, headers $kde_x_includes])
+fi
+
+if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
+ X_INCLUDES=""
+ x_includes="."; dnl better than nothing :-
+ else
+ x_includes=$kde_x_includes
+ X_INCLUDES="-I$x_includes"
+fi
+
+if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE || test "$kde_x_libraries" = "/usr/lib"; then
+ X_LDFLAGS=""
+ x_libraries="/usr/lib"; dnl better than nothing :-
+ else
+ x_libraries=$kde_x_libraries
+ X_LDFLAGS="-L$x_libraries"
+fi
+all_includes="$X_INCLUDES"
+all_libraries="$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS"
+
+# Check for libraries that X11R6 Xt/Xaw programs need.
+ac_save_LDFLAGS="$LDFLAGS"
+LDFLAGS="$LDFLAGS $X_LDFLAGS"
+# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
+# check for ICE first), but we must link in the order -lSM -lICE or
+# we get undefined symbols. So assume we have SM if we have ICE.
+# These have to be linked with before -lX11, unlike the other
+# libraries we check for below, so use a different variable.
+# --interran at uluru.Stanford.EDU, kb at cs.umb.edu.
+AC_CHECK_LIB(ICE, IceConnectionNumber,
+ [LIBSM="-lSM -lICE"], , $X_EXTRA_LIBS)
+LDFLAGS="$ac_save_LDFLAGS"
+
+LIB_X11='-lX11 $(LIBSOCKET)'
+
+AC_MSG_CHECKING(for libXext)
+AC_CACHE_VAL(kde_cv_have_libXext,
+[
+kde_ldflags_safe="$LDFLAGS"
+kde_libs_safe="$LIBS"
+
+LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
+LIBS="-lXext -lX11 $LIBSOCKET"
+
+AC_TRY_LINK([
+#include <stdio.h>
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+#endif
+],
+[
+printf("hello Xext\n");
+],
+kde_cv_have_libXext=yes,
+kde_cv_have_libXext=no
+)
+
+LDFLAGS=$kde_ldflags_safe
+LIBS=$kde_libs_safe
+])
+
+AC_MSG_RESULT($kde_cv_have_libXext)
+
+if test "$kde_cv_have_libXext" = "no"; then
+ AC_MSG_ERROR([We need a working libXext to proceed. Since configure
+can't find it itself, we stop here assuming that make wouldn't find
+them either.])
+fi
+
+LIB_XEXT="-lXext"
+QTE_NORTTI=""
+
+elif test "$kde_use_qt_emb" = "yes"; then
+ dnl We're using QT Embedded
+ CPPFLAGS=-DQWS
+ CXXFLAGS="$CXXFLAGS -fno-rtti"
+ QTE_NORTTI="-fno-rtti -DQWS"
+ X_PRE_LIBS=""
+ LIB_X11=""
+ LIB_XEXT=""
+ LIB_XRENDER=""
+ LIBSM=""
+ X_INCLUDES=""
+ X_LDFLAGS=""
+ x_includes=""
+ x_libraries=""
+elif test "$kde_use_qt_mac" = "yes"; then
+ dnl We're using QT/Mac (I use QT_MAC so that qglobal.h doesn't *have* to
+ dnl be included to get the information) --Sam
+ CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
+ CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp"
+ X_PRE_LIBS=""
+ LIB_X11=""
+ LIB_XEXT=""
+ LIB_XRENDER=""
+ LIBSM=""
+ X_INCLUDES=""
+ X_LDFLAGS=""
+ x_includes=""
+ x_libraries=""
+fi
+AC_SUBST(X_PRE_LIBS)
+AC_SUBST(LIB_X11)
+AC_SUBST(LIB_XRENDER)
+AC_SUBST(LIBSM)
+AC_SUBST(X_INCLUDES)
+AC_SUBST(X_LDFLAGS)
+AC_SUBST(x_includes)
+AC_SUBST(x_libraries)
+AC_SUBST(QTE_NORTTI)
+AC_SUBST(LIB_XEXT)
+
+])
+
+AC_DEFUN([KDE_PRINT_QT_PROGRAM],
+[
+AC_REQUIRE([KDE_USE_QT])
+cat > conftest.$ac_ext <<EOF
+#include "confdefs.h"
+#include <qglobal.h>
+#include <qapplication.h>
+EOF
+if test "$kde_qtver" = "2"; then
+cat >> conftest.$ac_ext <<EOF
+#include <qevent.h>
+#include <qstring.h>
+#include <qstyle.h>
+EOF
+
+if test $kde_qtsubver -gt 0; then
+cat >> conftest.$ac_ext <<EOF
+#if QT_VERSION < 210
+#error 1
+#endif
+EOF
+fi
+fi
+
+if test "$kde_qtver" = "3"; then
+cat >> conftest.$ac_ext <<EOF
+#include <qcursor.h>
+#include <qstylefactory.h>
+#include <private/qucomextra_p.h>
+EOF
+fi
+
+echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
+cat >> conftest.$ac_ext <<EOF
+#error 1
+#endif
+
+int main() {
+EOF
+if test "$kde_qtver" = "2"; then
+cat >> conftest.$ac_ext <<EOF
+ QStringList *t = new QStringList();
+ Q_UNUSED(t);
+EOF
+if test $kde_qtsubver -gt 0; then
+cat >> conftest.$ac_ext <<EOF
+ QString s;
+ s.setLatin1("Elvis is alive", 14);
+EOF
+fi
+fi
+if test "$kde_qtver" = "3"; then
+cat >> conftest.$ac_ext <<EOF
+ (void)QStyleFactory::create(QString::null);
+ QCursor c(Qt::WhatsThisCursor);
+EOF
+fi
+cat >> conftest.$ac_ext <<EOF
+ return 0;
+}
+EOF
+])
+
+AC_DEFUN([KDE_USE_QT],
+[
+if test -z "$1"; then
+ # Current default Qt version: 3.3
+ kde_qtver=3
+ kde_qtsubver=3
+else
+ kde_qtsubver=`echo "$1" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
+ # following is the check if subversion isnt found in passed argument
+ if test "$kde_qtsubver" = "$1"; then
+ kde_qtsubver=1
+ fi
+ kde_qtver=`echo "$1" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
+ if test "$kde_qtver" = "1"; then
+ kde_qtsubver=42
+ fi
+fi
+
+if test -z "$2"; then
+ if test "$kde_qtver" = "2"; then
+ if test $kde_qtsubver -gt 0; then
+ kde_qt_minversion=">= Qt 2.2.2"
+ else
+ kde_qt_minversion=">= Qt 2.0.2"
+ fi
+ fi
+ if test "$kde_qtver" = "3"; then
+ if test $kde_qtsubver -gt 0; then
+ if test $kde_qtsubver -gt 1; then
+ if test $kde_qtsubver -gt 2; then
+ kde_qt_minversion=">= Qt 3.3 and < 4.0"
+ else
+ kde_qt_minversion=">= Qt 3.2 and < 4.0"
+ fi
+ else
+ kde_qt_minversion=">= Qt 3.1 (20021021) and < 4.0"
+ fi
+ else
+ kde_qt_minversion=">= Qt 3.0 and < 4.0"
+ fi
+ fi
+ if test "$kde_qtver" = "1"; then
+ kde_qt_minversion=">= 1.42 and < 2.0"
+ fi
+else
+ kde_qt_minversion="$2"
+fi
+
+if test -z "$3"; then
+ if test $kde_qtver = 3; then
+ if test $kde_qtsubver -gt 0; then
+ kde_qt_verstring="QT_VERSION >= 0x03 at VER@00 && QT_VERSION < 0x040000"
+ qtsubver=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
+ kde_qt_verstring=`echo $kde_qt_verstring | sed -e "s, at VER@,$qtsubver,"`
+ else
+ kde_qt_verstring="QT_VERSION >= 300 && QT_VERSION < 0x040000"
+ fi
+ fi
+ if test $kde_qtver = 2; then
+ if test $kde_qtsubver -gt 0; then
+ kde_qt_verstring="QT_VERSION >= 222"
+ else
+ kde_qt_verstring="QT_VERSION >= 200"
+ fi
+ fi
+ if test $kde_qtver = 1; then
+ kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
+ fi
+else
+ kde_qt_verstring="$3"
+fi
+
+if test $kde_qtver = 4; then
+ kde_qt_dirs="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4"
+fi
+if test $kde_qtver = 3; then
+ kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
+fi
+if test $kde_qtver = 2; then
+ kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
+fi
+if test $kde_qtver = 1; then
+ kde_qt_dirs="$QTDIR /usr/lib/qt"
+fi
+])
+
+AC_DEFUN([KDE_CHECK_QT_DIRECT],
+[
+AC_REQUIRE([KDE_USE_QT])
+AC_MSG_CHECKING([if Qt compiles without flags])
+AC_CACHE_VAL(kde_cv_qt_direct,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
+ac_LIBRARY_PATH="$LIBRARY_PATH"
+ac_cxxflags_safe="$CXXFLAGS"
+ac_ldflags_safe="$LDFLAGS"
+ac_libs_safe="$LIBS"
+
+CXXFLAGS="$CXXFLAGS -I$qt_includes"
+LDFLAGS="$LDFLAGS $X_LDFLAGS"
+if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
+else
+LIBS="$LIBQT $LIBSOCKET"
+fi
+LD_LIBRARY_PATH=
+export LD_LIBRARY_PATH
+LIBRARY_PATH=
+export LIBRARY_PATH
+
+KDE_PRINT_QT_PROGRAM
+
+if AC_TRY_EVAL(ac_link) && test -s conftest; then
+ kde_cv_qt_direct="yes"
+else
+ kde_cv_qt_direct="no"
+ echo "configure: failed program was:" >&AC_FD_CC
+ cat conftest.$ac_ext >&AC_FD_CC
+fi
+
+rm -f conftest*
+CXXFLAGS="$ac_cxxflags_safe"
+LDFLAGS="$ac_ldflags_safe"
+LIBS="$ac_libs_safe"
+
+LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
+export LD_LIBRARY_PATH
+LIBRARY_PATH="$ac_LIBRARY_PATH"
+export LIBRARY_PATH
+AC_LANG_RESTORE
+])
+
+if test "$kde_cv_qt_direct" = "yes"; then
+ AC_MSG_RESULT(yes)
+ $1
+else
+ AC_MSG_RESULT(no)
+ $2
+fi
+])
+
+dnl ------------------------------------------------------------------------
+dnl Try to find the Qt headers and libraries.
+dnl $(QT_LDFLAGS) will be -Lqtliblocation (if needed)
+dnl and $(QT_INCLUDES) will be -Iqthdrlocation (if needed)
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN([AC_PATH_QT_1_3],
+[
+AC_REQUIRE([K_PATH_X])
+AC_REQUIRE([KDE_USE_QT])
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+dnl ------------------------------------------------------------------------
+dnl Add configure flag to enable linking to MT version of Qt library.
+dnl ------------------------------------------------------------------------
+
+AC_ARG_ENABLE(
+ mt,
+ AC_HELP_STRING([--disable-mt],[link to non-threaded Qt (deprecated)]),
+ kde_use_qt_mt=$enableval,
+ [
+ if test $kde_qtver = 3; then
+ kde_use_qt_mt=yes
+ else
+ kde_use_qt_mt=no
+ fi
+ ]
+)
+
+USING_QT_MT=""
+
+dnl ------------------------------------------------------------------------
+dnl If we not get --disable-qt-mt then adjust some vars for the host.
+dnl ------------------------------------------------------------------------
+
+KDE_MT_LDFLAGS=
+KDE_MT_LIBS=
+if test "x$kde_use_qt_mt" = "xyes"; then
+ KDE_CHECK_THREADING
+ if test "x$kde_use_threading" = "xyes"; then
+ CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
+ KDE_MT_LDFLAGS="$USE_THREADS"
+ KDE_MT_LIBS="$LIBPTHREAD"
+ else
+ kde_use_qt_mt=no
+ fi
+fi
+AC_SUBST(KDE_MT_LDFLAGS)
+AC_SUBST(KDE_MT_LIBS)
+
+kde_qt_was_given=yes
+
+dnl ------------------------------------------------------------------------
+dnl If we haven't been told how to link to Qt, we work it out for ourselves.
+dnl ------------------------------------------------------------------------
+if test -z "$LIBQT_GLOB"; then
+ if test "x$kde_use_qt_emb" = "xyes"; then
+ LIBQT_GLOB="libqte.*"
+ else
+ LIBQT_GLOB="libqt.*"
+ fi
+fi
+
+dnl ------------------------------------------------------------
+dnl If we got --enable-embedded then adjust the Qt library name.
+dnl ------------------------------------------------------------
+if test "x$kde_use_qt_emb" = "xyes"; then
+ qtlib="qte"
+else
+ qtlib="qt"
+fi
+
+kde_int_qt="-l$qtlib"
+
+if test -z "$LIBQPE"; then
+dnl ------------------------------------------------------------
+dnl If we got --enable-palmtop then add -lqpe to the link line
+dnl ------------------------------------------------------------
+ if test "x$kde_use_qt_emb" = "xyes"; then
+ if test "x$kde_use_qt_emb_palm" = "xyes"; then
+ LIB_QPE="-lqpe"
+ else
+ LIB_QPE=""
+ fi
+ else
+ LIB_QPE=""
+ fi
+fi
+
+dnl ------------------------------------------------------------------------
+dnl If we got --enable-qt-mt then adjust the Qt library name for the host.
+dnl ------------------------------------------------------------------------
+
+if test "x$kde_use_qt_mt" = "xyes"; then
+ LIBQT="-l$qtlib-mt"
+ kde_int_qt="-l$qtlib-mt"
+ LIBQT_GLOB="lib$qtlib-mt.*"
+ USING_QT_MT="using -mt"
+else
+ LIBQT="-l$qtlib"
+fi
+
+if test $kde_qtver != 1; then
+
+ AC_REQUIRE([AC_FIND_PNG])
+ AC_REQUIRE([AC_FIND_JPEG])
+ LIBQT="$LIBQT $LIBPNG $LIBJPEG"
+fi
+
+if test $kde_qtver = 3; then
+ AC_REQUIRE([KDE_CHECK_LIBDL])
+ LIBQT="$LIBQT $LIBDL"
+fi
+
+AC_MSG_CHECKING([for Qt])
+
+if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
+fi
+ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
+qt_libraries=""
+qt_includes=""
+AC_ARG_WITH(qt-dir,
+ AC_HELP_STRING([--with-qt-dir=DIR],[where the root of Qt is installed ]),
+ [ ac_qt_includes="$withval"/include
+ ac_qt_libraries="$withval"/lib${kdelibsuff}
+ ac_qt_bindir="$withval"/bin
+ ])
+
+AC_ARG_WITH(qt-includes,
+ AC_HELP_STRING([--with-qt-includes=DIR],[where the Qt includes are. ]),
+ [
+ ac_qt_includes="$withval"
+ ])
+
+kde_qt_libs_given=no
+
+AC_ARG_WITH(qt-libraries,
+ AC_HELP_STRING([--with-qt-libraries=DIR],[where the Qt library is installed.]),
+ [ ac_qt_libraries="$withval"
+ kde_qt_libs_given=yes
+ ])
+
+AC_CACHE_VAL(ac_cv_have_qt,
+[#try to guess Qt locations
+
+qt_incdirs=""
+for dir in $kde_qt_dirs; do
+ qt_incdirs="$qt_incdirs $dir/include $dir"
+done
+qt_incdirs="$QTINC $qt_incdirs /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/X11R6/include/qt2 /usr/include/qt3 $x_includes"
+if test ! "$ac_qt_includes" = "NO"; then
+ qt_incdirs="$ac_qt_includes $qt_incdirs"
+fi
+
+if test "$kde_qtver" != "1"; then
+ kde_qt_header=qstyle.h
+else
+ kde_qt_header=qglobal.h
+fi
+
+AC_FIND_FILE($kde_qt_header, $qt_incdirs, qt_incdir)
+ac_qt_includes="$qt_incdir"
+
+qt_libdirs=""
+for dir in $kde_qt_dirs; do
+ qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
+done
+qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
+if test ! "$ac_qt_libraries" = "NO"; then
+ qt_libdir=$ac_qt_libraries
+else
+ qt_libdirs="$ac_qt_libraries $qt_libdirs"
+ # if the Qt was given, the chance is too big that libqt.* doesn't exist
+ qt_libdir=NONE
+ for dir in $qt_libdirs; do
+ try="ls -1 $dir/${LIBQT_GLOB}"
+ if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&AC_FD_CC ; fi
+ done
+fi
+for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
+ if test -e "$a"; then
+ LIBQT="$LIBQT ${kde_int_qt}_incremental"
+ break
+ fi
+done
+
+ac_qt_libraries="$qt_libdir"
+
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+
+ac_cxxflags_safe="$CXXFLAGS"
+ac_ldflags_safe="$LDFLAGS"
+ac_libs_safe="$LIBS"
+
+CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
+LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
+LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
+
+KDE_PRINT_QT_PROGRAM
+
+if AC_TRY_EVAL(ac_link) && test -s conftest; then
+ rm -f conftest*
+else
+ echo "configure: failed program was:" >&AC_FD_CC
+ cat conftest.$ac_ext >&AC_FD_CC
+ ac_qt_libraries="NO"
+fi
+rm -f conftest*
+CXXFLAGS="$ac_cxxflags_safe"
+LDFLAGS="$ac_ldflags_safe"
+LIBS="$ac_libs_safe"
+
+AC_LANG_RESTORE
+if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
+ ac_cv_have_qt="have_qt=no"
+ ac_qt_notfound=""
+ missing_qt_mt=""
+ if test "$ac_qt_includes" = NO; then
+ if test "$ac_qt_libraries" = NO; then
+ ac_qt_notfound="(headers and libraries)";
+ else
+ ac_qt_notfound="(headers)";
+ fi
+ else
+ if test "x$kde_use_qt_mt" = "xyes"; then
+ missing_qt_mt="
+Make sure that you have compiled Qt with thread support!"
+ ac_qt_notfound="(library $qtlib-mt)";
+ else
+ ac_qt_notfound="(library $qtlib)";
+ fi
+ fi
+
+ AC_MSG_ERROR([Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
+For more details about this problem, look at the end of config.log.$missing_qt_mt])
+else
+ have_qt="yes"
+fi
+])
+
+eval "$ac_cv_have_qt"
+
+if test "$have_qt" != yes; then
+ AC_MSG_RESULT([$have_qt]);
+else
+ ac_cv_have_qt="have_qt=yes \
+ ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
+ AC_MSG_RESULT([libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT])
+
+ qt_libraries="$ac_qt_libraries"
+ qt_includes="$ac_qt_includes"
+fi
+
+if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
+ KDE_CHECK_QT_DIRECT(qt_libraries= ,[])
+fi
+
+AC_SUBST(qt_libraries)
+AC_SUBST(qt_includes)
+
+if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
+ QT_INCLUDES=""
+else
+ QT_INCLUDES="-I$qt_includes"
+ all_includes="$QT_INCLUDES $all_includes"
+fi
+
+if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
+ QT_LDFLAGS=""
+else
+ QT_LDFLAGS="-L$qt_libraries"
+ all_libraries="$QT_LDFLAGS $all_libraries"
+fi
+test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
+
+AC_SUBST(QT_INCLUDES)
+AC_SUBST(QT_LDFLAGS)
+AC_PATH_QT_MOC_UIC
+
+KDE_CHECK_QT_JPEG
+
+if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
+else
+LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)'
+fi
+test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
+for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
+ if test -e "$a"; then
+ LIB_QT="$LIB_QT ${kde_int_qt}_incremental"
+ break
+ fi
+done
+
+AC_SUBST(LIB_QT)
+AC_SUBST(LIB_QPE)
+
+AC_SUBST(kde_qtver)
+])
+
+AC_DEFUN([AC_PATH_QT],
+[
+AC_PATH_QT_1_3
+])
+
+AC_DEFUN([KDE_CHECK_UIC_PLUGINS],
+[
+AC_REQUIRE([AC_PATH_QT_MOC_UIC])
+
+if test x$ac_uic_supports_libpath = xyes; then
+
+AC_MSG_CHECKING([if UIC has KDE plugins available])
+AC_CACHE_VAL(kde_cv_uic_plugins,
+[
+cat > actest.ui << EOF
+<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
+<class>NewConnectionDialog</class>
+<widget class="QDialog">
+ <widget class="KLineEdit">
+ <property name="name">
+ <cstring>testInput</cstring>
+ </property>
+ </widget>
+</widget>
+</UI>
+EOF
+
+
+
+kde_cv_uic_plugins=no
+kde_line="$UIC_PATH -L $kde_widgetdir"
+if test x$ac_uic_supports_nounload = xyes; then
+ kde_line="$kde_line -nounload"
+fi
+kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
+if AC_TRY_EVAL(kde_line); then
+ # if you're trying to debug this check and think it's incorrect,
+ # better check your installation. The check _is_ correct - your
+ # installation is not.
+ if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
+ kde_cv_uic_plugins=yes
+ fi
+fi
+rm -f actest.ui actest.cpp
+])
+
+AC_MSG_RESULT([$kde_cv_uic_plugins])
+if test "$kde_cv_uic_plugins" != yes; then
+ AC_MSG_ERROR([
+you need to install kdelibs first.
+
+If you did install kdelibs, then the Qt version that is picked up by
+this configure is not the same version you used to compile kdelibs.
+The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
+_same Qt version_, compiled with the _same compiler_ and the same Qt
+configuration settings.
+])
+fi
+fi
+])
+
+AC_DEFUN([KDE_CHECK_FINAL],
+[
+ AC_ARG_ENABLE(final,
+ AC_HELP_STRING([--enable-final],
+ [build size optimized apps (experimental - needs lots of memory)]),
+ kde_use_final=$enableval, kde_use_final=no)
+
+ if test "x$kde_use_final" = "xyes"; then
+ KDE_USE_FINAL_TRUE=""
+ KDE_USE_FINAL_FALSE="#"
+ else
+ KDE_USE_FINAL_TRUE="#"
+ KDE_USE_FINAL_FALSE=""
+ fi
+ AC_SUBST(KDE_USE_FINAL_TRUE)
+ AC_SUBST(KDE_USE_FINAL_FALSE)
+])
+
+AC_DEFUN([KDE_CHECK_CLOSURE],
+[
+ AC_ARG_ENABLE(closure,
+ AC_HELP_STRING([--enable-closure],[delay template instantiation]),
+ kde_use_closure=$enableval, kde_use_closure=no)
+
+ KDE_NO_UNDEFINED=""
+ if test "x$kde_use_closure" = "xyes"; then
+ KDE_USE_CLOSURE_TRUE=""
+ KDE_USE_CLOSURE_FALSE="#"
+# CXXFLAGS="$CXXFLAGS $REPO"
+ else
+ KDE_USE_CLOSURE_TRUE="#"
+ KDE_USE_CLOSURE_FALSE=""
+ KDE_NO_UNDEFINED=""
+ case $host in
+ *-*-linux-gnu)
+ KDE_CHECK_COMPILER_FLAG([Wl,--no-undefined],
+ [KDE_CHECK_COMPILER_FLAG([Wl,--allow-shlib-undefined],
+ [KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"],
+ [KDE_NO_UNDEFINED=""])],
+ [KDE_NO_UNDEFINED=""])
+ ;;
+ esac
+ fi
+ AC_SUBST(KDE_USE_CLOSURE_TRUE)
+ AC_SUBST(KDE_USE_CLOSURE_FALSE)
+ AC_SUBST(KDE_NO_UNDEFINED)
+])
+
+dnl Check if the linker supports --enable-new-dtags and --as-needed
+AC_DEFUN([KDE_CHECK_NEW_LDFLAGS],
+[
+ AC_ARG_ENABLE(new_ldflags,
+ AC_HELP_STRING([--enable-new-ldflags],
+ [enable the new linker flags]),
+ kde_use_new_ldflags=$enableval,
+ kde_use_new_ldflags=no)
+
+ LDFLAGS_AS_NEEDED=""
+ LDFLAGS_NEW_DTAGS=""
+ if test "x$kde_use_new_ldflags" = "xyes"; then
+ LDFLAGS_NEW_DTAGS=""
+ KDE_CHECK_COMPILER_FLAG([Wl,--enable-new-dtags],
+ [LDFLAGS_NEW_DTAGS="-Wl,--enable-new-dtags"],)
+
+ KDE_CHECK_COMPILER_FLAG([Wl,--as-needed],
+ [LDFLAGS_AS_NEEDED="-Wl,--as-needed"],)
+ fi
+ AC_SUBST(LDFLAGS_AS_NEEDED)
+ AC_SUBST(LDFLAGS_NEW_DTAGS)
+])
+
+AC_DEFUN([KDE_CHECK_NMCHECK],
+[
+ AC_ARG_ENABLE(nmcheck,AC_HELP_STRING([--enable-nmcheck],[enable automatic namespace cleanness check]),
+ kde_use_nmcheck=$enableval, kde_use_nmcheck=no)
+
+ if test "$kde_use_nmcheck" = "yes"; then
+ KDE_USE_NMCHECK_TRUE=""
+ KDE_USE_NMCHECK_FALSE="#"
+ else
+ KDE_USE_NMCHECK_TRUE="#"
+ KDE_USE_NMCHECK_FALSE=""
+ fi
+ AC_SUBST(KDE_USE_NMCHECK_TRUE)
+ AC_SUBST(KDE_USE_NMCHECK_FALSE)
+])
+
+AC_DEFUN([KDE_EXPAND_MAKEVAR], [
+savex=$exec_prefix
+test "x$exec_prefix" = xNONE && exec_prefix=$prefix
+tmp=$$2
+while $1=`eval echo "$tmp"`; test "x$$1" != "x$tmp"; do tmp=$$1; done
+exec_prefix=$savex
+])
+
+dnl ------------------------------------------------------------------------
+dnl Now, the same with KDE
+dnl $(KDE_LDFLAGS) will be the kdeliblocation (if needed)
+dnl and $(kde_includes) will be the kdehdrlocation (if needed)
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN([AC_BASE_PATH_KDE],
+[
+AC_REQUIRE([KDE_CHECK_STL])
+AC_REQUIRE([AC_PATH_QT])dnl
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+AC_CHECK_RPATH
+AC_MSG_CHECKING([for KDE])
+
+if test "${prefix}" != NONE; then
+ kde_includes=${includedir}
+ KDE_EXPAND_MAKEVAR(ac_kde_includes, includedir)
+
+ kde_libraries=${libdir}
+ KDE_EXPAND_MAKEVAR(ac_kde_libraries, libdir)
+
+else
+ ac_kde_includes=
+ ac_kde_libraries=
+ kde_libraries=""
+ kde_includes=""
+fi
+
+AC_CACHE_VAL(ac_cv_have_kde,
+[#try to guess kde locations
+
+if test "$kde_qtver" = 1; then
+ kde_check_header="ksock.h"
+ kde_check_lib="libkdecore.la"
+else
+ kde_check_header="ksharedptr.h"
+ kde_check_lib="libkio.la"
+fi
+
+if test -z "$1"; then
+
+kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
+test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
+kde_incdirs="$ac_kde_includes $kde_incdirs"
+AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir)
+ac_kde_includes="$kde_incdir"
+
+if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
+ AC_MSG_ERROR([
+in the prefix, you've chosen, are no KDE headers installed. This will fail.
+So, check this please and use another prefix!])
+fi
+
+kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
+test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
+kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
+AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir)
+ac_kde_libraries="$kde_libdir"
+
+kde_widgetdir=NO
+dnl this might be somewhere else
+AC_FIND_FILE("kde3/plugins/designer/kdewidgets.la", $kde_libdirs, kde_widgetdir)
+
+if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
+AC_MSG_ERROR([
+in the prefix, you've chosen, are no KDE libraries installed. This will fail.
+So, check this please and use another prefix!])
+fi
+
+if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
+AC_MSG_ERROR([
+I can't find the designer plugins. These are required and should have been installed
+by kdelibs])
+fi
+
+if test -n "$kde_widgetdir"; then
+ kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
+fi
+
+
+if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then
+ ac_cv_have_kde="have_kde=no"
+else
+ ac_cv_have_kde="have_kde=yes \
+ ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
+fi
+
+else dnl test -z $1, e.g. from kdelibs
+
+ ac_cv_have_kde="have_kde=no"
+
+fi
+])dnl
+
+eval "$ac_cv_have_kde"
+
+if test "$have_kde" != "yes"; then
+ if test "${prefix}" = NONE; then
+ ac_kde_prefix="$ac_default_prefix"
+ else
+ ac_kde_prefix="$prefix"
+ fi
+ if test "$exec_prefix" = NONE; then
+ ac_kde_exec_prefix="$ac_kde_prefix"
+ AC_MSG_RESULT([will be installed in $ac_kde_prefix])
+ else
+ ac_kde_exec_prefix="$exec_prefix"
+ AC_MSG_RESULT([will be installed in $ac_kde_prefix and $ac_kde_exec_prefix])
+ fi
+
+ kde_libraries="${libdir}"
+ kde_includes="${includedir}"
+
+else
+ ac_cv_have_kde="have_kde=yes \
+ ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
+ AC_MSG_RESULT([libraries $ac_kde_libraries, headers $ac_kde_includes])
+
+ kde_libraries="$ac_kde_libraries"
+ kde_includes="$ac_kde_includes"
+fi
+AC_SUBST(kde_libraries)
+AC_SUBST(kde_includes)
+
+if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes" || test "$kde_includes" = "/usr/include"; then
+ KDE_INCLUDES=""
+else
+ KDE_INCLUDES="-I$kde_includes"
+ all_includes="$KDE_INCLUDES $all_includes"
+fi
+
+KDE_DEFAULT_CXXFLAGS="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION"
+
+KDE_LDFLAGS="-L$kde_libraries"
+if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
+ all_libraries="$KDE_LDFLAGS $all_libraries"
+fi
+
+AC_SUBST(KDE_LDFLAGS)
+AC_SUBST(KDE_INCLUDES)
+
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+
+all_libraries="$all_libraries $USER_LDFLAGS"
+all_includes="$all_includes $USER_INCLUDES"
+AC_SUBST(all_includes)
+AC_SUBST(all_libraries)
+
+if test -z "$1"; then
+KDE_CHECK_UIC_PLUGINS
+fi
+
+ac_kde_libraries="$kde_libdir"
+
+AC_SUBST(AUTODIRS)
+
+
+])
+
+AC_DEFUN([KDE_CHECK_EXTRA_LIBS],
+[
+AC_MSG_CHECKING(for extra includes)
+AC_ARG_WITH(extra-includes,AC_HELP_STRING([--with-extra-includes=DIR],[adds non standard include paths]),
+ kde_use_extra_includes="$withval",
+ kde_use_extra_includes=NONE
+)
+kde_extra_includes=
+if test -n "$kde_use_extra_includes" && \
+ test "$kde_use_extra_includes" != "NONE"; then
+
+ ac_save_ifs=$IFS
+ IFS=':'
+ for dir in $kde_use_extra_includes; do
+ kde_extra_includes="$kde_extra_includes $dir"
+ USER_INCLUDES="$USER_INCLUDES -I$dir"
+ done
+ IFS=$ac_save_ifs
+ kde_use_extra_includes="added"
+else
+ kde_use_extra_includes="no"
+fi
+AC_SUBST(USER_INCLUDES)
+
+AC_MSG_RESULT($kde_use_extra_includes)
+
+kde_extra_libs=
+AC_MSG_CHECKING(for extra libs)
+AC_ARG_WITH(extra-libs,AC_HELP_STRING([--with-extra-libs=DIR],[adds non standard library paths]),
+ kde_use_extra_libs=$withval,
+ kde_use_extra_libs=NONE
+)
+if test -n "$kde_use_extra_libs" && \
+ test "$kde_use_extra_libs" != "NONE"; then
+
+ ac_save_ifs=$IFS
+ IFS=':'
+ for dir in $kde_use_extra_libs; do
+ kde_extra_libs="$kde_extra_libs $dir"
+ KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
+ USER_LDFLAGS="$USER_LDFLAGS -L$dir"
+ done
+ IFS=$ac_save_ifs
+ kde_use_extra_libs="added"
+else
+ kde_use_extra_libs="no"
+fi
+
+AC_SUBST(USER_LDFLAGS)
+
+AC_MSG_RESULT($kde_use_extra_libs)
+
+])
+
+AC_DEFUN([KDE_1_CHECK_PATH_HEADERS],
+[
+ AC_MSG_CHECKING([for KDE headers installed])
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+cat > conftest.$ac_ext <<EOF
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+#endif
+#include <stdio.h>
+#include "confdefs.h"
+#include <kapp.h>
+
+int main() {
+ printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
+ printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
+ printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
+ printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
+ printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
+ printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
+ printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
+ printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
+ printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
+ printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
+ printf("kde_wallpaperdir=\\"%s\\"\n",
+ KApplication::kde_wallpaperdir().data());
+ printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
+ printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
+ printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
+ printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
+ printf("kde_moduledir=\\"/tmp/dummy\\"\n");
+ printf("kde_styledir=\\"/tmp/dummy\\"\n");
+ printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
+ printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
+ printf("xdg_menudir=\\"/tmp/dummy\\"\n");
+ printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
+ printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
+ return 0;
+ }
+EOF
+
+ ac_save_CPPFLAGS=$CPPFLAGS
+ CPPFLAGS="$all_includes $CPPFLAGS"
+ if AC_TRY_EVAL(ac_compile); then
+ AC_MSG_RESULT(yes)
+ else
+ AC_MSG_ERROR([your system is not able to compile a small KDE application!
+Check, if you installed the KDE header files correctly.
+For more details about this problem, look at the end of config.log.])
+ fi
+ CPPFLAGS=$ac_save_CPPFLAGS
+
+ AC_LANG_RESTORE
+])
+
+AC_DEFUN([KDE_CHECK_KDEQTADDON],
+[
+AC_MSG_CHECKING(for kde-qt-addon)
+AC_CACHE_VAL(kde_cv_have_kdeqtaddon,
+[
+ kde_ldflags_safe="$LDFLAGS"
+ kde_libs_safe="$LIBS"
+ kde_cxxflags_safe="$CXXFLAGS"
+
+ LIBS="-lkde-qt-addon $LIBQT $LIBS"
+ CXXFLAGS="$CXXFLAGS -I$prefix/include -I$prefix/include/kde $all_includes"
+ LDFLAGS="$LDFLAGS $all_libraries $USER_LDFLAGS"
+
+ AC_TRY_LINK([
+ #include <qdom.h>
+ ],
+ [
+ QDomDocument doc;
+ ],
+ kde_cv_have_kdeqtaddon=yes,
+ kde_cv_have_kdeqtaddon=no
+ )
+
+ LDFLAGS=$kde_ldflags_safe
+ LIBS=$kde_libs_safe
+ CXXFLAGS=$kde_cxxflags_safe
+])
+
+AC_MSG_RESULT($kde_cv_have_kdeqtaddon)
+
+if test "$kde_cv_have_kdeqtaddon" = "no"; then
+ AC_MSG_ERROR([Can't find libkde-qt-addon. You need to install it first.
+It is a separate package (and CVS module) named kde-qt-addon.])
+fi
+])
+
+AC_DEFUN([KDE_CREATE_LIBS_ALIASES],
+[
+ AC_REQUIRE([KDE_MISC_TESTS])
+ AC_REQUIRE([KDE_CHECK_LIBDL])
+ AC_REQUIRE([K_PATH_X])
+
+if test $kde_qtver = 3; then
+ case $host in
+ *cygwin*) lib_kded="-lkdeinit_kded" ;;
+ *) lib_kded="" ;;
+ esac
+ AC_SUBST(LIB_KDED, $lib_kded)
+ AC_SUBST(LIB_KDECORE, "-lkdecore")
+ AC_SUBST(LIB_KDEUI, "-lkdeui")
+ AC_SUBST(LIB_KIO, "-lkio")
+ AC_SUBST(LIB_KJS, "-lkjs")
+ AC_SUBST(LIB_SMB, "-lsmb")
+ AC_SUBST(LIB_KAB, "-lkab")
+ AC_SUBST(LIB_KABC, "-lkabc")
+ AC_SUBST(LIB_KHTML, "-lkhtml")
+ AC_SUBST(LIB_KSPELL, "-lkspell")
+ AC_SUBST(LIB_KPARTS, "-lkparts")
+ AC_SUBST(LIB_KDEPRINT, "-lkdeprint")
+ AC_SUBST(LIB_KUTILS, "-lkutils")
+ AC_SUBST(LIB_KDEPIM, "-lkdepim")
+ AC_SUBST(LIB_KIMPROXY, "-lkimproxy")
+ AC_SUBST(LIB_KNEWSTUFF, "-lknewstuff")
+ AC_SUBST(LIB_KDNSSD, "-lkdnssd")
+ AC_SUBST(LIB_KUNITTEST, "-lkunittest")
+# these are for backward compatibility
+ AC_SUBST(LIB_KSYCOCA, "-lkio")
+ AC_SUBST(LIB_KFILE, "-lkio")
+elif test $kde_qtver = 2; then
+ AC_SUBST(LIB_KDECORE, "-lkdecore")
+ AC_SUBST(LIB_KDEUI, "-lkdeui")
+ AC_SUBST(LIB_KIO, "-lkio")
+ AC_SUBST(LIB_KSYCOCA, "-lksycoca")
+ AC_SUBST(LIB_SMB, "-lsmb")
+ AC_SUBST(LIB_KFILE, "-lkfile")
+ AC_SUBST(LIB_KAB, "-lkab")
+ AC_SUBST(LIB_KHTML, "-lkhtml")
+ AC_SUBST(LIB_KSPELL, "-lkspell")
+ AC_SUBST(LIB_KPARTS, "-lkparts")
+ AC_SUBST(LIB_KDEPRINT, "-lkdeprint")
+else
+ AC_SUBST(LIB_KDECORE, "-lkdecore -lXext $(LIB_QT)")
+ AC_SUBST(LIB_KDEUI, "-lkdeui $(LIB_KDECORE)")
+ AC_SUBST(LIB_KFM, "-lkfm $(LIB_KDECORE)")
+ AC_SUBST(LIB_KFILE, "-lkfile $(LIB_KFM) $(LIB_KDEUI)")
+ AC_SUBST(LIB_KAB, "-lkab $(LIB_KIMGIO) $(LIB_KDECORE)")
+fi
+])
+
+AC_DEFUN([AC_PATH_KDE],
+[
+ AC_BASE_PATH_KDE
+ AC_ARG_ENABLE(path-check,AC_HELP_STRING([--disable-path-check],[don't try to find out, where to install]),
+ [
+ if test "$enableval" = "no";
+ then ac_use_path_checking="default"
+ else ac_use_path_checking=""
+ fi
+ ],
+ [
+ if test "$kde_qtver" = 1;
+ then ac_use_path_checking=""
+ else ac_use_path_checking="default"
+ fi
+ ]
+ )
+
+ AC_CREATE_KFSSTND($ac_use_path_checking)
+
+ AC_SUBST_KFSSTND
+ KDE_CREATE_LIBS_ALIASES
+])
+
+dnl KDE_CHECK_FUNC_EXT(<func>, [headers], [sample-use], [C prototype], [autoheader define], [call if found])
+AC_DEFUN([KDE_CHECK_FUNC_EXT],
+[
+AC_MSG_CHECKING(for $1)
+AC_CACHE_VAL(kde_cv_func_$1,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+save_CXXFLAGS="$CXXFLAGS"
+kde_safe_LIBS="$LIBS"
+LIBS="$LIBS $X_EXTRA_LIBS"
+if test "$GXX" = "yes"; then
+CXXFLAGS="$CXXFLAGS -pedantic-errors"
+fi
+AC_TRY_COMPILE([
+$2
+],
+[
+$3
+],
+kde_cv_func_$1=yes,
+kde_cv_func_$1=no)
+CXXFLAGS="$save_CXXFLAGS"
+LIBS="$kde_safe_LIBS"
+AC_LANG_RESTORE
+])
+
+AC_MSG_RESULT($kde_cv_func_$1)
+
+AC_MSG_CHECKING([if $1 needs custom prototype])
+AC_CACHE_VAL(kde_cv_proto_$1,
+[
+if test "x$kde_cv_func_$1" = xyes; then
+ kde_cv_proto_$1=no
+else
+ case "$1" in
+ setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
+ kde_cv_proto_$1="yes - in libkdefakes"
+ ;;
+ *)
+ kde_cv_proto_$1=unknown
+ ;;
+ esac
+fi
+
+if test "x$kde_cv_proto_$1" = xunknown; then
+
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+ kde_safe_libs=$LIBS
+ LIBS="$LIBS $X_EXTRA_LIBS"
+ AC_TRY_LINK([
+$2
+
+extern "C" $4;
+],
+[
+$3
+],
+[ kde_cv_func_$1=yes
+ kde_cv_proto_$1=yes ],
+ [kde_cv_proto_$1="$1 unavailable"]
+)
+LIBS=$kde_safe_libs
+AC_LANG_RESTORE
+fi
+])
+AC_MSG_RESULT($kde_cv_proto_$1)
+
+if test "x$kde_cv_func_$1" = xyes; then
+ AC_DEFINE(HAVE_$5, 1, [Define if you have $1])
+ $6
+fi
+if test "x$kde_cv_proto_$1" = xno; then
+ AC_DEFINE(HAVE_$5_PROTO, 1,
+ [Define if you have the $1 prototype])
+fi
+
+AH_VERBATIM([_HAVE_$5_PROTO],
+[
+#if !defined(HAVE_$5_PROTO)
+#ifdef __cplusplus
+extern "C" {
+#endif
+$4;
+#ifdef __cplusplus
+}
+#endif
+#endif
+])
+])
+
+AC_DEFUN([AC_CHECK_SETENV],
+[
+ KDE_CHECK_FUNC_EXT(setenv, [
+#include <stdlib.h>
+],
+ [setenv("VAR", "VALUE", 1);],
+ [int setenv (const char *, const char *, int)],
+ [SETENV])
+])
+
+AC_DEFUN([AC_CHECK_UNSETENV],
+[
+ KDE_CHECK_FUNC_EXT(unsetenv, [
+#include <stdlib.h>
+],
+ [unsetenv("VAR");],
+ [void unsetenv (const char *)],
+ [UNSETENV])
+])
+
+AC_DEFUN([AC_CHECK_GETDOMAINNAME],
+[
+ KDE_CHECK_FUNC_EXT(getdomainname, [
+#include <stdlib.h>
+#include <unistd.h>
+#include <netdb.h>
+],
+ [
+char buffer[200];
+getdomainname(buffer, 200);
+],
+ [#include <sys/types.h>
+ int getdomainname (char *, size_t)],
+ [GETDOMAINNAME])
+])
+
+AC_DEFUN([AC_CHECK_GETHOSTNAME],
+[
+ KDE_CHECK_FUNC_EXT(gethostname, [
+#include <stdlib.h>
+#include <unistd.h>
+],
+ [
+char buffer[200];
+gethostname(buffer, 200);
+],
+ [int gethostname (char *, unsigned int)],
+ [GETHOSTNAME])
+])
+
+AC_DEFUN([AC_CHECK_USLEEP],
+[
+ KDE_CHECK_FUNC_EXT(usleep, [
+#include <unistd.h>
+],
+ [
+usleep(200);
+],
+ [int usleep (unsigned int)],
+ [USLEEP])
+])
+
+
+AC_DEFUN([AC_CHECK_RANDOM],
+[
+ KDE_CHECK_FUNC_EXT(random, [
+#include <stdlib.h>
+],
+ [
+random();
+],
+ [long int random(void)],
+ [RANDOM])
+
+ KDE_CHECK_FUNC_EXT(srandom, [
+#include <stdlib.h>
+],
+ [
+srandom(27);
+],
+ [void srandom(unsigned int)],
+ [SRANDOM])
+
+])
+
+AC_DEFUN([AC_CHECK_INITGROUPS],
+[
+ KDE_CHECK_FUNC_EXT(initgroups, [
+#include <sys/types.h>
+#include <unistd.h>
+#include <grp.h>
+],
+ [
+char buffer[200];
+initgroups(buffer, 27);
+],
+ [int initgroups(const char *, gid_t)],
+ [INITGROUPS])
+])
+
+AC_DEFUN([AC_CHECK_MKSTEMPS],
+[
+ KDE_CHECK_FUNC_EXT(mkstemps, [
+#include <stdlib.h>
+#include <unistd.h>
+],
+ [
+mkstemps("/tmp/aaaXXXXXX", 6);
+],
+ [int mkstemps(char *, int)],
+ [MKSTEMPS])
+])
+
+AC_DEFUN([AC_CHECK_MKSTEMP],
+[
+ KDE_CHECK_FUNC_EXT(mkstemp, [
+#include <stdlib.h>
+#include <unistd.h>
+],
+ [
+mkstemp("/tmp/aaaXXXXXX");
+],
+ [int mkstemp(char *)],
+ [MKSTEMP])
+])
+
+AC_DEFUN([AC_CHECK_MKDTEMP],
+[
+ KDE_CHECK_FUNC_EXT(mkdtemp, [
+#include <stdlib.h>
+#include <unistd.h>
+],
+ [
+mkdtemp("/tmp/aaaXXXXXX");
+],
+ [char *mkdtemp(char *)],
+ [MKDTEMP])
+])
+
+
+AC_DEFUN([AC_CHECK_RES_INIT],
+[
+ AC_MSG_CHECKING([if res_init needs -lresolv])
+ kde_libs_safe="$LIBS"
+ LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
+ AC_TRY_LINK(
+ [
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+ ],
+ [
+ res_init();
+ ],
+ [
+ LIBRESOLV="-lresolv"
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_RES_INIT, 1, [Define if you have the res_init function])
+ ],
+ [ AC_MSG_RESULT(no) ]
+ )
+ LIBS=$kde_libs_safe
+ AC_SUBST(LIBRESOLV)
+
+ KDE_CHECK_FUNC_EXT(res_init,
+ [
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+ ],
+ [res_init()],
+ [int res_init(void)],
+ [RES_INIT])
+])
+
+AC_DEFUN([AC_CHECK_STRLCPY],
+[
+ KDE_CHECK_FUNC_EXT(strlcpy, [
+#include <string.h>
+],
+[ char buf[20];
+ strlcpy(buf, "KDE function test", sizeof(buf));
+],
+ [unsigned long strlcpy(char*, const char*, unsigned long)],
+ [STRLCPY])
+])
+
+AC_DEFUN([AC_CHECK_STRLCAT],
+[
+ KDE_CHECK_FUNC_EXT(strlcat, [
+#include <string.h>
+],
+[ char buf[20];
+ buf[0]='\0';
+ strlcat(buf, "KDE function test", sizeof(buf));
+],
+ [unsigned long strlcat(char*, const char*, unsigned long)],
+ [STRLCAT])
+])
+
+AC_DEFUN([AC_CHECK_RES_QUERY],
+[
+ KDE_CHECK_FUNC_EXT(res_query, [
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+#include <netdb.h>
+],
+[
+res_query(NULL, 0, 0, NULL, 0);
+],
+ [int res_query(const char *, int, int, unsigned char *, int)],
+ [RES_QUERY])
+])
+
+AC_DEFUN([AC_CHECK_DN_SKIPNAME],
+[
+ KDE_CHECK_FUNC_EXT(dn_skipname, [
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+],
+[
+dn_skipname (NULL, NULL);
+],
+ [int dn_skipname (unsigned char *, unsigned char *)],
+ [DN_SKIPNAME])
+])
+
+
+AC_DEFUN([AC_FIND_GIF],
+ [AC_MSG_CHECKING([for giflib])
+AC_CACHE_VAL(ac_cv_lib_gif,
+[ac_save_LIBS="$LIBS"
+if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+LIBS="$all_libraries -lgif -lX11 $LIBSOCKET"
+else
+LIBS="$all_libraries -lgif"
+fi
+AC_TRY_LINK(dnl
+[
+#ifdef __cplusplus
+extern "C" {
+#endif
+int GifLastError(void);
+#ifdef __cplusplus
+}
+#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+],
+ [return GifLastError();],
+ eval "ac_cv_lib_gif=yes",
+ eval "ac_cv_lib_gif=no")
+LIBS="$ac_save_LIBS"
+])dnl
+if eval "test \"`echo $ac_cv_lib_gif`\" = yes"; then
+ AC_MSG_RESULT(yes)
+ AC_DEFINE_UNQUOTED(HAVE_LIBGIF, 1, [Define if you have libgif])
+else
+ AC_MSG_ERROR(You need giflib30. Please install the kdesupport package)
+fi
+])
+
+AC_DEFUN([KDE_FIND_JPEG_HELPER],
+[
+AC_MSG_CHECKING([for libjpeg$2])
+AC_CACHE_VAL(ac_cv_lib_jpeg_$1,
+[
+ac_save_LIBS="$LIBS"
+LIBS="$all_libraries $USER_LDFLAGS -ljpeg$2 -lm"
+ac_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+AC_TRY_LINK(
+[
+#ifdef __cplusplus
+extern "C" {
+#endif
+void jpeg_CreateDecompress();
+#ifdef __cplusplus
+}
+#endif
+],
+[jpeg_CreateDecompress();],
+ eval "ac_cv_lib_jpeg_$1=-ljpeg$2",
+ eval "ac_cv_lib_jpeg_$1=no")
+LIBS="$ac_save_LIBS"
+CFLAGS="$ac_save_CFLAGS"
+])
+
+if eval "test ! \"`echo $ac_cv_lib_jpeg_$1`\" = no"; then
+ LIBJPEG="$ac_cv_lib_jpeg_$1"
+ AC_MSG_RESULT($ac_cv_lib_jpeg_$1)
+else
+ AC_MSG_RESULT(no)
+ $3
+fi
+
+])
+
+AC_DEFUN([AC_FIND_JPEG],
+[
+dnl first look for libraries
+KDE_FIND_JPEG_HELPER(6b, 6b,
+ KDE_FIND_JPEG_HELPER(normal, [],
+ [
+ LIBJPEG=
+ ]
+ )
+)
+
+dnl then search the headers (can't use simply AC_TRY_xxx, as jpeglib.h
+dnl requires system dependent includes loaded before it)
+jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes"
+AC_FIND_FILE(jpeglib.h, $jpeg_incdirs, jpeg_incdir)
+test "x$jpeg_incdir" = xNO && jpeg_incdir=
+
+dnl if headers _and_ libraries are missing, this is no error, and we
+dnl continue with a warning (the user will get no jpeg support in khtml)
+dnl if only one is missing, it means a configuration error, but we still
+dnl only warn
+if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
+ AC_DEFINE_UNQUOTED(HAVE_LIBJPEG, 1, [Define if you have libjpeg])
+else
+ if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
+ AC_MSG_WARN([
+There is an installation error in jpeg support. You seem to have only one
+of either the headers _or_ the libraries installed. You may need to either
+provide correct --with-extra-... options, or the development package of
+libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
+Disabling JPEG support.
+])
+ else
+ AC_MSG_WARN([libjpeg not found. disable JPEG support.])
+ fi
+ jpeg_incdir=
+ LIBJPEG=
+fi
+
+AC_SUBST(LIBJPEG)
+AH_VERBATIM(_AC_CHECK_JPEG,
+[/*
+ * jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
+ * headers and I'm too lazy to write a configure test as long as only
+ * unixware is related
+ */
+#ifdef _UNIXWARE
+#define HAVE_BOOLEAN
+#endif
+])
+])
+
+AC_DEFUN([KDE_CHECK_QT_JPEG],
+[
+if test -n "$LIBJPEG"; then
+AC_MSG_CHECKING([if Qt needs $LIBJPEG])
+AC_CACHE_VAL(kde_cv_qt_jpeg,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+ac_save_LIBS="$LIBS"
+LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
+LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
+ac_save_CXXFLAGS="$CXXFLAGS"
+CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
+AC_TRY_LINK(
+[#include <qapplication.h>],
+ [
+ int argc;
+ char** argv;
+ QApplication app(argc, argv);],
+ eval "kde_cv_qt_jpeg=no",
+ eval "kde_cv_qt_jpeg=yes")
+LIBS="$ac_save_LIBS"
+CXXFLAGS="$ac_save_CXXFLAGS"
+AC_LANG_RESTORE
+fi
+])
+
+if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
+ AC_MSG_RESULT(yes)
+ LIBJPEG_QT='$(LIBJPEG)'
+else
+ AC_MSG_RESULT(no)
+ LIBJPEG_QT=
+fi
+
+])
+
+AC_DEFUN([AC_FIND_ZLIB],
+[
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+AC_MSG_CHECKING([for libz])
+AC_CACHE_VAL(ac_cv_lib_z,
+[
+kde_save_LIBS="$LIBS"
+LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
+kde_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+AC_TRY_LINK(dnl
+[
+#include<zlib.h>
+#include<string.h>
+],
+[
+ char buf[42];
+ gzFile f = (gzFile) 0;
+ /* this would segfault.. but we only link, don't run */
+ (void) gzgets(f, buf, sizeof(buf));
+
+ return (strcmp(zlibVersion(), ZLIB_VERSION) == 0);
+],
+ eval "ac_cv_lib_z='-lz'",
+ eval "ac_cv_lib_z=no")
+LIBS="$kde_save_LIBS"
+CFLAGS="$kde_save_CFLAGS"
+])dnl
+if test ! "$ac_cv_lib_z" = no; then
+ AC_DEFINE_UNQUOTED(HAVE_LIBZ, 1, [Define if you have libz])
+ LIBZ="$ac_cv_lib_z"
+ AC_MSG_RESULT($ac_cv_lib_z)
+else
+ AC_MSG_ERROR(not found.
+ Possibly configure picks up an outdated version
+ installed by XFree86. Remove it from your system.
+
+ Check your installation and look into config.log)
+ LIBZ=""
+fi
+AC_SUBST(LIBZ)
+])
+
+AC_DEFUN([KDE_TRY_TIFFLIB],
+[
+AC_MSG_CHECKING([for libtiff $1])
+
+AC_CACHE_VAL(kde_cv_libtiff_$1,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+kde_save_LIBS="$LIBS"
+if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+LIBS="$all_libraries $USER_LDFLAGS -l$1 $LIBJPEG $LIBZ -lX11 $LIBSOCKET -lm"
+else
+LIBS="$all_libraries $USER_LDFLAGS -l$1 $LIBJPEG $LIBZ -lm"
+fi
+kde_save_CXXFLAGS="$CXXFLAGS"
+CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
+
+AC_TRY_LINK(dnl
+[
+#include<tiffio.h>
+],
+ [return (TIFFOpen( "", "r") == 0); ],
+[
+ kde_cv_libtiff_$1="-l$1 $LIBJPEG $LIBZ"
+], [
+ kde_cv_libtiff_$1=no
+])
+
+LIBS="$kde_save_LIBS"
+CXXFLAGS="$kde_save_CXXFLAGS"
+AC_LANG_RESTORE
+])
+
+if test "$kde_cv_libtiff_$1" = "no"; then
+ AC_MSG_RESULT(no)
+ LIBTIFF=""
+ $3
+else
+ LIBTIFF="$kde_cv_libtiff_$1"
+ AC_MSG_RESULT(yes)
+ AC_DEFINE_UNQUOTED(HAVE_LIBTIFF, 1, [Define if you have libtiff])
+ $2
+fi
+
+])
+
+AC_DEFUN([AC_FIND_TIFF],
+[
+AC_REQUIRE([K_PATH_X])
+AC_REQUIRE([AC_FIND_ZLIB])
+AC_REQUIRE([AC_FIND_JPEG])
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+
+KDE_TRY_TIFFLIB(tiff, [],
+ KDE_TRY_TIFFLIB(tiff34))
+
+AC_SUBST(LIBTIFF)
+])
+
+AC_DEFUN([KDE_FIND_LIBEXR],
+[
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+AC_REQUIRE([AC_FIND_ZLIB])
+AC_CACHE_VAL(ac_cv_libexr,
+[
+ if test -z "$PKG_CONFIG"; then
+ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+ fi
+
+ AC_MSG_CHECKING([for OpenEXR libraries])
+
+ if test "$PKG_CONFIG" = "no" ; then
+ AC_MSG_RESULT(no)
+ echo "*** The pkg-config script could not be found. Make sure it is"
+ echo "*** in your path, or set the PKG_CONFIG environment variable"
+ echo "*** to the full path to pkg-config."
+ echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
+ else
+ if !(`$PKG_CONFIG --exists OpenEXR`) ; then
+ AC_MSG_RESULT(no)
+ EXRSTATUS=no
+ else
+ if !(`$PKG_CONFIG --atleast-version="1.1.1" OpenEXR`) ; then
+ AC_MSG_RESULT(no)
+ EXRSTATUS=old
+ else
+ kde_save_LIBS="$LIBS"
+ LIBS="$LIBS $all_libraries $USER_LDFLAGS `pkg-config --libs OpenEXR` $LIBZ"
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ kde_save_CXXFLAGS="$CXXFLAGS"
+ EXR_FLAGS=`$PKG_CONFIG --cflags OpenEXR`
+ CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES $EXR_FLAGS"
+
+ AC_TRY_LINK(dnl
+ [
+ #include <ImfRgbaFile.h>
+ ],
+ [
+ using namespace Imf;
+ RgbaInputFile file ("dummy");
+ return 0;
+ ],
+ eval "ac_cv_libexr='`pkg-config --libs OpenEXR`'",
+ eval "ac_cv_libexr=no"
+ )
+ LIBS="$kde_save_LIBS"
+ CXXFLAGS="$kde_save_CXXFLAGS"
+ AC_LANG_RESTORE
+ ])dnl
+ if eval "test ! \"`echo $ac_cv_libexr`\" = no"; then
+ AC_DEFINE_UNQUOTED(HAVE_EXR, 1, [Define if you have OpenEXR])
+ LIB_EXR="$ac_cv_libexr"
+ AC_MSG_RESULT($ac_cv_libexr)
+ else
+ AC_MSG_RESULT(no)
+ LIB_EXR=""
+ fi
+ fi
+ fi
+ fi
+ AC_SUBST(LIB_EXR)
+ AC_SUBST(EXR_FLAGS)
+])
+
+
+
+AC_DEFUN([AC_FIND_PNG],
+[
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+AC_REQUIRE([AC_FIND_ZLIB])
+AC_MSG_CHECKING([for libpng])
+AC_CACHE_VAL(ac_cv_lib_png,
+[
+kde_save_LIBS="$LIBS"
+if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
+else
+LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
+fi
+kde_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+
+AC_TRY_LINK(dnl
+ [
+ #include<png.h>
+ ],
+ [
+ png_structp png_ptr = png_create_read_struct( /* image ptr */
+ PNG_LIBPNG_VER_STRING, 0, 0, 0 );
+ return( png_ptr != 0 );
+ ],
+ eval "ac_cv_lib_png='-lpng $LIBZ -lm'",
+ eval "ac_cv_lib_png=no"
+)
+LIBS="$kde_save_LIBS"
+CFLAGS="$kde_save_CFLAGS"
+])dnl
+if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
+ AC_DEFINE_UNQUOTED(HAVE_LIBPNG, 1, [Define if you have libpng])
+ LIBPNG="$ac_cv_lib_png"
+ AC_SUBST(LIBPNG)
+ AC_MSG_RESULT($ac_cv_lib_png)
+else
+ AC_MSG_RESULT(no)
+ LIBPNG=""
+ AC_SUBST(LIBPNG)
+fi
+])
+
+
+AC_DEFUN([AC_FIND_JASPER],
+[
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+AC_REQUIRE([AC_FIND_JPEG])
+AC_MSG_CHECKING([for jasper])
+AC_CACHE_VAL(ac_cv_jasper,
+[
+kde_save_LIBS="$LIBS"
+LIBS="$LIBS $all_libraries $USER_LDFLAGS -ljasper $LIBJPEG -lm"
+kde_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+
+AC_TRY_LINK(dnl
+ [
+ #include<jasper/jasper.h>
+ ],
+ [
+ return( jas_init() );
+ ],
+ eval "ac_cv_jasper='-ljasper $LIBJPEG -lm'",
+ eval "ac_cv_jasper=no"
+)
+LIBS="$kde_save_LIBS"
+CFLAGS="$kde_save_CFLAGS"
+])dnl
+if eval "test ! \"`echo $ac_cv_jasper`\" = no"; then
+ AC_DEFINE_UNQUOTED(HAVE_JASPER, 1, [Define if you have jasper])
+ LIB_JASPER="$ac_cv_jasper"
+ AC_MSG_RESULT($ac_cv_jasper)
+else
+ AC_MSG_RESULT(no)
+ LIB_JASPER=""
+fi
+AC_SUBST(LIB_JASPER)
+])
+
+AC_DEFUN([AC_CHECK_BOOL],
+[
+ AC_DEFINE_UNQUOTED(HAVE_BOOL, 1, [You _must_ have bool])
+])
+
+AC_DEFUN([AC_CHECK_GNU_EXTENSIONS],
+[
+AC_MSG_CHECKING(if you need GNU extensions)
+AC_CACHE_VAL(ac_cv_gnu_extensions,
+[
+cat > conftest.c << EOF
+#include <features.h>
+
+#ifdef __GNU_LIBRARY__
+yes
+#endif
+EOF
+
+if (eval "$ac_cpp conftest.c") 2>&5 |
+ egrep "yes" >/dev/null 2>&1; then
+ rm -rf conftest*
+ ac_cv_gnu_extensions=yes
+else
+ ac_cv_gnu_extensions=no
+fi
+])
+
+AC_MSG_RESULT($ac_cv_gnu_extensions)
+if test "$ac_cv_gnu_extensions" = "yes"; then
+ AC_DEFINE_UNQUOTED(_GNU_SOURCE, 1, [Define if you need to use the GNU extensions])
+fi
+])
+
+AC_DEFUN([KDE_CHECK_COMPILER_FLAG],
+[
+AC_MSG_CHECKING([whether $CXX supports -$1])
+kde_cache=`echo $1 | sed 'y% .=/+-,%____p__%'`
+AC_CACHE_VAL(kde_cv_prog_cxx_$kde_cache,
+[
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -$1"
+ AC_TRY_LINK([],[ return 0; ], [eval "kde_cv_prog_cxx_$kde_cache=yes"], [])
+ CXXFLAGS="$save_CXXFLAGS"
+ AC_LANG_RESTORE
+])
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ AC_MSG_RESULT(yes)
+ :
+ $2
+else
+ AC_MSG_RESULT(no)
+ :
+ $3
+fi
+])
+
+AC_DEFUN([KDE_CHECK_C_COMPILER_FLAG],
+[
+AC_MSG_CHECKING([whether $CC supports -$1])
+kde_cache=`echo $1 | sed 'y% .=/+-,%____p__%'`
+AC_CACHE_VAL(kde_cv_prog_cc_$kde_cache,
+[
+ AC_LANG_SAVE
+ AC_LANG_C
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -$1"
+ AC_TRY_LINK([],[ return 0; ], [eval "kde_cv_prog_cc_$kde_cache=yes"], [])
+ CFLAGS="$save_CFLAGS"
+ AC_LANG_RESTORE
+])
+if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then
+ AC_MSG_RESULT(yes)
+ :
+ $2
+else
+ AC_MSG_RESULT(no)
+ :
+ $3
+fi
+])
+
+
+dnl AC_REMOVE_FORBIDDEN removes forbidden arguments from variables
+dnl use: AC_REMOVE_FORBIDDEN(CC, [-forbid -bad-option whatever])
+dnl it's all white-space separated
+AC_DEFUN([AC_REMOVE_FORBIDDEN],
+[ __val=$$1
+ __forbid=" $2 "
+ if test -n "$__val"; then
+ __new=""
+ ac_save_IFS=$IFS
+ IFS=" "
+ for i in $__val; do
+ case "$__forbid" in
+ *" $i "*) AC_MSG_WARN([found forbidden $i in $1, removing it]) ;;
+ *) # Careful to not add spaces, where there were none, because otherwise
+ # libtool gets confused, if we change e.g. CXX
+ if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
+ esac
+ done
+ IFS=$ac_save_IFS
+ $1=$__new
+ fi
+])
+
+
+AC_DEFUN([KDE_CHECK_FOR_BAD_COMPILER],
+[
+ AC_MSG_CHECKING([whether $CC is blacklisted])
+
+ dnl In theory we have tu run this test against $CC and $CXX
+ dnl in C and in C++ mode, because its perfectly legal for
+ dnl the user to mix compiler versions, since C has a defined
+ dnl ABI.
+ dnl
+ dnl For now, we assume the user is not on crack.
+
+ AC_TRY_COMPILE([
+#ifdef __GNUC__
+#if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0
+choke me
+#endif
+#endif
+], ,
+ kde_bad_compiler=no,
+ kde_bad_compiler=yes
+)
+
+ AC_MSG_RESULT($kde_bad_compiler)
+
+if test "$kde_bad_compiler" = "yes"; then
+ AC_MSG_ERROR([
+
+This particular compiler version is blacklisted because it
+is known to miscompile KDE. Please use a newer version, or
+if that is not yet available, choose an older version.
+
+Please do not report a bug or bother us reporting this
+configure error. We know about it, and we introduced
+it by intention to avoid untraceable bugs or crashes in KDE.
+
+])
+fi
+
+])
+
+
+AC_DEFUN([KDE_CHECK_FOR_OPT_NOINLINE_MATCH],
+[
+ AC_CACHE_CHECK([whether system headers can cope with -O2 -fno-inline],
+ kde_cv_opt_noinline_match,
+ [
+ kde_cv_opt_noinline_match=irrelevant
+ dnl if we don't use both -O2 and -fno-inline, this check is moot
+ if echo "$CFLAGS" | grep -e -O2 >/dev/null 2>/dev/null \
+ && echo "$CFLAGS" | grep -e -fno-inline >/dev/null 2>/dev/null ; then
+
+ ac_cflags_save="$CFLAGS"
+ CFLAGS="$CFLAGS -D_USE_GNU"
+
+ AC_TRY_LINK([
+ #include <string.h>
+], [ const char *pt, *et;
+ et = __extension__ ({ char __a0, __a1, __a2; (__builtin_constant_p ( ";," ) && ((size_t)(const void *)(( ";," )+ 1) - (size_t)(const void *)( ";," ) == 1) ? ((__a0 =((__const char *) ( ";," ))[0], __a0 == '\0') ? ((void) ( pt ),((void *)0) ) : ((__a1 = ((__const char *) ( ";," ))[1], __a1== '\0') ? (__extension__ (__builtin_constant_p ( __a0 ) && ( __a0 ) == '\0' ? (char *) __rawmemchr ( pt , __a0) : strchr( pt , __a0 ))) : ((__a2 = ((__const char *) ( ";," ))[2], __a2 == '\0') ? __strpbrk_c2 ( pt , __a0, __a1) :(((__const char *) ( ";," ))[3] == '\0' ? __strpbrk_c3 ( pt ,__a0, __a1, __a2): strpbrk ( pt , ";," ))))) : strpbrk ( pt , ";," )); }) ;
+],
+ kde_cv_opt_noinline_match=yes,
+ kde_cv_opt_noinline_match=no
+ )
+
+ CFLAGS="$ac_cflags_save"
+ fi
+ ])
+])
+
+
+dnl AC_VALIDIFY_CXXFLAGS checks for forbidden flags the user may have given
+AC_DEFUN([AC_VALIDIFY_CXXFLAGS],
+[dnl
+if test "x$kde_use_qt_emb" != "xyes"; then
+ AC_REMOVE_FORBIDDEN(CXX, [-fno-rtti -rpath])
+ AC_REMOVE_FORBIDDEN(CXXFLAGS, [-fno-rtti -rpath])
+else
+ AC_REMOVE_FORBIDDEN(CXX, [-rpath])
+ AC_REMOVE_FORBIDDEN(CXXFLAGS, [-rpath])
+fi
+])
+
+AC_DEFUN([AC_CHECK_COMPILERS],
+[
+ AC_ARG_ENABLE(debug,
+ AC_HELP_STRING([--enable-debug=ARG],[enables debug symbols (yes|no|full) [default=no]]),
+ [
+ case $enableval in
+ yes)
+ kde_use_debug_code="yes"
+ kde_use_debug_define=no
+ ;;
+ full)
+ kde_use_debug_code="full"
+ kde_use_debug_define=no
+ ;;
+ *)
+ kde_use_debug_code="no"
+ kde_use_debug_define=yes
+ ;;
+ esac
+ ],
+ [kde_use_debug_code="no"
+ kde_use_debug_define=no
+ ])
+
+ dnl Just for configure --help
+ AC_ARG_ENABLE(dummyoption,
+ AC_HELP_STRING([--disable-debug],
+ [disables debug output and debug symbols [default=no]]),
+ [],[])
+
+ AC_ARG_ENABLE(strict,
+ AC_HELP_STRING([--enable-strict],
+ [compiles with strict compiler options (may not work!)]),
+ [
+ if test $enableval = "no"; then
+ kde_use_strict_options="no"
+ else
+ kde_use_strict_options="yes"
+ fi
+ ], [kde_use_strict_options="no"])
+
+ AC_ARG_ENABLE(warnings,AC_HELP_STRING([--disable-warnings],[disables compilation with -Wall and similar]),
+ [
+ if test $enableval = "no"; then
+ kde_use_warnings="no"
+ else
+ kde_use_warnings="yes"
+ fi
+ ], [kde_use_warnings="yes"])
+
+ dnl enable warnings for debug build
+ if test "$kde_use_debug_code" != "no"; then
+ kde_use_warnings=yes
+ fi
+
+ AC_ARG_ENABLE(profile,AC_HELP_STRING([--enable-profile],[creates profiling infos [default=no]]),
+ [kde_use_profiling=$enableval],
+ [kde_use_profiling="no"]
+ )
+
+ dnl this prevents stupid AC_PROG_CC to add "-g" to the default CFLAGS
+ CFLAGS=" $CFLAGS"
+
+ AC_PROG_CC
+
+ AC_PROG_CPP
+
+ if test "$GCC" = "yes"; then
+ if test "$kde_use_debug_code" != "no"; then
+ if test $kde_use_debug_code = "full"; then
+ CFLAGS="-g3 -fno-inline $CFLAGS"
+ else
+ CFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CFLAGS"
+ fi
+ else
+ CFLAGS="-O2 $CFLAGS"
+ fi
+ fi
+
+ if test "$kde_use_debug_define" = "yes"; then
+ CFLAGS="-DNDEBUG $CFLAGS"
+ fi
+
+
+ case "$host" in
+ *-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";;
+ *-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";;
+ esac
+
+ if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
+ LDFLAGS=""
+ fi
+
+ CXXFLAGS=" $CXXFLAGS"
+
+ AC_PROG_CXX
+
+ KDE_CHECK_FOR_BAD_COMPILER
+
+ if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
+ if test "$kde_use_debug_code" != "no"; then
+ if test "$CXX" = "KCC"; then
+ CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
+ else
+ if test "$kde_use_debug_code" = "full"; then
+ CXXFLAGS="-g3 -fno-inline $CXXFLAGS"
+ else
+ CXXFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CXXFLAGS"
+ fi
+ fi
+ KDE_CHECK_COMPILER_FLAG(fno-builtin,[CXXFLAGS="-fno-builtin $CXXFLAGS"])
+
+ dnl convenience compiler flags
+ KDE_CHECK_COMPILER_FLAG(Woverloaded-virtual, [WOVERLOADED_VIRTUAL="-Woverloaded-virtual"], [WOVERLOADED_VRITUAL=""])
+ AC_SUBST(WOVERLOADED_VIRTUAL)
+ else
+ if test "$CXX" = "KCC"; then
+ CXXFLAGS="+K3 $CXXFLAGS"
+ else
+ CXXFLAGS="-O2 $CXXFLAGS"
+ fi
+ fi
+ fi
+
+ if test "$kde_use_debug_define" = "yes"; then
+ CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
+ fi
+
+ if test "$kde_use_profiling" = "yes"; then
+ KDE_CHECK_COMPILER_FLAG(pg,
+ [
+ CFLAGS="-pg $CFLAGS"
+ CXXFLAGS="-pg $CXXFLAGS"
+ ])
+ fi
+
+ if test "$kde_use_warnings" = "yes"; then
+ if test "$GCC" = "yes"; then
+ CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
+ case $host in
+ *-*-linux-gnu)
+ CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
+ CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts $CXXFLAGS"
+ KDE_CHECK_COMPILER_FLAG(Wmissing-format-attribute, [CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"])
+ KDE_CHECK_C_COMPILER_FLAG(Wmissing-format-attribute, [CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"])
+ ;;
+ esac
+ KDE_CHECK_COMPILER_FLAG(Wundef,[CXXFLAGS="-Wundef $CXXFLAGS"])
+ KDE_CHECK_COMPILER_FLAG(Wno-long-long,[CXXFLAGS="-Wno-long-long $CXXFLAGS"])
+ dnl ### FIXME: revert for KDE 4
+ KDE_CHECK_COMPILER_FLAG(Wno-non-virtual-dtor,[CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"])
+ fi
+ fi
+
+ if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then
+ CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
+ fi
+
+ AC_ARG_ENABLE(pch,
+ AC_HELP_STRING([--enable-pch],
+ [enables precompiled header support (currently only KCC or gcc >=3.4+unsermake) [default=no]]),
+ [ kde_use_pch=$enableval ],[ kde_use_pch=no ])
+
+ HAVE_GCC_VISIBILITY=0
+ AC_SUBST([HAVE_GCC_VISIBILITY])
+
+ if test "$GXX" = "yes"; then
+ gcc_no_reorder_blocks=NO
+ KDE_CHECK_COMPILER_FLAG(fno-reorder-blocks,[gcc_no_reorder_blocks=YES])
+ if test $kde_use_debug_code != "no" && \
+ test $kde_use_debug_code != "full" && \
+ test "YES" = "$gcc_no_reorder_blocks" ; then
+ CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
+ CFLAGS="$CFLAGS -fno-reorder-blocks"
+ fi
+ KDE_CHECK_COMPILER_FLAG(fno-exceptions,[CXXFLAGS="$CXXFLAGS -fno-exceptions"])
+ KDE_CHECK_COMPILER_FLAG(fno-check-new, [CXXFLAGS="$CXXFLAGS -fno-check-new"])
+ KDE_CHECK_COMPILER_FLAG(fno-common, [CXXFLAGS="$CXXFLAGS -fno-common"])
+ KDE_CHECK_COMPILER_FLAG(fexceptions, [USE_EXCEPTIONS="-fexceptions"], USE_EXCEPTIONS= )
+ ENABLE_PERMISSIVE_FLAG="-fpermissive"
+
+ if test "$kde_use_pch" = "yes"; then
+ AC_MSG_CHECKING(whether gcc supports precompiling c header files)
+ echo >conftest.h
+ if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then
+ kde_gcc_supports_pch=yes
+ AC_MSG_RESULT(yes)
+ else
+ kde_gcc_supports_pch=no
+ AC_MSG_RESULT(no)
+ fi
+ if test "$kde_gcc_supports_pch" = "yes"; then
+ AC_MSG_CHECKING(whether gcc supports precompiling c++ header files)
+ if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then
+ kde_gcc_supports_pch=yes
+ AC_MSG_RESULT(yes)
+ else
+ kde_gcc_supports_pch=no
+ AC_MSG_RESULT(no)
+ fi
+ fi
+ rm -f conftest.h conftest.h.gch
+ fi
+
+ KDE_CHECK_FOR_OPT_NOINLINE_MATCH
+ if test "x$kde_cv_opt_noinline_match" = "xno" ; then
+ CFLAGS="`echo "$CFLAGS" | sed "s/ -fno-inline//"`"
+ fi
+ fi
+ AM_CONDITIONAL(unsermake_enable_pch, test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes")
+ if test "$CXX" = "KCC"; then
+ dnl unfortunately we currently cannot disable exception support in KCC
+ dnl because doing so is binary incompatible and Qt by default links with exceptions :-(
+ dnl KDE_CHECK_COMPILER_FLAG(-no_exceptions,[CXXFLAGS="$CXXFLAGS --no_exceptions"])
+ dnl KDE_CHECK_COMPILER_FLAG(-exceptions, [USE_EXCEPTIONS="--exceptions"], USE_EXCEPTIONS= )
+
+ if test "$kde_use_pch" = "yes"; then
+ dnl TODO: support --pch-dir!
+ KDE_CHECK_COMPILER_FLAG(-pch,[CXXFLAGS="$CXXFLAGS --pch"])
+ dnl the below works (but the dir must exist), but it's
+ dnl useless for a whole package.
+ dnl The are precompiled headers for each source file, so when compiling
+ dnl from scratch, it doesn't make a difference, and they take up
+ dnl around ~5Mb _per_ sourcefile.
+ dnl KDE_CHECK_COMPILER_FLAG(-pch_dir /tmp,
+ dnl [CXXFLAGS="$CXXFLAGS --pch_dir `pwd`/pcheaders"])
+ fi
+ dnl this flag controls inlining. by default KCC inlines in optimisation mode
+ dnl all implementations that are defined inside the class {} declaration.
+ dnl because of templates-compatibility with broken gcc compilers, this
+ dnl can cause excessive inlining. This flag limits it to a sane level
+ KDE_CHECK_COMPILER_FLAG(-inline_keyword_space_time=6,[CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"])
+ KDE_CHECK_COMPILER_FLAG(-inline_auto_space_time=2,[CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"])
+ KDE_CHECK_COMPILER_FLAG(-inline_implicit_space_time=2.0,[CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"])
+ KDE_CHECK_COMPILER_FLAG(-inline_generated_space_time=2.0,[CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"])
+ dnl Some source files are shared between multiple executables
+ dnl (or libraries) and some of those need template instantiations.
+ dnl In that case KCC needs to compile those sources with
+ dnl --one_instantiation_per_object. To make it easy for us we compile
+ dnl _all_ objects with that flag (--one_per is a shorthand).
+ KDE_CHECK_COMPILER_FLAG(-one_per, [CXXFLAGS="$CXXFLAGS --one_per"])
+ fi
+ AC_SUBST(USE_EXCEPTIONS)
+ dnl obsolete macro - provided to keep things going
+ USE_RTTI=
+ AC_SUBST(USE_RTTI)
+
+ case "$host" in
+ *-*-irix*) test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
+ *-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
+ *-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
+ *-*-solaris*)
+ if test "$GXX" = yes; then
+ libstdcpp=`$CXX -print-file-name=libstdc++.so`
+ if test ! -f $libstdcpp; then
+ AC_MSG_ERROR([You've compiled gcc without --enable-shared. This doesn't work with KDE. Please recompile gcc with --enable-shared to receive a libstdc++.so])
+ fi
+ fi
+ ;;
+ esac
+
+ AC_VALIDIFY_CXXFLAGS
+
+ AC_PROG_CXXCPP
+
+ if test "$GCC" = yes; then
+ NOOPT_CFLAGS=-O0
+ fi
+ KDE_CHECK_COMPILER_FLAG(O0,[NOOPT_CXXFLAGS=-O0])
+
+ AC_ARG_ENABLE(coverage,
+ AC_HELP_STRING([--enable-coverage],[use gcc coverage testing]), [
+ if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then
+ ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
+ ac_coverage_linker="-lgcc"
+ elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then
+ ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
+ ac_coverage_linker=""
+ else
+ AC_MSG_ERROR([coverage with your compiler is not supported])
+ fi
+ CFLAGS="$CFLAGS $ac_coverage_compiler"
+ CXXFLAGS="$CXXFLAGS $ac_coverage_compiler"
+ LDFLAGS="$LDFLAGS $ac_coverage_linker"
+ ])
+
+ AC_SUBST(NOOPT_CXXFLAGS)
+ AC_SUBST(NOOPT_CFLAGS)
+ AC_SUBST(ENABLE_PERMISSIVE_FLAG)
+
+ KDE_CHECK_NEW_LDFLAGS
+ KDE_CHECK_FINAL
+ KDE_CHECK_CLOSURE
+ KDE_CHECK_NMCHECK
+
+ ifdef([AM_DEPENDENCIES], AC_REQUIRE([KDE_ADD_DEPENDENCIES]), [])
+])
+
+AC_DEFUN([KDE_CHECK_VISIBILITY_GCC_BUG],
+ [
+ AC_CACHE_CHECK([for gcc -fvisibility-inlines-hidden bug], kde_cv_val_gcc_visibility_bug,
+ [
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+
+ safe_CXXFLAGS=$CXXFLAGS
+ safe_LDFLAGS=$LDFLAGS
+ CXXFLAGS="$CXXFLAGS -fPIC -fvisibility-inlines-hidden -O0"
+ LDFLAGS="$LDFLAGS -shared -fPIC"
+
+ AC_TRY_LINK(
+ [
+ /* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664 */
+ #include <string>
+ int some_function( void ) __attribute__ ((visibility("default")));
+ int some_function( void )
+ {
+ std::string s("blafasel");
+ return 0;
+ }
+ ], [/* elvis is alive */],
+ kde_cv_val_gcc_visibility_bug=no, kde_cv_val_gcc_visibility_bug=yes)
+
+ CXXFLAGS=$safe_CXXFLAGS
+ LDFLAGS=$safe_LDFLAGS
+ AC_LANG_RESTORE
+ ]
+ )
+
+ if test x$kde_cv_val_gcc_visibility_bug = xno; then
+ CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
+ fi
+ ]
+)
+
+AC_DEFUN([KDE_ENABLE_HIDDEN_VISIBILITY],
+[
+ AC_BEFORE([AC_PATH_QT_1_3], [KDE_ENABLE_HIDDEN_VISIBILITY])
+
+ AC_MSG_CHECKING([grepping for visibility push/pop in headers])
+
+ if test "x$GXX" = "xyes"; then
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_EGREP_CPP(
+ [GCC visibility push],
+ [ #include <exception>
+ ],
+ [
+ AC_MSG_RESULT(yes)
+ kde_stdc_visibility_patched=yes ],
+ [
+ AC_MSG_RESULT(no)
+ AC_MSG_WARN([Your libstdc++ doesn't appear to be patched for
+ visibility support. Disabling -fvisibility=hidden])
+
+ kde_stdc_visibility_patched=no ])
+
+ AC_LANG_RESTORE
+
+ kde_have_gcc_visibility=no
+ KDE_CHECK_COMPILER_FLAG(fvisibility=hidden,
+ [
+ kde_have_gcc_visibility=yes
+ dnl the whole toolchain is just a mess, gcc is just too buggy
+ dnl to handle STL with visibility enabled. Lets reconsider
+ dnl when gcc 4.2 is out or when things get fixed in the compiler.
+ dnl Contact mueller at kde.org for details.
+ AC_ARG_ENABLE(gcc-hidden-visibility,
+ AC_HELP_STRING([--enable-gcc-hidden-visibility],[toolchain hidden visibility [default=no]]),
+ [kde_have_gcc_visibility=$enableval],
+ [kde_have_gcc_visibility=no])
+
+ AC_CACHE_CHECK([if Qt is patched for -fvisibility], kde_cv_val_qt_gcc_visibility_patched,
+ [
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+
+ safe_CXXFLAGS=$CXXFLAGS
+ CXXFLAGS="$CXXFLAGS $all_includes"
+
+ AC_TRY_COMPILE(
+ [
+#include <qglobal.h>
+#if Q_EXPORT - 0 != 0
+/* if this compiles, then Q_EXPORT is undefined */
+/* if Q_EXPORT is nonempty, this will break compilation */
+#endif
+ ], [/* elvis is alive */],
+ kde_cv_val_qt_gcc_visibility_patched=no, kde_cv_val_qt_gcc_visibility_patched=yes)
+
+ CXXFLAGS=$safe_CXXFLAGS
+ AC_LANG_RESTORE
+ ]
+ )
+
+ if test x$kde_have_gcc_visibility = "xyes" && test x$kde_stdc_visibility_patched = "xyes" && test x$kde_cv_val_qt_gcc_visibility_patched = "xyes"; then
+ CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
+ KDE_CHECK_VISIBILITY_GCC_BUG
+ HAVE_GCC_VISIBILITY=1
+ AC_DEFINE_UNQUOTED(__KDE_HAVE_GCC_VISIBILITY, "$HAVE_GCC_VISIBILITY", [define to 1 if -fvisibility is supported])
+ fi
+ ])
+ fi
+])
+
+AC_DEFUN([KDE_ADD_DEPENDENCIES],
+[
+ [A]M_DEPENDENCIES(CC)
+ [A]M_DEPENDENCIES(CXX)
+])
+
+dnl just a wrapper to clean up configure.in
+AC_DEFUN([KDE_PROG_LIBTOOL],
+[
+AC_REQUIRE([AC_CHECK_COMPILERS])
+AC_REQUIRE([AC_ENABLE_SHARED])
+AC_REQUIRE([AC_ENABLE_STATIC])
+
+AC_REQUIRE([AC_LIBTOOL_DLOPEN])
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+AC_OBJEXT
+AC_EXEEXT
+
+AM_PROG_LIBTOOL
+AC_LIBTOOL_CXX
+
+LIBTOOL_SHELL="/bin/sh ./libtool"
+# LIBTOOL="$LIBTOOL --silent"
+KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
+AC_SUBST(KDE_PLUGIN)
+
+# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs.
+KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)"
+AC_SUBST(KDE_CHECK_PLUGIN)
+
+# we patch configure quite some so we better keep that consistent for incremental runs
+AC_SUBST(AUTOCONF,'$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure')
+])
+
+AC_DEFUN([KDE_CHECK_LIB64],
+[
+ AC_ARG_ENABLE(libsuffix,
+ AC_HELP_STRING([--enable-libsuffix],
+ [/lib directory suffix (64,32,none,auto[=default])]),
+ kdelibsuff=$enableval, kdelibsuff="auto")
+
+ if test "$kdelibsuff" = "auto"; then
+
+cat > conftest.c << EOF
+#include <stdio.h>
+int main() {
+ return 0;
+}
+EOF
+ kdelibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{
+ s,.*/lib\([[^\/]]*\)/.*,\1,
+ p
+}'`
+ rm -rf conftest.*
+ fi
+
+ if test "$kdelibsuff" = "no" || test "$kdelibsuff" = "none"; then
+ kdelibsuff=
+ fi
+ if test -z "$kdelibsuff"; then
+ AC_MSG_RESULT([not using lib directory suffix])
+ AC_DEFINE(KDELIBSUFF, [""], Suffix for lib directories)
+ else
+ if test "$libdir" = '${exec_prefix}/lib'; then
+ libdir="$libdir${kdelibsuff}"
+ AC_SUBST([libdir], ["$libdir"]) dnl ugly hack for lib64 platforms
+ fi
+ AC_DEFINE_UNQUOTED(KDELIBSUFF, ["${kdelibsuff}"], Suffix for lib directories)
+ AC_MSG_RESULT([using lib directory suffix $kdelibsuff])
+ fi
+])
+
+AC_DEFUN([KDE_CHECK_TYPES],
+[ AC_CHECK_SIZEOF(int, 4)dnl
+ AC_CHECK_SIZEOF(short)dnl
+ AC_CHECK_SIZEOF(long, 4)dnl
+ AC_CHECK_SIZEOF(char *, 4)dnl
+])dnl
+
+dnl Not used - kept for compat only?
+AC_DEFUN([KDE_DO_IT_ALL],
+[
+AC_CANONICAL_SYSTEM
+AC_ARG_PROGRAM
+AM_INIT_AUTOMAKE($1, $2)
+AM_DISABLE_LIBRARIES
+AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde})
+AC_CHECK_COMPILERS
+KDE_PROG_LIBTOOL
+AM_KDE_WITH_NLS
+AC_PATH_KDE
+])
+
+AC_DEFUN([AC_CHECK_RPATH],
+[
+AC_MSG_CHECKING(for rpath)
+AC_ARG_ENABLE(rpath,
+ AC_HELP_STRING([--disable-rpath],[do not use the rpath feature of ld]),
+ USE_RPATH=$enableval, USE_RPATH=yes)
+
+if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
+
+ KDE_RPATH="-R \$(libdir)"
+
+ if test "$kde_libraries" != "$libdir"; then
+ KDE_RPATH="$KDE_RPATH -R \$(kde_libraries)"
+ fi
+
+ if test -n "$qt_libraries"; then
+ KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
+ fi
+ dnl $x_libraries is set to /usr/lib in case
+ if test -n "$X_LDFLAGS"; then
+ X_RPATH="-R \$(x_libraries)"
+ KDE_RPATH="$KDE_RPATH $X_RPATH"
+ fi
+ if test -n "$KDE_EXTRA_RPATH"; then
+ KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
+ fi
+fi
+AC_SUBST(KDE_EXTRA_RPATH)
+AC_SUBST(KDE_RPATH)
+AC_SUBST(X_RPATH)
+AC_MSG_RESULT($USE_RPATH)
+])
+
+dnl Check for the type of the third argument of getsockname
+AC_DEFUN([AC_CHECK_SOCKLEN_T],
+[
+ AC_MSG_CHECKING(for socklen_t)
+ AC_CACHE_VAL(kde_cv_socklen_t,
+ [
+ AC_LANG_PUSH(C++)
+ kde_cv_socklen_t=no
+ AC_TRY_COMPILE([
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ ],
+ [
+ socklen_t len;
+ getpeername(0,0,&len);
+ ],
+ [
+ kde_cv_socklen_t=yes
+ kde_cv_socklen_t_equiv=socklen_t
+ ])
+ AC_LANG_POP(C++)
+ ])
+ AC_MSG_RESULT($kde_cv_socklen_t)
+ if test $kde_cv_socklen_t = no; then
+ AC_MSG_CHECKING([for socklen_t equivalent for socket functions])
+ AC_CACHE_VAL(kde_cv_socklen_t_equiv,
+ [
+ kde_cv_socklen_t_equiv=int
+ AC_LANG_PUSH(C++)
+ for t in int size_t unsigned long "unsigned long"; do
+ AC_TRY_COMPILE([
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ ],
+ [
+ $t len;
+ getpeername(0,0,&len);
+ ],
+ [
+ kde_cv_socklen_t_equiv="$t"
+ break
+ ])
+ done
+ AC_LANG_POP(C++)
+ ])
+ AC_MSG_RESULT($kde_cv_socklen_t_equiv)
+ fi
+ AC_DEFINE_UNQUOTED(kde_socklen_t, $kde_cv_socklen_t_equiv,
+ [type to use in place of socklen_t if not defined])
+ AC_DEFINE_UNQUOTED(ksize_t, $kde_cv_socklen_t_equiv,
+ [type to use in place of socklen_t if not defined (deprecated, use kde_socklen_t)])
+])
+
+dnl This is a merge of some macros out of the gettext aclocal.m4
+dnl since we don't need anything, I took the things we need
+dnl the copyright for them is:
+dnl >
+dnl Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+dnl This Makefile.in is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+dnl PARTICULAR PURPOSE.
+dnl >
+dnl for this file it is relicensed under LGPL
+
+AC_DEFUN([AM_KDE_WITH_NLS],
+ [
+ dnl If we use NLS figure out what method
+
+ AM_PATH_PROG_WITH_TEST_KDE(MSGFMT, msgfmt,
+ [test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"], msgfmt)
+ AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
+
+ if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
+ AC_MSG_RESULT([found msgfmt program is not GNU msgfmt; ignore it])
+ GMSGFMT=":"
+ fi
+ MSGFMT=$GMSGFMT
+ AC_SUBST(GMSGFMT)
+ AC_SUBST(MSGFMT)
+
+ AM_PATH_PROG_WITH_TEST_KDE(XGETTEXT, xgettext,
+ [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
+
+ dnl Test whether we really found GNU xgettext.
+ if test "$XGETTEXT" != ":"; then
+ dnl If it is no GNU xgettext we define it as : so that the
+ dnl Makefiles still can work.
+ if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
+ : ;
+ else
+ AC_MSG_RESULT(
+ [found xgettext programs is not GNU xgettext; ignore it])
+ XGETTEXT=":"
+ fi
+ fi
+ AC_SUBST(XGETTEXT)
+
+ ])
+
+# Search path for a program which passes the given test.
+# Ulrich Drepper <drepper at cygnus.com>, 1996.
+
+# serial 1
+# Stephan Kulow: I appended a _KDE against name conflicts
+
+dnl AM_PATH_PROG_WITH_TEST_KDE(VARIABLE, PROG-TO-CHECK-FOR,
+dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
+AC_DEFUN([AM_PATH_PROG_WITH_TEST_KDE],
+[# Extract the first word of "$2", so it can be a program name with args.
+set dummy $2; ac_word=[$]2
+AC_MSG_CHECKING([for $ac_word])
+AC_CACHE_VAL(ac_cv_path_$1,
+[case "[$]$1" in
+ /*)
+ ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
+ ;;
+ *)
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in ifelse([$5], , $PATH, [$5]); do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ if [$3]; then
+ ac_cv_path_$1="$ac_dir/$ac_word"
+ break
+ fi
+ fi
+ done
+ IFS="$ac_save_ifs"
+dnl If no 4th arg is given, leave the cache variable unset,
+dnl so AC_PATH_PROGS will keep looking.
+ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
+])dnl
+ ;;
+esac])dnl
+$1="$ac_cv_path_$1"
+if test -n "[$]$1"; then
+ AC_MSG_RESULT([$]$1)
+else
+ AC_MSG_RESULT(no)
+fi
+AC_SUBST($1)dnl
+])
+
+
+# Check whether LC_MESSAGES is available in <locale.h>.
+# Ulrich Drepper <drepper at cygnus.com>, 1995.
+
+# serial 1
+
+AC_DEFUN([AM_LC_MESSAGES],
+ [if test $ac_cv_header_locale_h = yes; then
+ AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
+ [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
+ am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
+ if test $am_cv_val_LC_MESSAGES = yes; then
+ AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your locale.h file contains LC_MESSAGES])
+ fi
+ fi])
+
+dnl From Jim Meyering.
+dnl FIXME: migrate into libit.
+
+AC_DEFUN([AM_FUNC_OBSTACK],
+[AC_CACHE_CHECK([for obstacks], am_cv_func_obstack,
+ [AC_TRY_LINK([#include "obstack.h"],
+ [struct obstack *mem;obstack_free(mem,(char *) 0)],
+ am_cv_func_obstack=yes,
+ am_cv_func_obstack=no)])
+ if test $am_cv_func_obstack = yes; then
+ AC_DEFINE(HAVE_OBSTACK)
+ else
+ LIBOBJS="$LIBOBJS obstack.o"
+ fi
+])
+
+dnl From Jim Meyering. Use this if you use the GNU error.[ch].
+dnl FIXME: Migrate into libit
+
+AC_DEFUN([AM_FUNC_ERROR_AT_LINE],
+[AC_CACHE_CHECK([for error_at_line], am_cv_lib_error_at_line,
+ [AC_TRY_LINK([],[error_at_line(0, 0, "", 0, "");],
+ am_cv_lib_error_at_line=yes,
+ am_cv_lib_error_at_line=no)])
+ if test $am_cv_lib_error_at_line = no; then
+ LIBOBJS="$LIBOBJS error.o"
+ fi
+ AC_SUBST(LIBOBJS)dnl
+])
+
+# Macro to add for using GNU gettext.
+# Ulrich Drepper <drepper at cygnus.com>, 1995.
+
+# serial 1
+# Stephan Kulow: I put a KDE in it to avoid name conflicts
+
+AC_DEFUN([AM_KDE_GNU_GETTEXT],
+ [AC_REQUIRE([AC_PROG_MAKE_SET])dnl
+ AC_REQUIRE([AC_PROG_RANLIB])dnl
+ AC_REQUIRE([AC_HEADER_STDC])dnl
+ AC_REQUIRE([AC_TYPE_OFF_T])dnl
+ AC_REQUIRE([AC_TYPE_SIZE_T])dnl
+ AC_REQUIRE([AC_FUNC_ALLOCA])dnl
+ AC_REQUIRE([AC_FUNC_MMAP])dnl
+ AC_REQUIRE([AM_KDE_WITH_NLS])dnl
+ AC_CHECK_HEADERS([limits.h locale.h nl_types.h string.h values.h alloca.h])
+ AC_CHECK_FUNCS([getcwd munmap putenv setlocale strchr strcasecmp \
+__argz_count __argz_stringify __argz_next])
+
+ AC_MSG_CHECKING(for stpcpy)
+ AC_CACHE_VAL(kde_cv_func_stpcpy,
+ [
+ kde_safe_cxxflags=$CXXFLAGS
+ CXXFLAGS="-Werror"
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_TRY_COMPILE([
+ #include <string.h>
+ ],
+ [
+ char buffer[200];
+ stpcpy(buffer, buffer);
+ ],
+ kde_cv_func_stpcpy=yes,
+ kde_cv_func_stpcpy=no)
+ AC_LANG_RESTORE
+ CXXFLAGS=$kde_safe_cxxflags
+ ])
+ AC_MSG_RESULT($kde_cv_func_stpcpy)
+ if eval "test \"`echo $kde_cv_func_stpcpy`\" = yes"; then
+ AC_DEFINE(HAVE_STPCPY, 1, [Define if you have stpcpy])
+ fi
+
+ AM_LC_MESSAGES
+
+ if test "x$CATOBJEXT" != "x"; then
+ if test "x$ALL_LINGUAS" = "x"; then
+ LINGUAS=
+ else
+ AC_MSG_CHECKING(for catalogs to be installed)
+ NEW_LINGUAS=
+ for lang in ${LINGUAS=$ALL_LINGUAS}; do
+ case "$ALL_LINGUAS" in
+ *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
+ esac
+ done
+ LINGUAS=$NEW_LINGUAS
+ AC_MSG_RESULT($LINGUAS)
+ fi
+
+ dnl Construct list of names of catalog files to be constructed.
+ if test -n "$LINGUAS"; then
+ for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
+ fi
+ fi
+
+ ])
+
+AC_DEFUN([AC_HAVE_XPM],
+ [AC_REQUIRE_CPP()dnl
+ AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+
+ test -z "$XPM_LDFLAGS" && XPM_LDFLAGS=
+ test -z "$XPM_INCLUDE" && XPM_INCLUDE=
+
+ AC_ARG_WITH(xpm,AC_HELP_STRING([--without-xpm],[disable color pixmap XPM tests]),
+ xpm_test=$withval, xpm_test="yes")
+ if test "x$xpm_test" = xno; then
+ ac_cv_have_xpm=no
+ else
+ AC_MSG_CHECKING(for XPM)
+ AC_CACHE_VAL(ac_cv_have_xpm,
+ [
+ ac_save_ldflags="$LDFLAGS"
+ ac_save_cflags="$CFLAGS"
+ if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+ LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS $LDFLAGS $XPM_LDFLAGS $all_libraries -lXpm -lX11 -lXext $LIBZ $LIBSOCKET"
+ else
+ LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS $LDFLAGS $XPM_LDFLAGS $all_libraries -lXpm $LIBZ $LIBSOCKET"
+ fi
+ CFLAGS="$CFLAGS $X_INCLUDES $USER_INCLUDES"
+ test -n "$XPM_INCLUDE" && CFLAGS="-I$XPM_INCLUDE $CFLAGS"
+ AC_TRY_LINK([#include <X11/xpm.h>],[],
+ ac_cv_have_xpm="yes",ac_cv_have_xpm="no")
+ LDFLAGS="$ac_save_ldflags"
+ CFLAGS="$ac_save_cflags"
+ ])dnl
+
+ if test "$ac_cv_have_xpm" = no; then
+ AC_MSG_RESULT(no)
+ XPM_LDFLAGS=""
+ XPMINC=""
+ $2
+ else
+ AC_DEFINE(HAVE_XPM, 1, [Define if you have XPM support])
+ if test "$XPM_LDFLAGS" = ""; then
+ XPMLIB='-lXpm $(LIB_X11)'
+ else
+ XPMLIB="-L$XPM_LDFLAGS -lXpm "'$(LIB_X11)'
+ fi
+ if test "$XPM_INCLUDE" = ""; then
+ XPMINC=""
+ else
+ XPMINC="-I$XPM_INCLUDE"
+ fi
+ AC_MSG_RESULT(yes)
+ $1
+ fi
+ fi
+ AC_SUBST(XPMINC)
+ AC_SUBST(XPMLIB)
+])
+
+AC_DEFUN([AC_HAVE_DPMS],
+ [AC_REQUIRE_CPP()dnl
+ AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+
+ test -z "$DPMS_LDFLAGS" && DPMS_LDFLAGS=
+ test -z "$DPMS_INCLUDE" && DPMS_INCLUDE=
+ DPMS_LIB=
+
+ AC_ARG_WITH(dpms,AC_HELP_STRING([--without-dpms],[disable DPMS power saving]),
+ dpms_test=$withval, dpms_test="yes")
+ if test "x$dpms_test" = xno; then
+ ac_cv_have_dpms=no
+ else
+ AC_MSG_CHECKING(for DPMS)
+ dnl Note: ac_cv_have_dpms can be no, yes, or -lXdpms.
+ dnl 'yes' means DPMS_LIB="", '-lXdpms' means DPMS_LIB="-lXdpms".
+ AC_CACHE_VAL(ac_cv_have_dpms,
+ [
+ if test "x$kde_use_qt_emb" = "xyes" || test "x$kde_use_qt_mac" = "xyes"; then
+ AC_MSG_RESULT(no)
+ ac_cv_have_dpms="no"
+ else
+ ac_save_ldflags="$LDFLAGS"
+ ac_save_cflags="$CFLAGS"
+ ac_save_libs="$LIBS"
+ LDFLAGS="$LDFLAGS $DPMS_LDFLAGS $all_libraries"
+ LIBS="-lX11 -lXext $LIBSOCKET"
+ CFLAGS="$CFLAGS $X_INCLUDES"
+ test -n "$DPMS_INCLUDE" && CFLAGS="-I$DPMS_INCLUDE $CFLAGS"
+ AC_TRY_LINK([
+ #include <X11/Xproto.h>
+ #include <X11/X.h>
+ #include <X11/Xlib.h>
+ #include <X11/extensions/dpms.h>
+ int foo_test_dpms()
+ { return DPMSSetTimeouts( 0, 0, 0, 0 ); }],[],
+ ac_cv_have_dpms="yes", [
+ LIBS="-lXdpms $LIBS"
+ AC_TRY_LINK([
+ #include <X11/Xproto.h>
+ #include <X11/X.h>
+ #include <X11/Xlib.h>
+ #include <X11/extensions/dpms.h>
+ int foo_test_dpms()
+ { return DPMSSetTimeouts( 0, 0, 0, 0 ); }],[],
+ [
+ ac_cv_have_dpms="-lXdpms"
+ ],ac_cv_have_dpms="no")
+ ])
+ LDFLAGS="$ac_save_ldflags"
+ CFLAGS="$ac_save_cflags"
+ LIBS="$ac_save_libs"
+ fi
+ ])dnl
+
+ if test "$ac_cv_have_dpms" = no; then
+ AC_MSG_RESULT(no)
+ DPMS_LDFLAGS=""
+ DPMSINC=""
+ $2
+ else
+ AC_DEFINE(HAVE_DPMS, 1, [Define if you have DPMS support])
+ if test "$ac_cv_have_dpms" = "-lXdpms"; then
+ DPMS_LIB="-lXdpms"
+ fi
+ if test "$DPMS_LDFLAGS" = ""; then
+ DPMSLIB="$DPMS_LIB "'$(LIB_X11)'
+ else
+ DPMSLIB="$DPMS_LDFLAGS $DPMS_LIB "'$(LIB_X11)'
+ fi
+ if test "$DPMS_INCLUDE" = ""; then
+ DPMSINC=""
+ else
+ DPMSINC="-I$DPMS_INCLUDE"
+ fi
+ AC_MSG_RESULT(yes)
+ $1
+ fi
+ fi
+ ac_save_cflags="$CFLAGS"
+ CFLAGS="$CFLAGS $X_INCLUDES"
+ test -n "$DPMS_INCLUDE" && CFLAGS="-I$DPMS_INCLUDE $CFLAGS"
+ AH_TEMPLATE(HAVE_DPMSCAPABLE_PROTO,
+ [Define if you have the DPMSCapable prototype in <X11/extensions/dpms.h>])
+ AC_CHECK_DECL(DPMSCapable,
+ AC_DEFINE(HAVE_DPMSCAPABLE_PROTO),,
+ [#include <X11/Xlib.h>
+ #include <X11/extensions/dpms.h>])
+ AH_TEMPLATE(HAVE_DPMSINFO_PROTO,
+ [Define if you have the DPMSInfo prototype in <X11/extensions/dpms.h>])
+ AC_CHECK_DECL(DPMSInfo,
+ AC_DEFINE(HAVE_DPMSINFO_PROTO),,
+ [#include <X11/Xlib.h>
+ #include <X11/extensions/dpms.h>])
+ CFLAGS="$ac_save_cflags"
+ AC_SUBST(DPMSINC)
+ AC_SUBST(DPMSLIB)
+])
+
+AC_DEFUN([AC_HAVE_GL],
+ [AC_REQUIRE_CPP()dnl
+ AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+
+ test -z "$GL_LDFLAGS" && GL_LDFLAGS=
+ test -z "$GL_INCLUDE" && GL_INCLUDE=
+
+ AC_ARG_WITH(gl,AC_HELP_STRING([--without-gl],[disable 3D GL modes]),
+ gl_test=$withval, gl_test="yes")
+ if test "x$kde_use_qt_emb" = "xyes"; then
+ # GL and Qt Embedded is a no-go for now.
+ ac_cv_have_gl=no
+ elif test "x$gl_test" = xno; then
+ ac_cv_have_gl=no
+ else
+ AC_MSG_CHECKING(for GL)
+ AC_CACHE_VAL(ac_cv_have_gl,
+ [
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ ac_save_ldflags=$LDFLAGS
+ ac_save_cxxflags=$CXXFLAGS
+ ac_save_libs=$LIBS
+ LDFLAGS="$LDFLAGS $GL_LDFLAGS $X_LDFLAGS $all_libraries"
+ LIBS="$LIBS -lGL -lGLU"
+ test "x$kde_use_qt_mac" != xyes && test "x$kde_use_qt_emb" != xyes && LIBS="$LIBS -lX11"
+ LIBS="$LIBS $LIB_XEXT -lm $LIBSOCKET"
+ CXXFLAGS="$CFLAGS $X_INCLUDES"
+ test -n "$GL_INCLUDE" && CFLAGS="-I$GL_INCLUDE $CFLAGS"
+ AC_TRY_LINK([#include <GL/gl.h>
+#include <GL/glu.h>
+], [],
+ ac_cv_have_gl="yes", ac_cv_have_gl="no")
+ AC_LANG_RESTORE
+ LDFLAGS=$ac_save_ldflags
+ CXXFLAGS=$ac_save_cxxflags
+ LIBS=$ac_save_libs
+ ])dnl
+
+ if test "$ac_cv_have_gl" = "no"; then
+ AC_MSG_RESULT(no)
+ GL_LDFLAGS=""
+ GLINC=""
+ $2
+ else
+ AC_DEFINE(HAVE_GL, 1, [Defines if you have GL (Mesa, OpenGL, ...)])
+ if test "$GL_LDFLAGS" = ""; then
+ GLLIB='-lGLU -lGL $(LIB_X11)'
+ else
+ GLLIB="$GL_LDFLAGS -lGLU -lGL "'$(LIB_X11)'
+ fi
+ if test "$GL_INCLUDE" = ""; then
+ GLINC=""
+ else
+ GLINC="-I$GL_INCLUDE"
+ fi
+ AC_MSG_RESULT($ac_cv_have_gl)
+ $1
+ fi
+ fi
+ AC_SUBST(GLINC)
+ AC_SUBST(GLLIB)
+])
+
+
+ dnl shadow password and PAM magic - maintained by ossi at kde.org
+
+AC_DEFUN([KDE_PAM], [
+ AC_REQUIRE([KDE_CHECK_LIBDL])
+
+ want_pam=
+ AC_ARG_WITH(pam,
+ AC_HELP_STRING([--with-pam[=ARG]],[enable support for PAM: ARG=[yes|no|service name]]),
+ [ if test "x$withval" = "xyes"; then
+ want_pam=yes
+ pam_service=kde
+ elif test "x$withval" = "xno"; then
+ want_pam=no
+ else
+ want_pam=yes
+ pam_service=$withval
+ fi
+ ], [ pam_service=kde ])
+
+ use_pam=
+ PAMLIBS=
+ if test "x$want_pam" != xno; then
+ AC_CHECK_LIB(pam, pam_start, [
+ AC_CHECK_HEADER(security/pam_appl.h,
+ [ pam_header=security/pam_appl.h ],
+ [ AC_CHECK_HEADER(pam/pam_appl.h,
+ [ pam_header=pam/pam_appl.h ],
+ [
+ AC_MSG_WARN([PAM detected, but no headers found!
+Make sure you have the necessary development packages installed.])
+ ]
+ )
+ ]
+ )
+ ], , $LIBDL)
+ if test -z "$pam_header"; then
+ if test "x$want_pam" = xyes; then
+ AC_MSG_ERROR([--with-pam was specified, but cannot compile with PAM!])
+ fi
+ else
+ AC_DEFINE(HAVE_PAM, 1, [Defines if you have PAM (Pluggable Authentication Modules)])
+ PAMLIBS="$PAM_MISC_LIB -lpam $LIBDL"
+ use_pam=yes
+
+ dnl darwin claims to be something special
+ if test "$pam_header" = "pam/pam_appl.h"; then
+ AC_DEFINE(HAVE_PAM_PAM_APPL_H, 1, [Define if your PAM headers are in pam/ instead of security/])
+ fi
+
+ dnl test whether struct pam_message is const (Linux) or not (Sun)
+ AC_MSG_CHECKING(for const pam_message)
+ AC_EGREP_HEADER([struct pam_message], $pam_header,
+ [ AC_EGREP_HEADER([const struct pam_message], $pam_header,
+ [AC_MSG_RESULT([const: Linux-type PAM])],
+ [AC_MSG_RESULT([nonconst: Sun-type PAM])
+ AC_DEFINE(PAM_MESSAGE_NONCONST, 1, [Define if your PAM support takes non-const arguments (Solaris)])]
+ )],
+ [AC_MSG_RESULT([not found - assume const, Linux-type PAM])])
+ fi
+ fi
+
+ AC_SUBST(PAMLIBS)
+])
+
+dnl DEF_PAM_SERVICE(arg name, full name, define name)
+AC_DEFUN([DEF_PAM_SERVICE], [
+ AC_ARG_WITH($1-pam,
+ AC_HELP_STRING([--with-$1-pam=[val]],[override PAM service from --with-pam for $2]),
+ [ if test "x$use_pam" = xyes; then
+ $3_PAM_SERVICE=$withval
+ else
+ AC_MSG_ERROR([Cannot use use --with-$1-pam, as no PAM was detected.
+You may want to enforce it by using --with-pam.])
+ fi
+ ],
+ [ if test "x$use_pam" = xyes; then
+ $3_PAM_SERVICE="$pam_service"
+ fi
+ ])
+ if test -n "$$3_PAM_SERVICE"; then
+ AC_MSG_RESULT([The PAM service used by $2 will be $$3_PAM_SERVICE])
+ AC_DEFINE_UNQUOTED($3_PAM_SERVICE, "$$3_PAM_SERVICE", [The PAM service to be used by $2])
+ fi
+ AC_SUBST($3_PAM_SERVICE)
+])
+
+AC_DEFUN([KDE_SHADOWPASSWD], [
+ AC_REQUIRE([KDE_PAM])
+
+ AC_CHECK_LIB(shadow, getspent,
+ [ LIBSHADOW="-lshadow"
+ ac_use_shadow=yes
+ ],
+ [ dnl for UnixWare
+ AC_CHECK_LIB(gen, getspent,
+ [ LIBGEN="-lgen"
+ ac_use_shadow=yes
+ ],
+ [ AC_CHECK_FUNC(getspent,
+ [ ac_use_shadow=yes ],
+ [ ac_use_shadow=no ])
+ ])
+ ])
+ AC_SUBST(LIBSHADOW)
+ AC_SUBST(LIBGEN)
+
+ AC_MSG_CHECKING([for shadow passwords])
+
+ AC_ARG_WITH(shadow,
+ AC_HELP_STRING([--with-shadow],[If you want shadow password support]),
+ [ if test "x$withval" != "xno"; then
+ use_shadow=yes
+ else
+ use_shadow=no
+ fi
+ ], [
+ use_shadow="$ac_use_shadow"
+ ])
+
+ if test "x$use_shadow" = xyes; then
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_SHADOW, 1, [Define if you use shadow passwords])
+ else
+ AC_MSG_RESULT(no)
+ LIBSHADOW=
+ LIBGEN=
+ fi
+
+ dnl finally make the relevant binaries setuid root, if we have shadow passwds.
+ dnl this still applies, if we could use it indirectly through pam.
+ if test "x$use_shadow" = xyes ||
+ ( test "x$use_pam" = xyes && test "x$ac_use_shadow" = xyes ); then
+ case $host in
+ *-*-freebsd* | *-*-netbsd* | *-*-openbsd*)
+ SETUIDFLAGS="-m 4755 -o root";;
+ *)
+ SETUIDFLAGS="-m 4755";;
+ esac
+ fi
+ AC_SUBST(SETUIDFLAGS)
+
+])
+
+AC_DEFUN([KDE_PASSWDLIBS], [
+ AC_REQUIRE([KDE_MISC_TESTS]) dnl for LIBCRYPT
+ AC_REQUIRE([KDE_PAM])
+ AC_REQUIRE([KDE_SHADOWPASSWD])
+
+ if test "x$use_pam" = "xyes"; then
+ PASSWDLIBS="$PAMLIBS"
+ else
+ PASSWDLIBS="$LIBCRYPT $LIBSHADOW $LIBGEN"
+ fi
+
+ dnl FreeBSD uses a shadow-like setup, where /etc/passwd holds the users, but
+ dnl /etc/master.passwd holds the actual passwords. /etc/master.passwd requires
+ dnl root to read, so kcheckpass needs to be root (even when using pam, since pam
+ dnl may need to read /etc/master.passwd).
+ case $host in
+ *-*-freebsd*)
+ SETUIDFLAGS="-m 4755 -o root"
+ ;;
+ *)
+ ;;
+ esac
+
+ AC_SUBST(PASSWDLIBS)
+])
+
+AC_DEFUN([KDE_CHECK_LIBDL],
+[
+AC_CHECK_LIB(dl, dlopen, [
+LIBDL="-ldl"
+ac_cv_have_dlfcn=yes
+])
+
+AC_CHECK_LIB(dld, shl_unload, [
+LIBDL="-ldld"
+ac_cv_have_shload=yes
+])
+
+AC_SUBST(LIBDL)
+])
+
+AC_DEFUN([KDE_CHECK_DLOPEN],
+[
+KDE_CHECK_LIBDL
+AC_CHECK_HEADERS(dlfcn.h dl.h)
+if test "$ac_cv_header_dlfcn_h" = "no"; then
+ ac_cv_have_dlfcn=no
+fi
+
+if test "$ac_cv_header_dl_h" = "no"; then
+ ac_cv_have_shload=no
+fi
+
+dnl XXX why change enable_dlopen? its already set by autoconf's AC_ARG_ENABLE
+dnl (MM)
+AC_ARG_ENABLE(dlopen,
+AC_HELP_STRING([--disable-dlopen],[link statically [default=no]]),
+enable_dlopen=$enableval,
+enable_dlopen=yes)
+
+# override the user's opinion, if we know it better ;)
+if test "$ac_cv_have_dlfcn" = "no" && test "$ac_cv_have_shload" = "no"; then
+ enable_dlopen=no
+fi
+
+if test "$ac_cv_have_dlfcn" = "yes"; then
+ AC_DEFINE_UNQUOTED(HAVE_DLFCN, 1, [Define if you have dlfcn])
+fi
+
+if test "$ac_cv_have_shload" = "yes"; then
+ AC_DEFINE_UNQUOTED(HAVE_SHLOAD, 1, [Define if you have shload])
+fi
+
+if test "$enable_dlopen" = no ; then
+ test -n "$1" && eval $1
+else
+ test -n "$2" && eval $2
+fi
+
+])
+
+AC_DEFUN([KDE_CHECK_DYNAMIC_LOADING],
+[
+KDE_CHECK_DLOPEN(libtool_enable_shared=yes, libtool_enable_static=no)
+KDE_PROG_LIBTOOL
+AC_MSG_CHECKING([dynamic loading])
+eval "`egrep '^build_libtool_libs=' libtool`"
+if test "$build_libtool_libs" = "yes" && test "$enable_dlopen" = "yes"; then
+ dynamic_loading=yes
+ AC_DEFINE_UNQUOTED(HAVE_DYNAMIC_LOADING)
+else
+ dynamic_loading=no
+fi
+AC_MSG_RESULT($dynamic_loading)
+if test "$dynamic_loading" = "yes"; then
+ $1
+else
+ $2
+fi
+])
+
+AC_DEFUN([KDE_ADD_INCLUDES],
+[
+if test -z "$1"; then
+ test_include="Pix.h"
+else
+ test_include="$1"
+fi
+
+AC_MSG_CHECKING([for libg++ ($test_include)])
+
+AC_CACHE_VAL(kde_cv_libgpp_includes,
+[
+kde_cv_libgpp_includes=no
+
+ for ac_dir in \
+ \
+ /usr/include/g++ \
+ /usr/include \
+ /usr/unsupported/include \
+ /opt/include \
+ $extra_include \
+ ; \
+ do
+ if test -r "$ac_dir/$test_include"; then
+ kde_cv_libgpp_includes=$ac_dir
+ break
+ fi
+ done
+])
+
+AC_MSG_RESULT($kde_cv_libgpp_includes)
+if test "$kde_cv_libgpp_includes" != "no"; then
+ all_includes="-I$kde_cv_libgpp_includes $all_includes $USER_INCLUDES"
+fi
+])
+])
+
+AC_DEFUN([KDE_CHECK_LIBPTHREAD],
+[
+ dnl This code is here specifically to handle the
+ dnl various flavors of threading library on FreeBSD
+ dnl 4-, 5-, and 6-, and the (weird) rules around it.
+ dnl There may be an environment PTHREAD_LIBS that
+ dnl specifies what to use; otherwise, search for it.
+ dnl -pthread is special cased and unsets LIBPTHREAD
+ dnl below if found.
+ LIBPTHREAD=""
+
+ if test -n "$PTHREAD_LIBS"; then
+ if test "x$PTHREAD_LIBS" = "x-pthread" ; then
+ LIBPTHREAD="PTHREAD"
+ else
+ PTHREAD_LIBS_save="$PTHREAD_LIBS"
+ PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
+ AC_MSG_CHECKING([for pthread_create in $PTHREAD_LIBS])
+ KDE_CHECK_LIB($PTHREAD_LIBS, pthread_create, [
+ LIBPTHREAD="$PTHREAD_LIBS_save"])
+ PTHREAD_LIBS="$PTHREAD_LIBS_save"
+ fi
+ fi
+
+ dnl Is this test really needed, in the face of the Tru64 test below?
+ if test -z "$LIBPTHREAD"; then
+ AC_CHECK_LIB(pthread, pthread_create, [LIBPTHREAD="-lpthread"])
+ fi
+
+ dnl This is a special Tru64 check, see BR 76171 issue #18.
+ if test -z "$LIBPTHREAD" ; then
+ AC_MSG_CHECKING([for pthread_create in -lpthread])
+ kde_safe_libs=$LIBS
+ LIBS="$LIBS -lpthread"
+ AC_TRY_LINK([#include <pthread.h>],[(void)pthread_create(0,0,0,0);],[
+ AC_MSG_RESULT(yes)
+ LIBPTHREAD="-lpthread"],[
+ AC_MSG_RESULT(no)])
+ LIBS=$kde_safe_libs
+ fi
+
+ dnl Un-special-case for FreeBSD.
+ if test "x$LIBPTHREAD" = "xPTHREAD" ; then
+ LIBPTHREAD=""
+ fi
+
+ AC_SUBST(LIBPTHREAD)
+])
+
+AC_DEFUN([KDE_CHECK_PTHREAD_OPTION],
+[
+ USE_THREADS=""
+ if test -z "$LIBPTHREAD"; then
+ KDE_CHECK_COMPILER_FLAG(pthread, [USE_THREADS="-D_THREAD_SAFE -pthread"])
+ fi
+
+ AH_VERBATIM(__svr_define, [
+#if defined(__SVR4) && !defined(__svr4__)
+#define __svr4__ 1
+#endif
+])
+ case $host_os in
+ solaris*)
+ KDE_CHECK_COMPILER_FLAG(mt, [USE_THREADS="-mt"])
+ CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
+ ;;
+ freebsd*)
+ CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS"
+ ;;
+ aix*)
+ CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
+ LIBPTHREAD="$LIBPTHREAD -lc_r"
+ ;;
+ linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
+ if test "$CXX" = "KCC"; then
+ CXXFLAGS="$CXXFLAGS --thread_safe"
+ NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
+ fi
+ ;;
+ *)
+ ;;
+ esac
+ AC_SUBST(USE_THREADS)
+ AC_SUBST(LIBPTHREAD)
+])
+
+AC_DEFUN([KDE_CHECK_THREADING],
+[
+ AC_REQUIRE([KDE_CHECK_LIBPTHREAD])
+ AC_REQUIRE([KDE_CHECK_PTHREAD_OPTION])
+ dnl default is yes if libpthread is found and no if no libpthread is available
+ if test -z "$LIBPTHREAD"; then
+ if test -z "$USE_THREADS"; then
+ kde_check_threading_default=no
+ else
+ kde_check_threading_default=yes
+ fi
+ else
+ kde_check_threading_default=yes
+ fi
+ AC_ARG_ENABLE(threading,AC_HELP_STRING([--disable-threading],[disables threading even if libpthread found]),
+ kde_use_threading=$enableval, kde_use_threading=$kde_check_threading_default)
+ if test "x$kde_use_threading" = "xyes"; then
+ AC_DEFINE(HAVE_LIBPTHREAD, 1, [Define if you have a working libpthread (will enable threaded code)])
+ fi
+])
+
+AC_DEFUN([KDE_TRY_LINK_PYTHON],
+[
+if test "$kde_python_link_found" = no; then
+
+if test "$1" = normal; then
+ AC_MSG_CHECKING(if a Python application links)
+else
+ AC_MSG_CHECKING(if Python depends on $2)
+fi
+
+AC_CACHE_VAL(kde_cv_try_link_python_$1,
+[
+kde_save_cflags="$CFLAGS"
+CFLAGS="$CFLAGS $PYTHONINC"
+kde_save_libs="$LIBS"
+LIBS="$LIBS $LIBPYTHON $2 $LIBDL $LIBSOCKET"
+kde_save_ldflags="$LDFLAGS"
+LDFLAGS="$LDFLAGS $PYTHONLIB"
+
+AC_TRY_LINK(
+[
+#include <Python.h>
+],[
+ PySys_SetArgv(1, 0);
+],
+ [kde_cv_try_link_python_$1=yes],
+ [kde_cv_try_link_python_$1=no]
+)
+CFLAGS="$kde_save_cflags"
+LIBS="$kde_save_libs"
+LDFLAGS="$kde_save_ldflags"
+])
+
+if test "$kde_cv_try_link_python_$1" = "yes"; then
+ AC_MSG_RESULT(yes)
+ kde_python_link_found=yes
+ if test ! "$1" = normal; then
+ LIBPYTHON="$LIBPYTHON $2"
+ fi
+ $3
+else
+ AC_MSG_RESULT(no)
+ $4
+fi
+
+fi
+
+])
+
+AC_DEFUN([KDE_CHECK_PYTHON_DIR],
+[
+AC_MSG_CHECKING([for Python directory])
+
+AC_CACHE_VAL(kde_cv_pythondir,
+[
+ if test -z "$PYTHONDIR"; then
+ kde_cv_pythondir=/usr/local
+ else
+ kde_cv_pythondir="$PYTHONDIR"
+ fi
+])
+
+AC_ARG_WITH(pythondir,
+AC_HELP_STRING([--with-pythondir=pythondir],[use python installed in pythondir]),
+[
+ ac_python_dir=$withval
+], ac_python_dir=$kde_cv_pythondir
+)
+
+AC_MSG_RESULT($ac_python_dir)
+])
+
+AC_DEFUN([KDE_CHECK_PYTHON_INTERN],
+[
+AC_REQUIRE([KDE_CHECK_LIBDL])
+AC_REQUIRE([KDE_CHECK_LIBPTHREAD])
+AC_REQUIRE([KDE_CHECK_PYTHON_DIR])
+
+if test -z "$1"; then
+ version="1.5"
+else
+ version="$1"
+fi
+
+AC_MSG_CHECKING([for Python$version])
+
+python_incdirs="$ac_python_dir/include /usr/include /usr/local/include/ $kde_extra_includes"
+AC_FIND_FILE(Python.h, $python_incdirs, python_incdir)
+if test ! -r $python_incdir/Python.h; then
+ AC_FIND_FILE(python$version/Python.h, $python_incdirs, python_incdir)
+ python_incdir=$python_incdir/python$version
+ if test ! -r $python_incdir/Python.h; then
+ python_incdir=no
+ fi
+fi
+
+PYTHONINC=-I$python_incdir
+
+python_libdirs="$ac_python_dir/lib$kdelibsuff /usr/lib$kdelibsuff /usr/local /usr/lib$kdelibsuff $kde_extra_libs"
+AC_FIND_FILE(libpython$version.so, $python_libdirs, python_libdir)
+if test ! -r $python_libdir/libpython$version.so; then
+ AC_FIND_FILE(libpython$version.a, $python_libdirs, python_libdir)
+ if test ! -r $python_libdir/libpython$version.a; then
+ AC_FIND_FILE(python$version/config/libpython$version.a, $python_libdirs, python_libdir)
+ python_libdir=$python_libdir/python$version/config
+ if test ! -r $python_libdir/libpython$version.a; then
+ python_libdir=no
+ fi
+ fi
+fi
+
+PYTHONLIB=-L$python_libdir
+kde_orig_LIBPYTHON=$LIBPYTHON
+if test -z "$LIBPYTHON"; then
+ LIBPYTHON=-lpython$version
+fi
+
+AC_FIND_FILE(python$version/copy.py, $python_libdirs, python_moddir)
+python_moddir=$python_moddir/python$version
+if test ! -r $python_moddir/copy.py; then
+ python_moddir=no
+fi
+
+PYTHONMODDIR=$python_moddir
+
+AC_MSG_RESULT(header $python_incdir library $python_libdir modules $python_moddir)
+
+if test x$python_incdir = xno || test x$python_libdir = xno || test x$python_moddir = xno; then
+ LIBPYTHON=$kde_orig_LIBPYTHON
+ test "x$PYTHONLIB" = "x-Lno" && PYTHONLIB=""
+ test "x$PYTHONINC" = "x-Ino" && PYTHONINC=""
+ $2
+else
+ dnl Note: this test is very weak
+ kde_python_link_found=no
+ KDE_TRY_LINK_PYTHON(normal)
+ KDE_TRY_LINK_PYTHON(m, -lm)
+ KDE_TRY_LINK_PYTHON(pthread, $LIBPTHREAD)
+ KDE_TRY_LINK_PYTHON(tcl, -ltcl)
+ KDE_TRY_LINK_PYTHON(db2, -ldb2)
+ KDE_TRY_LINK_PYTHON(m_and_thread, [$LIBPTHREAD -lm])
+ KDE_TRY_LINK_PYTHON(m_and_thread_and_util, [$LIBPTHREAD -lm -lutil])
+ KDE_TRY_LINK_PYTHON(m_and_thread_and_db3, [$LIBPTHREAD -lm -ldb-3 -lutil])
+ KDE_TRY_LINK_PYTHON(pthread_and_db3, [$LIBPTHREAD -ldb-3])
+ KDE_TRY_LINK_PYTHON(m_and_thread_and_db, [$LIBPTHREAD -lm -ldb -ltermcap -lutil])
+ KDE_TRY_LINK_PYTHON(pthread_and_dl, [$LIBPTHREAD $LIBDL -lutil -lreadline -lncurses -lm])
+ KDE_TRY_LINK_PYTHON(pthread_and_panel_curses, [$LIBPTHREAD $LIBDL -lm -lpanel -lcurses])
+ KDE_TRY_LINK_PYTHON(m_and_thread_and_db_special, [$LIBPTHREAD -lm -ldb -lutil], [],
+ [AC_MSG_WARN([it seems, Python depends on another library.
+ Please set LIBPYTHON to '-lpython$version -lotherlib' before calling configure to fix this
+ and contact the authors to let them know about this problem])
+ ])
+
+ LIBPYTHON="$LIBPYTHON $LIBDL $LIBSOCKET"
+ AC_SUBST(PYTHONINC)
+ AC_SUBST(PYTHONLIB)
+ AC_SUBST(LIBPYTHON)
+ AC_SUBST(PYTHONMODDIR)
+ AC_DEFINE(HAVE_PYTHON, 1, [Define if you have the development files for python])
+fi
+
+])
+
+
+AC_DEFUN([KDE_CHECK_PYTHON],
+[
+ KDE_CHECK_PYTHON_INTERN("2.5",
+ [KDE_CHECK_PYTHON_INTERN("2.4",
+ [KDE_CHECK_PYTHON_INTERN("2.3",
+ [KDE_CHECK_PYTHON_INTERN("2.2",
+ [KDE_CHECK_PYTHON_INTERN("2.1",
+ [KDE_CHECK_PYTHON_INTERN("2.0",
+ [KDE_CHECK_PYTHON_INTERN($1, $2) ])
+ ])
+ ])
+ ])
+ ])
+ ])
+])
+
+AC_DEFUN([KDE_CHECK_STL],
+[
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ ac_save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
+
+ AC_MSG_CHECKING([if C++ programs can be compiled])
+ AC_CACHE_VAL(kde_cv_stl_works,
+ [
+ AC_TRY_COMPILE([
+#include <string>
+using namespace std;
+],[
+ string astring="Hallo Welt.";
+ astring.erase(0, 6); // now astring is "Welt"
+ return 0;
+], kde_cv_stl_works=yes,
+ kde_cv_stl_works=no)
+])
+
+ AC_MSG_RESULT($kde_cv_stl_works)
+
+ if test "$kde_cv_stl_works" = "yes"; then
+ # back compatible
+ AC_DEFINE_UNQUOTED(HAVE_SGI_STL, 1, [Define if you have a STL implementation by SGI])
+ else
+ AC_MSG_ERROR([Your Installation isn't able to compile simple C++ programs.
+Check config.log for details - if you're using a Linux distribution you might miss
+a package named similar to libstdc++-dev.])
+ fi
+
+ CXXFLAGS="$ac_save_CXXFLAGS"
+ AC_LANG_RESTORE
+])
+
+AC_DEFUN([AC_FIND_QIMGIO],
+ [AC_REQUIRE([AC_FIND_JPEG])
+AC_REQUIRE([KDE_CHECK_EXTRA_LIBS])
+AC_MSG_CHECKING([for qimgio])
+AC_CACHE_VAL(ac_cv_lib_qimgio,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+ac_save_LIBS="$LIBS"
+ac_save_CXXFLAGS="$CXXFLAGS"
+LIBS="$all_libraries -lqimgio -lpng -lz $LIBJPEG $LIBQT"
+CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
+AC_TRY_RUN(dnl
+[
+#include <qimageio.h>
+#include <qstring.h>
+int main() {
+ QString t = "hallo";
+ t.fill('t');
+ qInitImageIO();
+}
+],
+ ac_cv_lib_qimgio=yes,
+ ac_cv_lib_qimgio=no,
+ ac_cv_lib_qimgio=no)
+LIBS="$ac_save_LIBS"
+CXXFLAGS="$ac_save_CXXFLAGS"
+AC_LANG_RESTORE
+])dnl
+if eval "test \"`echo $ac_cv_lib_qimgio`\" = yes"; then
+ LIBQIMGIO="-lqimgio -lpng -lz $LIBJPEG"
+ AC_MSG_RESULT(yes)
+ AC_DEFINE_UNQUOTED(HAVE_QIMGIO, 1, [Define if you have the Qt extension qimgio available])
+ AC_SUBST(LIBQIMGIO)
+else
+ AC_MSG_RESULT(not found)
+fi
+])
+
+AC_DEFUN([AM_DISABLE_LIBRARIES],
+[
+ AC_PROVIDE([AM_ENABLE_STATIC])
+ AC_PROVIDE([AM_ENABLE_SHARED])
+ enable_static=no
+ enable_shared=yes
+])
+
+
+AC_DEFUN([AC_CHECK_UTMP_FILE],
+[
+ AC_MSG_CHECKING([for utmp file])
+
+ AC_CACHE_VAL(kde_cv_utmp_file,
+ [
+ kde_cv_utmp_file=no
+
+ for ac_file in \
+ \
+ /var/run/utmp \
+ /var/adm/utmp \
+ /etc/utmp \
+ ; \
+ do
+ if test -r "$ac_file"; then
+ kde_cv_utmp_file=$ac_file
+ break
+ fi
+ done
+ ])
+
+ if test "$kde_cv_utmp_file" != "no"; then
+ AC_DEFINE_UNQUOTED(UTMP, "$kde_cv_utmp_file", [Define the file for utmp entries])
+ $1
+ AC_MSG_RESULT($kde_cv_utmp_file)
+ else
+ $2
+ AC_MSG_RESULT([non found])
+ fi
+])
+
+
+AC_DEFUN([KDE_CREATE_SUBDIRSLIST],
+[
+
+DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
+TOPSUBDIRS=""
+
+if test ! -s $srcdir/subdirs; then
+ dnl Note: Makefile.common creates subdirs, so this is just a fallback
+ files=`cd $srcdir && ls -1`
+ dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
+ for i in $dirs; do
+ echo $i >> $srcdir/subdirs
+ done
+fi
+
+ac_topsubdirs=
+if test -s $srcdir/inst-apps; then
+ ac_topsubdirs="`cat $srcdir/inst-apps`"
+elif test -s $srcdir/subdirs; then
+ ac_topsubdirs="`cat $srcdir/subdirs`"
+fi
+
+for i in $ac_topsubdirs; do
+ AC_MSG_CHECKING([if $i should be compiled])
+ if test -d $srcdir/$i; then
+ install_it="yes"
+ for j in $DO_NOT_COMPILE; do
+ if test $i = $j; then
+ install_it="no"
+ fi
+ done
+ else
+ install_it="no"
+ fi
+ AC_MSG_RESULT($install_it)
+ vari=`echo $i | sed -e 's,[[-+.@]],_,g'`
+ if test $install_it = "yes"; then
+ TOPSUBDIRS="$TOPSUBDIRS $i"
+ eval "$vari""_SUBDIR_included=yes"
+ else
+ eval "$vari""_SUBDIR_included=no"
+ fi
+done
+
+AC_SUBST(TOPSUBDIRS)
+])
+
+AC_DEFUN([KDE_CHECK_NAMESPACES],
+[
+AC_MSG_CHECKING(whether C++ compiler supports namespaces)
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+AC_TRY_COMPILE([
+],
+[
+namespace Foo {
+ extern int i;
+ namespace Bar {
+ extern int i;
+ }
+}
+
+int Foo::i = 0;
+int Foo::Bar::i = 1;
+],[
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_NAMESPACES)
+], [
+AC_MSG_RESULT(no)
+])
+AC_LANG_RESTORE
+])
+
+dnl ------------------------------------------------------------------------
+dnl Check for S_ISSOCK macro. Doesn't exist on Unix SCO. faure at kde.org
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN([AC_CHECK_S_ISSOCK],
+[
+AC_MSG_CHECKING(for S_ISSOCK)
+AC_CACHE_VAL(ac_cv_have_s_issock,
+[
+AC_TRY_LINK(
+[
+#include <sys/stat.h>
+],
+[
+struct stat buff;
+int b = S_ISSOCK( buff.st_mode );
+],
+ac_cv_have_s_issock=yes,
+ac_cv_have_s_issock=no)
+])
+AC_MSG_RESULT($ac_cv_have_s_issock)
+if test "$ac_cv_have_s_issock" = "yes"; then
+ AC_DEFINE_UNQUOTED(HAVE_S_ISSOCK, 1, [Define if sys/stat.h declares S_ISSOCK.])
+fi
+
+AH_VERBATIM(_ISSOCK,
+[
+#ifndef HAVE_S_ISSOCK
+#define HAVE_S_ISSOCK
+#define S_ISSOCK(mode) (1==0)
+#endif
+])
+
+])
+
+dnl ------------------------------------------------------------------------
+dnl Check for MAXPATHLEN macro, defines KDEMAXPATHLEN. faure at kde.org
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN([AC_CHECK_KDEMAXPATHLEN],
+[
+AC_MSG_CHECKING(for MAXPATHLEN)
+AC_CACHE_VAL(ac_cv_maxpathlen,
+[
+cat > conftest.$ac_ext <<EOF
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+#endif
+#include <stdio.h>
+#include <sys/param.h>
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 1024
+#endif
+
+KDE_HELLO MAXPATHLEN
+
+EOF
+
+ac_try="$ac_cpp conftest.$ac_ext 2>/dev/null | grep '^KDE_HELLO' >conftest.out"
+
+if AC_TRY_EVAL(ac_try) && test -s conftest.out; then
+ ac_cv_maxpathlen=`sed 's#KDE_HELLO ##' conftest.out`
+else
+ ac_cv_maxpathlen=1024
+fi
+
+rm conftest.*
+
+])
+AC_MSG_RESULT($ac_cv_maxpathlen)
+AC_DEFINE_UNQUOTED(KDEMAXPATHLEN,$ac_cv_maxpathlen, [Define a safe value for MAXPATHLEN] )
+])
+
+AC_DEFUN([KDE_CHECK_HEADER],
+[
+ kde_safe_cppflags=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $all_includes"
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_CHECK_HEADER([$1], [$2], [$3], [$4])
+ AC_LANG_RESTORE
+ CPPFLAGS=$kde_safe_cppflags
+])
+
+AC_DEFUN([KDE_CHECK_HEADERS],
+[
+ AH_CHECK_HEADERS([$1])
+ AC_LANG_SAVE
+ kde_safe_cppflags=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $all_includes"
+ AC_LANG_CPLUSPLUS
+ AC_CHECK_HEADERS([$1], [$2], [$3], [$4])
+ CPPFLAGS=$kde_safe_cppflags
+ AC_LANG_RESTORE
+])
+
+AC_DEFUN([KDE_FAST_CONFIGURE],
+[
+ dnl makes configure fast (needs perl)
+ AC_ARG_ENABLE(fast-perl, AC_HELP_STRING([--disable-fast-perl],[disable fast Makefile generation (needs perl)]),
+ with_fast_perl=$enableval, with_fast_perl=yes)
+])
+
+AC_DEFUN([KDE_CONF_FILES],
+[
+ val=
+ if test -f $srcdir/configure.files ; then
+ val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
+ fi
+ CONF_FILES=
+ if test -n "$val" ; then
+ for i in $val ; do
+ CONF_FILES="$CONF_FILES $i"
+ done
+ fi
+ AC_SUBST(CONF_FILES)
+])dnl
+
+dnl This sets the prefix, for arts and kdelibs
+dnl Do NOT use in any other module.
+dnl It only looks at --prefix, KDEDIR and falls back to /usr/local/kde
+AC_DEFUN([KDE_SET_PREFIX_CORE],
+[
+ unset CDPATH
+ dnl make $KDEDIR the default for the installation
+ AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde})
+
+ if test "x$prefix" = "xNONE"; then
+ prefix=$ac_default_prefix
+ ac_configure_args="$ac_configure_args --prefix=$prefix"
+ fi
+ # And delete superfluous '/' to make compares easier
+ prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
+ exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
+
+ kde_libs_prefix='$(prefix)'
+ kde_libs_htmldir='$(kde_htmldir)'
+ AC_SUBST(kde_libs_prefix)
+ AC_SUBST(kde_libs_htmldir)
+ KDE_FAST_CONFIGURE
+ KDE_CONF_FILES
+])
+
+
+AC_DEFUN([KDE_SET_PREFIX],
+[
+ unset CDPATH
+ dnl We can't give real code to that macro, only a value.
+ dnl It only matters for --help, since we set the prefix in this function anyway.
+ AC_PREFIX_DEFAULT(${KDEDIR:-the kde prefix})
+
+ KDE_SET_DEFAULT_BINDIRS
+ if test "x$prefix" = "xNONE"; then
+ dnl no prefix given: look for kde-config in the PATH and deduce the prefix from it
+ KDE_FIND_PATH(kde-config, KDECONFIG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kde-config)], [], prepend)
+ else
+ dnl prefix given: look for kde-config, preferrably in prefix, otherwise in PATH
+ kde_save_PATH="$PATH"
+ PATH="$exec_prefix/bin:$prefix/bin:$PATH"
+ KDE_FIND_PATH(kde-config, KDECONFIG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kde-config)], [], prepend)
+ PATH="$kde_save_PATH"
+ fi
+
+ kde_libs_prefix=`$KDECONFIG --prefix`
+ if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
+ AC_MSG_ERROR([$KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
+ This means it has been moved since you installed it.
+ This won't work. Please recompile kdelibs for the new prefix.
+ ])
+ fi
+ kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
+
+ AC_MSG_CHECKING([where to install])
+ if test "x$prefix" = "xNONE"; then
+ prefix=$kde_libs_prefix
+ AC_MSG_RESULT([$prefix (as returned by kde-config)])
+ else
+ dnl --prefix was given. Compare prefixes and warn (in configure.in.bot.end) if different
+ given_prefix=$prefix
+ AC_MSG_RESULT([$prefix (as requested)])
+ fi
+
+ # And delete superfluous '/' to make compares easier
+ prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
+ exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
+ given_prefix=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
+
+ AC_SUBST(KDECONFIG)
+ AC_SUBST(kde_libs_prefix)
+ AC_SUBST(kde_libs_htmldir)
+
+ KDE_FAST_CONFIGURE
+ KDE_CONF_FILES
+])
+
+pushdef([AC_PROG_INSTALL],
+[
+ dnl our own version, testing for a -p flag
+ popdef([AC_PROG_INSTALL])
+ dnl as AC_PROG_INSTALL works as it works we first have
+ dnl to save if the user didn't specify INSTALL, as the
+ dnl autoconf one overwrites INSTALL and we have no chance to find
+ dnl out afterwards
+ test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
+ test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
+ test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
+ AC_PROG_INSTALL
+
+ if test -z "$kde_save_INSTALL_given" ; then
+ # OK, user hasn't given any INSTALL, autoconf found one for us
+ # now we test, if it supports the -p flag
+ AC_MSG_CHECKING(for -p flag to install)
+ rm -f confinst.$$.* > /dev/null 2>&1
+ echo "Testtest" > confinst.$$.orig
+ ac_res=no
+ if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
+ if test -f confinst.$$.new ; then
+ # OK, -p seems to do no harm to install
+ INSTALL="${INSTALL} -p"
+ ac_res=yes
+ fi
+ fi
+ rm -f confinst.$$.*
+ AC_MSG_RESULT($ac_res)
+ fi
+ dnl the following tries to resolve some signs and wonders coming up
+ dnl with different autoconf/automake versions
+ dnl e.g.:
+ dnl *automake 1.4 install-strip sets A_M_INSTALL_PROGRAM_FLAGS to -s
+ dnl and has INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(A_M_INSTALL_PROGRAM_FLAGS)
+ dnl it header-vars.am, so there the actual INSTALL_PROGRAM gets the -s
+ dnl *automake 1.4a (and above) use INSTALL_STRIP_FLAG and only has
+ dnl INSTALL_PROGRAM = @INSTALL_PROGRAM@ there, but changes the
+ dnl install- at DIR@PROGRAMS targets to explicitly use that flag
+ dnl *autoconf 2.13 is dumb, and thinks it can use INSTALL_PROGRAM as
+ dnl INSTALL_SCRIPT, which breaks with automake <= 1.4
+ dnl *autoconf >2.13 (since 10.Apr 1999) has not that failure
+ dnl *sometimes KDE does not use the install- at DIR@PROGRAM targets from
+ dnl automake (due to broken Makefile.am or whatever) to install programs,
+ dnl and so does not see the -s flag in automake > 1.4
+ dnl to clean up that mess we:
+ dnl +set INSTALL_PROGRAM to use INSTALL_STRIP_FLAG
+ dnl which cleans KDE's program with automake > 1.4;
+ dnl +set INSTALL_SCRIPT to only use INSTALL, to clean up autoconf's problems
+ dnl with automake<=1.4
+ dnl note that dues to this sometimes two '-s' flags are used (if KDE
+ dnl properly uses install- at DIR@PROGRAMS, but I don't care
+ dnl
+ dnl And to all this comes, that I even can't write in comments variable
+ dnl names used by automake, because it is so stupid to think I wanted to
+ dnl _use_ them, therefor I have written A_M_... instead of AM_
+ dnl hmm, I wanted to say something ... ahh yes: Arghhh.
+
+ if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
+ INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
+ fi
+ if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
+ INSTALL_SCRIPT='${INSTALL}'
+ fi
+])dnl
+
+AC_DEFUN([KDE_LANG_CPLUSPLUS],
+[AC_LANG_CPLUSPLUS
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&AC_FD_CC'
+pushdef([AC_LANG_CPLUSPLUS], [popdef([AC_LANG_CPLUSPLUS]) KDE_LANG_CPLUSPLUS])
+])
+
+pushdef([AC_LANG_CPLUSPLUS],
+[popdef([AC_LANG_CPLUSPLUS])
+KDE_LANG_CPLUSPLUS
+])
+
+AC_DEFUN([KDE_CHECK_LONG_LONG],
+[
+AC_MSG_CHECKING(for long long)
+AC_CACHE_VAL(kde_cv_c_long_long,
+[
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_TRY_LINK([], [
+ long long foo = 0;
+ foo = foo+1;
+ ],
+ kde_cv_c_long_long=yes, kde_cv_c_long_long=no)
+ AC_LANG_RESTORE
+])
+AC_MSG_RESULT($kde_cv_c_long_long)
+if test "$kde_cv_c_long_long" = yes; then
+ AC_DEFINE(HAVE_LONG_LONG, 1, [Define if you have long long as datatype])
+fi
+])
+
+AC_DEFUN([KDE_CHECK_LIB],
+[
+ kde_save_LDFLAGS="$LDFLAGS"
+ dnl AC_CHECK_LIB modifies LIBS, so save it here
+ kde_save_LIBS="$LIBS"
+ LDFLAGS="$LDFLAGS $all_libraries"
+ case $host_os in
+ aix*) LDFLAGS="-brtl $LDFLAGS"
+ test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
+ ;;
+ esac
+ AC_CHECK_LIB($1, $2, $3, $4, $5)
+ LDFLAGS="$kde_save_LDFLAGS"
+ LIBS="$kde_save_LIBS"
+])
+
+AC_DEFUN([KDE_JAVA_PREFIX],
+[
+ dir=`dirname "$1"`
+ base=`basename "$1"`
+ list=`ls -1 $dir 2> /dev/null`
+ for entry in $list; do
+ if test -d $dir/$entry/bin; then
+ case $entry in
+ $base)
+ javadirs="$javadirs $dir/$entry/bin"
+ ;;
+ esac
+ elif test -d $dir/$entry/jre/bin; then
+ case $entry in
+ $base)
+ javadirs="$javadirs $dir/$entry/jre/bin"
+ ;;
+ esac
+ fi
+ done
+])
+
+dnl KDE_CHEC_JAVA_DIR(onlyjre)
+AC_DEFUN([KDE_CHECK_JAVA_DIR],
+[
+
+AC_ARG_WITH(java,
+AC_HELP_STRING([--with-java=javadir],[use java installed in javadir, --without-java disables]),
+[ ac_java_dir=$withval
+], ac_java_dir=""
+)
+
+AC_MSG_CHECKING([for Java])
+
+dnl at this point ac_java_dir is either a dir, 'no' to disable, or '' to say look in $PATH
+if test "x$ac_java_dir" = "xno"; then
+ kde_java_bindir=no
+ kde_java_includedir=no
+ kde_java_libjvmdir=no
+ kde_java_libgcjdir=no
+ kde_java_libhpidir=no
+else
+ if test "x$ac_java_dir" = "x"; then
+
+
+ dnl No option set -> collect list of candidate paths
+ if test -n "$JAVA_HOME"; then
+ KDE_JAVA_PREFIX($JAVA_HOME)
+ fi
+ KDE_JAVA_PREFIX(/usr/j2se)
+ KDE_JAVA_PREFIX(/usr/lib/j2se)
+ KDE_JAVA_PREFIX(/usr/j*dk*)
+ KDE_JAVA_PREFIX(/usr/lib/j*dk*)
+ KDE_JAVA_PREFIX(/opt/j*sdk*)
+ KDE_JAVA_PREFIX(/usr/lib/java*)
+ KDE_JAVA_PREFIX(/usr/java*)
+ KDE_JAVA_PREFIX(/usr/java/j*dk*)
+ KDE_JAVA_PREFIX(/usr/java/j*re*)
+ KDE_JAVA_PREFIX(/usr/lib/SunJava2*)
+ KDE_JAVA_PREFIX(/usr/lib/SunJava*)
+ KDE_JAVA_PREFIX(/usr/lib/IBMJava2*)
+ KDE_JAVA_PREFIX(/usr/lib/IBMJava*)
+ KDE_JAVA_PREFIX(/opt/java*)
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ for dir in $PATH; do
+ if test -d "$dir"; then
+ javadirs="$javadirs $dir"
+ fi
+ done
+ IFS=$kde_save_IFS
+ jredirs=
+
+ dnl Now javadirs contains a list of paths that exist, all ending with bin/
+ for dir in $javadirs; do
+ dnl Check for the java executable
+ if test -x "$dir/java"; then
+ sane_path=$(cd $dir; /bin/pwd)
+ dnl And also check for a libjvm.so somewhere under there
+ dnl Since we have to go to the parent dir, /usr/bin is excluded, /usr is too big.
+ if test "$sane_path" != "/usr/bin"; then
+ libjvmdir=`find $dir/.. -name libjvm.so | sed 's,libjvm.so,,'|head -n 1`
+ if test ! -f $libjvmdir/libjvm.so; then continue; fi
+ jredirs="$jredirs $dir"
+ fi
+ fi
+ done
+
+ dnl Now jredirs contains a reduced list, of paths where both java and ../**/libjvm.so was found
+ JAVAC=
+ JAVA=
+ kde_java_bindir=no
+ for dir in $jredirs; do
+ JAVA="$dir/java"
+ kde_java_bindir=$dir
+ if test -x "$dir/javac"; then
+ JAVAC="$dir/javac"
+ break
+ fi
+ done
+
+ if test -n "$JAVAC"; then
+ dnl this substitution might not work - well, we test for jni.h below
+ kde_java_includedir=`echo $JAVAC | sed -e 's,bin/javac$,include/,'`
+ else
+ kde_java_includedir=no
+ fi
+ else
+ dnl config option set
+ kde_java_bindir=$ac_java_dir/bin
+ if test -x $ac_java_dir/bin/java && test ! -x $ac_java_dir/bin/javac; then
+ kde_java_includedir=no
+ else
+ kde_java_includedir=$ac_java_dir/include
+ fi
+ fi
+fi
+
+dnl At this point kde_java_bindir and kde_java_includedir are either set or "no"
+if test "x$kde_java_bindir" != "xno"; then
+
+ dnl Look for libjvm.so
+ kde_java_libjvmdir=`find $kde_java_bindir/.. -name libjvm.so | sed 's,libjvm.so,,'|head -n 1`
+ dnl Look for libgcj.so
+ kde_java_libgcjdir=`find $kde_java_bindir/.. -name libgcj.so | sed 's,libgcj.so,,'|head -n 1`
+ dnl Look for libhpi.so and avoid green threads
+ kde_java_libhpidir=`find $kde_java_bindir/.. -name libhpi.so | grep -v green | sed 's,libhpi.so,,' | head -n 1`
+
+ dnl Now check everything's fine under there
+ dnl the include dir is our flag for having the JDK
+ if test -d "$kde_java_includedir"; then
+ if test ! -x "$kde_java_bindir/javac"; then
+ AC_MSG_ERROR([javac not found under $kde_java_bindir - it seems you passed a wrong --with-java.])
+ fi
+ if test ! -x "$kde_java_bindir/javah"; then
+ AC_MSG_ERROR([javah not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.])
+ fi
+ if test ! -x "$kde_java_bindir/jar"; then
+ AC_MSG_ERROR([jar not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.])
+ fi
+ if test ! -r "$kde_java_includedir/jni.h"; then
+ AC_MSG_ERROR([jni.h not found under $kde_java_includedir. Use --with-java or --without-java.])
+ fi
+
+ jni_includes="-I$kde_java_includedir"
+ dnl Strange thing, jni.h requires jni_md.h which is under genunix here..
+ dnl and under linux here..
+
+ dnl not needed for gcj
+
+ if test "x$kde_java_libgcjdir" = "x"; then
+ test -d "$kde_java_includedir/linux" && jni_includes="$jni_includes -I$kde_java_includedir/linux"
+ test -d "$kde_java_includedir/solaris" && jni_includes="$jni_includes -I$kde_java_includedir/solaris"
+ test -d "$kde_java_includedir/genunix" && jni_includes="$jni_includes -I$kde_java_includedir/genunix"
+ fi
+
+ else
+ JAVAC=
+ jni_includes=
+ fi
+
+ if test "x$kde_java_libgcjdir" = "x"; then
+ if test ! -r "$kde_java_libjvmdir/libjvm.so"; then
+ AC_MSG_ERROR([libjvm.so not found under $kde_java_libjvmdir. Use --without-java.])
+ fi
+ else
+ if test ! -r "$kde_java_libgcjdir/libgcj.so"; then
+ AC_MSG_ERROR([libgcj.so not found under $kde_java_libgcjdir. Use --without-java.])
+ fi
+ fi
+
+ if test ! -x "$kde_java_bindir/java"; then
+ AC_MSG_ERROR([java not found under $kde_java_bindir. javac was found though! Use --with-java or --without-java.])
+ fi
+
+ dnl not needed for gcj compile
+
+ if test "x$kde_java_libgcjdir" = "x"; then
+ if test ! -r "$kde_java_libhpidir/libhpi.so"; then
+ AC_MSG_ERROR([libhpi.so not found under $kde_java_libhpidir. Use --without-java.])
+ fi
+ fi
+
+ if test -n "$jni_includes"; then
+ dnl Check for JNI version
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ ac_cxxflags_safe="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS $all_includes $jni_includes"
+
+ AC_TRY_COMPILE([
+ #include <jni.h>
+ ],
+ [
+ #ifndef JNI_VERSION_1_2
+ Syntax Error
+ #endif
+ ],[ kde_jni_works=yes ],
+ [ kde_jni_works=no ])
+
+ if test $kde_jni_works = no; then
+ AC_MSG_ERROR([Incorrect version of $kde_java_includedir/jni.h.
+ You need to have Java Development Kit (JDK) version 1.2.
+
+ Use --with-java to specify another location.
+ Use --without-java to configure without java support.
+ Or download a newer JDK and try again.
+ See e.g. http://java.sun.com/products/jdk/1.2 ])
+ fi
+
+ CXXFLAGS="$ac_cxxflags_safe"
+ AC_LANG_RESTORE
+
+ dnl All tests ok, inform and subst the variables
+
+ JAVAC=$kde_java_bindir/javac
+ JAVAH=$kde_java_bindir/javah
+ JAR=$kde_java_bindir/jar
+ AC_DEFINE_UNQUOTED(PATH_JAVA, "$kde_java_bindir/java", [Define where your java executable is])
+ if test "x$kde_java_libgcjdir" = "x"; then
+ JVMLIBS="-L$kde_java_libjvmdir -ljvm -L$kde_java_libhpidir -lhpi"
+ else
+ JVMLIBS="-L$kde_java_libgcjdir -lgcj"
+ fi
+ AC_MSG_RESULT([java JDK in $kde_java_bindir])
+
+ else
+ AC_DEFINE_UNQUOTED(PATH_JAVA, "$kde_java_bindir/java", [Define where your java executable is])
+ AC_MSG_RESULT([java JRE in $kde_java_bindir])
+ fi
+elif test -d "/Library/Java/Home"; then
+ kde_java_bindir="/Library/Java/Home/bin"
+ jni_includes="-I/Library/Java/Home/include"
+
+ JAVAC=$kde_java_bindir/javac
+ JAVAH=$kde_java_bindir/javah
+ JAR=$kde_java_bindir/jar
+ JVMLIBS="-Wl,-framework,JavaVM"
+
+ AC_DEFINE_UNQUOTED(PATH_JAVA, "$kde_java_bindir/java", [Define where your java executable is])
+ AC_MSG_RESULT([Apple Java Framework])
+else
+ AC_MSG_RESULT([none found])
+fi
+
+AC_SUBST(JAVAC)
+AC_SUBST(JAVAH)
+AC_SUBST(JAR)
+AC_SUBST(JVMLIBS)
+AC_SUBST(jni_includes)
+
+# for backward compat
+kde_cv_java_includedir=$kde_java_includedir
+kde_cv_java_bindir=$kde_java_bindir
+])
+
+dnl this is a redefinition of autoconf 2.5x's AC_FOREACH.
+dnl When the argument list becomes big, as in KDE for AC_OUTPUT in
+dnl big packages, m4_foreach is dog-slow. So use our own version of
+dnl it. (matz at kde.org)
+m4_define([mm_foreach],
+[m4_pushdef([$1])_mm_foreach($@)m4_popdef([$1])])
+m4_define([mm_car], [[$1]])
+m4_define([mm_car2], [[$@]])
+m4_define([_mm_foreach],
+[m4_if(m4_quote($2), [], [],
+ [m4_define([$1], mm_car($2))$3[]_mm_foreach([$1],
+ mm_car2(m4_shift($2)),
+ [$3])])])
+m4_define([AC_FOREACH],
+[mm_foreach([$1], m4_split(m4_normalize([$2])), [$3])])
+
+AC_DEFUN([KDE_NEED_FLEX],
+[
+kde_libs_safe=$LIBS
+LIBS="$LIBS $USER_LDFLAGS"
+AM_PROG_LEX
+LIBS=$kde_libs_safe
+if test -z "$LEXLIB"; then
+ AC_MSG_ERROR([You need to have flex installed.])
+fi
+AC_SUBST(LEXLIB)
+])
+
+AC_DEFUN([AC_PATH_QTOPIA],
+[
+ dnl TODO: use AC_CACHE_VAL
+
+ if test -z "$1"; then
+ qtopia_minver_maj=1
+ qtopia_minver_min=5
+ qtopia_minver_pat=0
+ else
+ qtopia_minver_maj=`echo "$1" | sed -e "s/^\(.*\)\..*\..*$/\1/"`
+ qtopia_minver_min=`echo "$1" | sed -e "s/^.*\.\(.*\)\..*$/\1/"`
+ qtopia_minver_pat=`echo "$1" | sed -e "s/^.*\..*\.\(.*\)$/\1/"`
+ fi
+
+ qtopia_minver="$qtopia_minver_maj$qtopia_minver_min$qtopia_minver_pat"
+ qtopia_minverstr="$qtopia_minver_maj.$qtopia_minver_min.$qtopia_minver_pat"
+
+ AC_REQUIRE([AC_PATH_QT])
+
+ AC_MSG_CHECKING([for Qtopia])
+
+ LIB_QTOPIA="-lqpe"
+ AC_SUBST(LIB_QTOPIA)
+
+ kde_qtopia_dirs="$QPEDIR /opt/Qtopia"
+
+ ac_qtopia_incdir=NO
+
+ AC_ARG_WITH(qtopia-dir,
+ AC_HELP_STRING([--with-qtopia-dir=DIR],[where the root of Qtopia is installed]),
+ [ ac_qtopia_incdir="$withval"/include] )
+
+ qtopia_incdirs=""
+ for dir in $kde_qtopia_dirs; do
+ qtopia_incdirs="$qtopia_incdirs $dir/include"
+ done
+
+ if test ! "$ac_qtopia_incdir" = "NO"; then
+ qtopia_incdirs="$ac_qtopia_incdir $qtopia_incdirs"
+ fi
+
+ qtopia_incdir=""
+ AC_FIND_FILE(qpe/qpeapplication.h, $qtopia_incdirs, qtopia_incdir)
+ ac_qtopia_incdir="$qtopia_incdir"
+
+ if test -z "$qtopia_incdir"; then
+ AC_MSG_ERROR([Cannot find Qtopia headers. Please check your installation.])
+ fi
+
+ qtopia_ver_maj=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION "\(.*\)\..*\..*".*,\1,p'`;
+ qtopia_ver_min=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION ".*\.\(.*\)\..*".*,\1,p'`;
+ qtopia_ver_pat=`cat $qtopia_incdir/qpe/version.h | sed -n -e 's,.*QPE_VERSION ".*\..*\.\(.*\)".*,\1,p'`;
+
+ qtopia_ver="$qtopia_ver_maj$qtopia_ver_min$qtopia_ver_pat"
+ qtopia_verstr="$qtopia_ver_maj.$qtopia_ver_min.$qtopia_ver_pat"
+ if test "$qtopia_ver" -lt "$qtopia_minver"; then
+ AC_MSG_ERROR([found Qtopia version $qtopia_verstr but version $qtopia_minverstr
+is required.])
+ fi
+
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+
+ ac_cxxflags_safe="$CXXFLAGS"
+ ac_ldflags_safe="$LDFLAGS"
+ ac_libs_safe="$LIBS"
+
+ CXXFLAGS="$CXXFLAGS -I$qtopia_incdir $all_includes"
+ LDFLAGS="$LDFLAGS $QT_LDFLAGS $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
+ LIBS="$LIBS $LIB_QTOPIA $LIBQT"
+
+ cat > conftest.$ac_ext <<EOF
+#include "confdefs.h"
+#include <qpe/qpeapplication.h>
+#include <qpe/version.h>
+
+int main( int argc, char **argv )
+{
+ QPEApplication app( argc, argv );
+ return 0;
+}
+EOF
+
+ if AC_TRY_EVAL(ac_link) && test -s conftest; then
+ rm -f conftest*
+ else
+ rm -f conftest*
+ AC_MSG_ERROR([Cannot link small Qtopia Application. For more details look at
+the end of config.log])
+ fi
+
+ CXXFLAGS="$ac_cxxflags_safe"
+ LDFLAGS="$ac_ldflags_safe"
+ LIBS="$ac_libs_safe"
+
+ AC_LANG_RESTORE
+
+ QTOPIA_INCLUDES="-I$qtopia_incdir"
+ AC_SUBST(QTOPIA_INCLUDES)
+
+ AC_MSG_RESULT([found version $qtopia_verstr with headers at $qtopia_incdir])
+])
+
+
+AC_DEFUN([KDE_INIT_DOXYGEN],
+[
+AC_MSG_CHECKING([for Qt docs])
+kde_qtdir=
+if test "${with_qt_dir+set}" = set; then
+ kde_qtdir="$with_qt_dir"
+fi
+
+AC_FIND_FILE(qsql.html, [ $kde_qtdir/doc/html $QTDIR/doc/html /usr/share/doc/packages/qt3/html /usr/lib/qt/doc /usr/lib/qt3/doc /usr/lib/qt3/doc/html /usr/doc/qt3/html /usr/doc/qt3 /usr/share/doc/qt3-doc /usr/share/qt3/doc/html /usr/X11R6/share/doc/qt/html ], QTDOCDIR)
+AC_MSG_RESULT($QTDOCDIR)
+
+AC_SUBST(QTDOCDIR)
+
+KDE_FIND_PATH(dot, DOT, [], [])
+if test -n "$DOT"; then
+ KDE_HAVE_DOT="YES"
+else
+ KDE_HAVE_DOT="NO"
+fi
+AC_SUBST(KDE_HAVE_DOT)
+KDE_FIND_PATH(doxygen, DOXYGEN, [], [])
+AC_SUBST(DOXYGEN)
+
+DOXYGEN_PROJECT_NAME="$1"
+DOXYGEN_PROJECT_NUMBER="$2"
+AC_SUBST(DOXYGEN_PROJECT_NAME)
+AC_SUBST(DOXYGEN_PROJECT_NUMBER)
+
+KDE_HAS_DOXYGEN=no
+if test -n "$DOXYGEN" && test -x "$DOXYGEN" && test -f $QTDOCDIR/qsql.html; then
+ KDE_HAS_DOXYGEN=yes
+fi
+AC_SUBST(KDE_HAS_DOXYGEN)
+
+])
+
+
+AC_DEFUN([AC_FIND_BZIP2],
+[
+AC_MSG_CHECKING([for bzDecompress in libbz2])
+AC_CACHE_VAL(ac_cv_lib_bzip2,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+kde_save_LIBS="$LIBS"
+LIBS="$all_libraries $USER_LDFLAGS -lbz2 $LIBSOCKET"
+kde_save_CXXFLAGS="$CXXFLAGS"
+CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
+AC_TRY_LINK(dnl
+[
+#define BZ_NO_STDIO
+#include<bzlib.h>
+],
+ [ bz_stream s; (void) bzDecompress(&s); ],
+ eval "ac_cv_lib_bzip2='-lbz2'",
+ eval "ac_cv_lib_bzip2=no")
+LIBS="$kde_save_LIBS"
+CXXFLAGS="$kde_save_CXXFLAGS"
+AC_LANG_RESTORE
+])dnl
+AC_MSG_RESULT($ac_cv_lib_bzip2)
+
+if test ! "$ac_cv_lib_bzip2" = no; then
+ BZIP2DIR=bzip2
+
+ LIBBZ2="$ac_cv_lib_bzip2"
+ AC_SUBST(LIBBZ2)
+
+else
+
+ cxx_shared_flag=
+ ld_shared_flag=
+ KDE_CHECK_COMPILER_FLAG(shared, [
+ ld_shared_flag="-shared"
+ ])
+ KDE_CHECK_COMPILER_FLAG(fPIC, [
+ cxx_shared_flag="-fPIC"
+ ])
+
+ AC_MSG_CHECKING([for BZ2_bzDecompress in (shared) libbz2])
+ AC_CACHE_VAL(ac_cv_lib_bzip2_prefix,
+ [
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ kde_save_LIBS="$LIBS"
+ LIBS="$all_libraries $USER_LDFLAGS $ld_shared_flag -lbz2 $LIBSOCKET"
+ kde_save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CFLAGS $cxx_shared_flag $all_includes $USER_INCLUDES"
+
+ AC_TRY_LINK(dnl
+ [
+ #define BZ_NO_STDIO
+ #include<bzlib.h>
+ ],
+ [ bz_stream s; (void) BZ2_bzDecompress(&s); ],
+ eval "ac_cv_lib_bzip2_prefix='-lbz2'",
+ eval "ac_cv_lib_bzip2_prefix=no")
+ LIBS="$kde_save_LIBS"
+ CXXFLAGS="$kde_save_CXXFLAGS"
+ AC_LANG_RESTORE
+ ])dnl
+
+ AC_MSG_RESULT($ac_cv_lib_bzip2_prefix)
+
+ if test ! "$ac_cv_lib_bzip2_prefix" = no; then
+ BZIP2DIR=bzip2
+
+ LIBBZ2="$ac_cv_lib_bzip2_prefix"
+ AC_SUBST(LIBBZ2)
+
+ AC_DEFINE(NEED_BZ2_PREFIX, 1, [Define if the libbz2 functions need the BZ2_ prefix])
+ dnl else, we just ignore this
+ fi
+
+fi
+AM_CONDITIONAL(include_BZIP2, test -n "$BZIP2DIR")
+])
+
+dnl ------------------------------------------------------------------------
+dnl Try to find the SSL headers and libraries.
+dnl $(SSL_LDFLAGS) will be -Lsslliblocation (if needed)
+dnl and $(SSL_INCLUDES) will be -Isslhdrlocation (if needed)
+dnl ------------------------------------------------------------------------
+dnl
+AC_DEFUN([KDE_CHECK_SSL],
+[
+LIBSSL="-lssl -lcrypto"
+AC_REQUIRE([KDE_CHECK_LIB64])
+
+ac_ssl_includes=NO ac_ssl_libraries=NO
+ssl_libraries=""
+ssl_includes=""
+AC_ARG_WITH(ssl-dir,
+ AC_HELP_STRING([--with-ssl-dir=DIR],[where the root of OpenSSL is installed]),
+ [ ac_ssl_includes="$withval"/include
+ ac_ssl_libraries="$withval"/lib$kdelibsuff
+ ])
+
+want_ssl=yes
+AC_ARG_WITH(ssl,
+ AC_HELP_STRING([--without-ssl],[disable SSL checks]),
+ [want_ssl=$withval])
+
+if test $want_ssl = yes; then
+
+AC_MSG_CHECKING(for OpenSSL)
+
+AC_CACHE_VAL(ac_cv_have_ssl,
+[#try to guess OpenSSL locations
+
+ ssl_incdirs="/usr/include /usr/local/include /usr/ssl/include /usr/local/ssl/include $prefix/include $kde_extra_includes"
+ ssl_incdirs="$ac_ssl_includes $ssl_incdirs"
+ AC_FIND_FILE(openssl/ssl.h, $ssl_incdirs, ssl_incdir)
+ ac_ssl_includes="$ssl_incdir"
+
+ ssl_libdirs="/usr/lib$kdelibsuff /usr/local/lib$kdelibsuff /usr/ssl/lib$kdelibsuff /usr/local/ssl/lib$kdelibsuff $libdir $prefix/lib$kdelibsuff $exec_prefix/lib$kdelibsuff $kde_extra_libs"
+ if test ! "$ac_ssl_libraries" = "NO"; then
+ ssl_libdirs="$ac_ssl_libraries $ssl_libdirs"
+ fi
+
+ test=NONE
+ ssl_libdir=NONE
+ for dir in $ssl_libdirs; do
+ try="ls -1 $dir/libssl*"
+ if test=`eval $try 2> /dev/null`; then ssl_libdir=$dir; break; else echo "tried $dir" >&AC_FD_CC ; fi
+ done
+
+ ac_ssl_libraries="$ssl_libdir"
+
+ ac_ldflags_safe="$LDFLAGS"
+ ac_libs_safe="$LIBS"
+
+ LDFLAGS="$LDFLAGS -L$ssl_libdir $all_libraries"
+ LIBS="$LIBS $LIBSSL -lRSAglue -lrsaref"
+
+ AC_TRY_LINK(,void RSAPrivateEncrypt(void);RSAPrivateEncrypt();,
+ ac_ssl_rsaref="yes"
+ ,
+ ac_ssl_rsaref="no"
+ )
+
+ LDFLAGS="$ac_ldflags_safe"
+ LIBS="$ac_libs_safe"
+
+ if test "$ac_ssl_includes" = NO || test "$ac_ssl_libraries" = NO; then
+ have_ssl=no
+ else
+ have_ssl=yes;
+ fi
+
+ ])
+
+ eval "$ac_cv_have_ssl"
+
+ AC_MSG_RESULT([libraries $ac_ssl_libraries, headers $ac_ssl_includes])
+
+ AC_MSG_CHECKING([whether OpenSSL uses rsaref])
+ AC_MSG_RESULT($ac_ssl_rsaref)
+
+ AC_MSG_CHECKING([for easter eggs])
+ AC_MSG_RESULT([none found])
+
+else
+ have_ssl=no
+fi
+
+if test "$have_ssl" = yes; then
+ AC_MSG_CHECKING(for OpenSSL version)
+ dnl Check for SSL version
+ AC_CACHE_VAL(ac_cv_ssl_version,
+ [
+
+ cat >conftest.$ac_ext <<EOF
+#include <openssl/opensslv.h>
+#include <stdio.h>
+ int main() {
+
+#ifndef OPENSSL_VERSION_NUMBER
+ printf("ssl_version=\\"error\\"\n");
+#else
+ if (OPENSSL_VERSION_NUMBER < 0x00906000)
+ printf("ssl_version=\\"old\\"\n");
+ else
+ printf("ssl_version=\\"ok\\"\n");
+#endif
+ return (0);
+ }
+EOF
+
+ ac_save_CPPFLAGS=$CPPFLAGS
+ if test "$ac_ssl_includes" != "/usr/include"; then
+ CPPFLAGS="$CPPFLAGS -I$ac_ssl_includes"
+ fi
+
+ if AC_TRY_EVAL(ac_link); then
+
+ if eval `./conftest 2>&5`; then
+ if test $ssl_version = error; then
+ AC_MSG_ERROR([$ssl_incdir/openssl/opensslv.h doesn't define OPENSSL_VERSION_NUMBER !])
+ else
+ if test $ssl_version = old; then
+ AC_MSG_WARN([OpenSSL version too old. Upgrade to 0.9.6 at least, see http://www.openssl.org. SSL support disabled.])
+ have_ssl=no
+ fi
+ fi
+ ac_cv_ssl_version="ssl_version=$ssl_version"
+ else
+ AC_MSG_ERROR([Your system couldn't run a small SSL test program.
+ Check config.log, and if you can't figure it out, send a mail to
+ David Faure <faure at kde.org>, attaching your config.log])
+ fi
+
+ else
+ AC_MSG_ERROR([Your system couldn't link a small SSL test program.
+ Check config.log, and if you can't figure it out, send a mail to
+ David Faure <faure at kde.org>, attaching your config.log])
+ fi
+ CPPFLAGS=$ac_save_CPPFLAGS
+
+ ])
+
+ eval "$ac_cv_ssl_version"
+ AC_MSG_RESULT($ssl_version)
+fi
+
+if test "$have_ssl" != yes; then
+ LIBSSL="";
+else
+ AC_DEFINE(HAVE_SSL, 1, [If we are going to use OpenSSL])
+ ac_cv_have_ssl="have_ssl=yes \
+ ac_ssl_includes=$ac_ssl_includes ac_ssl_libraries=$ac_ssl_libraries ac_ssl_rsaref=$ac_ssl_rsaref"
+
+
+ ssl_libraries="$ac_ssl_libraries"
+ ssl_includes="$ac_ssl_includes"
+
+ if test "$ac_ssl_rsaref" = yes; then
+ LIBSSL="-lssl -lcrypto -lRSAglue -lrsaref"
+ fi
+
+ if test $ssl_version = "old"; then
+ AC_DEFINE(HAVE_OLD_SSL_API, 1, [Define if you have OpenSSL < 0.9.6])
+ fi
+fi
+
+SSL_INCLUDES=
+
+if test "$ssl_includes" = "/usr/include"; then
+ if test -f /usr/kerberos/include/krb5.h; then
+ SSL_INCLUDES="-I/usr/kerberos/include"
+ fi
+elif test "$ssl_includes" != "/usr/local/include" && test -n "$ssl_includes"; then
+ SSL_INCLUDES="-I$ssl_includes"
+fi
+
+if test "$ssl_libraries" = "/usr/lib" || test "$ssl_libraries" = "/usr/local/lib" || test -z "$ssl_libraries" || test "$ssl_libraries" = "NONE"; then
+ SSL_LDFLAGS=""
+else
+ SSL_LDFLAGS="-L$ssl_libraries -R$ssl_libraries"
+fi
+
+AC_SUBST(SSL_INCLUDES)
+AC_SUBST(SSL_LDFLAGS)
+AC_SUBST(LIBSSL)
+])
+
+AC_DEFUN([KDE_CHECK_STRLCPY],
+[
+ AC_REQUIRE([AC_CHECK_STRLCAT])
+ AC_REQUIRE([AC_CHECK_STRLCPY])
+ AC_CHECK_SIZEOF(size_t)
+ AC_CHECK_SIZEOF(unsigned long)
+
+ AC_MSG_CHECKING([sizeof size_t == sizeof unsigned long])
+ AC_TRY_COMPILE(,[
+ #if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
+ choke me
+ #endif
+ ],AC_MSG_RESULT([yes]),[
+ AC_MSG_RESULT(no)
+ AC_MSG_ERROR([
+ Apparently on your system our assumption sizeof size_t == sizeof unsigned long
+ does not apply. Please mail kde-devel at kde.org with a description of your system!
+ ])
+ ])
+])
+
+AC_DEFUN([KDE_CHECK_BINUTILS],
+[
+ AC_MSG_CHECKING([if ld supports unversioned version maps])
+
+ kde_save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map"
+ echo "{ local: extern \"C++\" { foo }; };" > conftest.map
+ AC_TRY_LINK([int foo;],
+[
+#ifdef __INTEL_COMPILER
+icc apparently does not support libtools version-info and version-script
+at the same time. Dunno where the bug is, but until somebody figured out,
+better disable the optional version scripts.
+#endif
+
+ foo = 42;
+], kde_supports_versionmaps=yes, kde_supports_versionmaps=no)
+ LDFLAGS="$kde_save_LDFLAGS"
+ rm -f conftest.map
+ AM_CONDITIONAL(include_VERSION_SCRIPT,
+ [test "$kde_supports_versionmaps" = "yes" && test "$kde_use_debug_code" = "no"])
+
+ AC_MSG_RESULT($kde_supports_versionmaps)
+])
+
+AC_DEFUN([AM_PROG_OBJC],[
+AC_CHECK_PROGS(OBJC, gcc, gcc)
+test -z "$OBJC" && AC_MSG_ERROR([no acceptable objective-c gcc found in \$PATH])
+if test "x${OBJCFLAGS-unset}" = xunset; then
+ OBJCFLAGS="-g -O2"
+fi
+AC_SUBST(OBJCFLAGS)
+_AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES(OBJC)])
+])
+
+AC_DEFUN([KDE_CHECK_PERL],
+[
+ KDE_FIND_PATH(perl, PERL, [$bindir $exec_prefix/bin $prefix/bin], [
+ AC_MSG_ERROR([No Perl found in your $PATH.
+We need perl to generate some code.])
+ ])
+ AC_SUBST(PERL)
+])
+
+AC_DEFUN([KDE_CHECK_LARGEFILE],
+[
+AC_SYS_LARGEFILE
+if test "$ac_cv_sys_file_offset_bits" != no; then
+ CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
+fi
+
+if test "x$ac_cv_sys_large_files" != "xno"; then
+ CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=1"
+fi
+
+])
+
+dnl A small extension to PKG_CHECK_MODULES (defined in pkg.m4.in)
+dnl which allows to search for libs that get installed into the KDE prefix.
+dnl
+dnl Syntax: KDE_PKG_CHECK_MODULES(KSTUFF, libkexif >= 0.2 glib = 1.3.4, action-if, action-not)
+dnl defines KSTUFF_LIBS, KSTUFF_CFLAGS, see pkg-config man page
+dnl also defines KSTUFF_PKG_ERRORS on error
+AC_DEFUN([KDE_PKG_CHECK_MODULES], [
+
+ PKG_CONFIG_PATH="$prefix/lib${kdelibsuff}/pkgconfig:$PKG_CONFIG_PATH"
+ if test "$prefix" != "$kde_libs_prefix"; then
+ PKG_CONFIG_PATH="$kde_libs_prefix/lib${kdelibsuff}/pkgconfig:$PKG_CONFIG_PATH"
+ fi
+ export PKG_CONFIG_PATH
+ PKG_CHECK_MODULES([$1],[$2],[$3],[$4])
+])
+
+
+dnl Check for PIE support in the compiler and linker
+AC_DEFUN([KDE_CHECK_PIE_SUPPORT],
+[
+ AC_CACHE_CHECK([for PIE support], kde_cv_val_pie_support,
+ [
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ safe_CXXFLAGS=$CXXFLAGS
+ safe_LDFLAGS=$LDFLAGS
+ CXXFLAGS="$CXXFLAGS -fPIE"
+ LDFLAGS="$LDFLAGS -pie"
+
+ AC_TRY_LINK([int foo;], [], [kde_cv_val_pie_support=yes], [kde_cv_val_pie_support=no])
+
+ CXXFLAGS=$safe_CXXFLAGS
+ LDFLAGS=$safe_LDFLAGS
+ AC_LANG_RESTORE
+ ])
+
+ AC_MSG_CHECKING(if enabling -pie/fPIE support)
+
+ AC_ARG_ENABLE(pie,
+ AC_HELP_STRING([--enable-pie],[platform supports PIE linking [default=detect]]),
+ [kde_has_pie_support=$enableval],
+ [kde_has_pie_support=detect])
+
+ if test "$kde_has_pie_support" = "detect"; then
+ kde_has_pie_support=$kde_cv_val_pie_support
+ fi
+
+ AC_MSG_RESULT([$kde_has_pie_support])
+
+ KDE_USE_FPIE=""
+ KDE_USE_PIE=""
+
+ AC_SUBST([KDE_USE_FPIE])
+ AC_SUBST([KDE_USE_PIE])
+
+ if test "$kde_has_pie_support" = "yes"; then
+ KDE_USE_FPIE="-fPIE"
+ KDE_USE_PIE="-pie"
+ fi
+])
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/am_edit
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/am_edit (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/am_edit 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,2445 @@
+#!/usr/bin/perl -w
+
+# Expands the specialised KDE tags in Makefile.in to (hopefully) valid
+# make syntax.
+# When called without file parameters, we work recursively on all Makefile.in
+# in and below the current subdirectory. When called with file parameters,
+# only those Makefile.in are changed.
+# The currently supported tags are
+#
+# {program}_METASOURCES
+# where you have a choice of two styles
+# {program}_METASOURCES = name1.moc name2.moc ... [\]
+# {program}_METASOURCES = AUTO
+# The second style requires other tags as well.
+#
+# To install icons :
+# KDE_ICON = iconname iconname2 ...
+# KDE_ICON = AUTO
+#
+# For documentation :
+# http://developer.kde.org/documentation/other/developer-faq.html
+#
+# and more new tags TBD!
+#
+# The concept (and base code) for this program came from automoc,
+# supplied by the following
+#
+# Matthias Ettrich <ettrich at kde.org> (The originator)
+# Kalle Dalheimer <kalle at kde.org> (The original implementator)
+# Harri Porten <porten at tu-harburg.de>
+# Alex Zepeda <jazepeda at pacbell.net>
+# David Faure <faure at kde.org>
+# Stephan Kulow <coolo at kde.org>
+# Dirk Mueller <mueller at kde.org>
+
+use Cwd;
+use File::Find;
+use File::Basename;
+
+# Prototype the functions
+sub initialise ();
+sub processMakefile ($);
+sub updateMakefile ();
+sub restoreMakefile ();
+
+sub removeLine ($$);
+sub appendLines ($);
+sub substituteLine ($$);
+
+sub findMocCandidates ();
+sub pruneMocCandidates ($);
+sub checkMocCandidates ();
+sub addMocRules ();
+sub findKcfgFile($);
+
+sub tag_AUTOMAKE ();
+sub tag_META_INCLUDES ();
+sub tag_METASOURCES ();
+sub tag_POFILES ();
+sub tag_DOCFILES ();
+sub tag_LOCALINSTALL();
+sub tag_IDLFILES();
+sub tag_UIFILES();
+sub tag_KCFGFILES();
+sub tag_SUBDIRS();
+sub tag_ICON();
+sub tag_CLOSURE();
+sub tag_NO_UNDEFINED();
+sub tag_NMCHECK();
+sub tag_DIST();
+sub tag_KDEINIT();
+
+# Some global globals...
+$verbose = 0; # a debug flag
+$thisProg = "$0"; # This programs name
+$topdir = cwd(); # The current directory
+ at makefiles = (); # Contains all the files we'll process
+ at foreignfiles = ();
+$start = (times)[0]; # some stats for testing - comment out for release
+$version = "v0.2";
+$errorflag = 0;
+$cppExt = "(cpp|cc|cxx|C|c\\+\\+)";
+$hExt = "(h|H|hh|hxx|hpp|h\\+\\+)";
+$progId = "KDE tags expanded automatically by " . basename($thisProg);
+$automkCall = "\n";
+$printname = ""; # used to display the directory the Makefile is in
+$use_final = 1; # create code for --enable-final
+$cleantarget = "clean";
+$dryrun = 0;
+$pathoption = 0;
+$foreign_libtool = 0;
+
+while (defined ($ARGV[0]))
+{
+ $_ = shift;
+ if (/^--version$/)
+ {
+ print STDOUT "\n";
+ print STDOUT basename($thisProg), " $version\n",
+ "This is really free software, unencumbered by the GPL.\n",
+ "You can do anything you like with it except sueing me.\n",
+ "Copyright 1998 Kalle Dalheimer <kalle\@kde.org>\n",
+ "Concept, design and unnecessary questions about perl\n",
+ " by Matthias Ettrich <ettrich\@kde.org>\n\n",
+ "Making it useful by Stephan Kulow <coolo\@kde.org> and\n",
+ "Harri Porten <porten\@kde.org>\n",
+ "Updated (Feb-1999), John Birch <jb.nz\@writeme.com>\n",
+ "Fixes and Improvements by Dirk Mueller <mueller\@kde.org>\n",
+ "Current Maintainer Stephan Kulow\n\n";
+ exit 0;
+ }
+ elsif (/^--verbose$|^-v$/)
+ {
+ $verbose = 1; # Oh is there a problem...?
+ }
+ elsif (/^(?:-p|--path=)(.+)$/)
+ {
+ my $p = $1;
+ $thisProg = $p . "/". basename($thisProg);
+ warn ("$thisProg doesn't exist\n") if (!(-f $thisProg));
+ $thisProg .= " -p".$p;
+ $pathoption=1;
+ }
+ elsif (/^--help$|^-h$/)
+ {
+ print STDOUT "Usage $thisProg [OPTION] ... [dir/Makefile.in]...\n",
+ "\n",
+ "Patches dir/Makefile.in generated by automake\n",
+ "(where dir can be an absolute or relative directory name)\n",
+ "\n",
+ " -v, --verbose verbosely list files processed\n",
+ " -h, --help print this help, then exit\n",
+ " --version print version number, then exit\n",
+ " -p, --path= use the path to am_edit if the path\n",
+ " called from is not the one to be used\n",
+ " --no-final don't patch for --enable-final\n";
+
+ exit 0;
+ }
+ elsif (/^--no-final$/)
+ {
+ $use_final = 0;
+ $thisProg .= " --no-final";
+ }
+ elsif (/^--foreign-libtool$/)
+ {
+ $foreign_libtool = 1;
+ $thisProg .= " --foreign-libtool";
+ }
+ elsif (/^-n$/)
+ {
+ $dryrun = 1;
+ }
+ else
+ {
+ # user selects what input files to check
+ # add full path if relative path is given
+ $_ = cwd()."/".$_ if (! /^\//);
+ print "User wants $_\n" if ($verbose);
+ push (@makefiles, $_);
+ }
+}
+
+if ($thisProg =~ /^\// && !$pathoption )
+{
+ print STDERR "Illegal full pathname call performed...\n",
+ "The call to \"$thisProg\"\nwould be inserted in some Makefile.in.\n",
+ "Please use option --path.\n";
+ exit 1;
+}
+
+# Only scan for files when the user hasn't entered data
+if (!@makefiles)
+{
+ print STDOUT "Scanning for Makefile.in\n" if ($verbose);
+ find (\&add_makefile, cwd());
+ #chdir('$topdir');
+} else {
+ print STDOUT "Using input files specified by user\n" if ($verbose);
+}
+
+foreach $makefile (sort(@makefiles))
+{
+ processMakefile ($makefile);
+ last if ($errorflag);
+}
+
+# Just some debug statistics - comment out for release as it uses printf.
+printf STDOUT "Time %.2f CPU sec\n", (times)[0] - $start if ($verbose);
+
+exit $errorflag; # causes make to fail if erroflag is set
+
+#-----------------------------------------------------------------------------
+
+# In conjunction with the "find" call, this builds the list of input files
+sub add_makefile ()
+{
+ push (@makefiles, $File::Find::name) if (/Makefile.in$/);
+}
+
+#-----------------------------------------------------------------------------
+
+# Processes a single make file
+# The parameter contains the full path name of the Makefile.in to use
+sub processMakefile ($)
+{
+ # some useful globals for the subroutines called here
+ local ($makefile) = @_;
+ local @headerdirs = ('.');
+ local $haveAutomocTag = 0;
+ local $MakefileData = "";
+
+ local $cxxsuffix = "KKK";
+
+ local @programs = (); # lists the names of programs and libraries
+ local $program = "";
+
+ local @kdeinits = (); # lists the kdeinit targets
+
+ local %realObjs = (); # lists the objects compiled into $program
+ local %sources = (); # lists the sources used for $program
+ local %finalObjs = (); # lists the objects compiled when final
+ local %realname = (); # the binary name of program variable
+ local %idlfiles = (); # lists the idl files used for $program
+ local %globalmocs = ();# list of all mocfiles (in %mocFiles format)
+ local %important = (); # list of files to be generated asap
+ local %uiFiles = ();
+ local %kcfgFiles = ();
+
+ local $allidls = "";
+ local $idl_output = "";# lists all idl generated files for cleantarget
+ local $ui_output = "";# lists all uic generated files for cleantarget
+ local $kcfg_output = "";# lists all kcfg generated files for cleantarget
+
+ local %dependmocs = ();
+
+ local $metasourceTags = 0;
+ local $dep_files = "";
+ local $dep_finals = "";
+ local %target_adds = (); # the targets to add
+ local %rule_adds = ();
+ local $kdelang = "";
+ local @cleanfiles = ();
+ local $cleanMoc = "";
+ local $closure_output = "";
+
+ local %varcontent = ();
+
+ $makefileDir = dirname($makefile);
+ chdir ($makefileDir);
+ $printname = $makefile;
+ $printname =~ s/^\Q$topdir\E\///;
+ $makefile = basename($makefile);
+
+ print STDOUT "Processing makefile $printname\n" if ($verbose);
+
+ # Setup and see if we need to do this.
+ return if (!initialise());
+
+ tag_AUTOMAKE (); # Allows a "make" to redo the Makefile.in
+ tag_META_INCLUDES (); # Supplies directories for src locations
+
+ foreach $program (@programs) {
+ $sources_changed{$program} = 0;
+ $dependmocs{$program} = "";
+ $important{$program} = "";
+ tag_IDLFILES(); # Sorts out idl rules
+ tag_NO_UNDEFINED();
+ tag_CLOSURE();
+ tag_NMCHECK();
+ tag_UIFILES(); # Sorts out ui rules
+ tag_KCFGFILES(); # Sorts out kcfg rules
+ tag_METASOURCES (); # Sorts out the moc rules
+ if ($sources_changed{$program}) {
+ my $lookup = $program . '_SOURCES\s*=[ \t]*(.*)';
+
+ if($program =~ /libkdeinit_(.*)/) {
+ my $prog = $1;
+ substituteLine($prog . '_SOURCES\s*=[ \t]*(.*)',
+ "${prog}_SOURCES = ${prog}_dummy.$cxxsuffix\n" .
+ "libkdeinit_${prog}_SOURCES = " . $sources{$program});
+ $sources{$prog} = "${prog}_dummy.$cxxsuffix";
+ }
+ else {
+ substituteLine($lookup, "$program\_SOURCES=" . $sources{$program});
+ }
+ }
+ if ($important{$program}) {
+ local %source_dict = ();
+ for $source (split(/[\034\s]+/, $sources{$program})) {
+ $source_dict{$source} = 1;
+ }
+ for $source (@cleanfiles) {
+ $source_dict{$source} = 0;
+ }
+ for $source (keys %source_dict) {
+ next if (!$source);
+ if ($source_dict{$source}) {
+ # sanity check
+ if (! -f $source) {
+ print STDERR "Error: $source is listed in a _SOURCE line in $printname, but doesn't exist yet. Put it in DISTCLEANFILES!\n";
+ } else {
+ $target_adds{"\$(srcdir)/$source"} .= $important{$program};
+ }
+ }
+ }
+ }
+ }
+ if ($cleanMoc) {
+ # Always add dist clean tag
+ # Add extra *.moc.cpp files created for USE_AUTOMOC because they
+ # aren't included in the normal *.moc clean rules.
+ appendLines ("$cleantarget-metasources:\n\t-rm -f $cleanMoc\n");
+ $target_adds{"$cleantarget-am"} .= "$cleantarget-metasources ";
+ }
+
+ tag_DIST() unless ($kdeopts{"noautodist"});
+
+ if ($idl_output) {
+ appendLines ("$cleantarget-idl:\n\t-rm -f $idl_output\n");
+ $target_adds{"$cleantarget-am"} .= "$cleantarget-idl ";
+ }
+
+ if ($ui_output) {
+ appendLines ("$cleantarget-ui:\n\t-rm -f $ui_output\n");
+ $target_adds{"$cleantarget-am"} .= "$cleantarget-ui ";
+ }
+
+ if ($kcfg_output) {
+ appendLines ("$cleantarget-kcfg:\n\t-rm -f $kcfg_output\n");
+ $target_adds{"$cleantarget-am"} .= "$cleantarget-kcfg ";
+ }
+
+ if ($closure_output) {
+ appendLines ("$cleantarget-closures:\n\t-rm -f $closure_output\n");
+ $target_adds{"$cleantarget-am"} .= "$cleantarget-closures ";
+ }
+
+ if ($MakefileData =~ /\nKDE_LANG\s*=\s*(\S*)\s*\n/) {
+ $kdelang = '$(KDE_LANG)'
+ } else {
+ $kdelang = '';
+ }
+
+ tag_POFILES (); # language rules for po directory
+ tag_DOCFILES (); # language rules for doc directories
+ tag_LOCALINSTALL(); # add $(DESTDIR) before all kde_ dirs
+ tag_ICON();
+ tag_SUBDIRS();
+
+ my $tmp = "force-reedit:\n";
+ $tmp .= "\t$automkCall\n\tcd \$(top_srcdir) && perl $thisProg $printname\n\n";
+ appendLines($tmp);
+
+ make_bcheck_target();
+ make_meta_classes();
+ tag_COMPILE_FIRST();
+ tag_FINAL() if (!$kdeopts{"nofinal"});
+
+ my $final_lines = "final:\n\t\$(MAKE) ";
+ my $final_install_lines = "final-install:\n\t\$(MAKE) ";
+ my $nofinal_lines = "no-final:\n\t\$(MAKE) ";
+ my $nofinal_install_lines = "no-final-install:\n\t\$(MAKE) ";
+
+ foreach $program (@programs) {
+ my $lookup = $program . '_OBJECTS\s*=[ \t]*.*';
+ my $new = "";
+ my @list = split(/[\034\s]+/, $realObjs{$program});
+ if (!$kdeopts{"nofinal"} && @list > 1 && $finalObjs{$program}) {
+ $new .= "$program\_final\_OBJECTS = " . $finalObjs{$program};
+ $new .= "\n$program\_nofinal\_OBJECTS = " . $realObjs{$program};
+ $new .= "\n\@KDE_USE_FINAL_FALSE\@$program\_OBJECTS = \$($program\_nofinal\_OBJECTS)";
+ $new .= "\n\@KDE_USE_FINAL_TRUE\@$program\_OBJECTS = \$($program\_final\_OBJECTS)";
+
+ $final_lines .= "$program\_OBJECTS=\"\$($program\_final_OBJECTS)\" ";
+ $final_install_lines .= "$program\_OBJECTS=\"\$($program\_final_OBJECTS)\" ";
+ $nofinal_lines .= "$program\_OBJECTS=\"\$($program\_nofinal\_OBJECTS)\" ";
+ $nofinal_install_lines .= "$program\_OBJECTS=\"\$($program\_nofinal_OBJECTS)\" ";
+ } else {
+ $new = "$program\_OBJECTS = " . $realObjs{$program};
+ }
+ if($MakefileData =~ m/\n$lookup/) {
+ substituteLine ($lookup, $new);
+ }
+ else {
+ appendLines("$new\n");
+ }
+ }
+ appendLines($final_lines . "all-am\n");
+ appendLines($final_install_lines . "install-am\n");
+ appendLines($nofinal_lines . "all-am\n");
+ appendLines($nofinal_install_lines . "install-am\n");
+
+ my $lookup = '(\@\S+\@)?DEP_FILES\s*=[ \t]*(.*)';
+ if ($MakefileData =~ /\n$lookup/) {
+ my $condition = $1;
+ my $depfiles = $2;
+ my $workfiles;
+
+ if ($dep_finals) {
+ # Add the conditions on every line, since
+ # there may be line continuations in the list.
+ $workfiles = "$dep_files $dep_finals $depfiles";
+ $workfiles =~ s/\034/\034$condition\@KDE_USE_FINAL_TRUE\@\t/g;
+ $lines = "$condition\@KDE_USE_FINAL_TRUE\@DEP_FILES = $workfiles\n";
+ $workfiles = "$dep_files $depfiles";
+ $workfiles =~ s/\034/\034$condition\@KDE_USE_FINAL_FALSE\@\t/g;
+ $lines .= "$condition\@KDE_USE_FINAL_FALSE\@DEP_FILES = $workfiles";
+ } else {
+ $workfiles = "$dep_files $depfiles";
+ $workfiles =~ s/\034/\034$condition\t/g;
+ $lines = $condition . "DEP_FILES = $workfiles";
+ }
+ substituteLine($lookup, $lines);
+ }
+
+ # new recursive targets
+ $target_adds{ "nmcheck" } .= ""; # always create nmcheck target
+ $target_adds{ "nmcheck-am" } .= "nmcheck";
+ $lookup = 'RECURSIVE_TARGETS\s*=[ \t]*(.*)';
+ if ($MakefileData =~ /\n$lookup/) {
+ substituteLine($lookup, "RECURSIVE_TARGETS = $1 nmcheck-recursive bcheck-recursive");
+ }
+
+ $cvs_lines = "kde-rpo-clean:\n";
+ $cvs_lines .= "\t-rm -f *.rpo\n";
+ appendLines($cvs_lines);
+ $target_adds{"clean"} .= "kde-rpo-clean ";
+
+ my %target_dels = ("install-data-am" => "");
+
+ # some strange people like to do a install-exec, and expect that also
+ # all modules are installed. automake doesn't know this, so we need to move
+ # this here from install-data to install-exec.
+ if ($MakefileData =~ m/\nkde_module_LTLIBRARIES\s*=/) {
+# $target_adds{"install-exec-am"} .= "install-kde_moduleLTLIBRARIES ";
+# don't use $target_adds here because we need to append the dependency, not
+# prepend it. Fixes #44342 , when a module depends on a lib in the same dir
+# and libtool needs it during relinking upon install (Simon)
+ my $lookup = "install-exec-am:([^\n]*)";
+ if($MakefileData =~ /\n$lookup\n/) {
+ substituteLine("$lookup", "install-exec-am: $1 install-kde_moduleLTLIBRARIES");
+ }
+ $target_dels{"install-data-am"} .= "install-kde_moduleLTLIBRARIES ";
+ $target_adds{"install-data-am"} .= " ";
+ }
+
+ my $lines = "";
+
+ foreach $add (keys %target_adds) {
+ my $lookup = quotemeta($add) . ':([^\n]*)';
+ if ($MakefileData =~ /\n$lookup\n/) {
+ my $newlines = $1;
+ my $oldlines = $lookup;
+ if (defined $target_dels{$add}) {
+ foreach $del (split(' ', $target_dels{$add})) {
+ $newlines =~ s/\s*$del\s*/ /g;
+ }
+ }
+ substituteLine($oldlines, "$add: " . $target_adds{$add} . $newlines);
+ } else {
+ $lines .= "$add: " . $target_adds{$add} . "\n";
+ }
+ }
+
+ appendLines($lines) if ($lines);
+
+ $lines = join("\n", values %rule_adds);
+ appendLines($lines) if ($lines);
+
+ my $found = 1;
+
+ while ($found) {
+ if ($MakefileData =~ m/\n(.*)\$\(CXXFLAGS\)(.*)\n/) {
+ my $stuff_before = $1;
+ my $stuff_after = $2;
+ my $lookup = quotemeta("$1\$(CXXFLAGS)$2");
+ my $replacement = "$1\$(KCXXFLAGS)$2";
+ $MakefileData =~ s/$lookup/$replacement/;
+ $lookup =~ s/\\\$\\\(CXXFLAGS\\\)/\\\$\\\(KCXXFLAGS\\\)/;
+ $replacement = "$stuff_before\$(KCXXFLAGS) \$(KDE_CXXFLAGS)$stuff_after";
+ next if ($stuff_before =~ /\$\(KDE_CXXFLAGS\)/ or $stuff_after =~ /\$\(KDE_CXXFLAGS\)/);
+ substituteLine($lookup, $replacement);
+ } else {
+ $found = 0;
+ }
+ }
+
+ if($foreign_libtool == 0) {
+ $lookup = '(\n[^#].*\$\(LIBTOOL\) --mode=link) (\$\(CXXLD\).*\$\(KCXXFLAGS\))';
+
+ if ($MakefileData =~ m/$lookup/ ) {
+ $MakefileData =~ s/$lookup/$1 --tag=CXX $2/;
+ }
+
+ $lookup = '(\n[^#].*\$\(LIBTOOL\) --mode=compile)\s+(\$\(CXX\)\s+)';
+ if ($MakefileData =~ m/$lookup/ ) {
+ $MakefileData =~ s/$lookup/$1 --tag=CXX $2/;
+ }
+ }
+
+ $MakefileData =~ s/\$\(KCXXFLAGS\)/\$\(CXXFLAGS\)/g;
+
+ $lookup = '(.*)cp -pr \$\$/\$\$file \$\(distdir\)/\$\$file(.*)';
+ if ($MakefileData =~ m/\n$lookup\n/) {
+ substituteLine($lookup, "$1cp -pr \$\$d/\$\$file \$(distdir)/\$\$file$2");
+ }
+
+ # Always update the Makefile.in
+ updateMakefile ();
+ return;
+}
+
+#-----------------------------------------------------------------------------
+
+# Beware: This procedure is not complete. E.g. it also parses lines
+# containing a '=' in rules (for instance setting shell vars). For our
+# usage this us enough, though.
+sub read_variables ()
+{
+ while ($MakefileData =~ /\n\s*(\S+)\s*=([^\n]*)/g) {
+ $varcontent{$1} = $2;
+ }
+}
+
+# Check to see whether we should process this make file.
+# This is where we look for tags that we need to process.
+# A small amount of initialising on the tags is also done here.
+# And of course we open and/or create the needed make files.
+sub initialise ()
+{
+ if (! -r "Makefile.am") {
+ print STDOUT "found Makefile.in without Makefile.am\n" if ($verbose);
+ return 0;
+ }
+
+ # Checking for files to process...
+
+ open (FILEIN, $makefile) || die "Can't open $makefileDir/$makefile: $!\n";
+ # perl bug in 5.8.0: in utf8 mode it badly screws up
+ binmode(FILEIN, ":bytes") if ($] >= 5.008);
+ # Read the file
+ # stat(FILEIN)[7] might look more elegant, but is slower as it
+ # requires stat'ing the file
+ seek(FILEIN, 0, 2);
+ my $fsize = tell(FILEIN);
+ seek(FILEIN, 0, 0);
+ read FILEIN, $MakefileData, $fsize;
+ close FILEIN;
+ print "DOS CRLF within $makefileDir/$makefile!\n" if($MakefileData =~ y/\r//d);
+
+ # Remove the line continuations, but keep them marked
+ # Note: we lose the trailing spaces but that's ok.
+ # Don't mangle line-leading spaces (usually tabs)
+ # since they're important.
+ $MakefileData =~ s/\\\s*\n/\034/g;
+
+ # If we've processed the file before...
+ restoreMakefile () if ($MakefileData =~ /$progId/);
+
+ foreach $dir (@foreignfiles) {
+ if (substr($makefileDir,0,length($dir)) eq $dir) {
+ return 0;
+ }
+ }
+
+ %kdeopts = ();
+ $kdeopts{"foreign"} = 0;
+ $kdeopts{"qtonly"} = 0;
+ $kdeopts{"noautodist"} = 0;
+ $kdeopts{"foreign-libtool"} = $foreign_libtool;
+ $kdeopts{"nofinal"} = !$use_final; # default
+
+ read_variables();
+
+ if ($MakefileData =~ /\nKDE_OPTIONS\s*=[ \t]*([^\n]*)\n/) {
+ my $kde_options_str = $1;
+ local @kde_options = split(/[\034\s]+/, $kde_options_str);
+ if (grep(/^foreign$/, @kde_options)) {
+ push(@foreignfiles, $makefileDir . "/");
+ return 0; # don't touch me
+ }
+ for $opt (@kde_options) {
+ if (!defined $kdeopts{$opt}) {
+ print STDERR "Warning: unknown option $opt in $printname\n";
+ } else {
+ $kdeopts{$opt} = 1;
+ }
+ }
+ }
+
+ # Look for the tags that mean we should process this file.
+ $metasourceTags = 0;
+ $metasourceTags++ while ($MakefileData =~ /\n[^=\#]*METASOURCES\s*=/g);
+
+ my $pofileTag = 0;
+ $pofileTag++ while ($MakefileData =~ /\nPOFILES\s*=/g);
+ if ($pofileTag > 1)
+ {
+ print STDERR "Error: Only one POFILES tag allowed\n";
+ $errorflag = 1;
+ }
+
+ while ($MakefileData =~ /\n\.SUFFIXES:([^\n]+)\n/g) {
+ my $suffixes_str = $1;
+ my @list=split(' ', $suffixes_str);
+ foreach $ext (@list) {
+ if ($ext =~ /^\.$cppExt$/) {
+ $cxxsuffix = $ext;
+ $cxxsuffix =~ s/\.//g;
+ print STDOUT "will use suffix $cxxsuffix\n" if ($verbose);
+ last;
+ }
+ }
+ }
+
+ tag_KDEINIT();
+
+ while ($MakefileData =~ /\n(\S*)_OBJECTS\s*=[\034 \t]*([^\n]*)\n/g) {
+
+ my $program = $1;
+ my $objs = $2; # safe them
+
+ my $ocv = 0;
+
+ my @objlist = split(/[\034\s]+/, $objs);
+ foreach $obj (@objlist) {
+ if ($obj =~ /(\S*)\$\((\S+)\)/ ) {
+ my $pre = $1;
+ my $variable = $2;
+ if ($pre eq '' && exists($varcontent{$variable})) {
+ my @addlist = split(/[\034\s]+/, $varcontent{$variable});
+ push(@objlist, @addlist);
+ } elsif ($variable !~ 'OBJEXT' && $variable !~ /am__objects_\d+/ ) {
+ $ocv = 1;
+ }
+ }
+ }
+
+ next if ($ocv);
+ next if ($program =~ /^am_libkdeinit_/);
+
+ $program =~ s/^am_// if ($program =~ /^am_/);
+
+ my $sourceprogram = $program;
+ $sourceprogram =~ s/\@am_/\@/ if($sourceprogram =~ /^.*\@am_.+/);
+
+ print STDOUT "found program $program\n" if ($verbose);
+ push(@programs, $program);
+
+ $realObjs{$program} = $objs;
+
+ if ($MakefileData =~ /\n$sourceprogram\_SOURCES\s*=[ \t]*(.*)\n/) {
+ $sources{$program} = $1;
+ }
+ else {
+ $sources{$program} = "";
+ print STDERR "found program with no _SOURCES: $program\n";
+ }
+
+ my $realprogram = $program;
+ $realprogram =~ s/_/./g; # unmask to regexp
+ if ($MakefileData =~ /\n($realprogram)(\$\(EXEEXT\)?)?:.*\$\($program\_OBJECTS\)/) {
+ $realname{$program} = $1;
+ } else {
+ # not standard Makefile - nothing to worry about
+ $realname{$program} = "";
+ }
+ }
+
+ my $lookup = 'DEPDIR\s*=.*';
+ if ($MakefileData !~ /\n$lookup/) {
+ $lookup = 'bindir\s*=[ \t]*.*';
+ substituteLine($lookup, "DEPDIR = .deps\n$1") if ($MakefileData =~ /\n($lookup)/);
+ }
+
+ my @marks = ('MAINTAINERCLEANFILES', 'CLEANFILES', 'DISTCLEANFILES');
+ foreach $mark (@marks) {
+ while ($MakefileData =~ /\n($mark)\s*=[ \t]*([^\n]*)/g) {
+ my $clean_str = $2;
+ foreach $file (split('[\034\s]+', $clean_str)) {
+ $file =~ s/\.\///;
+ push(@cleanfiles, $file);
+ }
+ }
+ }
+
+ my $localTag = 0;
+ $localTag++ if ($MakefileData =~ /\ninstall-\S+-local:/);
+
+ return (!$errorflag);
+}
+
+#-----------------------------------------------------------------------------
+
+# Gets the list of user defined directories - relative to $srcdir - where
+# header files could be located.
+sub tag_META_INCLUDES ()
+{
+ my $lookup = '[^=\n]*META_INCLUDES\s*=[ \t]*(.*)';
+ return 1 if ($MakefileData !~ /($lookup)\n/);
+ print STDOUT "META_INCLUDE processing <$1>\n" if ($verbose);
+
+ my $headerStr = $2;
+ removeLine ($lookup, $1);
+
+ my @headerlist = split(/[\034\s]+/, $headerStr);
+
+ foreach $dir (@headerlist)
+ {
+ $dir =~ s#\$\(srcdir\)#.#;
+ if (! -d $dir)
+ {
+ print STDERR "Warning: $dir can't be found. ",
+ "Must be a relative path to \$(srcdir)\n";
+ }
+ else
+ {
+ push (@headerdirs, $dir);
+ }
+ }
+
+ return 0;
+}
+
+#-----------------------------------------------------------------------------
+
+sub tag_FINAL()
+{
+ my @final_names = ();
+
+ foreach $program (@programs) {
+
+ if ($sources{$program} =~ /\(/) {
+ print STDOUT "found ( in $program\_SOURCES. skipping\n" if ($verbose);
+ next;
+ }
+
+ my $mocs = ""; # Moc files (in this program)
+ my $moc_cpp_added = 0; # If we added some .moc.cpp files, due to
+ # no other .cpp file including the .moc one.
+
+ my @progsources = split(/[\034\s]+/, $sources{$program});
+ my %shash = ();
+ @shash{@progsources} = 1; # we are only interested in the existence
+ my %sourcelist = ();
+ my %extradeps = ();
+
+ foreach $source (@progsources) {
+ my $suffix = $source;
+ $suffix =~ s/^.*\.([^\.]+)$/$1/;
+
+ $sourcelist{$suffix} .= "$source ";
+ }
+ foreach my $mocFile (keys (%globalmocs))
+ {
+ my ($dir, $hFile, $cppFile) = split ("\035", $globalmocs{$mocFile}, 3);
+ if (defined ($cppFile)) {
+ $mocs .= " $mocFile.moc" if exists $shash{$cppFile};
+ } else {
+ $sourcelist{$cxxsuffix} .= "$mocFile.moc.$cxxsuffix ";
+ $moc_cpp_added = 1;
+ }
+ }
+
+ # scan for extra given dependencies and add them to our target
+ while ($MakefileData =~ /\n\s*(\S+)\.(?:lo|o)\s*:([^\n]*)/g) {
+ $extradeps{$1} = $2;
+ }
+
+ foreach $suffix (keys %sourcelist) {
+ # See if this file contains c++ code. (i.e., just check the file's suffix against c++ extensions)
+ my $suffix_is_cxx = 0;
+ if($suffix =~ /($cppExt)$/) {
+ $cxxsuffix = $1;
+ $suffix_is_cxx = 1;
+ }
+
+ my $mocfiles_in = ($suffix eq $cxxsuffix) && $moc_cpp_added;
+
+ my @sourcelist = split(/[\034\s]+/, $sourcelist{$suffix});
+
+ if ((@sourcelist == 1 && !$mocfiles_in) || $suffix_is_cxx != 1 ) {
+
+ # we support IDL on our own
+ if ($suffix eq "skel" || $suffix =~ /^stub/
+ || $suffix =~ /^signals/ # obsolete, remove in KDE-4
+ || $suffix eq "h" || $suffix eq "ui"
+ || $suffix eq "kcfgc" ) {
+ next;
+ }
+
+ foreach $file (@sourcelist) {
+ $file =~ s/\Q$suffix\E$//;
+
+ $finalObjs{$program} .= $file;
+ if ($program =~ /_la$/) {
+ $finalObjs{$program} .= "lo ";
+ } else {
+ $finalObjs{$program} .= "o ";
+ }
+ }
+ next; # suffix
+ }
+
+ my $source_deps = "";
+ foreach $source (@sourcelist) {
+ if (-f $source) {
+ $source_deps .= " \$(srcdir)/$source";
+ } else {
+ $source_deps .= " $source";
+ }
+ my $plainsource = $source;
+ $plainsource =~ s/\.$cppExt$//;
+ $source_deps .= " " . $extradeps{$plainsource} if (exists($extradeps{$plainsource}));
+ }
+
+ $handling = "$program.all_$suffix.$suffix: \$(srcdir)/Makefile.in" . $source_deps . " " . join(' ', $mocs) . "\n";
+ $handling .= "\t\@echo 'creating $program.all_$suffix.$suffix ...'; \\\n";
+ $handling .= "\trm -f $program.all_$suffix.files $program.all_$suffix.final; \\\n";
+ $handling .= "\techo \"#define KDE_USE_FINAL 1\" >> $program.all_$suffix.final; \\\n";
+ $handling .= "\tfor file in " . $sourcelist{$suffix} . "; do \\\n";
+ $handling .= "\t echo \"#include \\\"\$\$file\\\"\" >> $program.all_$suffix.files; \\\n";
+ $handling .= "\t test ! -f \$\(srcdir\)/\$\$file || egrep '^#pragma +implementation' \$\(srcdir\)/\$\$file >> $program.all_$suffix.final; \\\n";
+ $handling .= "\tdone; \\\n";
+ $handling .= "\tcat $program.all_$suffix.final $program.all_$suffix.files > $program.all_$suffix.$suffix; \\\n";
+ $handling .= "\trm -f $program.all_$suffix.final $program.all_$suffix.files\n";
+
+ appendLines($handling);
+
+ push(@final_names, "$program.all_$suffix.$suffix");
+ my $finalObj = "$program.all_$suffix.";
+ if ($program =~ /_la$/) {
+ $finalObj .= "lo";
+ } else {
+ $finalObj .= "o";
+ }
+ $finalObjs{$program} .= $finalObj . " ";
+ }
+ }
+
+ if (!$kdeopts{"nofinal"} && @final_names >= 1) {
+ # add clean-final target
+ my $lines = "$cleantarget-final:\n";
+ $lines .= "\t-rm -f " . join(' ', @final_names) . "\n" if (@final_names);
+ appendLines($lines);
+ $target_adds{"$cleantarget-am"} .= "$cleantarget-final ";
+
+ foreach $finalfile (@final_names) {
+ $finalfile =~ s/\.[^.]*$/.P/;
+ $dep_finals .= " \$(DEPDIR)/$finalfile";
+ }
+ }
+}
+
+sub tag_KDEINIT()
+{
+ my @progs = ();
+ my $ltlibs = "";
+ my $lookup = 'kdeinit_LTLIBRARIES\s*=[ \t]*(.*)';
+
+ if ($MakefileData =~ m/\n$lookup/) {
+ @kdeinits = split(/[\034\s]+/, $1);
+ my $lines = "";
+ foreach my $kdeinit (@kdeinits) {
+ if ($kdeinit =~ m/\.la$/) {
+ $kdeinit =~ s/\.la$//;
+ push(@progs, $kdeinit);
+
+ $lines .= "\n${kdeinit}.la.$cxxsuffix:\n";
+ $lines .= "\techo 'extern \"C\" int kdemain(int argc, char* argv[]);' > ${kdeinit}.la.$cxxsuffix; \\\n";
+ $lines .= "\techo 'int main(int argc, char* argv[]) { return kdemain(argc,argv); }' >> ${kdeinit}.la.$cxxsuffix\n";
+
+ $lines .= "\n${kdeinit}_dummy.$cxxsuffix:\n";
+ $lines .= "\techo '#include <kdemacros.h>' > ${kdeinit}_dummy.$cxxsuffix; \\\n";
+ $lines .= "\techo 'extern \"C\" int kdemain(int argc, char* argv[]);' >> ${kdeinit}_dummy.$cxxsuffix; \\\n";
+ $lines .= "\techo 'extern \"C\" KDE_EXPORT int kdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); }' >> ${kdeinit}_dummy.$cxxsuffix\n";
+
+ push(@cleanfiles, "${kdeinit}.la.$cxxsuffix");
+ push(@cleanfiles, "${kdeinit}_dummy.$cxxsuffix");
+
+ # add dependency
+ $dep_files .= " \$(DEPDIR)/${kdeinit}.la.Po" if($dep_files !~/${kdeinit}.la.Po/ );
+ $dep_files .= " \$(DEPDIR)/${kdeinit}_dummy.Plo" if($dep_files !~/${kdeinit}_dummy.Plo/ );
+
+ # make library
+ $lookup = $kdeinit . '_la_LIBADD\s*=[ \t]*(.*)';
+ if($MakefileData =~ m/\n$lookup/) {
+ my $libadd = $1;
+ substituteLine($lookup, "${kdeinit}_la_LIBADD = libkdeinit_${kdeinit}.la");
+ appendLines("libkdeinit_${kdeinit}_la_LIBADD = $libadd\n");
+ }
+ appendLines("libkdeinit_${kdeinit}_la_LDFLAGS = -no-undefined -avoid-version \$(all_libraries)\n");
+
+ # add library dependencies
+ $lookup = $kdeinit . '_la_DEPENDENCIES\s*=[ \t]*(.*)';
+ if($MakefileData =~ m/\n$lookup/) {
+ my $libdeps = $1;
+ substituteLine($lookup, "${kdeinit}_la_DEPENDENCIES = libkdeinit_${kdeinit}.la");
+ appendLines("libkdeinit_${kdeinit}_la_DEPENDENCIES = $libdeps\n");
+ }
+
+ # make library objects
+ $lookup = "am_${kdeinit}_la_OBJECTS" . '\s*=[ \t]*(.*)';
+ if($MakefileData =~ m/\n$lookup/) {
+ my $libobjects = $1;
+ substituteLine($lookup, "am_${kdeinit}_la_OBJECTS = ${kdeinit}_dummy.lo");
+ appendLines("am_libkdeinit_${kdeinit}_la_OBJECTS = $libobjects\n");
+ my $prog = "libkdeinit_${kdeinit}_la";
+ push(@programs, $prog);
+ $realObjs{$prog} = $libobjects;
+ $realname{$prog} = "libkdeinit_${kdeinit}.la";
+ }
+ $target_adds{"libkdeinit_${kdeinit}.la"} = "\$(libkdeinit_${kdeinit}_la_OBJECTS) \$(libkdeinit_${kdeinit}_la_DEPENDENCIES)\n" .
+ "\t\$(CXXLINK) -rpath \$(libdir) \$(libkdeinit_${kdeinit}_la_LDFLAGS) ".
+ "\$(libkdeinit_${kdeinit}_la_OBJECTS) " .
+ "\$(libkdeinit_${kdeinit}_la_LIBADD) " .
+ "\$(LIBS)\n";
+
+ # make libkdeinit sources
+ $lookup = $kdeinit . '_la_SOURCES\s*=[ \t]*(.*)';
+ if($MakefileData =~ m/\n$lookup/) {
+ my $srces = $1;
+ $sources_changed{"libkdeinit_${kdeinit}_la"} = 1;
+ $sources{"libkdeinit_${kdeinit}_la"} = $srces;
+ }
+
+ # make libkdeinit metasources
+ $lookup = $kdeinit . '_la_METASOURCES\s*=[ \t]*(.*)';
+ substituteLine($lookup, "libkdeinit_${kdeinit}_la_METASOURCES = $1")
+ if($MakefileData =~ m/\n$lookup/);
+
+=cut
+ # make binary sources
+ $lookup = $kdeinit. '_SOURCES\s*=[ \t]*(.*)';
+ if($MakefileData =~ m/\n$lookup/) {
+ substituteLine($lookup, "${kdeinit}_SOURCES = ${kdeinit}.la.$cxxsuffix");
+ $lookup = 'SOURCES\s*=[ \t]*(.*)';
+ if($MakefileData =~ m/\n$lookup/) {
+ my $srces = $1;
+ $srces =~ s/\b$kdeinit\.c\b/\$(${kdeinit}_SOURCES)/;
+ $srces =~ s/\$\(${kdeinit}_la_SOURCES\)/\$(libkdeinit_${kdeinit}_la_SOURCES)/;
+ substituteLine($lookup, "SOURCES = $srces");
+ }
+ $lookup = 'DIST_SOURCES\s*=[ \t](.*)';
+ if($MakefileData =~ m/\n$lookup/) {
+ my $srces = $1;
+ $srces =~ s/\b$kdeinit\.c\b/\$(${kdeinit}_SOURCES)/;
+ $srces =~ s/\$\(${kdeinit}_la_SOURCES\)/\$(libkdeinit_${kdeinit}_la_SOURCES)/;
+ substituteLine($lookup, "DIST_SOURCES = $srces");
+ }
+ }
+
+ # make binary objects / libs
+ $lookup = $kdeinit . '_OBJECTS\s*=[ \t]*.*';
+ if($MakefileData =~ m/\n$lookup/) {
+ $realObjs{$kdeinit} = "${kdeinit}.la.\$(OBJEXT)";
+ substituteLine("${kdeinit}_LDFLAGS\\s*=.*", "${kdeinit}_LDFLAGS = \$(all_libraries)");
+ substituteLine("${kdeinit}_LDADD\\s*=.*", "${kdeinit}_LDADD = libkdeinit_${kdeinit}.la");
+ substituteLine("${kdeinit}_DEPENDENCIES\\s*=.*", "${kdeinit}_DEPENDENCIES = libkdeinit_${kdeinit}.la");
+ }
+=cut
+ # add binary
+ push(@programs, $kdeinit);
+ $realObjs{$kdeinit} = "${kdeinit}.la.\$(OBJEXT)";
+ $realname{$kdeinit} = $kdeinit;
+ $sources{$kdeinit} = "${kdeinit}.la.$cxxsuffix";
+
+ $lines .= "${kdeinit}_LDFLAGS = \$(KDE_RPATH) -no-undefined \$(all_libraries)\n";
+ $lines .= "${kdeinit}_LDADD = libkdeinit_${kdeinit}.la\n";
+ $lines .= "${kdeinit}_DEPENDENCIES = libkdeinit_${kdeinit}.la\n";
+
+ $target_adds{"${kdeinit}\$(EXEEXT)"} =
+ "\$(${kdeinit}_OBJECTS) \$(${kdeinit}_DEPENDENCIES)\n" .
+ "\t\@rm -f ${kdeinit}\$(EXEEXT)\n" .
+ "\t\$(CXXLINK) \$(${kdeinit}_LDFLAGS) \$(${kdeinit}_OBJECTS) \$(${kdeinit}_LDADD) \$(LIBS)\n";
+
+ $ltlibs .= " libkdeinit_${kdeinit}.la";
+ }
+ }
+ appendLines($lines);
+
+ # add libkdeinit target
+ $lookup = 'lib_LTLIBRARIES\s*=[ \t]*(.*)';
+ if($MakefileData =~ m/\n$lookup/) {
+ substituteLine($lookup, "lib_LTLIBRARIES = $1 $ltlibs");
+ }
+ else {
+ print STDERR
+ "Error: lib_LTLIBRARIES missing in $printname (required for kdeinit_LTLIBRARIES).\n";
+ $errorflag = 1;
+ }
+ }
+
+ if($#progs >= 0) {
+ if($MakefileData !~ m/\nbin_PROGRAMS\s*=/) {
+ print STDERR "Error: bin_PROGRAMS missing in $printname (required for kdeinit_LTLIBRARIES).\n";
+ $errorflag = 1;
+ }
+ else {
+ # add our new progs to SOURCES, DIST_SOURCES and bin_PROGRAMS
+ my $progsources = "";
+ my $progexes = "";
+ foreach my $p (@progs) {
+ $progsources .= "\$(${p}_SOURCES) ";
+ $progexes .= "${p}\$(EXEEXT) ";
+ }
+ $lookup = 'SOURCES\s*=[ \t]*(.*)';
+ if($MakefileData =~ /\n$lookup/) {
+ substituteLine($lookup, "SOURCES = $1 $progsources");
+ }
+ $lookup = 'DIST_SOURCES\s*=[ \t]*(.*)';
+ if($MakefileData =~ /\n$lookup/) {
+ substituteLine($lookup, "DIST_SOURCES = $1 $progsources");
+ }
+ # bin_PROGRAMS is complicated, as it exists twice, so we do a little
+ # magic trick here
+ $lookup = 'PROGRAMS\s*=[ \t]*(.*)';
+ if ($MakefileData =~ /\n$lookup/) {
+ substituteLine($lookup, "bin_PROGRAMS += $progexes\nPROGRAMS = $1");
+ }
+ }
+ }
+}
+
+#-----------------------------------------------------------------------------
+
+sub tag_COMPILE_FIRST()
+{
+ foreach $program (@programs) {
+ my $lookup = "$program" . '_COMPILE_FIRST\s*=[ \t]*(.*)';
+ if ($MakefileData =~ m/\n$lookup\n/) {
+ my $compilefirst_str = $1;
+ my @compilefirst = split(/[\034\s]+/, $compilefirst_str);
+ my @progsources = split(/[\034\s]+/, $sources{$program});
+ my %donesources = ();
+ foreach $source (@progsources) {
+ my @deps = ();
+ my $sdeps = "";
+ if (-f $source) {
+ $sdeps = "\$(srcdir)/$source";
+ } else {
+ $sdeps = "$source";
+ }
+ foreach $depend (@compilefirst) {
+ next if ($source eq $depend);
+ # avoid cyclic dependencies
+ next if defined($donesources{$depend});
+ push @deps, $depend;
+ }
+ $target_adds{$sdeps} .= join(' ', @deps) . ' ' if (@deps);
+ $donesources{$source} = 1;
+ }
+ }
+ }
+}
+
+#-----------------------------------------------------------------------------
+
+
+# Organises the list of headers that we'll use to produce moc files
+# from.
+sub tag_METASOURCES ()
+{
+ local @newObs = (); # here we add to create object files
+ local @depend = (); # here we add to create moc files
+ local $mocExt = ".moc";
+ local %mocFiles = ();
+
+ my $line = "";
+ my $postEqual = "";
+
+ my $lookup;
+ my $found = "";
+ if ($metasourceTags > 1) {
+ $lookup = $program . '_METASOURCES\s*=\s*(.*)';
+ return 1 if ($MakefileData !~ /\n($lookup)\n/);
+ $found = $1;
+ } else {
+ $lookup = $program . '_METASOURCES\s*=\s*(.*)';
+ if ($MakefileData !~ /\n($lookup)\n/) {
+ $lookup = 'METASOURCES\s*=\s*(.*)';
+ return 1 if ($MakefileData !~ /\n($lookup)\n/);
+ $found = $1;
+ $metasourceTags = 0; # we can use the general target only once
+ } else {
+ $found = $1;
+ }
+ }
+ print STDOUT "METASOURCE processing <$found>)\n" if ($verbose);
+
+ $postEqual = $found;
+ $postEqual =~ s/[^=]*=//;
+
+ removeLine ($lookup, $found);
+
+ # Always find the header files that could be used to "moc"
+ return 1 if (findMocCandidates ());
+
+ if ($postEqual =~ /AUTO\s*(\S*)|USE_AUTOMOC\s*(\S*)/)
+ {
+ print STDERR "$printname: the argument for AUTO|USE_AUTOMOC is obsolete" if ($+);
+ $mocExt = ".moc.$cxxsuffix";
+ $haveAutomocTag = 1;
+ }
+ else
+ {
+ # Not automoc so read the list of files supplied which
+ # should be .moc files.
+
+ $postEqual =~ tr/\034/ /;
+
+ # prune out extra headers - This also checks to make sure that
+ # the list is valid.
+ pruneMocCandidates ($postEqual);
+ }
+
+ checkMocCandidates ();
+
+ if (@newObs) {
+ my $ext = ($program =~ /_la$/) ? ".moc.lo " : ".moc.o ";
+ $realObjs{$program} .= "\034" . join ($ext, @newObs) . $ext;
+ $dependmocs{$program} = join (".moc.$cxxsuffix " , @newObs) . ".moc.$cxxsuffix";
+ foreach $file (@newObs) {
+ $dep_files .= " \$(DEPDIR)/$file.moc.P" if($dep_files !~/$file.moc.P/);
+ }
+ }
+ if (@depend) {
+ $dependmocs{$program} .= " ";
+ $dependmocs{$program} .= join('.moc ', @depend) . ".moc";
+ $dependmocs{$program} .= " ";
+ }
+ addMocRules ();
+ @globalmocs{keys %mocFiles}=values %mocFiles;
+}
+
+#-----------------------------------------------------------------------------
+
+# Returns 0 if the line was processed - 1 otherwise.
+# Errors are logged in the global $errorflags
+sub tag_AUTOMAKE ()
+{
+ my $lookup = '.*cd \$\(top_srcdir\)\s+&&[\034\s]+\$\(AUTOMAKE\)(.*)';
+ return 1 if ($MakefileData !~ /\n($lookup)\n/);
+ print STDOUT "AUTOMAKE processing <$1>\n" if ($verbose);
+
+ my $newLine = $1."\n\tcd \$(top_srcdir) && perl $thisProg $printname";
+
+ # automake 1.8.x adds another automake call. *sigh*
+ $newLine =~ s/;([\034\s]+cd\s+\$\(srcdir\)\s+&&[\034\s]+\$\(AUTOMAKE\).*)[\034\s]+\&\&[\034\s]+exit[\034\s]+0;([\034\s]+exit\s+1)/; \034 ( $1 ) || exit 1; echo \' cd \$(top_srcdir) && perl $thisProg \'; cd \$(top_srcdir) && perl $thisProg && exit 0; $2/;
+ substituteLine ($lookup, $newLine);
+ $automkCall = $1;
+
+ $lookup = '.*cd \$\(srcdir\)\s+&&[\034\s]+\$\(AUTOCONF\)(.*)';
+ if ($MakefileData =~ /\n($lookup)\n/) {
+ $newLine = "\tcd \$(srcdir) && rm -f configure\n";
+ $newLine .= "\tcd \$(top_srcdir) && \$(MAKE) -f admin/Makefile.common configure";
+ substituteLine ($lookup, $newLine);
+ }
+
+ return 0;
+}
+
+#-----------------------------------------------------------------------------
+
+sub handle_TOPLEVEL()
+{
+ my $pofiles = "";
+ my @restfiles = ();
+ opendir (THISDIR, ".");
+ foreach $entry (readdir(THISDIR)) {
+ next if (-d $entry);
+
+ next if ($entry eq "CVS" || $entry =~ /^\./ || $entry =~ /^Makefile/ || $entry =~ /~$/ || $entry =~ /^\#.*\#$/ || $entry =~ /.gmo$/);
+
+ if ($entry =~ /\.po$/) {
+ next;
+ }
+ push(@restfiles, $entry);
+ }
+ closedir (THISDIR);
+
+ if (@restfiles) {
+ $target_adds{"install-data-am"} .= "install-nls-files ";
+ $lines = "install-nls-files:\n";
+ $lines .= "\t\$(mkinstalldirs) \$(DESTDIR)\$(kde_locale)/$kdelang\n";
+ for $file (@restfiles) {
+ $lines .= "\t\$(INSTALL_DATA) \$\(srcdir\)/$file \$(DESTDIR)\$(kde_locale)/$kdelang/$file\n";
+ }
+ $target_adds{"uninstall"} .= "uninstall-nls-files ";
+ $lines .= "uninstall-nls-files:\n";
+ for $file (@restfiles) {
+ $lines .= "\t-rm -f \$(DESTDIR)\$(kde_locale)/$kdelang/$file\n";
+ }
+ appendLines($lines);
+ }
+
+ return 0;
+}
+
+#-----------------------------------------------------------------------------
+
+sub tag_SUBDIRS ()
+{
+ if ($MakefileData !~ /\nSUBDIRS\s*=\s*\$\(AUTODIRS\)\s*\n/) {
+ return 1;
+ }
+
+ my $subdirs = ".";
+
+ opendir (THISDIR, ".");
+ foreach $entry (readdir(THISDIR)) {
+ next if ($entry eq "CVS" || $entry =~ /^\./);
+ if (-d $entry && -f $entry . "/Makefile.am") {
+ $subdirs .= " $entry";
+ next;
+ }
+ }
+ closedir (THISDIR);
+
+ substituteLine('SUBDIRS\s*=.*', "SUBDIRS =$subdirs");
+ return 0;
+}
+
+sub tag_IDLFILES ()
+{
+ my @psources = split(/[\034\s]+/, $sources{$program});
+ my $dep_lines = "";
+ my @cppFiles = ();
+
+ foreach $source (@psources) {
+ my $skel = ($source =~ m/\.skel$/);
+ my $stub = ($source =~ m/\.stub$/);
+ my $signals = ($source =~ m/\.signals$/); # obsolete, remove in KDE-4
+
+ if ($stub || $skel || $signals) {
+
+ my $qs = quotemeta($source);
+ $sources{$program} =~ s/$qs//;
+ $sources_changed{$program} = 1;
+
+ $source =~ s/\.(stub|skel|signals)$//;
+ my $sourcename;
+
+ if ($skel) {
+ $sourcename = "$source\_skel";
+ } elsif ($stub) {
+ $sourcename = "$source\_stub";
+ } else {
+ $sourcename = "$source\_signals";
+ }
+
+ my $sourcedir = '';
+ if (-f "$makefileDir/$source.h") {
+ $sourcedir = '$(srcdir)/';
+ } else {
+ if ($MakefileData =~ /\n$source\_DIR\s*=\s*(\S+)\n/) {
+ $sourcedir = $1;
+ $sourcedir .= "/" if ($sourcedir !~ /\/$/);
+ }
+ }
+
+ if ($allidls !~ /$source\_kidl/) {
+
+ $use_ng = ($MakefileData =~ /\n$source\_DCOPIDLNG\s*=\s*(\S+)\n/);
+ $dcopidl = $use_ng ? "KDECONFIG=\"\$(KDECONFIG)\" \$(DCOPIDLNG)" : "\$(DCOPIDL)";
+
+ $dep_lines .= "$source.kidl: $sourcedir$source.h \$(DCOP_DEPENDENCIES)\n";
+ $dep_lines .= "\t$dcopidl $sourcedir$source.h > $source.kidl || ( rm -f $source.kidl ; false )\n";
+
+ $allidls .= $source . "_kidl ";
+ }
+
+ if ($allidls !~ /$sourcename/) {
+
+ $dep_lines_tmp = "";
+
+ if ($skel) {
+ $dep_lines .= "$sourcename.$cxxsuffix: $source.kidl\n";
+ $dep_lines .= "\t\$(DCOPIDL2CPP) --c++-suffix $cxxsuffix --no-signals --no-stub $source.kidl\n";
+ } elsif ($stub) {
+ $dep_lines_tmp = "\t\$(DCOPIDL2CPP) --c++-suffix $cxxsuffix --no-signals --no-skel $source.kidl\n";
+ } else { # signals - obsolete, remove in KDE 4
+ $dep_lines_tmp = "\t\$(DCOPIDL2CPP) --c++-suffix $cxxsuffix --no-stub --no-skel $source.kidl\n";
+ }
+
+ if ($stub || $signals) {
+ $target_adds{"$sourcename.$cxxsuffix"} .= "$sourcename.h ";
+ $dep_lines .= "$sourcename.h: $source.kidl\n";
+ $dep_lines .= $dep_lines_tmp;
+ }
+
+ $allidls .= $sourcename . " ";
+ }
+
+ $idlfiles{$program} .= $sourcename . " ";
+
+ if ($program =~ /_la$/) {
+ $realObjs{$program} .= " $sourcename.lo";
+ } else {
+ $realObjs{$program} .= " $sourcename.\$(OBJEXT)";
+ }
+ $sources{$program} .= " $sourcename.$cxxsuffix";
+ $sources_changed{$program} = 1;
+ $important{$program} .= "$sourcename.h " if (!$skel);
+ $idl_output .= "\\\n\t$sourcename.$cxxsuffix $sourcename.h $source.kidl ";
+ push(@cleanfiles, "$sourcename.$cxxsuffix");
+ push(@cleanfiles, "$sourcename.h");
+ push(@cleanfiles, "$sourcename.kidl");
+ $dep_files .= " \$(DEPDIR)/$sourcename.P" if ($dep_files !~/$sourcename.P/);
+ }
+ }
+ if ($dep_lines) {
+ appendLines($dep_lines);
+ }
+
+ if (0) {
+ my $lookup = "($program)";
+ $lookup .= '(|\$\(EXEEXT\))';
+ $lookup =~ s/\_/./g;
+ $lookup .= ":(.*..$program\_OBJECTS..*)";
+ # $lookup = quotemeta($lookup);
+ if ($MakefileData =~ /\n$lookup\n/) {
+
+ my $line = "$1$2: ";
+ foreach $file (split(' ', $idlfiles{$program})) {
+ $line .= "$file.$cxxsuffix ";
+ }
+ $line .= $3;
+ substituteLine($lookup, $line);
+ } else {
+ print STDERR "no built dependency found $lookup\n";
+ }
+ }
+}
+
+sub tag_UIFILES ()
+{
+ my @psources = split(/[\034\s]+/, $sources{$program});
+ my @depFiles = ();
+
+ foreach $source (@psources) {
+
+ if ($source =~ m/\.ui$/) {
+
+ print STDERR "adding UI file $source\n" if ($verbose);
+
+ my $qs = quotemeta($source);
+ $sources{$program} =~ s/$qs//;
+ $sources_changed{$program} = 1;
+
+ $source =~ s/\.ui$//;
+
+ my $sourcedir = '';
+ if (-f "$makefileDir/$source.ui") {
+ $sourcedir = '$(srcdir)/';
+ }
+
+ if (!$uiFiles{$source}) {
+
+ my $dep_lines = "$source.$cxxsuffix: $sourcedir$source.ui $source.h $source.moc\n";
+ $dep_lines .= "\trm -f $source.$cxxsuffix\n";
+ if (!$kdeopts{"qtonly"}) {
+ $dep_lines .= "\techo '#include <kdialog.h>' > $source.$cxxsuffix\n";
+ $dep_lines .= "\techo '#include <klocale.h>' >> $source.$cxxsuffix\n";
+ my ($mangled_source) = $source;
+ $mangled_source =~ s/[^A-Za-z0-9]/_/g; # get rid of garbage
+ $dep_lines .= "\t\$(UIC) -tr \${UIC_TR} -i $source.h $sourcedir$source.ui > $source.$cxxsuffix.temp ; ret=\$\$?; \\\n";
+ $dep_lines .= "\t\$(PERL) -pe \"s,\${UIC_TR}( \\\"\\\" ),QString::null,g\" $source.$cxxsuffix.temp | \$(PERL) -pe \"s,\${UIC_TR}( \\\"\\\"\\, \\\"\\\" ),QString::null,g\" | \$(PERL) -pe \"s,image([0-9][0-9]*)_data,img\\\$\$1_" . $mangled_source . ",g\" | \$(PERL) -pe \"s,: QWizard\\(,: KWizard(,g\" >> $source.$cxxsuffix ;\\\n";
+ $dep_lines .= "\trm -f $source.$cxxsuffix.temp ;\\\n";
+ } else {
+ $dep_lines .= "\t\$(UIC) -i $source.h $sourcedir$source.ui > $source.$cxxsuffix; ret=\$\$?; \\\n";
+ }
+ $dep_lines .= "\tif test \"\$\$ret\" = 0; then echo '#include \"$source.moc\"' >> $source.$cxxsuffix; else rm -f $source.$cxxsuffix ; exit \$\$ret ; fi\n\n";
+ $dep_lines .= "$source.h: $sourcedir$source.ui\n";
+ $dep_lines .= "\trm -rf $source.h;\n";
+ if (!$kdeopts{"qtonly"}) {
+ $dep_lines .= "\t\$(UIC) $sourcedir$source.ui | \$(PERL) -pi -e \"s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g\" >> $source.h ;\n";
+ } else {
+ $dep_lines .= "\t\$(UIC) -o $source.h $sourcedir$source.ui\n";
+ }
+ $dep_lines .= "$source.moc: $source.h\n";
+ $dep_lines .= "\t\$(MOC) $source.h -o $source.moc\n";
+
+ $rule_adds{"$source.$cxxsuffix"} = $dep_lines;
+
+ $uiFiles{$source} = 1;
+ $dependmocs{$program} .= " $source.moc";
+ $globalmocs{$source} = "\035$source.h\035$source.cpp";
+ }
+
+ if ($program =~ /_la$/) {
+ $realObjs{$program} .= " $source.lo";
+ } else {
+ $realObjs{$program} .= " $source.\$(OBJEXT)";
+ }
+ $sources{$program} .= " $source.$cxxsuffix";
+ $sources_changed{$program} = 1;
+ $important{$program} .= "$source.h ";
+ $ui_output .= "\\\n\t$source.$cxxsuffix $source.h $source.moc ";
+ push(@cleanfiles, "$source.$cxxsuffix");
+ push(@cleanfiles, "$source.h");
+ push(@cleanfiles, "$source.moc");
+ $dep_files .= " \$(DEPDIR)/$source.P" if($dep_files !~/$source.P/ );
+ }
+ }
+}
+
+sub tag_KCFGFILES ()
+{
+ my @psources = split(/[\034\s]+/, $sources{$program});
+ my @depFiles = ();
+
+ foreach $source (@psources) {
+
+ if ($source =~ m/\.kcfgc$/) {
+
+ print STDERR "adding KCFG file $source\n" if ($verbose);
+
+ my $qs = quotemeta($source);
+ $sources{$program} =~ s/$qs//;
+ $sources_changed{$program} = 1;
+
+ $source =~ s/\.kcfgc$//;
+
+ my $sourcedir = '';
+ if (-f "$makefileDir/$source.kcfgc") {
+ $sourcedir = '$(srcdir)/';
+ }
+
+ if (!$kcfgFiles{$source}) {
+ $kcfg = "$program.kcfg";
+ findKcfgFile("$source.kcfgc");
+
+ my $fixsuffix = "";
+ $fixsuffix = "else mv $source.cpp $source.$cxxsuffix ; "
+ unless "cpp" eq $cxxsuffix;
+
+ my $dep_lines = "$source.$cxxsuffix: $source.h\n";
+ $dep_lines .= "$source.h: $sourcedir$kcfg $sourcedir$source.kcfgc \$(KCFG_DEPENDENCIES)\n";
+ $dep_lines .= "\t\$(KCONFIG_COMPILER) $sourcedir$kcfg $sourcedir$source.kcfgc; ret=\$\$?; \\\n";
+ $dep_lines .= "\tif test \"\$\$ret\" != 0; then rm -f $source.h ; exit \$\$ret ; $fixsuffix fi\n\n";
+
+ $rule_adds{"$source.$cxxsuffix"} = $dep_lines;
+
+ $kcfgFiles{$source} = 1;
+ }
+
+ if ($program =~ /_la$/) {
+ $realObjs{$program} .= " $source.lo";
+ } else {
+ $realObjs{$program} .= " $source.\$(OBJEXT)";
+ }
+ $sources{$program} .= " $source.$cxxsuffix";
+ $sources_changed{$program} = 1;
+ $important{$program} .= "$source.h ";
+ $kcfg_output .= "\\\n\t$source.$cxxsuffix $source.h ";
+ push(@cleanfiles, "$source.$cxxsuffix");
+ push(@cleanfiles, "$source.h");
+ $dep_files .= " \$(DEPDIR)/$source.P" if($dep_files !~/$source.P/ );
+ }
+ }
+}
+
+sub tag_ICON()
+{
+ my $lookup = '([^\s]*)_ICON\s*=[ \t]*(.*)';
+ my $install = "";
+ my $uninstall = "";
+
+ while ($MakefileData =~ /\n$lookup/g) {
+ my $destdir;
+ if ($1 eq "KDE") {
+ $destdir = "kde_icondir";
+ } else {
+ $destdir = $1 . "dir";
+ }
+ my $iconauto = ($2 =~ /AUTO\s*$/);
+ my @appnames = ();
+ if ( ! $iconauto ) {
+ my $appicon_str = $2;
+ my @_appnames = split(" ", $appicon_str);
+ print STDOUT "KDE_ICON processing <@_appnames>\n" if ($verbose);
+ foreach $appname (@_appnames) {
+ push(@appnames, quotemeta($appname));
+ }
+ } else {
+ print STDOUT "KDE_ICON processing <AUTO>\n" if ($verbose);
+ }
+
+ my @files = ();
+ opendir (THISDIR, ".");
+ foreach $entry (readdir(THISDIR)) {
+ next if ($entry eq "CVS" || $entry =~ /^\./ || $entry =~ /^Makefile/ || $entry =~ /~$/ || $entry =~ /^\#.*\#$/);
+ next if (! -f $entry);
+ if ( $iconauto )
+ {
+ push(@files, $entry)
+ if ($entry =~ /\.xpm/ || $entry =~ /\.png/ || $entry =~ /\.mng/ || $entry =~ /\.svg/);
+ } else {
+ foreach $appname (@appnames) {
+ push(@files, $entry)
+ if ($entry =~ /-$appname\.xpm/ || $entry =~ /-$appname\.png/ || $entry =~ /-$appname\.mng/ || $entry =~ /-$appname\.svg/);
+ }
+ }
+ }
+ closedir (THISDIR);
+
+ my %directories = ();
+
+ foreach $file (@files) {
+ my $newfile = $file;
+ my $prefix = $file;
+ $prefix =~ s/\.(png|xpm|mng|svg|svgz)$//;
+ my $appname = $prefix;
+ $appname =~ s/^[^-]+-// if ($appname =~ /-/) ;
+ $appname =~ s/^[^-]+-// if ($appname =~ /-/) ;
+ $appname = quotemeta($appname);
+ $prefix =~ s/$appname$//;
+ $prefix =~ s/-$//;
+
+ $prefix = 'lo16-app' if ($prefix eq 'mini');
+ $prefix = 'lo32-app' if ($prefix eq 'lo');
+ $prefix = 'hi48-app' if ($prefix eq 'large');
+ $prefix .= '-app' if ($prefix =~ m/^...$/);
+
+ my $type = $prefix;
+ $type =~ s/^.*-([^-]+)$/$1/;
+ $prefix =~ s/^(.*)-[^-]+$/$1/;
+
+ my %type_hash =
+ (
+ 'action' => 'actions',
+ 'app' => 'apps',
+ 'device' => 'devices',
+ 'filesys' => 'filesystems',
+ 'mime' => 'mimetypes'
+ );
+
+ if (! defined $type_hash{$type} ) {
+ print STDERR "unknown icon type $type in $printname ($file)\n";
+ next;
+ }
+
+ my %dir_hash =
+ (
+ 'los' => 'locolor/16x16',
+ 'lom' => 'locolor/32x32',
+ 'him' => 'hicolor/32x32',
+ 'hil' => 'hicolor/48x48',
+ 'lo16' => 'locolor/16x16',
+ 'lo22' => 'locolor/22x22',
+ 'lo32' => 'locolor/32x32',
+ 'hi16' => 'hicolor/16x16',
+ 'hi22' => 'hicolor/22x22',
+ 'hi32' => 'hicolor/32x32',
+ 'hi48' => 'hicolor/48x48',
+ 'hi64' => 'hicolor/64x64',
+ 'hi128' => 'hicolor/128x128',
+ 'hisc' => 'hicolor/scalable',
+ 'cr16' => 'crystalsvg/16x16',
+ 'cr22' => 'crystalsvg/22x22',
+ 'cr32' => 'crystalsvg/32x32',
+ 'cr48' => 'crystalsvg/48x48',
+ 'cr64' => 'crystalsvg/64x64',
+ 'cr128' => 'crystalsvg/128x128',
+ 'crsc' => 'crystalsvg/scalable'
+ );
+
+ $newfile =~ s at .*-($appname\.(png|xpm|mng|svgz|svg?))@$1@;
+
+ if (! defined $dir_hash{$prefix}) {
+ print STDERR "unknown icon prefix $prefix in $printname\n";
+ next;
+ }
+
+ my $dir = $dir_hash{$prefix} . "/" . $type_hash{$type};
+ if ($newfile =~ /-[^\.]/) {
+ my $tmp = $newfile;
+ $tmp =~ s/^([^-]+)-.*$/$1/;
+ $dir = $dir . "/" . $tmp;
+ $newfile =~ s/^[^-]+-//;
+ }
+
+ if (!defined $directories{$dir}) {
+ $install .= "\t\$(mkinstalldirs) \$(DESTDIR)\$($destdir)/$dir\n";
+ $directories{$dir} = 1;
+ }
+
+ $install .= "\t\$(INSTALL_DATA) \$(srcdir)/$file \$(DESTDIR)\$($destdir)/$dir/$newfile\n";
+ $uninstall .= "\t-rm -f \$(DESTDIR)\$($destdir)/$dir/$newfile\n";
+
+ }
+ }
+
+ if (length($install)) {
+ $target_adds{"install-data-am"} .= "install-kde-icons ";
+ $target_adds{"uninstall-am"} .= "uninstall-kde-icons ";
+ appendLines("install-kde-icons:\n" . $install . "\nuninstall-kde-icons:\n" . $uninstall);
+ }
+}
+
+sub handle_POFILES($$)
+{
+ my @pofiles = split(" ", $_[0]);
+ my $lang = $_[1];
+
+ # Build rules for creating the gmo files
+ my $tmp = "";
+ my $allgmofiles = "";
+ my $pofileLine = "POFILES =";
+ foreach $pofile (@pofiles)
+ {
+ $pofile =~ /(.*)\.[^\.]*$/; # Find name minus extension
+ $tmp .= "$1.gmo: $pofile\n";
+ $tmp .= "\trm -f $1.gmo; \$(GMSGFMT) -o $1.gmo \$(srcdir)/$pofile\n";
+ $tmp .= "\ttest ! -f $1.gmo || touch $1.gmo\n";
+ $allgmofiles .= " $1.gmo";
+ $pofileLine .= " $1.po";
+ }
+ appendLines ($tmp);
+ my $lookup = 'POFILES\s*=([^\n]*)';
+ if ($MakefileData !~ /\n$lookup/) {
+ appendLines("$pofileLine\nGMOFILES =$allgmofiles");
+ } else {
+ substituteLine ($lookup, "$pofileLine\nGMOFILES =$allgmofiles");
+ }
+
+ if ($allgmofiles) {
+
+ # Add the "clean" rule so that the maintainer-clean does something
+ appendLines ("clean-nls:\n\t-rm -f $allgmofiles\n");
+
+ $target_adds{"maintainer-clean"} .= "clean-nls ";
+
+ $lookup = 'DISTFILES\s*=[ \t]*(.*)';
+ if ($MakefileData =~ /\n$lookup/) {
+ $tmp = "DISTFILES = \$(GMOFILES) \$(POFILES) $1";
+ substituteLine ($lookup, $tmp);
+ }
+ }
+
+ $target_adds{"install-data-am"} .= "install-nls ";
+
+ $tmp = "install-nls:\n";
+ if ($lang) {
+ $tmp .= "\t\$(mkinstalldirs) \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES\n";
+ }
+ $tmp .= "\t\@for base in ";
+ foreach $pofile (@pofiles)
+ {
+ $pofile =~ /(.*)\.[^\.]*$/; # Find name minus extension
+ $tmp .= "$1 ";
+ }
+
+ $tmp .= "; do \\\n";
+ if ($lang) {
+ $tmp .= "\t echo \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES/\$\$base.mo ;\\\n";
+ $tmp .= "\t if test -f \$\$base.gmo; then \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES/\$\$base.mo ;\\\n";
+ $tmp .= "\t elif test -f \$(srcdir)/\$\$base.gmo; then \$(INSTALL_DATA) \$(srcdir)/\$\$base.gmo \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES/\$\$base.mo ;\\\n";
+ $tmp .= "\t fi ;\\\n";
+ } else {
+ $tmp .= "\t echo \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE).mo ;\\\n";
+ $tmp .= "\t \$(mkinstalldirs) \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES ; \\\n";
+ $tmp .= "\t if test -f \$\$base.gmo; then \$(INSTALL_DATA) \$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE).mo ;\\\n";
+ $tmp .= "\t elif test -f \$(srcdir)/\$\$base.gmo; then \$(INSTALL_DATA) \$(srcdir)/\$\$base.gmo \$(DESTDIR)\$(kde_locale)/\$\$base/LC_MESSAGES/\$(PACKAGE).mo ;\\\n";
+ $tmp .= "\t fi ;\\\n";
+ }
+ $tmp .= "\tdone\n\n";
+ appendLines ($tmp);
+
+ $target_adds{"uninstall"} .= "uninstall-nls ";
+
+ $tmp = "uninstall-nls:\n";
+ foreach $pofile (@pofiles)
+ {
+ $pofile =~ /(.*)\.[^\.]*$/; # Find name minus extension
+ if ($lang) {
+ $tmp .= "\trm -f \$(DESTDIR)\$(kde_locale)/$lang/LC_MESSAGES/$1.mo\n";
+ } else {
+ $tmp .= "\trm -f \$(DESTDIR)\$(kde_locale)/$1/LC_MESSAGES/\$(PACKAGE).mo\n";
+ }
+ }
+ appendLines($tmp);
+
+ $target_adds{"all"} .= "all-nls ";
+
+ $tmp = "all-nls: \$(GMOFILES)\n";
+
+ appendLines($tmp);
+
+ $target_adds{"distdir"} .= "distdir-nls ";
+
+ $tmp = "distdir-nls:\$(GMOFILES)\n";
+ $tmp .= "\tfor file in \$(POFILES); do \\\n";
+ $tmp .= "\t cp \$(srcdir)/\$\$file \$(distdir); \\\n";
+ $tmp .= "\tdone\n";
+ $tmp .= "\tfor file in \$(GMOFILES); do \\\n";
+ $tmp .= "\t cp \$(srcdir)/\$\$file \$(distdir); \\\n";
+ $tmp .= "\tdone\n";
+
+ appendLines ($tmp);
+
+ if (!$lang) {
+ appendLines("merge:\n\t\$(MAKE) -f \$(top_srcdir)/admin/Makefile.common package-merge POFILES=\"\${POFILES}\" PACKAGE=\${PACKAGE}\n\n");
+ }
+
+}
+
+#-----------------------------------------------------------------------------
+
+# Returns 0 if the line was processed - 1 otherwise.
+# Errors are logged in the global $errorflags
+sub tag_POFILES ()
+{
+ my $lookup = 'POFILES\s*=([^\n]*)';
+ return 1 if ($MakefileData !~ /\n$lookup/);
+ print STDOUT "POFILES processing <$1>\n" if ($verbose);
+
+ my $tmp = $1;
+
+ # make sure these are all gone.
+ if ($MakefileData =~ /\n\.po\.gmo:\n/)
+ {
+ print STDERR "Warning: Found old .po.gmo rules in $printname. New po rules not added\n";
+ return 1;
+ }
+
+ # Either find the pofiles in the directory (AUTO) or use
+ # only the specified po files.
+ my $pofiles = "";
+ if ($tmp =~ /^\s*AUTO\s*$/)
+ {
+ opendir (THISDIR, ".");
+ $pofiles = join(" ", grep(/\.po$/, readdir(THISDIR)));
+ closedir (THISDIR);
+ print STDOUT "pofiles found = $pofiles\n" if ($verbose);
+ if (-f "charset" && -f "kdelibs/kdelibs.po") {
+ handle_TOPLEVEL();
+ }
+ }
+ else
+ {
+ $tmp =~ s/\034/ /g;
+ $pofiles = $tmp;
+ }
+ return 1 if (!$pofiles); # Nothing to do
+
+ handle_POFILES($pofiles, $kdelang);
+
+ return 0;
+}
+
+sub helper_LOCALINSTALL($)
+{
+ my $lookup = "\035" . $_[0] . " *:[^\035]*\035\t";
+ my $copy = $MakefileData;
+ $copy =~ s/\n/\035/g;
+ if ($copy =~ /($lookup.*)$/) {
+
+ $install = $1;
+ $install =~ s/\035$_[0] *:[^\035]*\035//;
+ my $emptyline = 0;
+ while (! $emptyline ) {
+ if ($install =~ /([^\035]*)\035(.*)/) {
+ local $line = $1;
+ $install = $2;
+ if ($line !~ /^\s*$/ && $line !~ /^(\@.*\@)*\t/) {
+ $emptyline = 1;
+ } else {
+ replaceDestDir($line);
+ }
+ } else {
+ $emptyline = 1;
+ }
+ }
+ }
+
+}
+
+sub tag_LOCALINSTALL ()
+{
+ helper_LOCALINSTALL('install-exec-local');
+ helper_LOCALINSTALL('install-data-local');
+ helper_LOCALINSTALL('uninstall-local');
+
+ return 0;
+}
+
+sub replaceDestDir($) {
+ local $line = $_[0];
+
+ if ( $line =~ /^\s*(\@.*\@)*\s*\$\(mkinstalldirs\)/
+ || $line =~ /^\s*(\@.*\@)*\s*\$\(INSTALL\S*\)/
+ || $line =~ /^\s*(\@.*\@)*\s*(-?rm.*) \S*$/)
+ {
+ $line =~ s/^(.*) ([^\s]+)\s*$/$1 \$(DESTDIR)$2/ if ($line !~ /\$\(DESTDIR\)/);
+ }
+
+ if ($line ne $_[0]) {
+ $_[0] = quotemeta $_[0];
+ substituteLine($_[0], $line);
+ }
+}
+
+#---------------------------------------------------------------------------
+# libtool is very hard to persuade it could use -Wl,--no-undefined for making
+# -no-undefined actually work
+# append $(KDE_NO_UNFINED) after every -no-undefined in LDFLAGS
+# this may go away if libtool ever does this on its own
+sub tag_NO_UNDEFINED () {
+ return if ($program !~ /_la$/);
+
+ my $lookup = quotemeta($realname{$program}) . ":.*?\n\t.*?\\((.*?)\\) .*\n";
+ $MakefileData =~ m/$lookup/;
+ return if (!defined($1));
+ return if ($1 !~ /CXXLINK/);
+
+ if ($MakefileData !~ /\n$program\_LDFLAGS\s*=.*-no-undefined/ ) {
+ return;
+ }
+
+ $lookup = $program . '\_LDFLAGS(\s*)=(.*)-no-undefined(.*)';
+ if ($MakefileData =~ /\n$lookup\n/) {
+ my $replace = $program . "\_LDFLAGS$1=$2-no-undefined \$(KDE_NO_UNDEFINED)$3";
+ substituteLine($lookup, $replace);
+ }
+}
+
+sub tag_CLOSURE () {
+ return if ($program !~ /_la$/);
+
+ my $lookup = quotemeta($realname{$program}) . ":.*?\n\t.*?\\((.*?)\\) .*\n";
+ $MakefileData =~ m/$lookup/;
+ return if (!defined($1));
+ return if ($1 !~ /CXXLINK/);
+
+ if ($MakefileData !~ /\n$program\_LDFLAGS\s*=.*-no-undefined/ &&
+ $MakefileData !~ /\n$program\_LDFLAGS\s*=.*KDE_PLUGIN/ ) {
+ print STDERR "Report: $program contains undefined in $printname\n" if ($program =~ /^lib/ && $dryrun);
+ return;
+ }
+
+ my $closure = $realname{$program} . ".closure";
+ my $lines = "$closure: \$($program\_OBJECTS) \$($program\_DEPENDENCIES)\n";
+ $lines .= "\t\@echo \"int main() {return 0;}\" > $program\_closure.$cxxsuffix\n";
+ $lines .= "\t\@\$\(LTCXXCOMPILE\) -c $program\_closure.$cxxsuffix\n";
+ $lines .= "\t\$\(CXXLINK\) $program\_closure.lo \$($program\_LDFLAGS) \$($program\_OBJECTS) \$($program\_LIBADD) \$(LIBS)\n";
+ $lines .= "\t\@rm -f $program\_closure.* $closure\n";
+ $lines .= "\t\@echo \"timestamp\" > $closure\n";
+ $lines .= "\n";
+ appendLines($lines);
+ $lookup = $realname{$program} . ": (.*)";
+ if ($MakefileData =~ /\n$lookup\n/) {
+ $lines = "\@KDE_USE_CLOSURE_TRUE@". $realname{$program} . ": $closure $1";
+ $lines .= "\n\@KDE_USE_CLOSURE_FALSE@" . $realname{$program} . ": $1";
+ substituteLine($lookup, $lines);
+ }
+ $closure_output .= " $closure";
+}
+
+sub tag_NMCHECK () {
+ return if ($program !~ /_la$/);
+ my $lookup = quotemeta($realname{$program}) . ":.*?\n\t.*?\\((.*?)\\) .*\n";
+ $MakefileData =~ m/$lookup/;
+ my $linkcmd = $1;
+ return if (!defined($1));
+ return if ($linkcmd !~ /CXXLINK/ && $linkcmd !~ /LINK/);
+
+ $lookup = $program . '_NMCHECK\s*=([^\n]*)';
+ if( $MakefileData !~ m/\n$lookup\n/ ) {
+ return;
+ }
+ my $allowed = $1;
+ $allowed =~ s/^ *//;
+ $lookup = $program . '_NMCHECKWEAK\s*=([^\n]*)';
+ my $weak = "";
+ my $is_weak = 0;
+ if( $MakefileData =~ m/\n$lookup\n/ ) {
+ $weak = $1;
+ $is_weak = 1;
+ }
+ $weak =~ s/^ *//;
+
+ if( $is_weak )
+ {
+ $weak = '--allowweak=\'' . $weak . '\' ';
+ }
+ my $nmline = "\@KDE_USE_NMCHECK_TRUE@\t\@\$(MAKE) \$(AM_MAKEFLAGS) nmcheck_$realname{$program} || ( rm -f $realname{$program}; exit 1 )";
+ $lookup = '(\t\$\(CXXLINK\)[^\n]*' . $program . '_OBJECTS[^\n]*)';
+ if( $MakefileData =~ /\n$lookup\n/ ) {
+ my $oldstuff = $1;
+ substituteLine( $lookup, $oldstuff . "\n" . $nmline );
+ }
+ $lookup = '(\t\$\(LINK\)[^\n]*' . $program . '_OBJECTS[^\n]*)';
+ if( $MakefileData =~ /\n$lookup\n/ ) {
+ my $oldstuff = $1;
+ substituteLine( $lookup, $oldstuff . "\n" . $nmline );
+ }
+ $nmline = "\@\$(top_srcdir)/admin/nmcheck $realname{$program} \'$allowed\' $weak";
+ appendLines( "\nnmcheck_$realname{$program}: $realname{$program} \n\t$nmline\n" );
+ $target_adds{ "nmcheck" } .= "nmcheck_$realname{$program} ";
+}
+
+sub tag_DIST () {
+ my %foundfiles = ();
+ opendir (THISDIR, ".");
+ foreach $entry (readdir(THISDIR)) {
+ next if ($entry eq "CVS" || $entry =~ /^\./ || $entry eq "Makefile" || $entry =~ /~$/ || $entry =~ /^\#.*\#$/);
+ next if (! -f $entry);
+ next if ($entry =~ /\.moc/ || $entry =~ /\.moc.$cppExt$/ || $entry =~ /\.lo$/ || $entry =~ /\.la$/ || $entry =~ /\.o/);
+ next if ($entry =~ /\.all_$cppExt\.$cppExt$/);
+ $foundfiles{$entry} = 1;
+ }
+ closedir (THISDIR);
+
+ # doing this for MAINTAINERCLEANFILES would be wrong
+ my @marks = ("EXTRA_DIST", "DIST_COMMON", '\S*_SOURCES', '\S*_HEADERS', 'CLEANFILES', 'DISTCLEANFILES', '\S*_OBJECTS');
+ foreach $mark (@marks) {
+ while ($MakefileData =~ /\n($mark)\s*=[ \t]*([^\n]*)/g) {
+ my $cleanfiles_str = $2;
+ foreach $file (split('[\034\s]+', $cleanfiles_str)) {
+ $file =~ s/\.\///;
+ $foundfiles{$file} = 0 if (defined $foundfiles{$file});
+ }
+ }
+ }
+ my @files = ("Makefile", "config.cache", "config.log", "stamp-h",
+ "stamp-h1", "stamp-h1", "config.h", "Makefile",
+ "config.status", "config.h", "libtool", "core" );
+ foreach $file (@files) {
+ $foundfiles{$file} = 0 if (defined $foundfiles{$file});
+ }
+
+ my $KDE_DIST = "";
+ foreach $file (keys %foundfiles) {
+ if ($foundfiles{$file} == 1) {
+ $KDE_DIST .= "$file ";
+ }
+ }
+ if ($KDE_DIST) {
+ print "KDE_DIST $printname $KDE_DIST\n" if ($verbose);
+
+ my $lookup = 'DISTFILES\s*=[ \t]*(.*)';
+ if ($MakefileData =~ /\n$lookup/) {
+ substituteLine($lookup, "DISTFILES = $1 \$(KDE_DIST)");
+ appendLines("KDE_DIST=$KDE_DIST\n");
+ }
+ }
+}
+
+#-----------------------------------------------------------------------------
+# Returns 0 if the line was processed - 1 otherwise.
+# Errors are logged in the global $errorflags
+sub tag_DOCFILES ()
+{
+ $target_adds{"all"} .= "docs-am ";
+
+ my $lookup = 'KDE_DOCS\s*=[ \t]*([^\n]*)';
+ goto nodocs if ($MakefileData !~ /\n$lookup/);
+ print STDOUT "KDE_DOCS processing <$1>\n" if ($verbose);
+
+ my $tmp = $1;
+
+ # Either find the files in the directory (AUTO) or use
+ # only the specified po files.
+ my $files = "";
+ my $appname = $tmp;
+ $appname =~ s/^(\S*)\s*.*$/$1/;
+ if ($appname =~ /AUTO/) {
+ $appname = basename($makefileDir);
+ if ("$appname" eq "en") {
+ print STDERR "Error: KDE_DOCS = AUTO relies on the directory name. Yours is 'en' - you most likely want something else, e.g. KDE_DOCS = myapp\n";
+ exit(1);
+ }
+ }
+
+ if ($tmp !~ / - /)
+ {
+ opendir (THISDIR, ".");
+ foreach $entry (readdir(THISDIR)) {
+ next if ($entry eq "CVS" || $entry =~ /^\./ || $entry =~ /^Makefile/ || $entry =~ /~$/ || $entry =~ /^\#.*\#$/ || $entry eq "core" || $entry eq "index.cache.bz2");
+ next if (! -f $entry);
+ $files .= "$entry ";
+ }
+ closedir (THISDIR);
+ print STDOUT "docfiles found = $files\n" if ($verbose);
+ }
+ else
+ {
+ $tmp =~ s/\034/ /g;
+ $tmp =~ s/^\S*\s*-\s*//;
+ $files = $tmp;
+ }
+ goto nodocs if (!$files); # Nothing to do
+
+ if ($files =~ /(^| )index\.docbook($| )/) {
+
+ my $lines = "";
+ my $lookup = 'MEINPROC\s*=';
+ if ($MakefileData !~ /\n($lookup)/) {
+ $lines = "MEINPROC=/\$(kde_bindir)/meinproc\n";
+ }
+ $lookup = 'KDE_XSL_STYLESHEET\s*=';
+ if ($MakefileData !~ /\n($lookup)/) {
+ $lines .= "KDE_XSL_STYLESHEET=/\$(kde_datadir)/ksgmltools2/customization/kde-chunk.xsl\n";
+ }
+ $lookup = '\nindex.cache.bz2:';
+ if ($MakefileData !~ /\n($lookup)/) {
+ $lines .= "index.cache.bz2: \$(srcdir)/index.docbook \$(KDE_XSL_STYLESHEET) $files\n";
+ $lines .= "\t\@if test -n \"\$(MEINPROC)\"; then echo \$(MEINPROC) --check --cache index.cache.bz2 \$(srcdir)/index.docbook; \$(MEINPROC) --check --cache index.cache.bz2 \$(srcdir)/index.docbook; fi\n";
+ $lines .= "\n";
+ }
+
+ $lines .= "docs-am: index.cache.bz2\n";
+ $lines .= "\n";
+ $lines .= "install-docs: docs-am install-nls\n";
+ $lines .= "\t\$(mkinstalldirs) \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname\n";
+ $lines .= "\t\@if test -f index.cache.bz2; then \\\n";
+ $lines .= "\techo \$(INSTALL_DATA) index.cache.bz2 \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/; \\\n";
+ $lines .= "\t\$(INSTALL_DATA) index.cache.bz2 \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/; \\\n";
+ $lines .= "\telif test -f \$(srcdir)/index.cache.bz2; then \\\n";
+ $lines .= "\techo \$(INSTALL_DATA) \$(srcdir)/index.cache.bz2 \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/; \\\n";
+ $lines .= "\t\$(INSTALL_DATA) \$(srcdir)/index.cache.bz2 \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/; \\\n";
+ $lines .= "\tfi\n";
+ $lines .= "\t-rm -f \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/common\n";
+ $lines .= "\t\$(LN_S) \$(kde_libs_htmldir)/$kdelang/common \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/common\n";
+
+ $lines .= "\n";
+ $lines .= "uninstall-docs:\n";
+ $lines .= "\t-rm -rf \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname\n";
+ $lines .= "\n";
+ $lines .= "clean-docs:\n";
+ $lines .= "\t-rm -f index.cache.bz2\n";
+ $lines .= "\n";
+ $target_adds{"install-data-am"} .= "install-docs ";
+ $target_adds{"uninstall"} .= "uninstall-docs ";
+ $target_adds{"clean-am"} .= "clean-docs ";
+ appendLines ($lines);
+ } else {
+ appendLines("docs-am: $files\n");
+ }
+
+ $target_adds{"install-data-am"} .= "install-nls ";
+ $target_adds{"uninstall"} .= "uninstall-nls ";
+
+ $tmp = "install-nls:\n";
+ $tmp .= "\t\$(mkinstalldirs) \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname\n";
+ $tmp .= "\t\@for base in $files; do \\\n";
+ $tmp .= "\t echo \$(INSTALL_DATA) \$\$base \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/\$\$base ;\\\n";
+ $tmp .= "\t \$(INSTALL_DATA) \$(srcdir)/\$\$base \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/\$\$base ;\\\n";
+ $tmp .= "\tdone\n";
+ if ($appname eq 'common') {
+ $tmp .= "\t\@echo \"merging common and language specific dir\" ;\\\n";
+ $tmp .= "\tif test ! -f \$(kde_htmldir)/en/common/kde-common.css; then echo 'no english docs found in \$(kde_htmldir)/en/common/'; exit 1; fi \n";
+ $tmp .= "\t\@com_files=`cd \$(kde_htmldir)/en/common && echo *` ;\\\n";
+ $tmp .= "\tcd \$(DESTDIR)\$(kde_htmldir)/$kdelang/common ;\\\n";
+ $tmp .= "\tif test -n \"\$\$com_files\"; then for p in \$\$com_files ; do \\\n";
+ $tmp .= "\t case \" $files \" in \\\n";
+ $tmp .= "\t *\" \$\$p \"*) ;; \\\n";
+ $tmp .= "\t *) test ! -f \$\$p && echo \$(LN_S) ../../en/common/\$\$p \$(DESTDIR)\$(kde_htmldir)/$kdelang/common/\$\$p && \$(LN_S) ../../en/common/\$\$p \$\$p ;; \\\n";
+ $tmp .= "\t esac ; \\\n";
+ $tmp .= "\tdone ; fi ; true\n";
+ }
+ $tmp .= "\n";
+ $tmp .= "uninstall-nls:\n";
+ $tmp .= "\tfor base in $files; do \\\n";
+ $tmp .= "\t rm -f \$(DESTDIR)\$(kde_htmldir)/$kdelang/$appname/\$\$base ;\\\n";
+ $tmp .= "\tdone\n\n";
+ appendLines ($tmp);
+
+ $target_adds{"distdir"} .= "distdir-nls ";
+
+ $tmp = "distdir-nls:\n";
+ $tmp .= "\tfor file in $files; do \\\n";
+ $tmp .= "\t cp \$(srcdir)/\$\$file \$(distdir); \\\n";
+ $tmp .= "\tdone\n";
+
+ appendLines ($tmp);
+
+ return 0;
+
+ nodocs:
+ appendLines("docs-am:\n");
+ return 1;
+}
+
+#-----------------------------------------------------------------------------
+# Find headers in any of the source directories specified previously, that
+# are candidates for "moc-ing".
+sub findMocCandidates ()
+{
+ foreach $dir (@headerdirs)
+ {
+ my @list = ();
+ opendir (SRCDIR, "$dir");
+ @hFiles = grep { /.+\.$hExt$/o && !/^\./ } readdir(SRCDIR);
+ closedir SRCDIR;
+ foreach $hf (@hFiles)
+ {
+ next if ($hf =~ /^\.\#/);
+ $hf =~ /(.*)\.[^\.]*$/; # Find name minus extension
+ next if ($uiFiles{$1});
+ open (HFIN, "$dir/$hf") || die "Could not open $dir/$hf: $!\n";
+ my $hfsize = 0;
+ seek(HFIN, 0, 2);
+ $hfsize = tell(HFIN);
+ seek(HFIN, 0, 0);
+ read HFIN, $hfData, $hfsize;
+ close HFIN;
+ # push (@list, $hf) if(index($hfData, "Q_OBJECT") >= 0); ### fast but doesn't handle //Q_OBJECT
+ # handle " { friend class blah; Q_OBJECT ", but don't match antlarr_Q_OBJECT (\b).
+ if ( $hfData =~ /{([^}]*)\bQ_OBJECT/s ) {
+ push (@list, $hf) unless $1 =~ m://[^\n]*Q_OBJECT[^\n]*$:s; ## reject "// Q_OBJECT"
+ }
+ }
+ # The assoc array of root of headerfile and header filename
+ foreach $hFile (@list)
+ {
+ $hFile =~ /(.*)\.[^\.]*$/; # Find name minus extension
+ if ($mocFiles{$1})
+ {
+ print STDERR "Warning: Multiple header files found for $1\n";
+ next; # Use the first one
+ }
+ $mocFiles{$1} = "$dir\035$hFile"; # Add relative dir
+ }
+ }
+
+ return 0;
+}
+
+#-----------------------------------------------------------------------------
+
+# The programmer has specified a moc list. Prune out the moc candidates
+# list that we found based on looking at the header files. This generates
+# a warning if the programmer gets the list wrong, but this doesn't have
+# to be fatal here.
+sub pruneMocCandidates ($)
+{
+ my %prunedMoc = ();
+ local @mocList = split(' ', $_[0]);
+
+ foreach $mocname (@mocList)
+ {
+ $mocname =~ s/\.moc$//;
+ if ($mocFiles{$mocname})
+ {
+ $prunedMoc{$mocname} = $mocFiles{$mocname};
+ }
+ else
+ {
+ my $print = $makefileDir;
+ $print =~ s/^\Q$topdir\E\\//;
+ # They specified a moc file but we can't find a header that
+ # will generate this moc file. That's possible fatal!
+ print STDERR "Warning: No moc-able header file for $print/$mocname\n";
+ }
+ }
+
+ undef %mocFiles;
+ %mocFiles = %prunedMoc;
+}
+
+#-----------------------------------------------------------------------------
+
+# Finds the cpp files (If they exist).
+# The cpp files get appended to the header file separated by \035
+sub checkMocCandidates ()
+{
+ my @cppFiles;
+ my $cpp2moc; # which c++ file includes which .moc files
+ my $moc2cpp; # which moc file is included by which c++ files
+
+ return unless (keys %mocFiles);
+ opendir(THISDIR, ".") || return;
+ @cppFiles = grep { /.+\.$cppExt$/o && !/.+\.moc\.$cppExt$/o
+ && !/.+\.all_$cppExt\.$cppExt$/o
+ && !/^\./ } readdir(THISDIR);
+ closedir THISDIR;
+ return unless (@cppFiles);
+ my $files = join (" ", @cppFiles);
+ $cpp2moc = {};
+ $moc2cpp = {};
+ foreach $cxxf (@cppFiles)
+ {
+ open (CXXFIN, $cxxf) || die "Could not open $cxxf: $!\n";
+ seek(CXXFIN, 0, 2);
+ my $cxxfsize = tell(CXXFIN);
+ seek(CXXFIN, 0, 0);
+ read CXXFIN, $cxxfData, $cxxfsize;
+ close CXXFIN;
+ while(($cxxfData =~ m/^[ \t]*\#include\s*[<\"](.*\.moc)[>\"]/gm)) {
+ $cpp2moc->{$cxxf}->{$1} = 1;
+ $moc2cpp->{$1}->{$cxxf} = 1;
+ }
+ }
+ foreach my $mocFile (keys (%mocFiles))
+ {
+ @cppFiles = keys %{$moc2cpp->{"$mocFile.moc"}};
+ if (@cppFiles == 1) {
+ $mocFiles{$mocFile} .= "\035" . $cppFiles[0];
+ push(@depend, $mocFile);
+ } elsif (@cppFiles == 0) {
+ push (@newObs, $mocFile); # Produce new object file
+ next if ($haveAutomocTag); # This is expected...
+ # But this is an error we can deal with - let them know
+ print STDERR
+ "Warning: No c++ file that includes $mocFile.moc\n";
+ } else {
+ # We can't decide which file to use, so it's fatal. Although as a
+ # guess we could use the mocFile.cpp file if it's in the list???
+ print STDERR
+ "Error: Multiple c++ files that include $mocFile.moc\n";
+ print STDERR "\t",join ("\t", @cppFiles),"\n";
+ $errorflag = 1;
+ delete $mocFiles{$mocFile};
+ # Let's continue and see what happens - They have been told!
+ }
+ }
+}
+
+#-----------------------------------------------------------------------------
+
+# Add the rules for generating moc source from header files
+# For Automoc output *.moc.cpp but normally we'll output *.moc
+# (We must compile *.moc.cpp separately. *.moc files are included
+# in the appropriate *.cpp file by the programmer)
+sub addMocRules ()
+{
+ my $cppFile;
+ my $hFile;
+
+ foreach $mocFile (keys (%mocFiles))
+ {
+ undef $cppFile;
+ ($dir, $hFile, $cppFile) = split ("\035", $mocFiles{$mocFile}, 3);
+ $dir =~ s#^\.#\$(srcdir)#;
+ if (defined ($cppFile))
+ {
+ $cppFile =~ s,\.[^.]*$,,;
+ $target_adds{"$cppFile.o"} .= "$mocFile.moc ";
+ $target_adds{"$cppFile.lo"} .= "$mocFile.moc ";
+ appendLines ("$mocFile.moc: $dir/$hFile\n\t\$(MOC) $dir/$hFile -o $mocFile.moc\n");
+ $cleanMoc .= " $mocFile.moc";
+ appendLines ("mocs: $mocFile.moc\n");
+ }
+ else
+ {
+ appendLines ("$mocFile$mocExt: $dir/$hFile\n\t\$(MOC) $dir/$hFile -o $mocFile$mocExt\n");
+ $cleanMoc .= " $mocFile$mocExt";
+ appendLines ("mocs: $mocFile$mocExt\n");
+ }
+ }
+}
+
+sub make_bcheck_target()
+{
+ my $lookup = 'RECURSIVE_TARGETS\s*=[ \t]*(.*)';
+ my $bcheckdep = "bcheck-am";
+ $bcheckdep = "bcheck-recursive" if ($MakefileData =~ /\n$lookup/);
+
+ my $headers= "";
+ $headers = $1 if($MakefileData =~ /\nHEADERS\s*=[ \t]*(.+)/);
+ $headers =~ s/\$\((?:noinst|EXTRA)_HEADERS\)//g;
+
+ $target_adds{"clean-am"} .= "clean-bcheck ";
+
+ my $t = "clean-bcheck: \n" .
+ "\trm -f *.bchecktest.cc *.bchecktest.cc.class a.out\n\n" .
+ "bcheck: $bcheckdep\n\n" .
+ "bcheck-am:\n" .
+ "\t\@for i in $headers; do \\\n" .
+ "\t if test \$(srcdir)/\$\$i -nt \$\$i.bchecktest.cc; then \\\n" .
+ "\t echo \"int main() {return 0;}\" > \$\$i.bchecktest.cc ; \\\n" .
+ "\t echo \"#include \\\"\$\$i\\\"\" >> \$\$i.bchecktest.cc ; \\\n" .
+ "\t echo \"\$\$i\"; \\\n" .
+ "\t if ! ";
+ $t .= $cxxsuffix eq "KKK" ?
+ "\$(CXX) \$(DEFS) -I. -I\$(srcdir) -I\$(top_builddir) \$(INCLUDES) \$(AM_CPPFLAGS) \$(CPPFLAGS) \$(CXXFLAGS) \$(KDE_CXXFLAGS) " :
+ "\$(CXXCOMPILE) ";
+ $t .= " --dump-class-hierarchy -c \$\$i.bchecktest.cc; then \\\n" .
+ "\t rm -f \$\$i.bchecktest.cc; exit 1; \\\n" .
+ "\t fi ; \\\n" .
+ "\t echo \"\" >> \$\$i.bchecktest.cc.class; \\\n" .
+ "\t perl \$(top_srcdir)/admin/bcheck.pl \$\$i.bchecktest.cc.class || { rm -f \$\$i.bchecktest.cc; exit 1; }; \\\n" .
+ "\t rm -f a.out; \\\n" .
+ "\t fi ; \\\n" .
+ "\tdone\n";
+ appendLines("$t\n");
+}
+
+sub make_meta_classes ()
+{
+ return if ($kdeopts{"qtonly"});
+
+ my $cppFile;
+ my $hFile;
+ my $moc_class_headers = "";
+ foreach $program (@programs) {
+ my $mocs = "";
+ my @progsources = split(/[\034\s]+/, $sources{$program});
+ my @depmocs = split(' ', $dependmocs{$program});
+ my %shash = (), %mhash = ();
+ @shash{@progsources} = 1; # we are only interested in the existence
+ @mhash{@depmocs} = 1;
+
+ print STDOUT "program=$program\n" if ($verbose);
+ print STDOUT "psources=[".join(' ', keys %shash)."]\n" if ($verbose);
+ print STDOUT "depmocs=[".join(' ', keys %mhash)."]\n" if ($verbose);
+ print STDOUT "globalmocs=[".join(' ', keys(%globalmocs))."]\n" if ($verbose);
+ foreach my $mocFile (keys (%globalmocs))
+ {
+ my ($dir, $hFile, $cppFile) = split ("\035", $globalmocs{$mocFile}, 3);
+ if (defined ($cppFile))
+ {
+ $mocs .= " $mocFile.moc" if exists $shash{$cppFile};
+ }
+ else
+ {
+ # Bah. This is the case, if no C++ file includes the .moc
+ # file. We make a .moc.cpp file for that. Unfortunately this
+ # is not included in the %sources hash, but rather is mentioned
+ # in %dependmocs. If the user wants to use AUTO he can't just
+ # use an unspecific METAINCLUDES. Instead he must use
+ # program_METAINCLUDES. Anyway, it's not working real nicely.
+ # E.g. Its not clear what happens if user specifies two
+ # METAINCLUDES=AUTO in the same Makefile.am.
+ $mocs .= " $mocFile.moc.$cxxsuffix"
+ if exists $mhash{$mocFile.".moc.$cxxsuffix"};
+ }
+ }
+ if ($mocs) {
+ print STDOUT "==> mocs=[".$mocs."]\n" if ($verbose);
+ }
+ print STDOUT "\n" if $verbose;
+ }
+ if ($moc_class_headers) {
+ appendLines ("$cleantarget-moc-classes:\n\t-rm -f $moc_class_headers\n");
+ $target_adds{"$cleantarget-am"} .= "$cleantarget-moc-classes ";
+ }
+}
+
+#-----------------------------------------------------------------------------
+
+sub updateMakefile ()
+{
+ return if ($dryrun);
+
+ open (FILEOUT, "> $makefile")
+ || die "Could not create $makefile: $!\n";
+
+ $MakefileData =~ s/\034/\\\n/g; # Restore continuation lines
+ # Append our $progId line, _below_ the "generated by automake" line
+ # because automake-1.6 relies on the first line to be his own.
+ my $progIdLine = "\# $progId - " . '$Revision: 483858 $ '."\n";
+ if ( !( $MakefileData =~ s/^(.*generated .*by automake.*\n)/$1$progIdLine/ ) ) {
+ warn "automake line not found in $makefile\n";
+ # Fallback: first line
+ print FILEOUT $progIdLine;
+ };
+ print FILEOUT $MakefileData;
+ close FILEOUT;
+}
+
+#-----------------------------------------------------------------------------
+
+# The given line needs to be removed from the makefile
+# Do this by adding the special "removed line" comment at the line start.
+sub removeLine ($$)
+{
+ my ($lookup, $old) = @_;
+
+ $old =~ s/\034/\\\n#>- /g; # Fix continuation lines
+ $MakefileData =~ s/\n$lookup/\n#>\- $old/;
+}
+
+#-----------------------------------------------------------------------------
+
+# Replaces the old line with the new line
+# old line(s) are retained but tagged as removed. The new line(s) have the
+# "added" tag placed before it.
+sub substituteLine ($$)
+{
+ my ($lookup, $new) = @_;
+
+ if ($MakefileData =~ /\n($lookup)/) {
+ $old = $1;
+ $old =~ s/\034/\\\n#>\- /g; # Fix continuation lines
+ my $newCount = ($new =~ tr/\034//) + ($new =~ tr/\n//) + 1;
+ $new =~ s/\\\n/\034/g;
+ $MakefileData =~ s/\n$lookup/\n#>- $old\n#>\+ $newCount\n$new/;
+ } else {
+ warn "Warning: substitution of \"$lookup\" in $printname failed\n";
+ }
+}
+
+#-----------------------------------------------------------------------------
+
+# Slap new lines on the back of the file.
+sub appendLines ($)
+{
+ my ($new) = @_;
+ my $copynew = $new;
+ my $newCount = ($new =~ tr/\034//) + ($new =~ tr/\n//) + 1;
+ $new =~ s/\\\n/\034/g; # Fix continuation lines
+ $MakefileData .= "\n#>\+ $newCount\n$new";
+}
+
+#-----------------------------------------------------------------------------
+
+# Restore the Makefile.in to the state it was before we fiddled with it
+sub restoreMakefile ()
+{
+ $MakefileData =~ s/# $progId[^\n\034]*[\n\034]*//g;
+ # Restore removed lines
+ $MakefileData =~ s/([\n\034])#>\- /$1/g;
+ # Remove added lines
+ while ($MakefileData =~ /[\n\034]#>\+ ([^\n\034]*)/)
+ {
+ my $newCount = $1;
+ my $removeLines = "";
+ while ($newCount--) {
+ $removeLines .= "[^\n\034]*([\n\034]|)";
+ }
+ $MakefileData =~ s/[\n\034]#>\+.*[\n\034]$removeLines/\n/;
+ }
+}
+
+#-----------------------------------------------------------------------------
+
+# find the .kcfg file listed in the .kcfgc file
+sub findKcfgFile($)
+{
+ my ($kcfgf) = @_;
+ open (KCFGFIN, $kcfgf) || die "Could not open $kcfgf: $!\n";
+ seek(KCFGFIN, 0, 2);
+ my $kcfgfsize = tell(KCFGFIN);
+ seek(KCFGFIN, 0, 0);
+ read KCFGFIN, $kcfgfData, $kcfgfsize;
+ close KCFGFIN;
+ if(($kcfgfData =~ m/^File=(.*\.kcfg)/gm)) {
+ $kcfg = $1;
+ }
+}
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/bcheck.pl
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/bcheck.pl (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/bcheck.pl 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,157 @@
+#!/usr/bin/perl -w
+
+use DB_File;
+use Fcntl ':flock';
+
+if (!defined($ARGV[0])) {
+ print "usage: requires .class dump as parameter!\n";
+ exit;
+}
+
+sub bailout
+{
+ untie %bcheckdb if(defined(%bcheckdb));
+
+ if(defined(MYLOCK)) {
+ flock MYLOCK, LOCK_UN;
+ close(MYLOCK);
+ }
+
+ print @_;
+ exit 5;
+}
+
+sub ask_user
+{
+ my ($dbkey, $dbchunk) = @_;
+
+ if (defined($ENV{"BCHECK_UPDATE"})) {
+ $bcheckdb{$dbkey} = $dbchunk;
+ return;
+ }
+
+ &bailout("BC problem detected") if (! -t STDIN);
+
+ print "(I)gnore / (Q)uit / (U)pdate: ";
+
+ my $key;
+ while(defined(read STDIN, $key, 1)) {
+ $key = lc($key);
+
+ print "got: >$key<\n";
+
+ return if ($key eq 'i');
+
+ &bailout("BC problem. aborted") if ($key eq 'q');
+
+ if ($key eq 'u') {
+ $bcheckdb{$dbkey} = $dbchunk;
+ return;
+ }
+ print "\n(I)gnore / (Q)uit / (U)pdate: ";
+ }
+}
+
+sub diff_chunk($$)
+{
+ my ($oldl, $newl) = @_;
+ my @old = split /^/m, $oldl;
+ my @new = split /^/m, $newl;
+ my $haschanges = 0;
+ my $max = $#old > $#new ? $#old : $#new;
+
+ die "whoops. key different" if ($old[0] ne $new[0]);
+
+ if ($#old != $#new) {
+ warn ("Structural difference.\n");
+ print @old;
+ print "-----------------------------------------------\n";
+ print @new;
+ $haschanges = 1;
+ return $haschanges;
+ }
+
+ print $old[0];
+
+ my ($class) = ($old[0] =~ /^(?:Class |Vtable for )(\S+)/);
+
+ my $c = 1;
+ while ($c < $max) {
+ my ($o, $n) = ($old[$c], $new[$c]);
+ chomp $o;
+ chomp $n;
+ $c++;
+ next if ($o eq $n);
+
+ if(defined($class) and $n =~ /^(\d+\s+)\w+(::\S+\s*.*)$/) {
+ next if ($n eq "$1$class$2");
+ }
+
+ $haschanges = 1;
+
+ print "-$o\n+$n\n\n";
+ }
+
+ return $haschanges;
+}
+
+local $dblock = $ENV{"HOME"} . "/bcheck.lock";
+my $dbfile = $ENV{"HOME"} . "/bcheck.db";
+my $cdump = $ARGV[0];
+
+die "file $cdump is not readable: $!" if (! -f $cdump);
+
+# make sure the advisory lock exists
+open(MYLOCK, ">$dblock");
+print MYLOCK "";
+
+flock MYLOCK, LOCK_EX;
+
+tie %bcheckdb, 'DB_File', $dbfile;
+
+my $chunk = "";
+
+open (IN, "<$cdump") or die "cannot open $cdump: $!";
+while (<IN>) {
+
+ chop;
+
+ s/0x[0-9a-fA-F]+/0x......../g;
+ s/base size=/size=/g;
+ s/\(\)\s*$//g;
+ s/base align=/align=/g;
+
+ $chunk .= $_ . "\n";
+
+ if(/^\s*$/) {
+ my @lines = split /^/m, $chunk;
+ my $key = $lines[0];
+ chomp $key;
+
+ if($key !~ /<anonymous struct>/ &&
+ $key !~ /<anonymous union>/) {
+ if(defined($bcheckdb{$key})) {
+ my $dbversion = $bcheckdb{$key};
+
+ if($dbversion ne $chunk) {
+ &ask_user($key, $chunk) if(&diff_chunk($dbversion, $chunk));
+ }
+ }
+ else {
+ $bcheckdb{$key} = $chunk;
+ print "NEW: $key\n";
+ }
+ }
+
+ $chunk = "";
+ next;
+ }
+
+}
+close(IN);
+
+untie %bcheckdb;
+flock MYLOCK, LOCK_UN;
+close(MYLOCK);
+
+exit 0;
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/compile
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/compile (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/compile 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,142 @@
+#! /bin/sh
+# Wrapper for compilers which do not understand `-c -o'.
+
+scriptversion=2005-05-14.22
+
+# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
+# Written by Tom Tromey <tromey at 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake at gnu.org> or send patches to
+# <automake-patches at gnu.org>.
+
+case $1 in
+ '')
+ echo "$0: No command. Try \`$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: compile [--help] [--version] PROGRAM [ARGS]
+
+Wrapper for compilers which do not understand `-c -o'.
+Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
+arguments, and rename the output as expected.
+
+If you are trying to build a whole package this is not the
+right script to run: please start by reading the file `INSTALL'.
+
+Report bugs to <bug-automake at gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v | --v*)
+ echo "compile $scriptversion"
+ exit $?
+ ;;
+esac
+
+ofile=
+cfile=
+eat=
+
+for arg
+do
+ if test -n "$eat"; then
+ eat=
+ else
+ case $1 in
+ -o)
+ # configure might choose to run compile as `compile cc -o foo foo.c'.
+ # So we strip `-o arg' only if arg is an object.
+ eat=1
+ case $2 in
+ *.o | *.obj)
+ ofile=$2
+ ;;
+ *)
+ set x "$@" -o "$2"
+ shift
+ ;;
+ esac
+ ;;
+ *.c)
+ cfile=$1
+ set x "$@" "$1"
+ shift
+ ;;
+ *)
+ set x "$@" "$1"
+ shift
+ ;;
+ esac
+ fi
+ shift
+done
+
+if test -z "$ofile" || test -z "$cfile"; then
+ # If no `-o' option was seen then we might have been invoked from a
+ # pattern rule where we don't need one. That is ok -- this is a
+ # normal compilation that the losing compiler can handle. If no
+ # `.c' file was seen then we are probably linking. That is also
+ # ok.
+ exec "$@"
+fi
+
+# Name of file we expect compiler to create.
+cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
+
+# Create the lock directory.
+# Note: use `[/.-]' here to ensure that we don't use the same name
+# that we are using for the .o file. Also, base the name on the expected
+# object file name, since that is what matters with a parallel build.
+lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
+while true; do
+ if mkdir "$lockdir" >/dev/null 2>&1; then
+ break
+ fi
+ sleep 1
+done
+# FIXME: race condition here if user kills between mkdir and trap.
+trap "rmdir '$lockdir'; exit 1" 1 2 15
+
+# Run the compile.
+"$@"
+ret=$?
+
+if test -f "$cofile"; then
+ mv "$cofile" "$ofile"
+elif test -f "${cofile}bj"; then
+ mv "${cofile}bj" "$ofile"
+fi
+
+rmdir "$lockdir"
+exit $ret
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
+# End:
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/admin/compile
___________________________________________________________________
Name: svn:executable
+
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/conf.change.pl
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/conf.change.pl (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/conf.change.pl 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,191 @@
+#!/usr/bin/env perl
+
+# this script patches a config.status file, to use our own perl script
+# in the main loop
+# we do it this way to circumvent hacking (and thereby including)
+# autoconf function (which are GPL) into our LGPL acinclude.m4.in
+# written by Michael Matz <matz at kde.org>
+# adapted by Dirk Mueller <mueller at 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., 51 Franklin Street, Fifth Floor,
+# Boston, MA 02110-1301, USA.
+
+# we have to change two places
+# 1. the splitting of the substitutions into chunks of 90 (or even 48 in
+# later autoconf's
+# 2. the big main loop which patches all Makefile.in's
+
+use strict;
+use File::Basename;
+
+my $ac_aux_dir = dirname($0);
+my ($flag);
+my $ac_version = 0;
+my $vpath_seen = 0;
+$flag = 0;
+
+while (<>) {
+# usage of $flag: 0 -- we have seen nothing yet
+# 1 -- we are in (1)
+# 2 -- we have ended (1)
+# 3 -- we are in (2)
+# 4 -- we ended (2)
+
+ if ($flag == 4) {
+ print;
+ } elsif ($flag == 0) {
+# 1. begins with (including): "ac_max_sed_\S+\s*=\s*[0-9]+..."
+# ends with (excluding) "CONFIG_FILE=..."
+# in later autoconf (2.14.1) there is no CONFIG_FILES= line,
+# but instead the (2) directly follow (1)
+ if (/^\s*ac_max_sed_([a-z]+).*=\s*([0-9]+)/ ) {
+ $flag = 1;
+ if ($1 eq 'lines') {
+ # lets hope its different with 2141,
+ # wasn't able to verify that
+ if ($2 eq '48') {
+ $ac_version = 250;
+ }
+ else {
+ $ac_version = 2141;
+ }
+ } elsif ($1 eq 'cmds') {
+ $ac_version = 213;
+ }
+ # hmm, we don't know the autoconf version, but we try anyway
+ } else {
+ print;
+ }
+ } elsif ($flag == 1) {
+ if (/^\s*CONFIG_FILES=/ && ($ac_version != 250)) {
+ print;
+ $flag = 2;
+ } elsif (/^\s*for\s+ac_file\s+in\s+.*CONFIG_FILES/ ) {
+ $flag = 3;
+ }
+ } elsif ($flag == 2) {
+# 2. begins with: "for ac_file in.*CONFIG_FILES" (the next 'for' after (1))
+# end with: "rm -f conftest.s\*"
+# on autoconf 250, it ends with '# CONFIG_HEADER section'
+#
+# gg: if a post-processing commands section is found first,
+# stop there and insert a new loop to honor the case/esac.
+# (pattern: /^\s+#\sRun the commands associated with the file./)
+
+ if (/^\s*for\s+ac_file\s+in\s+.*CONFIG_FILES/ ) {
+ $flag = 3;
+ } else {
+ print;
+ }
+ } elsif ($flag == 3) {
+ if (/^\s*rm\s+-f\s+conftest/ ) {
+ $flag = 4;
+ &insert_main_loop();
+ } elsif (/^\s*rm\s+-f\s+.*ac_cs_root/ ) {
+ $flag = 4;
+ &insert_main_loop();
+ #die "hhhhhhh";
+ if ($ac_version != 2141) {
+ print STDERR "hmm, don't know autoconf version\n";
+ }
+ } elsif (/^\#\s*CONFIG_(HEADER|COMMANDS) section.*|^\s+#\s(Run) the commands associated/) {
+ $flag = 4;
+ my $commands = defined $2;
+ &insert_main_loop();
+ $commands && insert_command_loop();
+ if($ac_version != 250) {
+ print STDERR "hmm, something went wrong :-(\n";
+ }
+ } elsif (/VPATH/ ) {
+ $vpath_seen = 1;
+ }
+ }
+}
+
+die "wrong input (flag != 4)" unless $flag == 4;
+print STDERR "hmm, don't know autoconf version\n" unless $ac_version;
+
+sub insert_main_loop {
+
+ if ($ac_version == 250) {
+ &insert_main_loop_250();
+ }
+ else {
+ &insert_main_loop_213();
+ }
+}
+
+sub insert_main_loop_250 {
+
+ print <<EOF;
+ #echo Doing the fast build of Makefiles -- autoconf $ac_version
+EOF
+ if ($vpath_seen) {
+ print <<EOF;
+ # VPATH subst was seen in original config.status main loop
+ echo '/^[ ]*VPATH[ ]*=[^:]*\$/d' >>\$tmp/subs.sed
+EOF
+ }
+ print <<EOF;
+ rm -f \$tmp/subs.files
+ for ac_file in .. \$CONFIG_FILES ; do
+ if test "x\$ac_file" != x..; then
+ echo \$ac_file >> \$tmp/subs.files
+ fi
+ done
+ if test -f \$tmp/subs.files ; then
+ perl $ac_aux_dir/config.pl "\$tmp/subs.sed" "\$tmp/subs.files" "\$srcdir" "\$INSTALL"
+ fi
+ rm -f \$tmp/subs.files
+
+fi
+EOF
+ return;
+}
+
+sub insert_main_loop_213 {
+ print <<EOF;
+#echo Doing the fast build of Makefiles -- autoconf $ac_version
+if test "x\$ac_cs_root" = "x" ; then
+ ac_cs_root=conftest
+fi
+EOF
+ if ($vpath_seen) {
+ print <<EOF;
+# VPATH subst was seen in original config.status main loop
+echo '/^[ ]*VPATH[ ]*=[^:]*\$/d' >> \$ac_cs_root.subs
+EOF
+ }
+ print <<EOF;
+rm -f \$ac_cs_root.sacfiles
+for ac_file in .. \$CONFIG_FILES ; do
+ if test "x\$ac_file" != x..; then
+ echo \$ac_file >> \$ac_cs_root.sacfiles
+ fi
+done
+if test -f \$ac_cs_root.sacfiles ; then
+ perl $ac_aux_dir/config.pl "\$ac_cs_root.subs" "\$ac_cs_root.sacfiles" "\$ac_given_srcdir" "\$ac_given_INSTALL"
+fi
+rm -f \$ac_cs_root.s*
+
+EOF
+ return;
+}
+
+sub insert_command_loop {
+ print <<EOF;
+ for ac_file in .. \$CONFIG_FILES ; do
+EOF
+}
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/config.guess
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/config.guess (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/config.guess 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,1464 @@
+#! /bin/sh
+# Attempt to guess a canonical system name.
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+
+timestamp='2005-06-30'
+
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+# 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 Per Bothner <per at bothner.com>.
+# Please send patches to <config-patches at gnu.org>. Submit a context
+# diff and a properly formatted ChangeLog entry.
+#
+# This script attempts to guess a canonical system name similar to
+# config.sub. If it succeeds, it prints the system name on stdout, and
+# exits with 0. Otherwise, it exits with 1.
+#
+# The plan is that this can be called by configure scripts if you
+# don't specify an explicit build system type.
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION]
+
+Output the configuration name of the system \`$me' is run on.
+
+Operation modes:
+ -h, --help print this help, then exit
+ -t, --time-stamp print date of last modification, then exit
+ -v, --version print version number, then exit
+
+Report bugs and patches to <config-patches at gnu.org>."
+
+version="\
+GNU config.guess ($timestamp)
+
+Originally written by Per Bothner.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+ case $1 in
+ --time-stamp | --time* | -t )
+ echo "$timestamp" ; exit ;;
+ --version | -v )
+ echo "$version" ; exit ;;
+ --help | --h* | -h )
+ echo "$usage"; exit ;;
+ -- ) # Stop option processing
+ shift; break ;;
+ - ) # Use stdin as input.
+ break ;;
+ -* )
+ echo "$me: invalid option $1$help" >&2
+ exit 1 ;;
+ * )
+ break ;;
+ esac
+done
+
+if test $# != 0; then
+ echo "$me: too many arguments$help" >&2
+ exit 1
+fi
+
+trap 'exit 1' 1 2 15
+
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
+# compiler to aid in system detection is discouraged as it requires
+# temporary files to be created and, as you can see below, it is a
+# headache to deal with in a portable fashion.
+
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
+# use `HOST_CC' if defined, but it is deprecated.
+
+# Portable tmp directory creation inspired by the Autoconf team.
+
+set_cc_for_build='
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
+: ${TMPDIR=/tmp} ;
+ { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
+dummy=$tmp/dummy ;
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
+case $CC_FOR_BUILD,$HOST_CC,$CC in
+ ,,) echo "int x;" > $dummy.c ;
+ for c in cc gcc c89 c99 ; do
+ if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
+ CC_FOR_BUILD="$c"; break ;
+ fi ;
+ done ;
+ if test x"$CC_FOR_BUILD" = x ; then
+ CC_FOR_BUILD=no_compiler_found ;
+ fi
+ ;;
+ ,,*) CC_FOR_BUILD=$CC ;;
+ ,*,*) CC_FOR_BUILD=$HOST_CC ;;
+esac ;'
+
+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+# (ghazi at noc.rutgers.edu 1994-08-24)
+if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
+ PATH=$PATH:/.attbin ; export PATH
+fi
+
+UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
+UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
+UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+
+# Note: order is significant - the case branches are not exclusive.
+
+case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
+ *:NetBSD:*:*)
+ # NetBSD (nbsd) targets should (where applicable) match one or
+ # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
+ # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
+ # switched to ELF, *-*-netbsd* would select the old
+ # object file format. This provides both forward
+ # compatibility and a consistent mechanism for selecting the
+ # object file format.
+ #
+ # Note: NetBSD doesn't particularly care about the vendor
+ # portion of the name. We always set it to "unknown".
+ sysctl="sysctl -n hw.machine_arch"
+ UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
+ /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
+ case "${UNAME_MACHINE_ARCH}" in
+ armeb) machine=armeb-unknown ;;
+ arm*) machine=arm-unknown ;;
+ sh3el) machine=shl-unknown ;;
+ sh3eb) machine=sh-unknown ;;
+ *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
+ esac
+ # The Operating System including object format, if it has switched
+ # to ELF recently, or will in the future.
+ case "${UNAME_MACHINE_ARCH}" in
+ arm*|i386|m68k|ns32k|sh3*|sparc|vax)
+ eval $set_cc_for_build
+ if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep __ELF__ >/dev/null
+ then
+ # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
+ # Return netbsd for either. FIX?
+ os=netbsd
+ else
+ os=netbsdelf
+ fi
+ ;;
+ *)
+ os=netbsd
+ ;;
+ esac
+ # The OS release
+ # Debian GNU/NetBSD machines have a different userland, and
+ # thus, need a distinct triplet. However, they do not need
+ # kernel version information, so it can be replaced with a
+ # suitable tag, in the style of linux-gnu.
+ case "${UNAME_VERSION}" in
+ Debian*)
+ release='-gnu'
+ ;;
+ *)
+ release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+ ;;
+ esac
+ # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
+ # contains redundant information, the shorter form:
+ # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
+ echo "${machine}-${os}${release}"
+ exit ;;
+ *:OpenBSD:*:*)
+ UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
+ echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
+ exit ;;
+ *:ekkoBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
+ exit ;;
+ macppc:MirBSD:*:*)
+ echo powerppc-unknown-mirbsd${UNAME_RELEASE}
+ exit ;;
+ *:MirBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
+ exit ;;
+ alpha:OSF1:*:*)
+ case $UNAME_RELEASE in
+ *4.0)
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
+ ;;
+ *5.*)
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+ ;;
+ esac
+ # According to Compaq, /usr/sbin/psrinfo has been available on
+ # OSF/1 and Tru64 systems produced since 1995. I hope that
+ # covers most systems running today. This code pipes the CPU
+ # types through head -n 1, so we only detect the type of CPU 0.
+ ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
+ case "$ALPHA_CPU_TYPE" in
+ "EV4 (21064)")
+ UNAME_MACHINE="alpha" ;;
+ "EV4.5 (21064)")
+ UNAME_MACHINE="alpha" ;;
+ "LCA4 (21066/21068)")
+ UNAME_MACHINE="alpha" ;;
+ "EV5 (21164)")
+ UNAME_MACHINE="alphaev5" ;;
+ "EV5.6 (21164A)")
+ UNAME_MACHINE="alphaev56" ;;
+ "EV5.6 (21164PC)")
+ UNAME_MACHINE="alphapca56" ;;
+ "EV5.7 (21164PC)")
+ UNAME_MACHINE="alphapca57" ;;
+ "EV6 (21264)")
+ UNAME_MACHINE="alphaev6" ;;
+ "EV6.7 (21264A)")
+ UNAME_MACHINE="alphaev67" ;;
+ "EV6.8CB (21264C)")
+ UNAME_MACHINE="alphaev68" ;;
+ "EV6.8AL (21264B)")
+ UNAME_MACHINE="alphaev68" ;;
+ "EV6.8CX (21264D)")
+ UNAME_MACHINE="alphaev68" ;;
+ "EV6.9A (21264/EV69A)")
+ UNAME_MACHINE="alphaev69" ;;
+ "EV7 (21364)")
+ UNAME_MACHINE="alphaev7" ;;
+ "EV7.9 (21364A)")
+ UNAME_MACHINE="alphaev79" ;;
+ esac
+ # A Pn.n version is a patched version.
+ # A Vn.n version is a released version.
+ # A Tn.n version is a released field test version.
+ # A Xn.n version is an unreleased experimental baselevel.
+ # 1.2 uses "1.2" for uname -r.
+ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+ exit ;;
+ Alpha\ *:Windows_NT*:*)
+ # How do we know it's Interix rather than the generic POSIX subsystem?
+ # Should we change UNAME_MACHINE based on the output of uname instead
+ # of the specific Alpha model?
+ echo alpha-pc-interix
+ exit ;;
+ 21064:Windows_NT:50:3)
+ echo alpha-dec-winnt3.5
+ exit ;;
+ Amiga*:UNIX_System_V:4.0:*)
+ echo m68k-unknown-sysv4
+ exit ;;
+ *:[Aa]miga[Oo][Ss]:*:*)
+ echo ${UNAME_MACHINE}-unknown-amigaos
+ exit ;;
+ *:[Mm]orph[Oo][Ss]:*:*)
+ echo ${UNAME_MACHINE}-unknown-morphos
+ exit ;;
+ *:OS/390:*:*)
+ echo i370-ibm-openedition
+ exit ;;
+ *:z/VM:*:*)
+ echo s390-ibm-zvmoe
+ exit ;;
+ *:OS400:*:*)
+ echo powerpc-ibm-os400
+ exit ;;
+ arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
+ echo arm-acorn-riscix${UNAME_RELEASE}
+ exit ;;
+ arm:riscos:*:*|arm:RISCOS:*:*)
+ echo arm-unknown-riscos
+ exit ;;
+ SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
+ echo hppa1.1-hitachi-hiuxmpp
+ exit ;;
+ Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
+ # akee at wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
+ if test "`(/bin/universe) 2>/dev/null`" = att ; then
+ echo pyramid-pyramid-sysv3
+ else
+ echo pyramid-pyramid-bsd
+ fi
+ exit ;;
+ NILE*:*:*:dcosx)
+ echo pyramid-pyramid-svr4
+ exit ;;
+ DRS?6000:unix:4.0:6*)
+ echo sparc-icl-nx6
+ exit ;;
+ DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
+ case `/usr/bin/uname -p` in
+ sparc) echo sparc-icl-nx7; exit ;;
+ esac ;;
+ sun4H:SunOS:5.*:*)
+ echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
+ echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ i86pc:SunOS:5.*:*)
+ echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4*:SunOS:6*:*)
+ # According to config.sub, this is the proper way to canonicalize
+ # SunOS6. Hard to guess exactly what SunOS6 will be like, but
+ # it's likely to be more like Solaris than SunOS4.
+ echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ sun4*:SunOS:*:*)
+ case "`/usr/bin/arch -k`" in
+ Series*|S4*)
+ UNAME_RELEASE=`uname -v`
+ ;;
+ esac
+ # Japanese Language versions have a version number like `4.1.3-JL'.
+ echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
+ exit ;;
+ sun3*:SunOS:*:*)
+ echo m68k-sun-sunos${UNAME_RELEASE}
+ exit ;;
+ sun*:*:4.2BSD:*)
+ UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
+ test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
+ case "`/bin/arch`" in
+ sun3)
+ echo m68k-sun-sunos${UNAME_RELEASE}
+ ;;
+ sun4)
+ echo sparc-sun-sunos${UNAME_RELEASE}
+ ;;
+ esac
+ exit ;;
+ aushp:SunOS:*:*)
+ echo sparc-auspex-sunos${UNAME_RELEASE}
+ exit ;;
+ # The situation for MiNT is a little confusing. The machine name
+ # can be virtually everything (everything which is not
+ # "atarist" or "atariste" at least should have a processor
+ # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
+ # to the lowercase version "mint" (or "freemint"). Finally
+ # the system name "TOS" denotes a system which is actually not
+ # MiNT. But MiNT is downward compatible to TOS, so this should
+ # be no problem.
+ atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit ;;
+ atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit ;;
+ *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
+ echo m68k-atari-mint${UNAME_RELEASE}
+ exit ;;
+ milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
+ echo m68k-milan-mint${UNAME_RELEASE}
+ exit ;;
+ hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
+ echo m68k-hades-mint${UNAME_RELEASE}
+ exit ;;
+ *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
+ echo m68k-unknown-mint${UNAME_RELEASE}
+ exit ;;
+ m68k:machten:*:*)
+ echo m68k-apple-machten${UNAME_RELEASE}
+ exit ;;
+ powerpc:machten:*:*)
+ echo powerpc-apple-machten${UNAME_RELEASE}
+ exit ;;
+ RISC*:Mach:*:*)
+ echo mips-dec-mach_bsd4.3
+ exit ;;
+ RISC*:ULTRIX:*:*)
+ echo mips-dec-ultrix${UNAME_RELEASE}
+ exit ;;
+ VAX*:ULTRIX*:*:*)
+ echo vax-dec-ultrix${UNAME_RELEASE}
+ exit ;;
+ 2020:CLIX:*:* | 2430:CLIX:*:*)
+ echo clipper-intergraph-clix${UNAME_RELEASE}
+ exit ;;
+ mips:*:*:UMIPS | mips:*:*:RISCos)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+#ifdef __cplusplus
+#include <stdio.h> /* for printf() prototype */
+ int main (int argc, char *argv[]) {
+#else
+ int main (argc, argv) int argc; char *argv[]; {
+#endif
+ #if defined (host_mips) && defined (MIPSEB)
+ #if defined (SYSTYPE_SYSV)
+ printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
+ #endif
+ #if defined (SYSTYPE_SVR4)
+ printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
+ #endif
+ #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
+ printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
+ #endif
+ #endif
+ exit (-1);
+ }
+EOF
+ $CC_FOR_BUILD -o $dummy $dummy.c &&
+ dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
+ SYSTEM_NAME=`$dummy $dummyarg` &&
+ { echo "$SYSTEM_NAME"; exit; }
+ echo mips-mips-riscos${UNAME_RELEASE}
+ exit ;;
+ Motorola:PowerMAX_OS:*:*)
+ echo powerpc-motorola-powermax
+ exit ;;
+ Motorola:*:4.3:PL8-*)
+ echo powerpc-harris-powermax
+ exit ;;
+ Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
+ echo powerpc-harris-powermax
+ exit ;;
+ Night_Hawk:Power_UNIX:*:*)
+ echo powerpc-harris-powerunix
+ exit ;;
+ m88k:CX/UX:7*:*)
+ echo m88k-harris-cxux7
+ exit ;;
+ m88k:*:4*:R4*)
+ echo m88k-motorola-sysv4
+ exit ;;
+ m88k:*:3*:R3*)
+ echo m88k-motorola-sysv3
+ exit ;;
+ AViiON:dgux:*:*)
+ # DG/UX returns AViiON for all architectures
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
+ if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
+ then
+ if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
+ [ ${TARGET_BINARY_INTERFACE}x = x ]
+ then
+ echo m88k-dg-dgux${UNAME_RELEASE}
+ else
+ echo m88k-dg-dguxbcs${UNAME_RELEASE}
+ fi
+ else
+ echo i586-dg-dgux${UNAME_RELEASE}
+ fi
+ exit ;;
+ M88*:DolphinOS:*:*) # DolphinOS (SVR3)
+ echo m88k-dolphin-sysv3
+ exit ;;
+ M88*:*:R3*:*)
+ # Delta 88k system running SVR3
+ echo m88k-motorola-sysv3
+ exit ;;
+ XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
+ echo m88k-tektronix-sysv3
+ exit ;;
+ Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
+ echo m68k-tektronix-bsd
+ exit ;;
+ *:IRIX*:*:*)
+ echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
+ exit ;;
+ ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
+ echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
+ exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
+ i*86:AIX:*:*)
+ echo i386-ibm-aix
+ exit ;;
+ ia64:AIX:*:*)
+ if [ -x /usr/bin/oslevel ] ; then
+ IBM_REV=`/usr/bin/oslevel`
+ else
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ fi
+ echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
+ exit ;;
+ *:AIX:2:3)
+ if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #include <sys/systemcfg.h>
+
+ main()
+ {
+ if (!__power_pc())
+ exit(1);
+ puts("powerpc-ibm-aix3.2.5");
+ exit(0);
+ }
+EOF
+ if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
+ then
+ echo "$SYSTEM_NAME"
+ else
+ echo rs6000-ibm-aix3.2.5
+ fi
+ elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+ echo rs6000-ibm-aix3.2.4
+ else
+ echo rs6000-ibm-aix3.2
+ fi
+ exit ;;
+ *:AIX:*:[45])
+ IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
+ if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
+ IBM_ARCH=rs6000
+ else
+ IBM_ARCH=powerpc
+ fi
+ if [ -x /usr/bin/oslevel ] ; then
+ IBM_REV=`/usr/bin/oslevel`
+ else
+ IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
+ fi
+ echo ${IBM_ARCH}-ibm-aix${IBM_REV}
+ exit ;;
+ *:AIX:*:*)
+ echo rs6000-ibm-aix
+ exit ;;
+ ibmrt:4.4BSD:*|romp-ibm:BSD:*)
+ echo romp-ibm-bsd4.4
+ exit ;;
+ ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
+ echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
+ exit ;; # report: romp-ibm BSD 4.3
+ *:BOSX:*:*)
+ echo rs6000-bull-bosx
+ exit ;;
+ DPX/2?00:B.O.S.:*:*)
+ echo m68k-bull-sysv3
+ exit ;;
+ 9000/[34]??:4.3bsd:1.*:*)
+ echo m68k-hp-bsd
+ exit ;;
+ hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
+ echo m68k-hp-bsd4.4
+ exit ;;
+ 9000/[34678]??:HP-UX:*:*)
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ case "${UNAME_MACHINE}" in
+ 9000/31? ) HP_ARCH=m68000 ;;
+ 9000/[34]?? ) HP_ARCH=m68k ;;
+ 9000/[678][0-9][0-9])
+ if [ -x /usr/bin/getconf ]; then
+ sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
+ case "${sc_cpu_version}" in
+ 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
+ 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
+ 532) # CPU_PA_RISC2_0
+ case "${sc_kernel_bits}" in
+ 32) HP_ARCH="hppa2.0n" ;;
+ 64) HP_ARCH="hppa2.0w" ;;
+ '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
+ esac ;;
+ esac
+ fi
+ if [ "${HP_ARCH}" = "" ]; then
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+
+ #define _HPUX_SOURCE
+ #include <stdlib.h>
+ #include <unistd.h>
+
+ int main ()
+ {
+ #if defined(_SC_KERNEL_BITS)
+ long bits = sysconf(_SC_KERNEL_BITS);
+ #endif
+ long cpu = sysconf (_SC_CPU_VERSION);
+
+ switch (cpu)
+ {
+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
+ case CPU_PA_RISC2_0:
+ #if defined(_SC_KERNEL_BITS)
+ switch (bits)
+ {
+ case 64: puts ("hppa2.0w"); break;
+ case 32: puts ("hppa2.0n"); break;
+ default: puts ("hppa2.0"); break;
+ } break;
+ #else /* !defined(_SC_KERNEL_BITS) */
+ puts ("hppa2.0"); break;
+ #endif
+ default: puts ("hppa1.0"); break;
+ }
+ exit (0);
+ }
+EOF
+ (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
+ test -z "$HP_ARCH" && HP_ARCH=hppa
+ fi ;;
+ esac
+ if [ ${HP_ARCH} = "hppa2.0w" ]
+ then
+ # avoid double evaluation of $set_cc_for_build
+ test -n "$CC_FOR_BUILD" || eval $set_cc_for_build
+
+ # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
+ # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
+ # generating 64-bit code. GNU and HP use different nomenclature:
+ #
+ # $ CC_FOR_BUILD=cc ./config.guess
+ # => hppa2.0w-hp-hpux11.23
+ # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
+ # => hppa64-hp-hpux11.23
+
+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
+ grep __LP64__ >/dev/null
+ then
+ HP_ARCH="hppa2.0w"
+ else
+ HP_ARCH="hppa64"
+ fi
+ fi
+ echo ${HP_ARCH}-hp-hpux${HPUX_REV}
+ exit ;;
+ ia64:HP-UX:*:*)
+ HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+ echo ia64-hp-hpux${HPUX_REV}
+ exit ;;
+ 3050*:HI-UX:*:*)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #include <unistd.h>
+ int
+ main ()
+ {
+ long cpu = sysconf (_SC_CPU_VERSION);
+ /* The order matters, because CPU_IS_HP_MC68K erroneously returns
+ true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
+ results, however. */
+ if (CPU_IS_PA_RISC (cpu))
+ {
+ switch (cpu)
+ {
+ case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
+ case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
+ case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
+ default: puts ("hppa-hitachi-hiuxwe2"); break;
+ }
+ }
+ else if (CPU_IS_HP_MC68K (cpu))
+ puts ("m68k-hitachi-hiuxwe2");
+ else puts ("unknown-hitachi-hiuxwe2");
+ exit (0);
+ }
+EOF
+ $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
+ { echo "$SYSTEM_NAME"; exit; }
+ echo unknown-hitachi-hiuxwe2
+ exit ;;
+ 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
+ echo hppa1.1-hp-bsd
+ exit ;;
+ 9000/8??:4.3bsd:*:*)
+ echo hppa1.0-hp-bsd
+ exit ;;
+ *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
+ echo hppa1.0-hp-mpeix
+ exit ;;
+ hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
+ echo hppa1.1-hp-osf
+ exit ;;
+ hp8??:OSF1:*:*)
+ echo hppa1.0-hp-osf
+ exit ;;
+ i*86:OSF1:*:*)
+ if [ -x /usr/sbin/sysversion ] ; then
+ echo ${UNAME_MACHINE}-unknown-osf1mk
+ else
+ echo ${UNAME_MACHINE}-unknown-osf1
+ fi
+ exit ;;
+ parisc*:Lites*:*:*)
+ echo hppa1.1-hp-lites
+ exit ;;
+ C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
+ echo c1-convex-bsd
+ exit ;;
+ C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
+ if getsysinfo -f scalar_acc
+ then echo c32-convex-bsd
+ else echo c2-convex-bsd
+ fi
+ exit ;;
+ C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
+ echo c34-convex-bsd
+ exit ;;
+ C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
+ echo c38-convex-bsd
+ exit ;;
+ C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
+ echo c4-convex-bsd
+ exit ;;
+ CRAY*Y-MP:*:*:*)
+ echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*[A-Z]90:*:*:*)
+ echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
+ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
+ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
+ -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*TS:*:*:*)
+ echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*T3E:*:*:*)
+ echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*SV1:*:*:*)
+ echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ *:UNICOS/mp:*:*)
+ echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
+ FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+ exit ;;
+ 5000:UNIX_System_V:4.*:*)
+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+ exit ;;
+ i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
+ echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
+ exit ;;
+ sparc*:BSD/OS:*:*)
+ echo sparc-unknown-bsdi${UNAME_RELEASE}
+ exit ;;
+ *:BSD/OS:*:*)
+ echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
+ exit ;;
+ *:FreeBSD:*:*)
+ echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+ exit ;;
+ i*:CYGWIN*:*)
+ echo ${UNAME_MACHINE}-pc-cygwin
+ exit ;;
+ i*:MINGW*:*)
+ echo ${UNAME_MACHINE}-pc-mingw32
+ exit ;;
+ i*:windows32*:*)
+ # uname -m includes "-pc" on this system.
+ echo ${UNAME_MACHINE}-mingw32
+ exit ;;
+ i*:PW*:*)
+ echo ${UNAME_MACHINE}-pc-pw32
+ exit ;;
+ x86:Interix*:[34]*)
+ echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
+ exit ;;
+ [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
+ echo i${UNAME_MACHINE}-pc-mks
+ exit ;;
+ i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
+ # How do we know it's Interix rather than the generic POSIX subsystem?
+ # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
+ # UNAME_MACHINE based on the output of uname instead of i386?
+ echo i586-pc-interix
+ exit ;;
+ i*:UWIN*:*)
+ echo ${UNAME_MACHINE}-pc-uwin
+ exit ;;
+ amd64:CYGWIN*:*:*)
+ echo x86_64-unknown-cygwin
+ exit ;;
+ p*:CYGWIN*:*)
+ echo powerpcle-unknown-cygwin
+ exit ;;
+ prep*:SunOS:5.*:*)
+ echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+ exit ;;
+ *:GNU:*:*)
+ # the GNU system
+ echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
+ exit ;;
+ *:GNU/*:*:*)
+ # other systems with GNU libc and userland
+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
+ exit ;;
+ i*86:Minix:*:*)
+ echo ${UNAME_MACHINE}-pc-minix
+ exit ;;
+ arm*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit ;;
+ cris:Linux:*:*)
+ echo cris-axis-linux-gnu
+ exit ;;
+ crisv32:Linux:*:*)
+ echo crisv32-axis-linux-gnu
+ exit ;;
+ frv:Linux:*:*)
+ echo frv-unknown-linux-gnu
+ exit ;;
+ ia64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit ;;
+ m32r*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit ;;
+ m68*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit ;;
+ mips:Linux:*:*)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #undef CPU
+ #undef mips
+ #undef mipsel
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
+ CPU=mipsel
+ #else
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
+ CPU=mips
+ #else
+ CPU=
+ #endif
+ #endif
+EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
+ ;;
+ mips64:Linux:*:*)
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #undef CPU
+ #undef mips64
+ #undef mips64el
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
+ CPU=mips64el
+ #else
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
+ CPU=mips64
+ #else
+ CPU=
+ #endif
+ #endif
+EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
+ test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
+ ;;
+ ppc:Linux:*:*)
+ echo powerpc-unknown-linux-gnu
+ exit ;;
+ ppc64:Linux:*:*)
+ echo powerpc64-unknown-linux-gnu
+ exit ;;
+ alpha:Linux:*:*)
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+ EV5) UNAME_MACHINE=alphaev5 ;;
+ EV56) UNAME_MACHINE=alphaev56 ;;
+ PCA56) UNAME_MACHINE=alphapca56 ;;
+ PCA57) UNAME_MACHINE=alphapca56 ;;
+ EV6) UNAME_MACHINE=alphaev6 ;;
+ EV67) UNAME_MACHINE=alphaev67 ;;
+ EV68*) UNAME_MACHINE=alphaev68 ;;
+ esac
+ objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
+ if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
+ echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
+ exit ;;
+ parisc:Linux:*:* | hppa:Linux:*:*)
+ # Look for CPU level
+ case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
+ PA7*) echo hppa1.1-unknown-linux-gnu ;;
+ PA8*) echo hppa2.0-unknown-linux-gnu ;;
+ *) echo hppa-unknown-linux-gnu ;;
+ esac
+ exit ;;
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
+ echo hppa64-unknown-linux-gnu
+ exit ;;
+ s390:Linux:*:* | s390x:Linux:*:*)
+ echo ${UNAME_MACHINE}-ibm-linux
+ exit ;;
+ sh64*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit ;;
+ sh*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit ;;
+ sparc:Linux:*:* | sparc64:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit ;;
+ x86_64:Linux:*:*)
+ echo x86_64-unknown-linux-gnu
+ exit ;;
+ i*86:Linux:*:*)
+ # The BFD linker knows what the default object file format is, so
+ # first see if it will tell us. cd to the root directory to prevent
+ # problems with other programs or directories called `ld' in the path.
+ # Set LC_ALL=C to ensure ld outputs messages in English.
+ ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
+ | sed -ne '/supported targets:/!d
+ s/[ ][ ]*/ /g
+ s/.*supported targets: *//
+ s/ .*//
+ p'`
+ case "$ld_supported_targets" in
+ elf32-i386)
+ TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
+ ;;
+ a.out-i386-linux)
+ echo "${UNAME_MACHINE}-pc-linux-gnuaout"
+ exit ;;
+ coff-i386)
+ echo "${UNAME_MACHINE}-pc-linux-gnucoff"
+ exit ;;
+ "")
+ # Either a pre-BFD a.out linker (linux-gnuoldld) or
+ # one that does not give us useful --help.
+ echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
+ exit ;;
+ esac
+ # Determine whether the default compiler is a.out or elf
+ eval $set_cc_for_build
+ sed 's/^ //' << EOF >$dummy.c
+ #include <features.h>
+ #ifdef __ELF__
+ # ifdef __GLIBC__
+ # if __GLIBC__ >= 2
+ LIBC=gnu
+ # else
+ LIBC=gnulibc1
+ # endif
+ # else
+ LIBC=gnulibc1
+ # endif
+ #else
+ #ifdef __INTEL_COMPILER
+ LIBC=gnu
+ #else
+ LIBC=gnuaout
+ #endif
+ #endif
+ #ifdef __dietlibc__
+ LIBC=dietlibc
+ #endif
+EOF
+ eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
+ test x"${LIBC}" != x && {
+ echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
+ exit
+ }
+ test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; }
+ ;;
+ i*86:DYNIX/ptx:4*:*)
+ # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
+ # earlier versions are messed up and put the nodename in both
+ # sysname and nodename.
+ echo i386-sequent-sysv4
+ exit ;;
+ i*86:UNIX_SV:4.2MP:2.*)
+ # Unixware is an offshoot of SVR4, but it has its own version
+ # number series starting with 2...
+ # I am not positive that other SVR4 systems won't match this,
+ # I just have to hope. -- rms.
+ # Use sysv4.2uw... so that sysv4* matches it.
+ echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
+ exit ;;
+ i*86:OS/2:*:*)
+ # If we were able to find `uname', then EMX Unix compatibility
+ # is probably installed.
+ echo ${UNAME_MACHINE}-pc-os2-emx
+ exit ;;
+ i*86:XTS-300:*:STOP)
+ echo ${UNAME_MACHINE}-unknown-stop
+ exit ;;
+ i*86:atheos:*:*)
+ echo ${UNAME_MACHINE}-unknown-atheos
+ exit ;;
+ i*86:syllable:*:*)
+ echo ${UNAME_MACHINE}-pc-syllable
+ exit ;;
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+ echo i386-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ i*86:*DOS:*:*)
+ echo ${UNAME_MACHINE}-pc-msdosdjgpp
+ exit ;;
+ i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
+ UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
+ if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
+ echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
+ else
+ echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
+ fi
+ exit ;;
+ i*86:*:5:[678]*)
+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
+ case `/bin/uname -X | grep "^Machine"` in
+ *486*) UNAME_MACHINE=i486 ;;
+ *Pentium) UNAME_MACHINE=i586 ;;
+ *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
+ esac
+ echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
+ exit ;;
+ i*86:*:3.2:*)
+ if test -f /usr/options/cb.name; then
+ UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
+ echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
+ elif /bin/uname -X 2>/dev/null >/dev/null ; then
+ UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
+ (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
+ (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
+ && UNAME_MACHINE=i586
+ (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
+ && UNAME_MACHINE=i686
+ (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
+ && UNAME_MACHINE=i686
+ echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
+ else
+ echo ${UNAME_MACHINE}-pc-sysv32
+ fi
+ exit ;;
+ pc:*:*:*)
+ # Left here for compatibility:
+ # uname -m prints for DJGPP always 'pc', but it prints nothing about
+ # the processor, so we play safe by assuming i386.
+ echo i386-pc-msdosdjgpp
+ exit ;;
+ Intel:Mach:3*:*)
+ echo i386-pc-mach3
+ exit ;;
+ paragon:*:*:*)
+ echo i860-intel-osf1
+ exit ;;
+ i860:*:4.*:*) # i860-SVR4
+ if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
+ echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
+ else # Add other i860-SVR4 vendors below as they are discovered.
+ echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
+ fi
+ exit ;;
+ mini*:CTIX:SYS*5:*)
+ # "miniframe"
+ echo m68010-convergent-sysv
+ exit ;;
+ mc68k:UNIX:SYSTEM5:3.51m)
+ echo m68k-convergent-sysv
+ exit ;;
+ M680?0:D-NIX:5.3:*)
+ echo m68k-diab-dnix
+ exit ;;
+ M68*:*:R3V[5678]*:*)
+ test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
+ 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
+ OS_REL=''
+ test -r /etc/.relid \
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
+ 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4; exit; } ;;
+ m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
+ echo m68k-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ mc68030:UNIX_System_V:4.*:*)
+ echo m68k-atari-sysv4
+ exit ;;
+ TSUNAMI:LynxOS:2.*:*)
+ echo sparc-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ rs6000:LynxOS:2.*:*)
+ echo rs6000-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
+ echo powerpc-unknown-lynxos${UNAME_RELEASE}
+ exit ;;
+ SM[BE]S:UNIX_SV:*:*)
+ echo mips-dde-sysv${UNAME_RELEASE}
+ exit ;;
+ RM*:ReliantUNIX-*:*:*)
+ echo mips-sni-sysv4
+ exit ;;
+ RM*:SINIX-*:*:*)
+ echo mips-sni-sysv4
+ exit ;;
+ *:SINIX-*:*:*)
+ if uname -p 2>/dev/null >/dev/null ; then
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
+ echo ${UNAME_MACHINE}-sni-sysv4
+ else
+ echo ns32k-sni-sysv
+ fi
+ exit ;;
+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+ # says <Richard.M.Bartel at ccMail.Census.GOV>
+ echo i586-unisys-sysv4
+ exit ;;
+ *:UNIX_System_V:4*:FTX*)
+ # From Gerald Hewes <hewes at openmarket.com>.
+ # How about differentiating between stratus architectures? -djm
+ echo hppa1.1-stratus-sysv4
+ exit ;;
+ *:*:*:FTX*)
+ # From seanf at swdc.stratus.com.
+ echo i860-stratus-sysv4
+ exit ;;
+ i*86:VOS:*:*)
+ # From Paul.Green at stratus.com.
+ echo ${UNAME_MACHINE}-stratus-vos
+ exit ;;
+ *:VOS:*:*)
+ # From Paul.Green at stratus.com.
+ echo hppa1.1-stratus-vos
+ exit ;;
+ mc68*:A/UX:*:*)
+ echo m68k-apple-aux${UNAME_RELEASE}
+ exit ;;
+ news*:NEWS-OS:6*:*)
+ echo mips-sony-newsos6
+ exit ;;
+ R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
+ if [ -d /usr/nec ]; then
+ echo mips-nec-sysv${UNAME_RELEASE}
+ else
+ echo mips-unknown-sysv${UNAME_RELEASE}
+ fi
+ exit ;;
+ BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
+ echo powerpc-be-beos
+ exit ;;
+ BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
+ echo powerpc-apple-beos
+ exit ;;
+ BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
+ echo i586-pc-beos
+ exit ;;
+ SX-4:SUPER-UX:*:*)
+ echo sx4-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-5:SUPER-UX:*:*)
+ echo sx5-nec-superux${UNAME_RELEASE}
+ exit ;;
+ SX-6:SUPER-UX:*:*)
+ echo sx6-nec-superux${UNAME_RELEASE}
+ exit ;;
+ Power*:Rhapsody:*:*)
+ echo powerpc-apple-rhapsody${UNAME_RELEASE}
+ exit ;;
+ *:Rhapsody:*:*)
+ echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
+ exit ;;
+ *:Darwin:*:*)
+ UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
+ case $UNAME_PROCESSOR in
+ *86) UNAME_PROCESSOR=i686 ;;
+ unknown) UNAME_PROCESSOR=powerpc ;;
+ esac
+ echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
+ exit ;;
+ *:procnto*:*:* | *:QNX:[0123456789]*:*)
+ UNAME_PROCESSOR=`uname -p`
+ if test "$UNAME_PROCESSOR" = "x86"; then
+ UNAME_PROCESSOR=i386
+ UNAME_MACHINE=pc
+ fi
+ echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
+ exit ;;
+ *:QNX:*:4*)
+ echo i386-pc-qnx
+ exit ;;
+ NSE-?:NONSTOP_KERNEL:*:*)
+ echo nse-tandem-nsk${UNAME_RELEASE}
+ exit ;;
+ NSR-?:NONSTOP_KERNEL:*:*)
+ echo nsr-tandem-nsk${UNAME_RELEASE}
+ exit ;;
+ *:NonStop-UX:*:*)
+ echo mips-compaq-nonstopux
+ exit ;;
+ BS2000:POSIX*:*:*)
+ echo bs2000-siemens-sysv
+ exit ;;
+ DS/*:UNIX_System_V:*:*)
+ echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
+ exit ;;
+ *:Plan9:*:*)
+ # "uname -m" is not consistent, so use $cputype instead. 386
+ # is converted to i386 for consistency with other x86
+ # operating systems.
+ if test "$cputype" = "386"; then
+ UNAME_MACHINE=i386
+ else
+ UNAME_MACHINE="$cputype"
+ fi
+ echo ${UNAME_MACHINE}-unknown-plan9
+ exit ;;
+ *:TOPS-10:*:*)
+ echo pdp10-unknown-tops10
+ exit ;;
+ *:TENEX:*:*)
+ echo pdp10-unknown-tenex
+ exit ;;
+ KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
+ echo pdp10-dec-tops20
+ exit ;;
+ XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
+ echo pdp10-xkl-tops20
+ exit ;;
+ *:TOPS-20:*:*)
+ echo pdp10-unknown-tops20
+ exit ;;
+ *:ITS:*:*)
+ echo pdp10-unknown-its
+ exit ;;
+ SEI:*:*:SEIUX)
+ echo mips-sei-seiux${UNAME_RELEASE}
+ exit ;;
+ *:DragonFly:*:*)
+ echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+ exit ;;
+ *:*VMS:*:*)
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
+ case "${UNAME_MACHINE}" in
+ A*) echo alpha-dec-vms ; exit ;;
+ I*) echo ia64-dec-vms ; exit ;;
+ V*) echo vax-dec-vms ; exit ;;
+ esac ;;
+ *:XENIX:*:SysV)
+ echo i386-pc-xenix
+ exit ;;
+ i*86:skyos:*:*)
+ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
+ exit ;;
+esac
+
+#echo '(No uname command or uname output not recognized.)' 1>&2
+#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
+
+eval $set_cc_for_build
+cat >$dummy.c <<EOF
+#ifdef _SEQUENT_
+# include <sys/types.h>
+# include <sys/utsname.h>
+#endif
+main ()
+{
+#if defined (sony)
+#if defined (MIPSEB)
+ /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
+ I don't know.... */
+ printf ("mips-sony-bsd\n"); exit (0);
+#else
+#include <sys/param.h>
+ printf ("m68k-sony-newsos%s\n",
+#ifdef NEWSOS4
+ "4"
+#else
+ ""
+#endif
+ ); exit (0);
+#endif
+#endif
+
+#if defined (__arm) && defined (__acorn) && defined (__unix)
+ printf ("arm-acorn-riscix\n"); exit (0);
+#endif
+
+#if defined (hp300) && !defined (hpux)
+ printf ("m68k-hp-bsd\n"); exit (0);
+#endif
+
+#if defined (NeXT)
+#if !defined (__ARCHITECTURE__)
+#define __ARCHITECTURE__ "m68k"
+#endif
+ int version;
+ version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
+ if (version < 4)
+ printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
+ else
+ printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
+ exit (0);
+#endif
+
+#if defined (MULTIMAX) || defined (n16)
+#if defined (UMAXV)
+ printf ("ns32k-encore-sysv\n"); exit (0);
+#else
+#if defined (CMU)
+ printf ("ns32k-encore-mach\n"); exit (0);
+#else
+ printf ("ns32k-encore-bsd\n"); exit (0);
+#endif
+#endif
+#endif
+
+#if defined (__386BSD__)
+ printf ("i386-pc-bsd\n"); exit (0);
+#endif
+
+#if defined (sequent)
+#if defined (i386)
+ printf ("i386-sequent-dynix\n"); exit (0);
+#endif
+#if defined (ns32000)
+ printf ("ns32k-sequent-dynix\n"); exit (0);
+#endif
+#endif
+
+#if defined (_SEQUENT_)
+ struct utsname un;
+
+ uname(&un);
+
+ if (strncmp(un.version, "V2", 2) == 0) {
+ printf ("i386-sequent-ptx2\n"); exit (0);
+ }
+ if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
+ printf ("i386-sequent-ptx1\n"); exit (0);
+ }
+ printf ("i386-sequent-ptx\n"); exit (0);
+
+#endif
+
+#if defined (vax)
+# if !defined (ultrix)
+# include <sys/param.h>
+# if defined (BSD)
+# if BSD == 43
+ printf ("vax-dec-bsd4.3\n"); exit (0);
+# else
+# if BSD == 199006
+ printf ("vax-dec-bsd4.3reno\n"); exit (0);
+# else
+ printf ("vax-dec-bsd\n"); exit (0);
+# endif
+# endif
+# else
+ printf ("vax-dec-bsd\n"); exit (0);
+# endif
+# else
+ printf ("vax-dec-ultrix\n"); exit (0);
+# endif
+#endif
+
+#if defined (alliant) && defined (i860)
+ printf ("i860-alliant-bsd\n"); exit (0);
+#endif
+
+ exit (1);
+}
+EOF
+
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
+ { echo "$SYSTEM_NAME"; exit; }
+
+# Apollos put the system type in the environment.
+
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
+
+# Convex versions that predate uname can use getsysinfo(1)
+
+if [ -x /usr/convex/getsysinfo ]
+then
+ case `getsysinfo -f cpu_type` in
+ c1*)
+ echo c1-convex-bsd
+ exit ;;
+ c2*)
+ if getsysinfo -f scalar_acc
+ then echo c32-convex-bsd
+ else echo c2-convex-bsd
+ fi
+ exit ;;
+ c34*)
+ echo c34-convex-bsd
+ exit ;;
+ c38*)
+ echo c38-convex-bsd
+ exit ;;
+ c4*)
+ echo c4-convex-bsd
+ exit ;;
+ esac
+fi
+
+cat >&2 <<EOF
+$0: unable to guess system type
+
+This script, last modified $timestamp, has failed to recognize
+the operating system you are using. It is advised that you
+download the most up to date version of the config scripts from
+
+ http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
+and
+ http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
+
+If the version you run ($0) is already up to date, please
+send the following data and any information you think might be
+pertinent to <config-patches at gnu.org> in order to provide the needed
+information to handle your system.
+
+config.guess timestamp = $timestamp
+
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
+
+hostinfo = `(hostinfo) 2>/dev/null`
+/bin/universe = `(/bin/universe) 2>/dev/null`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
+/bin/arch = `(/bin/arch) 2>/dev/null`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
+
+UNAME_MACHINE = ${UNAME_MACHINE}
+UNAME_RELEASE = ${UNAME_RELEASE}
+UNAME_SYSTEM = ${UNAME_SYSTEM}
+UNAME_VERSION = ${UNAME_VERSION}
+EOF
+
+exit 1
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "timestamp='"
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "'"
+# End:
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/admin/config.guess
___________________________________________________________________
Name: svn:executable
+
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/config.pl
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/config.pl (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/config.pl 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,238 @@
+#!/usr/bin/env perl
+# a script for use by autoconf to make the Makefiles
+# from the Makefile.in's
+#
+# the original autoconf mechanism first splits all substitutions into groups
+# of ca. 90, and than invokes sed for _every_ Makefile.in and every group
+# (so around 2-3 times per Makefile.in). So this takes forever, as sed
+# has to recompile the regexps every time.
+#
+# this script does better. It changes all Makefile.ins in one process.
+# in kdelibs the time for building Makefile went down from 2:59 min to 13 sec!
+#
+# written by Michael Matz <matz at kde.org>
+# adapted by Dirk Mueller <mueller at 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., 51 Franklin Street, Fifth Floor,
+# Boston, MA 02110-1301, USA.
+
+use strict;
+
+use File::Path;
+
+my $ac_subs=$ARGV[0];
+my $ac_sacfiles = $ARGV[1];
+my $ac_given_srcdir=$ARGV[2];
+my $ac_given_INSTALL=$ARGV[3];
+
+my @comp_match;
+my @comp_subs;
+
+#print "ac_subs=$ac_subs\n";
+#print "ac_sacfiles=$ac_sacfiles\n";
+#print "ac_given_srcdir=$ac_given_srcdir\n";
+#print "ac_given_INSTALL=$ac_given_INSTALL\n";
+
+my $configure_input;
+my ($srcdir, $top_srcdir);
+my $INSTALL;
+my $bad_perl = ($] < 5.005);
+my $created_file_count = 0;
+
+open(CF, "< $ac_subs") || die "can't open $ac_subs: $!";
+my @subs = <CF>;
+my $pat;
+close(CF);
+chomp @subs;
+ at comp_match=();
+ at comp_subs=();
+
+if ($bad_perl) {
+ print "Using perl older than version 5.005\n";
+ foreach $pat (@subs) {
+ if ( ($pat =~ m/s%([^%]*)%([^%]*)%g/ )
+ || ($pat =~ m/s%([^%]*)%([^%]*)%;t/ )
+ || ($pat =~ m/s,([^,]*),(.*),;t/)
+ || ($pat =~ m%s/([^/]*)/([^/]*)/g% )
+ || ($pat =~ m%s/([^/]*)/([^/]*)/;t% )
+ ) {
+ # form : s%bla%blubb%g
+ # or s%bla%blubb%;t t (autoconf > 2.13 and < 2.52 ?)
+ # or s,bla,blubb,;t t (autoconf 2.52)
+ my $srch = $1;
+ my $repl = $2;
+ $repl =~ s/\\(.)/$1/g;
+ push @comp_subs, make_closure($srch, $repl);
+
+ } elsif ( ($pat =~ /%([^%]*)%d/ )
+ || ($pat =~ m%/([^/]*)/d% )
+ ) {
+ push @comp_subs, make_closure($1, "");
+ } else {
+ die "Uhh. Malformed pattern in $ac_subs ($pat)"
+ unless ( $pat =~ /^\s*$/ ); # ignore white lines
+ }
+ }
+} else {
+ foreach $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_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") { mkpath "$ac_dir", 0, 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%.*/%%;
+ $configure_input="$ac_file. Generated from $fname by config.pl.";
+
+ 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);
+ ++$created_file_count;
+}
+
+print "config.pl: fast created $created_file_count file(s).\n";
+
+sub patch_file {
+ my ($outf, $infiles) = @_;
+ my $filedata;
+ my @infiles=split(' ', $infiles);
+ my $i=0;
+ my $name;
+
+ foreach $name (@infiles) {
+ if (open(CF, "< $name")) {
+ while (<CF>) {
+ $filedata .= $_;
+ }
+ close(CF);
+ } else {
+ print STDERR "can't open $name: $!"."\n";
+ }
+ }
+
+ $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) = @_;
+ my $ret = eval "return sub { my \$ref=shift; \$\$ref =~ s%\Q$pat\E%\Q$sub\E%g; }";
+ if ($@) {
+ print "can't create CODE: $@\n";
+ }
+ return $ret;
+}
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/config.sub
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/config.sub (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/config.sub 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,1575 @@
+#! /bin/sh
+# Configuration validation subroutine script.
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+
+timestamp='2005-07-01'
+
+# This file is (in principle) common to ALL GNU software.
+# The presence of a machine in this file suggests that SOME GNU software
+# can handle that machine. It does not imply ALL GNU software can.
+#
+# This file is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+# 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.
+
+
+# Please send patches to <config-patches at gnu.org>. Submit a context
+# diff and a properly formatted ChangeLog entry.
+#
+# Configuration subroutine to validate and canonicalize a configuration type.
+# Supply the specified configuration type as an argument.
+# If it is invalid, we print an error message on stderr and exit with code 1.
+# Otherwise, we print the canonical config type on stdout and succeed.
+
+# This file is supposed to be the same for all GNU packages
+# and recognize all the CPU types, system types and aliases
+# that are meaningful with *any* GNU software.
+# Each package is responsible for reporting which valid configurations
+# it does not support. The user should be able to distinguish
+# a failure to support a valid configuration from a meaningless
+# configuration.
+
+# The goal of this file is to map all the various variations of a given
+# machine specification into a single specification in the form:
+# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
+# or in some cases, the newer four-part form:
+# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
+# It is wrong to echo any other type of specification.
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION] CPU-MFR-OPSYS
+ $0 [OPTION] ALIAS
+
+Canonicalize a configuration name.
+
+Operation modes:
+ -h, --help print this help, then exit
+ -t, --time-stamp print date of last modification, then exit
+ -v, --version print version number, then exit
+
+Report bugs and patches to <config-patches at gnu.org>."
+
+version="\
+GNU config.sub ($timestamp)
+
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+ case $1 in
+ --time-stamp | --time* | -t )
+ echo "$timestamp" ; exit ;;
+ --version | -v )
+ echo "$version" ; exit ;;
+ --help | --h* | -h )
+ echo "$usage"; exit ;;
+ -- ) # Stop option processing
+ shift; break ;;
+ - ) # Use stdin as input.
+ break ;;
+ -* )
+ echo "$me: invalid option $1$help"
+ exit 1 ;;
+
+ *local*)
+ # First pass through any local machine types.
+ echo $1
+ exit ;;
+
+ * )
+ break ;;
+ esac
+done
+
+case $# in
+ 0) echo "$me: missing argument$help" >&2
+ exit 1;;
+ 1) ;;
+ *) echo "$me: too many arguments$help" >&2
+ exit 1;;
+esac
+
+# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
+# Here we must recognize all the valid KERNEL-OS combinations.
+maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+case $maybe_os in
+ nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
+ kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
+ os=-$maybe_os
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+ ;;
+ *)
+ basic_machine=`echo $1 | sed 's/-[^-]*$//'`
+ if [ $basic_machine != $1 ]
+ then os=`echo $1 | sed 's/.*-/-/'`
+ else os=; fi
+ ;;
+esac
+
+### Let's recognize common machines as not being operating systems so
+### that things like config.sub decstation-3100 work. We also
+### recognize some manufacturers as not being operating systems, so we
+### can provide default operating systems below.
+case $os in
+ -sun*os*)
+ # Prevent following clause from handling this invalid input.
+ ;;
+ -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
+ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
+ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
+ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
+ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
+ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
+ -apple | -axis | -knuth | -cray)
+ os=
+ basic_machine=$1
+ ;;
+ -sim | -cisco | -oki | -wec | -winbond)
+ os=
+ basic_machine=$1
+ ;;
+ -scout)
+ ;;
+ -wrs)
+ os=-vxworks
+ basic_machine=$1
+ ;;
+ -chorusos*)
+ os=-chorusos
+ basic_machine=$1
+ ;;
+ -chorusrdb)
+ os=-chorusrdb
+ basic_machine=$1
+ ;;
+ -hiux*)
+ os=-hiuxwe2
+ ;;
+ -sco5)
+ os=-sco3.2v5
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco4)
+ os=-sco3.2v4
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco3.2.[4-9]*)
+ os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco3.2v[4-9]*)
+ # Don't forget version if it is 3.2v4 or newer.
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -sco*)
+ os=-sco3.2v2
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -udk*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -isc)
+ os=-isc2.2
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -clix*)
+ basic_machine=clipper-intergraph
+ ;;
+ -isc*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
+ -lynx*)
+ os=-lynxos
+ ;;
+ -ptx*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
+ ;;
+ -windowsnt*)
+ os=`echo $os | sed -e 's/windowsnt/winnt/'`
+ ;;
+ -psos*)
+ os=-psos
+ ;;
+ -mint | -mint[0-9]*)
+ basic_machine=m68k-atari
+ os=-mint
+ ;;
+esac
+
+# Decode aliases for certain CPU-COMPANY combinations.
+case $basic_machine in
+ # Recognize the basic CPU types without company name.
+ # Some are omitted here because they have special meanings below.
+ 1750a | 580 \
+ | a29k \
+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
+ | am33_2.0 \
+ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
+ | bfin \
+ | c4x | clipper \
+ | d10v | d30v | dlx | dsp16xx \
+ | fr30 | frv \
+ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
+ | i370 | i860 | i960 | ia64 \
+ | ip2k | iq2000 \
+ | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
+ | mips | mipsbe | mipseb | mipsel | mipsle \
+ | mips16 \
+ | mips64 | mips64el \
+ | mips64vr | mips64vrel \
+ | mips64orion | mips64orionel \
+ | mips64vr4100 | mips64vr4100el \
+ | mips64vr4300 | mips64vr4300el \
+ | mips64vr5000 | mips64vr5000el \
+ | mips64vr5900 | mips64vr5900el \
+ | mipsisa32 | mipsisa32el \
+ | mipsisa32r2 | mipsisa32r2el \
+ | mipsisa64 | mipsisa64el \
+ | mipsisa64r2 | mipsisa64r2el \
+ | mipsisa64sb1 | mipsisa64sb1el \
+ | mipsisa64sr71k | mipsisa64sr71kel \
+ | mipstx39 | mipstx39el \
+ | mn10200 | mn10300 \
+ | ms1 \
+ | msp430 \
+ | ns16k | ns32k \
+ | or32 \
+ | pdp10 | pdp11 | pj | pjl \
+ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
+ | pyramid \
+ | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
+ | sh64 | sh64le \
+ | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
+ | sparcv8 | sparcv9 | sparcv9b \
+ | strongarm \
+ | tahoe | thumb | tic4x | tic80 | tron \
+ | v850 | v850e \
+ | we32k \
+ | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
+ | z8k)
+ basic_machine=$basic_machine-unknown
+ ;;
+ m32c)
+ basic_machine=$basic_machine-unknown
+ ;;
+ m6811 | m68hc11 | m6812 | m68hc12)
+ # Motorola 68HC11/12.
+ basic_machine=$basic_machine-unknown
+ os=-none
+ ;;
+ m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
+ ;;
+
+ # We use `pc' rather than `unknown'
+ # because (1) that's what they normally are, and
+ # (2) the word "unknown" tends to confuse beginning users.
+ i*86 | x86_64)
+ basic_machine=$basic_machine-pc
+ ;;
+ # Object if more than one company name word.
+ *-*-*)
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ exit 1
+ ;;
+ # Recognize the basic CPU types with company name.
+ 580-* \
+ | a29k-* \
+ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
+ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
+ | avr-* \
+ | bfin-* | bs2000-* \
+ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
+ | clipper-* | craynv-* | cydra-* \
+ | d10v-* | d30v-* | dlx-* \
+ | elxsi-* \
+ | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
+ | h8300-* | h8500-* \
+ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
+ | i*86-* | i860-* | i960-* | ia64-* \
+ | ip2k-* | iq2000-* \
+ | m32r-* | m32rle-* \
+ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
+ | m88110-* | m88k-* | maxq-* | mcore-* \
+ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
+ | mips16-* \
+ | mips64-* | mips64el-* \
+ | mips64vr-* | mips64vrel-* \
+ | mips64orion-* | mips64orionel-* \
+ | mips64vr4100-* | mips64vr4100el-* \
+ | mips64vr4300-* | mips64vr4300el-* \
+ | mips64vr5000-* | mips64vr5000el-* \
+ | mips64vr5900-* | mips64vr5900el-* \
+ | mipsisa32-* | mipsisa32el-* \
+ | mipsisa32r2-* | mipsisa32r2el-* \
+ | mipsisa64-* | mipsisa64el-* \
+ | mipsisa64r2-* | mipsisa64r2el-* \
+ | mipsisa64sb1-* | mipsisa64sb1el-* \
+ | mipsisa64sr71k-* | mipsisa64sr71kel-* \
+ | mipstx39-* | mipstx39el-* \
+ | mmix-* \
+ | ms1-* \
+ | msp430-* \
+ | none-* | np1-* | ns16k-* | ns32k-* \
+ | orion-* \
+ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
+ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
+ | pyramid-* \
+ | romp-* | rs6000-* \
+ | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
+ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
+ | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
+ | sparclite-* \
+ | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
+ | tahoe-* | thumb-* \
+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
+ | tron-* \
+ | v850-* | v850e-* | vax-* \
+ | we32k-* \
+ | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
+ | xstormy16-* | xtensa-* \
+ | ymp-* \
+ | z8k-*)
+ ;;
+ m32c-*)
+ ;;
+ # Recognize the various machine names and aliases which stand
+ # for a CPU type and a company and sometimes even an OS.
+ 386bsd)
+ basic_machine=i386-unknown
+ os=-bsd
+ ;;
+ 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
+ basic_machine=m68000-att
+ ;;
+ 3b*)
+ basic_machine=we32k-att
+ ;;
+ a29khif)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ abacus)
+ basic_machine=abacus-unknown
+ ;;
+ adobe68k)
+ basic_machine=m68010-adobe
+ os=-scout
+ ;;
+ alliant | fx80)
+ basic_machine=fx80-alliant
+ ;;
+ altos | altos3068)
+ basic_machine=m68k-altos
+ ;;
+ am29k)
+ basic_machine=a29k-none
+ os=-bsd
+ ;;
+ amd64)
+ basic_machine=x86_64-pc
+ ;;
+ amd64-*)
+ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ amdahl)
+ basic_machine=580-amdahl
+ os=-sysv
+ ;;
+ amiga | amiga-*)
+ basic_machine=m68k-unknown
+ ;;
+ amigaos | amigados)
+ basic_machine=m68k-unknown
+ os=-amigaos
+ ;;
+ amigaunix | amix)
+ basic_machine=m68k-unknown
+ os=-sysv4
+ ;;
+ apollo68)
+ basic_machine=m68k-apollo
+ os=-sysv
+ ;;
+ apollo68bsd)
+ basic_machine=m68k-apollo
+ os=-bsd
+ ;;
+ aux)
+ basic_machine=m68k-apple
+ os=-aux
+ ;;
+ balance)
+ basic_machine=ns32k-sequent
+ os=-dynix
+ ;;
+ c90)
+ basic_machine=c90-cray
+ os=-unicos
+ ;;
+ convex-c1)
+ basic_machine=c1-convex
+ os=-bsd
+ ;;
+ convex-c2)
+ basic_machine=c2-convex
+ os=-bsd
+ ;;
+ convex-c32)
+ basic_machine=c32-convex
+ os=-bsd
+ ;;
+ convex-c34)
+ basic_machine=c34-convex
+ os=-bsd
+ ;;
+ convex-c38)
+ basic_machine=c38-convex
+ os=-bsd
+ ;;
+ cray | j90)
+ basic_machine=j90-cray
+ os=-unicos
+ ;;
+ craynv)
+ basic_machine=craynv-cray
+ os=-unicosmp
+ ;;
+ cr16c)
+ basic_machine=cr16c-unknown
+ os=-elf
+ ;;
+ crds | unos)
+ basic_machine=m68k-crds
+ ;;
+ crisv32 | crisv32-* | etraxfs*)
+ basic_machine=crisv32-axis
+ ;;
+ cris | cris-* | etrax*)
+ basic_machine=cris-axis
+ ;;
+ crx)
+ basic_machine=crx-unknown
+ os=-elf
+ ;;
+ da30 | da30-*)
+ basic_machine=m68k-da30
+ ;;
+ decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
+ basic_machine=mips-dec
+ ;;
+ decsystem10* | dec10*)
+ basic_machine=pdp10-dec
+ os=-tops10
+ ;;
+ decsystem20* | dec20*)
+ basic_machine=pdp10-dec
+ os=-tops20
+ ;;
+ delta | 3300 | motorola-3300 | motorola-delta \
+ | 3300-motorola | delta-motorola)
+ basic_machine=m68k-motorola
+ ;;
+ delta88)
+ basic_machine=m88k-motorola
+ os=-sysv3
+ ;;
+ djgpp)
+ basic_machine=i586-pc
+ os=-msdosdjgpp
+ ;;
+ dpx20 | dpx20-*)
+ basic_machine=rs6000-bull
+ os=-bosx
+ ;;
+ dpx2* | dpx2*-bull)
+ basic_machine=m68k-bull
+ os=-sysv3
+ ;;
+ ebmon29k)
+ basic_machine=a29k-amd
+ os=-ebmon
+ ;;
+ elxsi)
+ basic_machine=elxsi-elxsi
+ os=-bsd
+ ;;
+ encore | umax | mmax)
+ basic_machine=ns32k-encore
+ ;;
+ es1800 | OSE68k | ose68k | ose | OSE)
+ basic_machine=m68k-ericsson
+ os=-ose
+ ;;
+ fx2800)
+ basic_machine=i860-alliant
+ ;;
+ genix)
+ basic_machine=ns32k-ns
+ ;;
+ gmicro)
+ basic_machine=tron-gmicro
+ os=-sysv
+ ;;
+ go32)
+ basic_machine=i386-pc
+ os=-go32
+ ;;
+ h3050r* | hiux*)
+ basic_machine=hppa1.1-hitachi
+ os=-hiuxwe2
+ ;;
+ h8300hms)
+ basic_machine=h8300-hitachi
+ os=-hms
+ ;;
+ h8300xray)
+ basic_machine=h8300-hitachi
+ os=-xray
+ ;;
+ h8500hms)
+ basic_machine=h8500-hitachi
+ os=-hms
+ ;;
+ harris)
+ basic_machine=m88k-harris
+ os=-sysv3
+ ;;
+ hp300-*)
+ basic_machine=m68k-hp
+ ;;
+ hp300bsd)
+ basic_machine=m68k-hp
+ os=-bsd
+ ;;
+ hp300hpux)
+ basic_machine=m68k-hp
+ os=-hpux
+ ;;
+ hp3k9[0-9][0-9] | hp9[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hp9k2[0-9][0-9] | hp9k31[0-9])
+ basic_machine=m68000-hp
+ ;;
+ hp9k3[2-9][0-9])
+ basic_machine=m68k-hp
+ ;;
+ hp9k6[0-9][0-9] | hp6[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hp9k7[0-79][0-9] | hp7[0-79][0-9])
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k78[0-9] | hp78[0-9])
+ # FIXME: really hppa2.0-hp
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
+ # FIXME: really hppa2.0-hp
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[0-9][13679] | hp8[0-9][13679])
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[0-9][0-9] | hp8[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hppa-next)
+ os=-nextstep3
+ ;;
+ hppaosf)
+ basic_machine=hppa1.1-hp
+ os=-osf
+ ;;
+ hppro)
+ basic_machine=hppa1.1-hp
+ os=-proelf
+ ;;
+ i370-ibm* | ibm*)
+ basic_machine=i370-ibm
+ ;;
+# I'm not sure what "Sysv32" means. Should this be sysv3.2?
+ i*86v32)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv32
+ ;;
+ i*86v4*)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv4
+ ;;
+ i*86v)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv
+ ;;
+ i*86sol2)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-solaris2
+ ;;
+ i386mach)
+ basic_machine=i386-mach
+ os=-mach
+ ;;
+ i386-vsta | vsta)
+ basic_machine=i386-unknown
+ os=-vsta
+ ;;
+ iris | iris4d)
+ basic_machine=mips-sgi
+ case $os in
+ -irix*)
+ ;;
+ *)
+ os=-irix4
+ ;;
+ esac
+ ;;
+ isi68 | isi)
+ basic_machine=m68k-isi
+ os=-sysv
+ ;;
+ m88k-omron*)
+ basic_machine=m88k-omron
+ ;;
+ magnum | m3230)
+ basic_machine=mips-mips
+ os=-sysv
+ ;;
+ merlin)
+ basic_machine=ns32k-utek
+ os=-sysv
+ ;;
+ mingw32)
+ basic_machine=i386-pc
+ os=-mingw32
+ ;;
+ miniframe)
+ basic_machine=m68000-convergent
+ ;;
+ *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
+ basic_machine=m68k-atari
+ os=-mint
+ ;;
+ mips3*-*)
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
+ ;;
+ mips3*)
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
+ ;;
+ monitor)
+ basic_machine=m68k-rom68k
+ os=-coff
+ ;;
+ morphos)
+ basic_machine=powerpc-unknown
+ os=-morphos
+ ;;
+ msdos)
+ basic_machine=i386-pc
+ os=-msdos
+ ;;
+ mvs)
+ basic_machine=i370-ibm
+ os=-mvs
+ ;;
+ ncr3000)
+ basic_machine=i486-ncr
+ os=-sysv4
+ ;;
+ netbsd386)
+ basic_machine=i386-unknown
+ os=-netbsd
+ ;;
+ netwinder)
+ basic_machine=armv4l-rebel
+ os=-linux
+ ;;
+ news | news700 | news800 | news900)
+ basic_machine=m68k-sony
+ os=-newsos
+ ;;
+ news1000)
+ basic_machine=m68030-sony
+ os=-newsos
+ ;;
+ news-3600 | risc-news)
+ basic_machine=mips-sony
+ os=-newsos
+ ;;
+ necv70)
+ basic_machine=v70-nec
+ os=-sysv
+ ;;
+ next | m*-next )
+ basic_machine=m68k-next
+ case $os in
+ -nextstep* )
+ ;;
+ -ns2*)
+ os=-nextstep2
+ ;;
+ *)
+ os=-nextstep3
+ ;;
+ esac
+ ;;
+ nh3000)
+ basic_machine=m68k-harris
+ os=-cxux
+ ;;
+ nh[45]000)
+ basic_machine=m88k-harris
+ os=-cxux
+ ;;
+ nindy960)
+ basic_machine=i960-intel
+ os=-nindy
+ ;;
+ mon960)
+ basic_machine=i960-intel
+ os=-mon960
+ ;;
+ nonstopux)
+ basic_machine=mips-compaq
+ os=-nonstopux
+ ;;
+ np1)
+ basic_machine=np1-gould
+ ;;
+ nsr-tandem)
+ basic_machine=nsr-tandem
+ ;;
+ op50n-* | op60c-*)
+ basic_machine=hppa1.1-oki
+ os=-proelf
+ ;;
+ openrisc | openrisc-*)
+ basic_machine=or32-unknown
+ ;;
+ os400)
+ basic_machine=powerpc-ibm
+ os=-os400
+ ;;
+ OSE68000 | ose68000)
+ basic_machine=m68000-ericsson
+ os=-ose
+ ;;
+ os68k)
+ basic_machine=m68k-none
+ os=-os68k
+ ;;
+ pa-hitachi)
+ basic_machine=hppa1.1-hitachi
+ os=-hiuxwe2
+ ;;
+ paragon)
+ basic_machine=i860-intel
+ os=-osf
+ ;;
+ pbd)
+ basic_machine=sparc-tti
+ ;;
+ pbb)
+ basic_machine=m68k-tti
+ ;;
+ pc532 | pc532-*)
+ basic_machine=ns32k-pc532
+ ;;
+ pentium | p5 | k5 | k6 | nexgen | viac3)
+ basic_machine=i586-pc
+ ;;
+ pentiumpro | p6 | 6x86 | athlon | athlon_*)
+ basic_machine=i686-pc
+ ;;
+ pentiumii | pentium2 | pentiumiii | pentium3)
+ basic_machine=i686-pc
+ ;;
+ pentium4)
+ basic_machine=i786-pc
+ ;;
+ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
+ basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentiumpro-* | p6-* | 6x86-* | athlon-*)
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentium4-*)
+ basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pn)
+ basic_machine=pn-gould
+ ;;
+ power) basic_machine=power-ibm
+ ;;
+ ppc) basic_machine=powerpc-unknown
+ ;;
+ ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppcle | powerpclittle | ppc-le | powerpc-little)
+ basic_machine=powerpcle-unknown
+ ;;
+ ppcle-* | powerpclittle-*)
+ basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppc64) basic_machine=powerpc64-unknown
+ ;;
+ ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppc64le | powerpc64little | ppc64-le | powerpc64-little)
+ basic_machine=powerpc64le-unknown
+ ;;
+ ppc64le-* | powerpc64little-*)
+ basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ps2)
+ basic_machine=i386-ibm
+ ;;
+ pw32)
+ basic_machine=i586-unknown
+ os=-pw32
+ ;;
+ rom68k)
+ basic_machine=m68k-rom68k
+ os=-coff
+ ;;
+ rm[46]00)
+ basic_machine=mips-siemens
+ ;;
+ rtpc | rtpc-*)
+ basic_machine=romp-ibm
+ ;;
+ s390 | s390-*)
+ basic_machine=s390-ibm
+ ;;
+ s390x | s390x-*)
+ basic_machine=s390x-ibm
+ ;;
+ sa29200)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ sb1)
+ basic_machine=mipsisa64sb1-unknown
+ ;;
+ sb1el)
+ basic_machine=mipsisa64sb1el-unknown
+ ;;
+ sei)
+ basic_machine=mips-sei
+ os=-seiux
+ ;;
+ sequent)
+ basic_machine=i386-sequent
+ ;;
+ sh)
+ basic_machine=sh-hitachi
+ os=-hms
+ ;;
+ sh64)
+ basic_machine=sh64-unknown
+ ;;
+ sparclite-wrs | simso-wrs)
+ basic_machine=sparclite-wrs
+ os=-vxworks
+ ;;
+ sps7)
+ basic_machine=m68k-bull
+ os=-sysv2
+ ;;
+ spur)
+ basic_machine=spur-unknown
+ ;;
+ st2000)
+ basic_machine=m68k-tandem
+ ;;
+ stratus)
+ basic_machine=i860-stratus
+ os=-sysv4
+ ;;
+ sun2)
+ basic_machine=m68000-sun
+ ;;
+ sun2os3)
+ basic_machine=m68000-sun
+ os=-sunos3
+ ;;
+ sun2os4)
+ basic_machine=m68000-sun
+ os=-sunos4
+ ;;
+ sun3os3)
+ basic_machine=m68k-sun
+ os=-sunos3
+ ;;
+ sun3os4)
+ basic_machine=m68k-sun
+ os=-sunos4
+ ;;
+ sun4os3)
+ basic_machine=sparc-sun
+ os=-sunos3
+ ;;
+ sun4os4)
+ basic_machine=sparc-sun
+ os=-sunos4
+ ;;
+ sun4sol2)
+ basic_machine=sparc-sun
+ os=-solaris2
+ ;;
+ sun3 | sun3-*)
+ basic_machine=m68k-sun
+ ;;
+ sun4)
+ basic_machine=sparc-sun
+ ;;
+ sun386 | sun386i | roadrunner)
+ basic_machine=i386-sun
+ ;;
+ sv1)
+ basic_machine=sv1-cray
+ os=-unicos
+ ;;
+ symmetry)
+ basic_machine=i386-sequent
+ os=-dynix
+ ;;
+ t3e)
+ basic_machine=alphaev5-cray
+ os=-unicos
+ ;;
+ t90)
+ basic_machine=t90-cray
+ os=-unicos
+ ;;
+ tic54x | c54x*)
+ basic_machine=tic54x-unknown
+ os=-coff
+ ;;
+ tic55x | c55x*)
+ basic_machine=tic55x-unknown
+ os=-coff
+ ;;
+ tic6x | c6x*)
+ basic_machine=tic6x-unknown
+ os=-coff
+ ;;
+ tx39)
+ basic_machine=mipstx39-unknown
+ ;;
+ tx39el)
+ basic_machine=mipstx39el-unknown
+ ;;
+ toad1)
+ basic_machine=pdp10-xkl
+ os=-tops20
+ ;;
+ tower | tower-32)
+ basic_machine=m68k-ncr
+ ;;
+ tpf)
+ basic_machine=s390x-ibm
+ os=-tpf
+ ;;
+ udi29k)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ ultra3)
+ basic_machine=a29k-nyu
+ os=-sym1
+ ;;
+ v810 | necv810)
+ basic_machine=v810-nec
+ os=-none
+ ;;
+ vaxv)
+ basic_machine=vax-dec
+ os=-sysv
+ ;;
+ vms)
+ basic_machine=vax-dec
+ os=-vms
+ ;;
+ vpp*|vx|vx-*)
+ basic_machine=f301-fujitsu
+ ;;
+ vxworks960)
+ basic_machine=i960-wrs
+ os=-vxworks
+ ;;
+ vxworks68)
+ basic_machine=m68k-wrs
+ os=-vxworks
+ ;;
+ vxworks29k)
+ basic_machine=a29k-wrs
+ os=-vxworks
+ ;;
+ w65*)
+ basic_machine=w65-wdc
+ os=-none
+ ;;
+ w89k-*)
+ basic_machine=hppa1.1-winbond
+ os=-proelf
+ ;;
+ xbox)
+ basic_machine=i686-pc
+ os=-mingw32
+ ;;
+ xps | xps100)
+ basic_machine=xps100-honeywell
+ ;;
+ ymp)
+ basic_machine=ymp-cray
+ os=-unicos
+ ;;
+ z8k-*-coff)
+ basic_machine=z8k-unknown
+ os=-sim
+ ;;
+ none)
+ basic_machine=none-none
+ os=-none
+ ;;
+
+# Here we handle the default manufacturer of certain CPU types. It is in
+# some cases the only manufacturer, in others, it is the most popular.
+ w89k)
+ basic_machine=hppa1.1-winbond
+ ;;
+ op50n)
+ basic_machine=hppa1.1-oki
+ ;;
+ op60c)
+ basic_machine=hppa1.1-oki
+ ;;
+ romp)
+ basic_machine=romp-ibm
+ ;;
+ mmix)
+ basic_machine=mmix-knuth
+ ;;
+ rs6000)
+ basic_machine=rs6000-ibm
+ ;;
+ vax)
+ basic_machine=vax-dec
+ ;;
+ pdp10)
+ # there are many clones, so DEC is not a safe bet
+ basic_machine=pdp10-unknown
+ ;;
+ pdp11)
+ basic_machine=pdp11-dec
+ ;;
+ we32k)
+ basic_machine=we32k-att
+ ;;
+ sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
+ basic_machine=sh-unknown
+ ;;
+ sparc | sparcv8 | sparcv9 | sparcv9b)
+ basic_machine=sparc-sun
+ ;;
+ cydra)
+ basic_machine=cydra-cydrome
+ ;;
+ orion)
+ basic_machine=orion-highlevel
+ ;;
+ orion105)
+ basic_machine=clipper-highlevel
+ ;;
+ mac | mpw | mac-mpw)
+ basic_machine=m68k-apple
+ ;;
+ pmac | pmac-mpw)
+ basic_machine=powerpc-apple
+ ;;
+ *-unknown)
+ # Make sure to match an already-canonicalized machine name.
+ ;;
+ *)
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ exit 1
+ ;;
+esac
+
+# Here we canonicalize certain aliases for manufacturers.
+case $basic_machine in
+ *-digital*)
+ basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
+ ;;
+ *-commodore*)
+ basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
+ ;;
+ *)
+ ;;
+esac
+
+# Decode manufacturer-specific aliases for certain operating systems.
+
+if [ x"$os" != x"" ]
+then
+case $os in
+ # First match some system type aliases
+ # that might get confused with valid system types.
+ # -solaris* is a basic system type, with this one exception.
+ -solaris1 | -solaris1.*)
+ os=`echo $os | sed -e 's|solaris1|sunos4|'`
+ ;;
+ -solaris)
+ os=-solaris2
+ ;;
+ -svr4*)
+ os=-sysv4
+ ;;
+ -unixware*)
+ os=-sysv4.2uw
+ ;;
+ -gnu/linux*)
+ os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
+ ;;
+ # First accept the basic system types.
+ # The portable systems comes first.
+ # Each alternative MUST END IN A *, to match a version number.
+ # -sysv* is not here because it comes later, after sysvr4.
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
+ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
+ | -aos* \
+ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
+ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
+ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
+ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+ | -chorusos* | -chorusrdb* \
+ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+ | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
+ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
+ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* | -skyos*)
+ # Remember, each alternative MUST END IN *, to match a version number.
+ ;;
+ -qnx*)
+ case $basic_machine in
+ x86-* | i*86-*)
+ ;;
+ *)
+ os=-nto$os
+ ;;
+ esac
+ ;;
+ -nto-qnx*)
+ ;;
+ -nto*)
+ os=`echo $os | sed -e 's|nto|nto-qnx|'`
+ ;;
+ -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
+ | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
+ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
+ ;;
+ -mac*)
+ os=`echo $os | sed -e 's|mac|macos|'`
+ ;;
+ -linux-dietlibc)
+ os=-linux-dietlibc
+ ;;
+ -linux*)
+ os=`echo $os | sed -e 's|linux|linux-gnu|'`
+ ;;
+ -sunos5*)
+ os=`echo $os | sed -e 's|sunos5|solaris2|'`
+ ;;
+ -sunos6*)
+ os=`echo $os | sed -e 's|sunos6|solaris3|'`
+ ;;
+ -opened*)
+ os=-openedition
+ ;;
+ -os400*)
+ os=-os400
+ ;;
+ -wince*)
+ os=-wince
+ ;;
+ -osfrose*)
+ os=-osfrose
+ ;;
+ -osf*)
+ os=-osf
+ ;;
+ -utek*)
+ os=-bsd
+ ;;
+ -dynix*)
+ os=-bsd
+ ;;
+ -acis*)
+ os=-aos
+ ;;
+ -atheos*)
+ os=-atheos
+ ;;
+ -syllable*)
+ os=-syllable
+ ;;
+ -386bsd)
+ os=-bsd
+ ;;
+ -ctix* | -uts*)
+ os=-sysv
+ ;;
+ -nova*)
+ os=-rtmk-nova
+ ;;
+ -ns2 )
+ os=-nextstep2
+ ;;
+ -nsk*)
+ os=-nsk
+ ;;
+ # Preserve the version number of sinix5.
+ -sinix5.*)
+ os=`echo $os | sed -e 's|sinix|sysv|'`
+ ;;
+ -sinix*)
+ os=-sysv4
+ ;;
+ -tpf*)
+ os=-tpf
+ ;;
+ -triton*)
+ os=-sysv3
+ ;;
+ -oss*)
+ os=-sysv3
+ ;;
+ -svr4)
+ os=-sysv4
+ ;;
+ -svr3)
+ os=-sysv3
+ ;;
+ -sysvr4)
+ os=-sysv4
+ ;;
+ # This must come after -sysvr4.
+ -sysv*)
+ ;;
+ -ose*)
+ os=-ose
+ ;;
+ -es1800*)
+ os=-ose
+ ;;
+ -xenix)
+ os=-xenix
+ ;;
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ os=-mint
+ ;;
+ -aros*)
+ os=-aros
+ ;;
+ -kaos*)
+ os=-kaos
+ ;;
+ -zvmoe)
+ os=-zvmoe
+ ;;
+ -none)
+ ;;
+ *)
+ # Get rid of the `-' at the beginning of $os.
+ os=`echo $os | sed 's/[^-]*-//'`
+ echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
+ exit 1
+ ;;
+esac
+else
+
+# Here we handle the default operating systems that come with various machines.
+# The value should be what the vendor currently ships out the door with their
+# machine or put another way, the most popular os provided with the machine.
+
+# Note that if you're going to try to match "-MANUFACTURER" here (say,
+# "-sun"), then you have to tell the case statement up towards the top
+# that MANUFACTURER isn't an operating system. Otherwise, code above
+# will signal an error saying that MANUFACTURER isn't an operating
+# system, and we'll never get to this point.
+
+case $basic_machine in
+ *-acorn)
+ os=-riscix1.2
+ ;;
+ arm*-rebel)
+ os=-linux
+ ;;
+ arm*-semi)
+ os=-aout
+ ;;
+ c4x-* | tic4x-*)
+ os=-coff
+ ;;
+ # This must come before the *-dec entry.
+ pdp10-*)
+ os=-tops20
+ ;;
+ pdp11-*)
+ os=-none
+ ;;
+ *-dec | vax-*)
+ os=-ultrix4.2
+ ;;
+ m68*-apollo)
+ os=-domain
+ ;;
+ i386-sun)
+ os=-sunos4.0.2
+ ;;
+ m68000-sun)
+ os=-sunos3
+ # This also exists in the configure program, but was not the
+ # default.
+ # os=-sunos4
+ ;;
+ m68*-cisco)
+ os=-aout
+ ;;
+ mips*-cisco)
+ os=-elf
+ ;;
+ mips*-*)
+ os=-elf
+ ;;
+ or32-*)
+ os=-coff
+ ;;
+ *-tti) # must be before sparc entry or we get the wrong os.
+ os=-sysv3
+ ;;
+ sparc-* | *-sun)
+ os=-sunos4.1.1
+ ;;
+ *-be)
+ os=-beos
+ ;;
+ *-ibm)
+ os=-aix
+ ;;
+ *-knuth)
+ os=-mmixware
+ ;;
+ *-wec)
+ os=-proelf
+ ;;
+ *-winbond)
+ os=-proelf
+ ;;
+ *-oki)
+ os=-proelf
+ ;;
+ *-hp)
+ os=-hpux
+ ;;
+ *-hitachi)
+ os=-hiux
+ ;;
+ i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
+ os=-sysv
+ ;;
+ *-cbm)
+ os=-amigaos
+ ;;
+ *-dg)
+ os=-dgux
+ ;;
+ *-dolphin)
+ os=-sysv3
+ ;;
+ m68k-ccur)
+ os=-rtu
+ ;;
+ m88k-omron*)
+ os=-luna
+ ;;
+ *-next )
+ os=-nextstep
+ ;;
+ *-sequent)
+ os=-ptx
+ ;;
+ *-crds)
+ os=-unos
+ ;;
+ *-ns)
+ os=-genix
+ ;;
+ i370-*)
+ os=-mvs
+ ;;
+ *-next)
+ os=-nextstep3
+ ;;
+ *-gould)
+ os=-sysv
+ ;;
+ *-highlevel)
+ os=-bsd
+ ;;
+ *-encore)
+ os=-bsd
+ ;;
+ *-sgi)
+ os=-irix
+ ;;
+ *-siemens)
+ os=-sysv4
+ ;;
+ *-masscomp)
+ os=-rtu
+ ;;
+ f30[01]-fujitsu | f700-fujitsu)
+ os=-uxpv
+ ;;
+ *-rom68k)
+ os=-coff
+ ;;
+ *-*bug)
+ os=-coff
+ ;;
+ *-apple)
+ os=-macos
+ ;;
+ *-atari*)
+ os=-mint
+ ;;
+ *)
+ os=-none
+ ;;
+esac
+fi
+
+# Here we handle the case where we know the os, and the CPU type, but not the
+# manufacturer. We pick the logical manufacturer.
+vendor=unknown
+case $basic_machine in
+ *-unknown)
+ case $os in
+ -riscix*)
+ vendor=acorn
+ ;;
+ -sunos*)
+ vendor=sun
+ ;;
+ -aix*)
+ vendor=ibm
+ ;;
+ -beos*)
+ vendor=be
+ ;;
+ -hpux*)
+ vendor=hp
+ ;;
+ -mpeix*)
+ vendor=hp
+ ;;
+ -hiux*)
+ vendor=hitachi
+ ;;
+ -unos*)
+ vendor=crds
+ ;;
+ -dgux*)
+ vendor=dg
+ ;;
+ -luna*)
+ vendor=omron
+ ;;
+ -genix*)
+ vendor=ns
+ ;;
+ -mvs* | -opened*)
+ vendor=ibm
+ ;;
+ -os400*)
+ vendor=ibm
+ ;;
+ -ptx*)
+ vendor=sequent
+ ;;
+ -tpf*)
+ vendor=ibm
+ ;;
+ -vxsim* | -vxworks* | -windiss*)
+ vendor=wrs
+ ;;
+ -aux*)
+ vendor=apple
+ ;;
+ -hms*)
+ vendor=hitachi
+ ;;
+ -mpw* | -macos*)
+ vendor=apple
+ ;;
+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+ vendor=atari
+ ;;
+ -vos*)
+ vendor=stratus
+ ;;
+ esac
+ basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
+ ;;
+esac
+
+echo $basic_machine$os
+exit
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "timestamp='"
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "'"
+# End:
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/admin/config.sub
___________________________________________________________________
Name: svn:executable
+
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/configure.in.bot.end
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/configure.in.bot.end (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/configure.in.bot.end 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,45 @@
+# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
+if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
+ # And if so, warn when they don't match
+ if test "$kde_libs_prefix" != "$given_prefix"; then
+ # And if kde doesn't know about the prefix yet
+ echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
+ if test $? -ne 0; then
+ echo ""
+ echo "Warning: you chose to install this package in $given_prefix,"
+ echo "but KDE was found in $kde_libs_prefix."
+ echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
+ echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
+ echo "Then restart KDE."
+ echo ""
+ fi
+ fi
+fi
+
+if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
+ echo ""
+ echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
+ echo "was not included. Therefore, GCC symbol visibility support remains disabled."
+ echo ""
+ echo "For better performance, consider including the Qt visibility supporting patch"
+ echo "located at:"
+ echo ""
+ echo "http://bugs.kde.org/show_bug.cgi?id=109386"
+ echo ""
+ echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
+ echo "everything will continue to work just fine without it."
+ echo ""
+fi
+
+if test "$all_tests" = "bad"; then
+ if test ! "$cache_file" = "/dev/null"; then
+ echo ""
+ echo "Please remove the file $cache_file after changing your setup"
+ echo "so that configure will find the changes next time."
+ echo ""
+ fi
+else
+ echo ""
+ echo "Good - your configure finished. Start make now"
+ echo ""
+fi
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/configure.in.min
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/configure.in.min (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/configure.in.min 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,57 @@
+dnl This file is part of the KDE libraries/packages
+dnl Copyright (C) 2001 Stephan Kulow (coolo at 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., 51 Franklin Street, Fifth Floor,
+dnl Boston, MA 02110-1301, USA.
+
+# Original Author was Kalle at 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
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/cvs.sh
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/cvs.sh (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/cvs.sh 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,661 @@
+#! /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.
+
+unset MAKEFLAGS
+
+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/; s,^#line.*LINENO.*\$,/* \$& */, ;" configure
+ fi
+}
+
+strip_makefile()
+{
+ if test ! -f $makefile_wo; then
+ perl -e '$in=0; while ( <> ) { $in = 1 if ($_ =~ m/^if / ); print $_ unless ($in || $_ =~ m/^include /); $in = 0 if ($_ =~ m/^endif/); }' < $makefile_am > $makefile_wo
+ fi
+}
+
+check_autotool_versions()
+{
+required_autoconf_version="2.53 or newer"
+AUTOCONF_VERSION=`$AUTOCONF --version | head -n 1`
+case $AUTOCONF_VERSION in
+ Autoconf*2.5* | autoconf*2.5* | autoconf*2.6* ) : ;;
+ "" )
+ echo "*** AUTOCONF NOT FOUND!."
+ echo "*** KDE requires autoconf $required_autoconf_version"
+ exit 1
+ ;;
+ * )
+ echo "*** YOU'RE USING $AUTOCONF_VERSION."
+ echo "*** KDE requires autoconf $required_autoconf_version"
+ exit 1
+ ;;
+esac
+
+AUTOHEADER_VERSION=`$AUTOHEADER --version | head -n 1`
+case $AUTOHEADER_VERSION in
+ Autoconf*2.5* | autoheader*2.5* | autoheader*2.6* ) : ;;
+ "" )
+ echo "*** AUTOHEADER NOT FOUND!."
+ echo "*** KDE requires autoheader $required_autoconf_version"
+ exit 1
+ ;;
+ * )
+ echo "*** YOU'RE USING $AUTOHEADER_VERSION."
+ echo "*** KDE requires autoheader $required_autoconf_version"
+ exit 1
+ ;;
+esac
+
+AUTOMAKE_STRING=`$AUTOMAKE --version | head -n 1`
+required_automake_version="1.6.1 or newer"
+case $AUTOMAKE_STRING in
+ automake*1.5d* | automake*1.5* | automake*1.5-* )
+ echo "*** YOU'RE USING $AUTOMAKE_STRING."
+ echo "*** KDE requires automake $required_automake_version"
+ exit 1
+ ;;
+ automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9* | automake*1.10*)
+ echo "*** $AUTOMAKE_STRING found."
+ UNSERMAKE=no
+ ;;
+ "" )
+ echo "*** AUTOMAKE NOT FOUND!."
+ echo "*** KDE requires automake $required_automake_version"
+ exit 1
+ ;;
+ *unsermake* ) :
+ echo "*** YOU'RE USING UNSERMAKE."
+ echo "*** GOOD LUCK!! :)"
+ UNSERMAKE=unsermake
+ ;;
+ * )
+ echo "*** YOU'RE USING $AUTOMAKE_STRING."
+ echo "*** KDE requires automake $required_automake_version"
+ exit 1
+ ;;
+esac
+unset required_automake_version
+}
+
+cvs()
+{
+check_autotool_versions
+acinclude_m4
+
+### 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 configure.in
+ echo "*** Creating list of subdirectories"
+ create_subdirs
+
+ if test -r Makefile.am.in; then
+ echo "*** Creating Makefile.am"
+ if grep '\$(top_srcdir)/Makefile.am:' $makefile_am >/dev/null; then
+ strip_makefile
+ $MAKE -f $makefile_wo top_srcdir=. ./Makefile.am || exit 1
+ else
+ Makefile_am
+ fi
+ fi
+ configure_files
+ echo "*** Creating configure.in"
+ if grep '\$(top_srcdir)/configure.in:' $makefile_am >/dev/null; then
+ strip_makefile
+ $MAKE -f $makefile_wo top_srcdir=. ./configure.in || exit 1
+ else
+ configure_in
+ fi
+fi
+
+echo "*** Creating aclocal.m4"
+$ACLOCAL $ACLOCALFLAGS || 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
+ touch config.h.in
+fi
+
+echo "*** Creating Makefile templates"
+$AUTOMAKE || exit 1
+
+if test "$UNSERMAKE" = no; then
+ echo "*** Postprocessing Makefile templates"
+ perl -w admin/am_edit || exit 1
+fi
+
+if egrep "^cvs-local:" $makefile_am >/dev/null; then \
+ strip_makefile
+ $MAKE -f $makefile_wo cvs-local top_srcdir=. || 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"
+###
+acinclude_m4
+if test -r configure.in.in; then
+ rm -f configure.in
+ create_subdirs
+
+ if test -r Makefile.am.in; then
+ if grep '\$(top_srcdir)/Makefile.am:' $makefile_am >/dev/null; then
+ strip_makefile
+ $MAKE -f $makefile_wo top_srcdir=. ./Makefile.am || exit 1
+ else
+ Makefile_am
+ fi
+ fi
+ configure_files
+ if grep '\$(top_srcdir)/configure.in:' $makefile_am >/dev/null; then
+ strip_makefile
+ $MAKE -f $makefile_wo top_srcdir=. ./configure.in || exit 1
+ else
+ configure_in
+ fi
+fi
+$ACLOCAL $ACLOCALFLAGS
+if egrep "^AM_CONFIG_HEADER" configure.in >/dev/null 2>&1; then
+ echo "*** Creating config.h template"
+ $AUTOHEADER || exit 1
+ touch config.h.in
+fi
+$AUTOMAKE --foreign || exit 1
+if test "$UNSERMAKE" = no; then
+ echo "*** Postprocessing Makefile templates"
+ perl -w admin/am_edit || exit 1
+fi
+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 top_srcdir=.
+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 top_srcdir=.
+fi
+}
+
+subdir_dist()
+{
+$ACLOCAL $ACLOCALFLAGS
+$AUTOHEADER
+touch config.h.in
+$AUTOMAKE
+AUTOMAKE_STRING=`$AUTOMAKE --version | head -n 1`
+case $AUTOMAKE_STRING in
+ *unsermake* ) :
+ ;;
+ *)
+ perl -w ../admin/am_edit --path=../admin
+esac
+call_and_fix_autoconf
+touch stamp-h.in
+}
+
+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; }
+list=`fgrep -v "configure.in.bot" < configure.files | fgrep -v "configure.in.mid"`
+: > configure.in.new
+for file in $list; do
+ echo "dnl =======================================================" >> configure.in.new
+ echo "dnl FILE: $file" >> configure.in.new
+ echo "dnl =======================================================" >> configure.in.new
+ echo "" >> configure.in.new
+ cat $file >> configure.in.new
+done
+echo "KDE_CREATE_SUBDIRSLIST" >> configure.in.new
+if test -f Makefile.am.in; then
+ subdirs=`cat subdirs`
+ for dir in $subdirs; do
+ vdir=`echo $dir | sed -e 's,[-+.@],_,g'`
+ echo "AM_CONDITIONAL($vdir""_SUBDIR_included, test \"x\$$vdir""_SUBDIR_included\" = xyes)" >> configure.in.new
+ if test -f "$dir/configure.in"; then
+ echo "if test \"x\$$vdir""_SUBDIR_included\" = xyes; then " >> configure.in.new
+ echo " AC_CONFIG_SUBDIRS($dir)" >> configure.in.new
+ echo "fi" >> configure.in.new
+ fi
+ done
+fi
+
+echo "AC_CONFIG_FILES([ Makefile ])" >> configure.in.new
+
+if test -f inst-apps; then
+ topleveldirs=`cat inst-apps`
+else
+ topleveldirs=
+ for dir in `ls -1d * | sort`; do
+ if test "$dir" != "debian" && test -d $dir; then
+ topleveldirs="$topleveldirs $dir"
+ fi
+ done
+fi
+
+for topleveldir in $topleveldirs; do
+ if test -f $topleveldir/configure.in; then
+ continue
+ fi
+ if test -f $topleveldir/Makefile.am; then :; else
+ continue
+ fi
+
+ mfs=`find $topleveldir -follow -name Makefile.am -print | fgrep -v "/." | \
+ sed -e 's#\./##; s#/Makefile.am$##' | sort | sed -e 's#$#/Makefile#'`
+ for i in $mfs; do
+ echo "AC_CONFIG_FILES([ $i ])" >> configure.in.new
+ done
+done
+
+files=`cat configure.files`
+list=`egrep '^dnl AC_OUTPUT\(.*\)' $files | sed -e "s#^.*dnl AC_OUTPUT(\(.*\))#\1#"`
+for file in $list; do
+ echo "AC_CONFIG_FILES([ $file ])" >> configure.in.new
+done
+
+midfiles=`cat configure.files | fgrep "configure.in.mid"`
+test -n "$midfiles" && cat $midfiles >> configure.in.new
+
+echo "AC_OUTPUT" >> configure.in.new
+modulename=
+if test -f configure.in.in; then
+ if head -n 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 -n 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 "$VERSION" || test "$VERSION" = "@VERSION@"; then
+ VERSION="\"3.5.8\""
+fi
+if test -z "$modulename" || test "$modulename" = "@MODULENAME@"; then
+ modulename=`pwd`;
+ modulename=`basename $modulename`
+ esc_VERSION=`echo $VERSION | sed -e "s#[^.0-9a-zA-Z]##g"`
+ modulename=`echo $modulename | sed -e "s#-$esc_VERSION##"`
+
+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
+cat $admindir/configure.in.bot.end >> configure.in
+rm -f configure.in.new
+}
+
+configure_files()
+{
+echo "*** Creating 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 -n 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
+# we collect files in the subdirs and do some sorting tricks, so subsubdirs come after subdirs
+if test -f inst-apps; then
+ inst=`cat inst-apps`
+ list=""
+ for i in $inst; do
+ list="$list `find $i/ -follow -name "configure.in.in" -o -name "configure.in.bot" -o -name "configure.in.mid" | \
+ sed -e "s,/configure,/aaaconfigure," | sort | sed -e "s,/aaaconfigure,/configure,"`"
+ done
+else
+ list=`find . -follow -name "configure.in.in" -o -name "configure.in.bot" -o -name "configure.in.mid" | \
+ sed -e "s,/configure,/aaaconfigure," | sort | sed -e "s,/aaaconfigure,/configure,"`
+fi
+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
+if test ! -s configure.files; then
+ echo "There are no files to build a configure. Please check your checkout."
+ exit 1
+fi
+}
+
+create_subdirs()
+{
+if grep '\$(top_srcdir)/subdirs:' $makefile_am >/dev/null; then
+ # as many modules contain rules to create subdirs without any
+ # dependencies make won't create it unless there is no file.
+ # so we check if that's a dummy rule or one that works
+ rm -f subdirs.cvs.sh.$$
+ if test -f subdirs; then
+ mv subdirs subdirs.cvs.sh.$$
+ fi
+ strip_makefile
+ $MAKE -f $makefile_wo top_srcdir=. ./subdirs || exit 1
+ if test -f subdirs.cvs.sh.$$; then
+ if test -s subdirs; then
+ rm subdirs.cvs.sh.$$
+ else
+ mv subdirs.cvs.sh.$$ subdirs
+ fi
+ fi
+else
+ subdirs
+fi
+}
+
+subdirs()
+{
+dirs=
+idirs=
+if test -f inst-apps; then
+ idirs=`cat inst-apps`
+else
+ idirs=`ls -1 | sort`
+fi
+
+compilefirst=`sed -ne 's#^COMPILE_FIRST[ ]*=[ ]*##p' $makefile_am | head -n 1`
+compilelast=`sed -ne 's#^COMPILE_LAST[ ]*=[ ]*##p' $makefile_am | head -n 1`
+for i in $idirs; do
+ if test -f $i/Makefile.am; then
+ case " $compilefirst $compilelast " in
+ *" $i "*) ;;
+ *) dirs="$dirs $i"
+ esac
+ fi
+done
+
+: > ./_SUBDIRS
+
+for d in $compilefirst; do
+ echo $d >> ./_SUBDIRS
+done
+
+(for d in $dirs; do
+ list=`sed -ne "s#^COMPILE_BEFORE_$d""[ ]*=[ ]*##p" $makefile_am | head -n 1`
+ for s in $list; do
+ echo $s $d
+ done
+ list=`sed -ne "s#^COMPILE_AFTER_$d""[ ]*=[ ]*##p" $makefile_am | head -n 1`
+ for s in $list; do
+ echo $d $s
+ done
+ echo $d $d
+done ) | tsort >> ./_SUBDIRS
+
+for d in $compilelast; do
+ echo $d >> ./_SUBDIRS
+done
+
+if test -r subdirs && cmp -s subdirs _SUBDIRS; then
+ rm -f _SUBDIRS
+fi
+test -r _SUBDIRS && mv _SUBDIRS subdirs || true
+}
+
+Makefile_am()
+{
+if test -f Makefile.am.in; then
+ compilefirst=`sed -ne 's#^COMPILE_FIRST[ ]*=[ ]*##p' $makefile_am | head -n 1`
+ compilelast=`sed -ne 's#^COMPILE_LAST[ ]*=[ ]*##p' $makefile_am | head -n 1`
+
+ idirs=
+ dirs=
+ if test -f inst-apps; then
+ idirs=`cat inst-apps`
+ else
+ idirs=`cat subdirs`
+ fi
+ for i in $idirs; do
+ case " $compilefirst $compilelast " in
+ *" $i "*) ;;
+ *) dirs="$dirs $i"
+ esac
+ done
+
+ adds=`fgrep '$(top_srcdir)/acinclude.m4:' Makefile.am.in | sed -e 's,^[^:]*: *,,; s,\$(top_srcdir)/,,g'`
+ if echo "$adds" | fgrep "*" >/dev/null ; then
+ adds=`ls -d -1 $adds 2>/dev/null`
+ fgrep -v '$(top_srcdir)/acinclude.m4:' Makefile.am.in > Makefile.am.in.adds
+ str='$(top_srcdir)/acinclude.m4:'
+ for add in $adds; do
+ str="$str \$(top_srcdir)/$add"
+ done
+ echo $str >> Makefile.am.in.adds
+ else
+ cat Makefile.am.in > Makefile.am.in.adds
+ fi
+
+ cat Makefile.am.in.adds | \
+ sed -e 's,^\s*\(COMPILE_BEFORE.*\),# \1,' | \
+ sed -e 's,^\s*\(COMPILE_AFTER.*\),# \1,' > Makefile.am
+ echo "SUBDIRS="'$(TOPSUBDIRS)' >> Makefile.am
+ rm Makefile.am.in.adds
+fi
+}
+
+acinclude_m4()
+{
+ echo "*** Creating acinclude.m4"
+ adds=
+ if grep '\$(top_srcdir)/acinclude.m4:' $makefile_am >/dev/null; then
+ strip_makefile
+ rm -f acinclude.m4
+ adds=`grep '\$(top_srcdir)/acinclude.m4:' $makefile_wo | sed -e 's,^[^:]*: *,,; s,\$(top_srcdir),.,g'`
+ if echo $adds | fgrep "*" >/dev/null ; then
+ adds=`ls -d -1 $adds 2>/dev/null`
+ else
+ $MAKE -f $makefile_wo top_srcdir=. ./acinclude.m4 || exit 1
+ fi
+ else
+ rm -f acinclude.m4
+ fi
+ # if it wasn't created up to now, then we do it better
+ if test ! -f acinclude.m4; then
+ cat admin/acinclude.m4.in admin/libtool.m4.in admin/pkg.m4.in $adds > acinclude.m4
+ fi
+}
+
+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
+}
+
+extract_messages()
+{
+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 *.kcfg > rc.cpp
+ else
+ candidates=`ls -1 *.rc *.ui *.kcfg 2>/dev/null`
+ if test -n "$candidates"; then
+ echo "$subdir has *.rc, *.ui or *.kcfg files, but not correct messages line"
+ fi
+ fi
+ if find . -name \*.c\* -o -name \*.h\* | fgrep -v ".svn" | xargs fgrep -s -q KAboutData ; 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>) { next if (/^(if\s|else\s|endif)/); if (/^messages:/) { $mes=1; print $_; next; } if ($mes) { if (/$\\(XGETTEXT\)/ && / -o/) { s/ -o \$\(podir\)/ _translatorinfo.cpp -o \$\(podir\)/ } print $_; } else { print $_; } }' < Makefile.am | egrep -v '^include ' > _transMakefile
+
+ kdepotpath=${includedir:-`kde-config --expandvars --install include`}/kde.pot
+ if ! test -f $kdepotpath; then
+ kdepotpath=`kde-config --expandvars --prefix`/include/kde.pot
+ fi
+
+ $MAKE -s -f _transMakefile podir=$podir EXTRACTRC="$EXTRACTRC" PREPARETIPS="$PREPARETIPS" srcdir=. \
+ XGETTEXT="${XGETTEXT:-xgettext} --foreign-user -C -ci18n -ki18n -ktr2i18n -kI18N_NOOP -kI18N_NOOP2 -kaliasLocale -x $kdepotpath" messages
+ exit_code=$?
+ if test "$exit_code" != 0; then
+ echo "make exit code: $exit_code"
+ fi
+ ) 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
+}
+
+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
+ cat po/$i > po.backup/backup_$i
+ touch -r po/$i po.backup/backup_$i
+ rm po/$i
+done
+
+extract_messages
+
+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
+ sed -e 's,^"Content-Type: text/plain; charset=CHARSET\\n"$,"Content-Type: text/plain; charset=UTF-8\\n",' po/$i > po/$i.new && mv po/$i.new po/$i
+ #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 && ! cmp -s temp.pot po.backup/$i; then
+ echo "will update $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
+}
+
+# Make sure that sorting is always done the same way
+LC_ALL=C
+export LC_ALL
+unset LANG || :
+unset LC_CTYPE || :
+unset LANGUAGE || :
+
+unset CDPATH || :
+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.wo
+if test -f Makefile.am.in; then
+ makefile_am=Makefile.am.in
+ makefile_wo=Makefile.am.in.wo
+ rm -f $makefile_wo
+fi
+
+# Call script to find autoconf and friends. Uses eval since the script outputs
+# sh-compatible code.
+eval `$admindir/detect-autoconf.pl`
+
+###
+### Main
+###
+
+arg=`echo $1 | tr .- __`
+case $arg in
+ cvs | dist | subdir_dist | configure_in | configure_files | subdirs | \
+ cvs_clean | package_merge | package_messages | Makefile_am | acinclude_m4 | extract_messages ) $arg ;;
+ configure ) call_and_fix_autoconf ;;
+ * ) echo "Usage: cvs.sh <target>"
+ echo "Target can be one of:"
+ echo " cvs svn dist"
+ echo " configure.in configure.files"
+ echo " package-merge package-messages"
+ echo ""
+ echo "Usage: anything but $1"
+ exit 1 ;;
+esac
+
+if test -f $makefile_wo; then
+ rm $makefile_wo
+fi
+
+exit 0
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/debianrules
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/debianrules (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/debianrules 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,43 @@
+#!/usr/bin/perl -w
+
+use Shell qw(mv cp mkdir rm) ;
+use File::Find;
+use Cwd;
+
+$origPwd = `pwd`;
+chomp $origPwd;
+
+$kde_prefix = "/usr";
+$sysconfdir = "/etc";
+$kde_includedir = "$kde_prefix/include/kde";
+$infodir = "$kde_prefix/share/info";
+$mandir = "$kde_prefix/share/man";
+$qtdir = "/usr/share/qt3";
+
+$kde_cgidir = "$kde_prefix/lib/cgi-bin";
+$kde_confdir = "$sysconfdir/kde3";
+$kde_htmldir = "$kde_prefix/share/doc/kde/HTML";
+
+if (defined $ENV{DEB_BUILD_OPTIONS} &&
+ $ENV{DEB_BUILD_OPTIONS} =~ /\bnostrip\b/) {
+ $enable_debug="--enable-debug=full";
+} else {
+ $enable_debug="--disable-debug";
+}
+
+if (@ARGV && $ARGV[0] eq 'echodirs') {
+ print STDOUT "export kde_prefix=$kde_prefix\n";
+ print STDOUT "export sysconfdir=$sysconfdir\n";
+ print STDOUT "export kde_includedir=$kde_includedir\n";
+ print STDOUT "export infodir=$infodir\n";
+ print STDOUT "export mandir=$mandir\n";
+ print STDOUT "export qtdir=$qtdir\n";
+
+ print STDOUT "export kde_cgidir=$kde_cgidir\n";
+ print STDOUT "export kde_confdir=$kde_confdir\n";
+ print STDOUT "export kde_htmldir=$kde_htmldir\n";
+
+ print STDOUT "configkde=$enable_debug --disable-rpath --prefix=\$(kde_prefix) --sysconfdir=\$(sysconfdir) --includedir=\$(kde_includedir) --infodir=\$(infodir) --mandir=\$(mandir) --with-qt-dir=\$(qtdir)\n";
+
+ exit
+}
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/admin/debianrules
___________________________________________________________________
Name: svn:executable
+
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/depcomp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/depcomp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/depcomp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,530 @@
+#! /bin/sh
+# depcomp - compile a program generating dependencies as side-effects
+
+scriptversion=2005-07-09.11
+
+# Copyright (C) 1999, 2000, 2003, 2004, 2005 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, 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 at dcc.unicamp.br>.
+
+case $1 in
+ '')
+ echo "$0: No command. Try \`$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: depcomp [--help] [--version] PROGRAM [ARGS]
+
+Run PROGRAMS ARGS to compile a file, generating dependencies
+as side-effects.
+
+Environment variables:
+ depmode Dependency tracking mode.
+ source Source file read by `PROGRAMS ARGS'.
+ object Object file output by `PROGRAMS ARGS'.
+ DEPDIR directory where to store dependencies.
+ depfile Dependency file to output.
+ tmpdepfile Temporary file to use when outputing dependencies.
+ libtool Whether libtool is used (yes/no).
+
+Report bugs to <bug-automake at gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v | --v*)
+ echo "depcomp $scriptversion"
+ exit $?
+ ;;
+esac
+
+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
+
+# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
+depfile=${depfile-`echo "$object" |
+ sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
+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. In older versions, 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.
+ # Version 6 uses the directory in both cases.
+ stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
+ tmpdepfile="$stripped.u"
+ if test "$libtool" = yes; then
+ "$@" -Wc,-M
+ else
+ "$@" -M
+ fi
+ stat=$?
+
+ if test -f "$tmpdepfile"; then :
+ else
+ stripped=`echo "$stripped" | sed 's,^.*/,,'`
+ tmpdepfile="$stripped.u"
+ fi
+
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+
+ if test -f "$tmpdepfile"; then
+ outname="$stripped.o"
+ # 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"
+ ;;
+
+icc)
+ # Intel's C compiler understands `-MD -MF file'. However on
+ # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
+ # ICC 7.0 will fill foo.d with something like
+ # foo.o: sub/foo.c
+ # foo.o: sub/foo.h
+ # which is wrong. We want:
+ # sub/foo.o: sub/foo.c
+ # sub/foo.o: sub/foo.h
+ # sub/foo.c:
+ # sub/foo.h:
+ # ICC 7.1 will output
+ # foo.o: sub/foo.c sub/foo.h
+ # and will wrap long lines using \ :
+ # foo.o: sub/foo.c ... \
+ # sub/foo.h ... \
+ # ...
+
+ "$@" -MD -MF "$tmpdepfile"
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile"
+ exit $stat
+ fi
+ rm -f "$depfile"
+ # Each line is of the form `foo.o: dependent.h',
+ # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
+ # Do two passes, one to just change these to
+ # `$object: dependent.h' and one to simply `dependent.h:'.
+ sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
+ # Some versions of the HPUX 10.20 sed can't process this invocation
+ # correctly. Breaking it into two sed invocations is a workaround.
+ sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
+ sed -e 's/$/ :/' >> "$depfile"
+ rm -f "$tmpdepfile"
+ ;;
+
+tru64)
+ # The Tru64 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.
+ dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
+ test "x$dir" = "x$object" && dir=
+ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
+
+ if test "$libtool" = yes; then
+ # With Tru64 cc, shared objects can also be used to make a
+ # static library. This mecanism is used in libtool 1.4 series to
+ # handle both shared and static libraries in a single compilation.
+ # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
+ #
+ # With libtool 1.5 this exception was removed, and libtool now
+ # generates 2 separate objects for the 2 libraries. These two
+ # compilations output dependencies in in $dir.libs/$base.o.d and
+ # in $dir$base.o.d. We have to check for both files, because
+ # one of the two compilations can be disabled. We should prefer
+ # $dir$base.o.d over $dir.libs/$base.o.d because the latter is
+ # automatically cleaned when .libs/ is deleted, while ignoring
+ # the former would cause a distcleancheck panic.
+ tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
+ tmpdepfile2=$dir$base.o.d # libtool 1.5
+ tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
+ tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
+ "$@" -Wc,-MD
+ else
+ tmpdepfile1=$dir$base.o.d
+ tmpdepfile2=$dir$base.d
+ tmpdepfile3=$dir$base.d
+ tmpdepfile4=$dir$base.d
+ "$@" -MD
+ fi
+
+ stat=$?
+ if test $stat -eq 0; then :
+ else
+ rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
+ exit $stat
+ fi
+
+ for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
+ do
+ test -f "$tmpdepfile" && break
+ done
+ if test -f "$tmpdepfile"; then
+ sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
+ # That's a tab and a space 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 preprocessed file to stdout, regardless of -o.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test $1 != '--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ # Remove `-o $object'.
+ IFS=" "
+ for arg
+ do
+ case $arg in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # $arg
+ ;;
+ esac
+ done
+
+ test -z "$dashmflag" && dashmflag=-M
+ # Require at least two characters before searching for `:'
+ # in the target name. This is to cope with DOS-style filenames:
+ # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
+ "$@" $dashmflag |
+ sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
+ 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)
+ "$@" || exit $?
+ # Remove any Libtool call
+ if test "$libtool" = yes; then
+ while test $1 != '--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+ # 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 ;;
+ # Strip any option that makedepend may not understand. Remove
+ # the object too, otherwise makedepend will parse it as a source file.
+ -*|$object)
+ ;;
+ *)
+ set fnord "$@" "$arg"; shift ;;
+ esac
+ done
+ obj_suffix="`echo $object | sed 's/^.*\././'`"
+ touch "$tmpdepfile"
+ ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
+ rm -f "$depfile"
+ cat < "$tmpdepfile" > "$depfile"
+ sed '1,2d' "$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 preprocessed file to stdout.
+ "$@" || exit $?
+
+ # Remove the call to Libtool.
+ if test "$libtool" = yes; then
+ while test $1 != '--mode=compile'; do
+ shift
+ done
+ shift
+ fi
+
+ # Remove `-o $object'.
+ IFS=" "
+ for arg
+ do
+ case $arg in
+ -o)
+ shift
+ ;;
+ $object)
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift # fnord
+ shift # $arg
+ ;;
+ esac
+ done
+
+ "$@" -E |
+ sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
+ sed '$ s: \\$::' > "$tmpdepfile"
+ 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 preprocessed file to stdout, regardless of -o,
+ # because we must use -o when running libtool.
+ "$@" || exit $?
+ IFS=" "
+ for arg
+ do
+ case "$arg" in
+ "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
+ set fnord "$@"
+ shift
+ shift
+ ;;
+ *)
+ set fnord "$@" "$arg"
+ shift
+ shift
+ ;;
+ esac
+ done
+ "$@" -E |
+ sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
+ 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
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
+# End:
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/admin/depcomp
___________________________________________________________________
Name: svn:executable
+
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/deps.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/deps.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/deps.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,19 @@
+$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in $(top_srcdir)/admin/cvs.sh $(top_srcdir)/admin/pkg.m4.in
+ @cd $(top_srcdir) && $(SHELL) admin/cvs.sh acinclude_m4
+
+$(top_srcdir)/configure.in: $(top_srcdir)/subdirs $(top_srcdir)/configure.files $(top_srcdir)/admin/cvs.sh
+ @cd $(top_srcdir) && $(SHELL) admin/cvs.sh configure_in
+
+$(top_srcdir)/configure.files: $(top_srcdir)/subdirs $(CONF_FILES)
+ @cd $(top_srcdir) && $(SHELL) admin/cvs.sh configure.files $(top_srcdir)/admin/cvs.sh
+
+$(top_srcdir)/Makefile.am: $(top_srcdir)/Makefile.am.in $(top_srcdir)/subdirs $(top_srcdir)/admin/cvs.sh
+ @cd $(top_srcdir) && $(SHELL) admin/cvs.sh Makefile_am
+
+$(top_srcdir)/subdirs: $(top_srcdir)/Makefile.am.in $(top_srcdir)/admin/cvs.sh
+ @cd $(top_srcdir) && $(SHELL) admin/cvs.sh subdirs
+
+# defining default rules for files that may not be present
+$(top_srcdir)/Makefile.am.in:
+$(CONF_FILES):
+
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/detect-autoconf.pl
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/detect-autoconf.pl (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/detect-autoconf.pl 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,257 @@
+#!/usr/bin/env perl
+
+# Try to locate best version of auto*
+# By Michael Pyne <michael.pyne at kdemail.net>
+#
+# Copyright (c) 2005.
+# This code is public domain. You may use it however you like (including
+# relicensing).
+
+# Emulate the 'which' program.
+sub which
+{
+ my $prog = shift;
+ my @paths = split(/:/, $ENV{'PATH'});
+
+ for $path (@paths)
+ {
+ return "$path/$prog" if -x "$path/$prog";
+ }
+
+ return "";
+}
+
+# Subroutine to lexicographically compare two version strings, a and b.
+# If a > b, 1 is returned.
+# If a == b, 0 is returned.
+# If a < b, -1 is returned.
+#
+# If the strings are of uneven number length then the shorter string is
+# prepended by enough zeroes to make the two string lengths equal in order to
+# allow an accurate comparison. Note that the zero-padding only occurs in
+# between version separators (i.e. 1.6 and 1.10, results in 1.06 vs. 1.10).
+# Parts of the version ending in -foo (or any other text) are not considered
+# when doing the compare. (i.e. 2.53a vs 2.53 doesn't end up in 2.53a vs.
+# 2.053)
+sub compareVersions
+{
+ my ($a, $b) = @_;
+
+ # Split the strings up by '.' (version separator) and start comparing digit
+ # length.
+
+ my @aParts = split(/\./, $a);
+ my @bParts = split(/\./, $b);
+
+ # Make the arrays equal in length by adding missing zeroes to the end of the
+ # version.
+ push @aParts, '0' while scalar @aParts < scalar @bParts;
+ push @bParts, '0' while scalar @bParts < scalar @aParts;
+
+ # Now compare each individual portion.
+ for (my $i = 0; $i < scalar @aParts; ++$i)
+ {
+ # Make sure that any portion that has numbers is contiguous. I'm sure
+ # there's a technique for saving stuff like 2.52a2 but I don't feel
+ # like implementing it.
+ if ($aParts[$i] !~ /^[^\d]*\d+[^\d]*$/ or
+ $bParts[$i] !~ /^[^\d]*\d+[^\d]*$/)
+ {
+ die "Not able to compare $a to $b!\n";
+ }
+
+ my ($aDigits) = ($aParts[$i] =~ /(\d+)/);
+ my ($bDigits) = ($bParts[$i] =~ /(\d+)/);
+
+ # Perl is $MODERATELY_INSULTING_TERM, don't remove the parentheses in
+ # the delta calculation below.
+ my $delta = (length $aDigits) - (length $bDigits);
+ if ($delta < 0) # b is longer
+ {
+ my $replacement = ('0' x (-$delta)) . $aDigits;
+ $aParts[$i] =~ s/$aDigits/$replacement/;
+ }
+ elsif ($delta > 0) # a is longer
+ {
+ my $replacement = ('0' x $delta) . $bDigits;
+ $bParts[$i] =~ s/$bDigits/$replacement/;
+ }
+ }
+
+ # Arrays now have standardized version components, let's re-merge them
+ # to strings to do the compare.
+ my $newA = join('.', @aParts);
+ my $newB = join('.', @bParts);
+
+ return 1 if ($newA gt $newB);
+ return -1 if ($newA lt $newB);
+ return 0;
+}
+
+# Subroutine to determine the highest installed version of the given program,
+# searching from the given paths.
+sub findBest
+{
+ my ($program, @paths) = @_;
+ my $best_version_found = '0'; # Deliberately a string.
+ my %versions;
+ my %minimumVersions = (
+ 'autoconf' => '2.5',
+ 'automake' => '1.6',
+ );
+ my $sgn; # Used for compareVersions results.
+
+ # Allow user to use environment variable to override search.
+ return $ENV{uc $program} if $ENV{uc $program};
+
+ for $prefix (@paths)
+ {
+ @files = glob "$prefix/$program*";
+ for $file (@files)
+ {
+ # Don't check non-executable scripts.
+ next unless -x $file;
+
+ ($version) = $file =~ /$prefix\/$program-?(.*)$/;
+
+ # Don't check the -wrapper ones (or any other non program one).
+ # The real deal should start with a version number, or have no
+ # suffix at all.
+ next if $version =~ /^[^\d]/;
+
+ # Special case some programs to make sure it has a minimum version.
+ if (not $version and exists $minimumVersions{$program})
+ {
+ my $min_version = $minimumVersions{$program};
+ my $versionOutput = `$program --version 2>/dev/null | head -n 1`;
+
+ # If we can't run the script to get the version it likely won't work later.
+ next unless $versionOutput;
+
+ # Use number.number for version (we don't need the excess in general).
+ ($versionOutput) = ($versionOutput =~ /(\d+\.\d+)/);
+
+ # compareVersions returns -1 if the left argument is less than
+ # the right argument. It can also die for invalid input so
+ # wrap with eval.
+ eval {
+ $sgn = compareVersions($versionOutput, $min_version);
+ };
+
+ # $@ would be set if an error was encountered.
+ if ($@ or not $versionOutput or $sgn == -1) {
+ next;
+ }
+ }
+
+ # If no version suffix then use it in favor of a versioned autotool
+ # since the ever-popular WANT_AUTOFOO should then work (in theory).
+ return $file unless $version;
+
+ # Emulate 'which', and abort if we've already seen this version.
+ next if exists $versions{$version};
+
+ # Save filename of program.
+ $versions{$version} = $file;
+
+ # Use string comparison so that e.g. 253a will be > 253 but < 254.
+ # See above about the need for eval.
+ eval {
+ $sgn = compareVersions($version, $best_version_found);
+ };
+
+ if (not $@ and $sgn == 1)
+ {
+ $best_version_found = $version;
+ }
+ }
+ }
+
+ return $versions{$best_version_found};
+}
+
+# Find an appropriate "which" program for later use by the shell script calling
+# us.
+sub findWhich
+{
+ for $candidate ('type -p', 'which', 'type')
+ {
+ $test = `$candidate sh 2>/dev/null`;
+ chomp $test;
+
+ return $candidate if -x $test;
+ }
+}
+
+# Uses which() to find a program unless the user provided its path in the
+# environment (the upper case program name is searched).
+sub findProgram
+{
+ $suffix = ""; # For use if @_ has only one param.
+ my ($program, $suffix) = @_;
+
+ return $ENV{uc $program} if $ENV{uc $program};
+ return which("$program$suffix");
+}
+
+# SCRIPT STARTS.
+
+# Search in path.
+ at paths = split(/:/, $ENV{'PATH'});
+
+# Make sure at least /usr/bin and /usr/local/bin are in this search.
+unshift @paths, '/usr/local/bin' unless grep $_ eq '/usr/local/bin', @paths;
+unshift @paths, '/usr/bin' unless grep $_ eq '/usr/bin', @paths;
+
+$autoconf = findBest('autoconf', @paths);
+($autoconf_suffix) = $autoconf =~ /.*autoconf(.*)$/;
+
+# Find matching autoconf companions.
+$autoheader = findProgram('autoheader', $autoconf_suffix);
+$autom4te = findProgram('autom4te', $autoconf_suffix);
+
+# Get best automake, and look for unsermake to possibly override it.
+$automake = findBest('automake', @paths);
+$unsermake = "";
+# backward compatible: if $UNSERMAKE points to a path, use it
+$unsermake = findProgram('unsermake') if (defined($ENV{'UNSERMAKE'}) and $ENV{'UNSERMAKE'} =~ /\//);
+# new compatible: if it says 'yes', use the one from path
+$unsermake = which('unsermake') if ($ENV{'UNSERMAKE'} ne 'no');
+
+($automake_suffix) = $automake =~ /.*automake(.*)$/;
+
+# Use unsermake if we found it.
+$automake = "$unsermake -c" if $unsermake;
+
+# Find matching automake companions.
+$aclocal = findProgram('aclocal', $automake_suffix);
+
+$which = findWhich();
+
+# Make sure we have all of the needed programs.
+for $i (qw'autoconf autoheader autom4te automake aclocal')
+{
+ unless(${$i})
+ {
+ print "# Unable to find $i!!\n";
+ exit 1;
+ }
+}
+
+# Print results in eval-able form.
+print <<EOF;
+AUTOCONF="$autoconf"
+AUTOHEADER="$autoheader"
+AUTOM4TE="$autom4te"
+
+AUTOMAKE="$automake"
+ACLOCAL="$aclocal"
+
+WHICH="$which"
+
+export AUTOCONF AUTOHEADER AUTOM4TE AUTOMAKE ACLOCAL WHICH
+EOF
+
+exit 0;
+
+# vim: set noet ts=8 sw=4:
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/admin/detect-autoconf.pl
___________________________________________________________________
Name: svn:executable
+
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/doxygen.sh
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/doxygen.sh (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/doxygen.sh 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,883 @@
+#! /bin/sh
+#
+# doxygen.sh Copyright (C) 2005 by Adriaan de Groot
+# Based on some code from Doxyfile.am, among other things.
+# License: GPL version 2.
+# See file COPYING in kdelibs for details.
+
+echo "*** doxygen.sh"
+
+# Recurse handling is a little complicated, since normally
+# subdir (given on the command-line) processing doesn't recurse
+# but you can force it to do so.
+recurse=1
+recurse_given=NO
+use_modulename=1
+cleanup=YES
+
+while test -n "$1" ; do
+case "x$1" in
+"x--no-cleanup" )
+ cleanup=NO
+ ;;
+"x--no-recurse" )
+ recurse=0
+ recurse_given=YES
+ ;;
+"x--recurse" )
+ recurse=1
+ recurse_given=YES
+ ;;
+"x--no-modulename" )
+ use_modulename=0
+ ;;
+"x--modulename" )
+ use_modulename=1
+ ;;
+"x--help" )
+ echo "doxygen.sh usage:"
+ echo "doxygen.sh [--no-recurse] [--no-modulename] <srcdir> [<subdir>]"
+ exit 2
+ ;;
+x--doxdatadir=* )
+ DOXDATA=`echo $1 | sed -e 's+--doxdatadir=++'`
+ ;;
+x--installdir=*)
+ PREFIX=`echo $1 | sed -e 's+--installdir=++'`
+ ;;
+x--* )
+ echo "Unknown option: $1"
+ exit 1
+ ;;
+* )
+ top_srcdir="$1"
+ break
+ ;;
+esac
+shift
+done
+
+
+### Sanity check the mandatory "top srcdir" argument.
+if test -z "$top_srcdir" ; then
+ echo "Usage: doxygen.sh <top_srcdir>"
+ exit 1
+fi
+if test ! -d "$top_srcdir" ; then
+ echo "top_srcdir ($top_srcdir) is not a directory."
+ exit 1
+fi
+
+### Normalize top_srcdir so it is an absolute path.
+if expr "x$top_srcdir" : "x/" > /dev/null ; then
+ # top_srcdir is absolute already
+ :
+else
+ top_srcdir=`cd "$top_srcdir" 2> /dev/null && pwd`
+ if test ! -d "$top_srcdir" ; then
+ echo "top_srcdir ($top_srcdir) is not a directory."
+ exit 1
+ fi
+fi
+
+
+
+### Sanity check and guess QTDOCDIR.
+if test -z "$QTDOCDIR" ; then
+ if test -z "$QTDIR" ; then
+ for i in /usr/X11R6/share/doc/qt/html
+ do
+ QTDOCDIR="$i"
+ test -d "$QTDOCDIR" && break
+ done
+ else
+ for i in share/doc/qt/html doc/html
+ do
+ QTDOCDIR="$QTDIR/$i"
+ test -d "$QTDOCDIR" && break
+ done
+ fi
+fi
+if test -z "$QTDOCDIR" || test ! -d "$QTDOCDIR" ; then
+ if test -z "$QTDOCDIR" ; then
+ echo "* QTDOCDIR could not be guessed."
+ else
+ echo "* QTDOCDIR does not name a directory."
+ fi
+ if test -z "$QTDOCTAG" ; then
+ echo "* QTDOCDIR set to \"\""
+ QTDOCDIR=""
+ else
+ echo "* But I'll use $QTDOCDIR anyway because of QTDOCTAG."
+ fi
+fi
+
+### Get the "top srcdir", also its name, and handle the case that subdir "."
+### is given (which would be top_srcdir then, so it's equal to none-given
+### but no recursion either).
+###
+# top_srcdir="$1" # Already set by options processing
+module_name=`basename "$top_srcdir"`
+subdir="$2"
+if test "x." = "x$subdir" ; then
+ subdir=""
+ if test "x$recurse_given" = "xNO" ; then
+ recurse=0
+ fi
+fi
+if test "x" != "x$subdir" ; then
+ # If no recurse option given explicitly, default to
+ # no recurse when processing subdirs given on the command-line.
+ if test "x$recurse_given" = "xNO" ; then
+ recurse=0
+ fi
+fi
+
+if test -z "$DOXDATA" || test ! -d "$DOXDATA" ; then
+ if test -n "$DOXDATA" ; then
+ echo "* \$DOXDATA is '$DOXDATA' which does not name a directory"
+ fi
+ DOXDATA="$top_srcdir/doc/common"
+fi
+
+if test ! -d "$DOXDATA" ; then
+ echo "* \$DOXDATA does not name a directory ( or is unset ), tried \"$DOXDATA\""
+ exit 1
+fi
+
+if test -n "$PREFIX" && test ! -d "$PREFIX" ; then
+ echo "* \$PREFIX does not name a directory, tried \"$PREFIX\""
+ echo "* \$PREFIX is disabled."
+ PREFIX=""
+fi
+
+### We need some values from top-level files, which
+### are not preserved between invocations of this
+### script, so factor it out for easy use.
+create_doxyfile_in()
+{
+ eval `grep 'VERSION="' "$top_srcdir/admin/cvs.sh"`
+ echo "PROJECT_NUMBER = $VERSION" > Doxyfile.in
+ grep '^KDE_INIT_DOXYGEN' "$top_srcdir/configure.in.in" | \
+ sed -e 's+[^[]*\[\([^]]*\)+PROJECT_NAME = "\1"+' \
+ -e 's+].*++' >> Doxyfile.in
+}
+
+apidoxdir="$module_name"-apidocs
+test "x$use_modulename" = "x0" && apidoxdir="apidocs"
+
+### If we're making the top subdir, create the structure
+### for the apidox and initialize it. Otherwise, just use the
+### structure assumed to be there.
+if test -z "$subdir" ; then
+ if test ! -d "$apidoxdir" ; then
+ mkdir "$apidoxdir" > /dev/null 2>&1
+ fi
+ cd "$apidoxdir" > /dev/null 2>&1 || {
+ echo "Cannot create and cd into $apidoxdir"
+ exit 1
+ }
+
+ test -f "Doxyfile.in" || create_doxyfile_in
+
+ # Copy in logos and the like
+ for i in "favicon.ico" "kde_gear_64.png"
+ do
+ cp "$DOXDATA/$i" . > /dev/null 2> /dev/null
+ done
+ for i in "$top_srcdir/doc/api/Dox-"*.png
+ do
+ T=`basename "$i" | sed -e 's+Dox-++'`
+ test -f "$i" && cp "$i" "./$T" > /dev/null 2> /dev/null
+ done
+
+ top_builddir="."
+ srcdir="$1"
+ subdir="."
+else
+ cd "$apidoxdir" > /dev/null 2>&1 || {
+ echo "Cannot cd into $apidoxdir -- maybe you need to"
+ echo "build the top-level dox first."
+ exit 1
+ }
+
+ if test "x1" = "x$recurse" ; then
+ # OK, so --recurse was requested
+ if test ! -f "subdirs.top" ; then
+ echo "* No subdirs.top available in the $apidoxdir."
+ echo "* The --recurse option will be ignored."
+ recurse=0
+ fi
+ fi
+fi
+
+### Read a single line (TODO: support \ continuations) from the Makefile.am.
+### Used to extract variable assignments from it.
+extract_line()
+{
+ file="$2" ; test -z "$file" && file="$srcdir/Makefile.am"
+ pattern=`echo "$1" | tr + .`
+ grep "^$1" "$file" | \
+ sed -e "s+$pattern.*=\s*++"
+}
+
+### Handle the COMPILE_{FIRST,LAST,BEFORE,AFTER} part of Makefile.am
+### in the toplevel. Copied from admin/cvs.sh. Licence presumed LGPL).
+create_subdirs()
+{
+echo "* Sorting top-level subdirs"
+dirs=
+idirs=
+if test -f "$top_srcdir/inst-apps"; then
+ idirs=`cat "$top_srcdir/"inst-apps`
+else
+ idirs=`cd "$top_srcdir" && ls -1 | sort`
+fi
+
+compilefirst=""
+compilelast=""
+if test -f "$top_srcdir/"Makefile.am.in ; then
+ compilefirst=`sed -ne 's#^COMPILE_FIRST[ ]*=[ ]*##p' "$top_srcdir/"Makefile.am.in | head -n 1`
+ compilelast=`sed -ne 's#^COMPILE_LAST[ ]*=[ ]*##p' "$top_srcdir/"Makefile.am.in | head -n 1`
+fi
+for i in $idirs; do
+ if test -f "$top_srcdir/$i"/Makefile.am; then
+ case " $compilefirst $compilelast " in
+ *" $i "*) ;;
+ *) dirs="$dirs $i"
+ esac
+ fi
+done
+
+: > ./_SUBDIRS
+
+for d in $compilefirst; do
+ echo $d >> ./_SUBDIRS
+done
+
+(for d in $dirs; do
+ list=""
+ if test -f "$top_srcdir/"Makefile.am.in ; then
+ list=`sed -ne "s#^COMPILE_BEFORE_$d""[ ]*=[ ]*##p" "$top_srcdir/"Makefile.am.in | head -n 1`
+ fi
+ for s in $list; do
+ echo $s $d
+ done
+ list=""
+ if test -f "$top_srcdir/"Makefile.am.in ; then
+ list=`sed -ne "s#^COMPILE_AFTER_$d""[ ]*=[ ]*##p" "$top_srcdir/"Makefile.am.in | head -n 1`
+ fi
+ for s in $list; do
+ echo $d $s
+ done
+ echo $d $d
+done ) | tsort >> ./_SUBDIRS
+
+for d in $compilelast; do
+ echo $d >> ./_SUBDIRS
+done
+
+test -r _SUBDIRS && mv _SUBDIRS subdirs.top || true
+}
+
+
+### Add HTML header, footer, CSS tags to Doxyfile.
+### Assumes $subdir is set. Argument is a string
+### to stick in front of the file if needed.
+apidox_htmlfiles()
+{
+ dox_header="$top_srcdir/doc/api/$1header.html"
+ dox_footer="$top_srcdir/doc/api/$1footer.html"
+ dox_css="$top_srcdir/doc/api/doxygen.css"
+ test -f "$dox_header" || dox_header="$DOXDATA/$1header.html"
+ test -f "$dox_footer" || dox_footer="$DOXDATA/$1footer.html"
+ test -f "$dox_css" || dox_css="$DOXDATA/doxygen.css"
+
+ echo "HTML_HEADER = $dox_header" >> "$subdir/Doxyfile" ; \
+ echo "HTML_FOOTER = $dox_footer" >> "$subdir/Doxyfile" ; \
+ echo "HTML_STYLESHEET = $dox_css" >> "$subdir/Doxyfile"
+}
+
+apidox_specials()
+{
+ line=`extract_line DOXYGEN_PROJECTNAME "$1"`
+ test -n "$line" && echo "PROJECT_NAME = \"$line\"" >> "$2"
+}
+
+apidox_local()
+{
+ for i in "$top_srcdir/doc/api/Doxyfile.local"
+ do
+ if test -f "$i" ; then
+ cat "$i" >> "$subdir/Doxyfile"
+ break
+ fi
+ done
+}
+
+### Post-process HTML files by substituting in the menu files
+#
+# In non-top directories, both <!-- menu --> and <!-- gmenu -->
+# are calculated and replaced. Top directories get an empty <!-- menu -->
+# if any.
+doxyndex()
+{
+ # Special case top-level to have an empty MENU.
+ if test "x$subdir" = "x." ; then
+ MENU=""
+ htmldir="."
+ htmltop="$top_builddir" # Just ., presumably
+ echo "* Post-processing top-level files"
+ else
+ MENU="<ul>"
+ htmldir="$subdir/html"
+ htmltop="$top_builddir.." # top_builddir ends with /
+ echo "* Post-processing files in $htmldir"
+
+ # Build a little PHP file that maps class names to file
+ # names, for the quick-class-picker functionality.
+ # (The quick-class-picker is disabled due to styling
+ # problems in IE & FF).
+ (
+ echo "<?php \$map = array("; \
+ for htmlfile in `find $htmldir/ -type f -name "class[A-Z]*.html" | grep -v "\-members.html$"`; do
+ classname=`echo $htmlfile | sed -e "s,.*/class\\(.*\\).html,\1," -e "s,_1_1,::,g" -e "s,_01, ,g" -e "s,_4,>,g" -e "s+_00+,+g" -e "s+_3+<+g" | tr "[A-Z]" "[a-z]"`
+ echo " \"$classname\" => \"$htmlfile\","
+ done | sort ; \
+ echo ") ?>"
+ ) > "$subdir/classmap.inc"
+
+ # This is a list of pairs, with / separators so we can use
+ # basename and dirname (a crude shell hack) to split them
+ # into parts. For each, if the file part exists (as a html
+ # file) tack it onto the MENU variable as a <li> with link.
+ for i in "Main Page/index" \
+ "Modules/modules" \
+ "Namespace List/namespaces" \
+ "Class Hierarchy/hierarchy" \
+ "Alphabetical List/classes" \
+ "Class List/annotated" \
+ "File List/files" \
+ "Directories/dirs" \
+ "Namespace Members/namespacemembers" \
+ "Class Members/functions" \
+ "Related Pages/pages"
+ do
+ NAME=`dirname "$i"`
+ FILE=`basename "$i"`
+ test -f "$htmldir/$FILE.html" && MENU="$MENU<li><a href=\"$FILE.html\">$NAME</a></li>"
+ done
+
+ MENU="$MENU</ul>"
+ fi
+
+
+ # Get the list of global Menu entries.
+ GMENU=`cat subdirs | tr -d '\n'`
+
+ PMENU=`grep '<!-- pmenu' "$htmldir/index.html" | sed -e 's+.*pmenu *++' -e 's+ *-->++' | awk '{ c=split($0,a,"/"); for (j=1; j<=c; j++) { printf " / <a href=\""; if (j==c) { printf("."); } for (k=j; k<c; k++) { printf "../"; } if (j<c) { printf("../html/index.html"); } printf "\">%s</a>\n" , a[j]; } }' | tr -d '\n'`
+
+ # Map the PHP file into HTML options so that
+ # it can be substituted in for the quick-class-picker.
+ CMENU=""
+ # For now, leave the CMENU disabled
+ CMENUBEGIN="<!--"
+ CMENUEND="-->"
+
+ if test "x$subdir" = "x." ; then
+ # Disable CMENU on toplevel anyway
+ CMENUBEGIN="<!--"
+ CMENUEND="-->"
+ else
+ test -f "$subdir/classmap.inc" && \
+ CMENU=`grep '=>' "$subdir/classmap.inc" | sed -e 's+"\([^"]*\)" => "'"$subdir/html/"'\([^"]*\)"+<option value="\2">\1<\/option>+' | tr -d '\n'`
+
+ if test -f "$subdir/classmap.inc" && grep "=>" "$subdir/classmap.inc" > /dev/null 2>&1 ; then
+ # Keep the menu, it's useful
+ :
+ else
+ CMENUBEGIN="<!--"
+ CMENUEND="-->"
+ fi
+ fi
+
+ # Now substitute in the MENU in every file. This depends
+ # on HTML_HEADER (ie. header.html) containing the
+ # <!-- menu --> comment.
+ for i in "$htmldir"/*.html
+ do
+ if test -f "$i" ; then
+ sed -e "s+<!-- menu -->+$MENU+" \
+ -e "s+<!-- gmenu -->+$GMENU+" \
+ -e "s+<!-- pmenu.*-->+$PMENU+" \
+ -e "s+<!-- cmenu.begin -->+$CMENUBEGIN+" \
+ -e "s+<!-- cmenu.end -->+$CMENUEND+" \
+ < "$i" | sed -e "s+ at topdir@+$htmltop+g" > "$i.new" && mv "$i.new" "$i"
+ sed -e "s+<!-- cmenu -->+$CMENU+" < "$i" > "$i.new"
+ test -s "$i.new" && mv "$i.new" "$i"
+ fi
+ done
+}
+
+
+
+
+
+
+### Handle the Doxygen processing of a toplevel directory.
+apidox_toplevel()
+{
+ echo ""
+ echo "*** Creating API documentation main page for $module_name"
+ echo "*"
+ rm -f "Doxyfile"
+ for i in "$top_srcdir/doc/api/Doxyfile.global" \
+ "$top_srcdir/admin/Doxyfile.global" \
+ "$DOXDATA/Doxyfile.global"
+ do
+ if test -f "$i" ; then
+ cp "$i" Doxyfile
+ break
+ fi
+ done
+
+ if test ! -f "Doxyfile" ; then
+ echo "* Cannot create Doxyfile."
+ exit 1
+ fi
+
+ cat "$top_builddir/Doxyfile.in" >> Doxyfile
+
+
+ echo "INPUT = $top_srcdir" >> Doxyfile
+ echo "OUTPUT_DIRECTORY = $top_builddir" >> Doxyfile ; \
+ echo "FILE_PATTERNS = *.dox" >> Doxyfile ; \
+ echo "RECURSIVE = NO" >> Doxyfile ; \
+ echo "ALPHABETICAL_INDEX = NO" >> Doxyfile ; \
+ echo "HTML_OUTPUT = ." >> Doxyfile ; \
+ apidox_htmlfiles "main"
+
+ # KDevelop has a top-level Makefile.am with settings.
+ for i in "$top_srcdir/Makefile.am.in" "$top_srcdir/Makefile.am"
+ do
+ if test -f "$i" ; then
+ grep '^DOXYGEN_SET_' "$i" | \
+ sed -e 's+DOXYGEN_SET_++' -e "s+ at topdir@+$top_srcdir+" >> Doxyfile
+ apidox_specials "$srcdir/Makefile.am" "$subdir/Doxyfile"
+
+ break
+ fi
+ done
+
+ apidox_local
+
+ doxygen Doxyfile
+
+ ( cd "$top_srcdir" && grep -l '^include.*Doxyfile.am' `find . -name Makefile.am` ) | sed -e 's+/Makefile.am$++' -e 's+^\./++' | sort > subdirs.in
+ for i in `cat subdirs.in`
+ do
+ test "x." = "x$i" && continue;
+
+ dir=`dirname "$i"`
+ file=`basename "$i"`
+ if test "x." = "x$dir" ; then
+ dir=""
+ else
+ dir="$dir/"
+ fi
+ indent=`echo "$dir" | sed -e 's+[^/]*/+\ \ +g' | sed -e 's+&+\\\&+g'`
+ entryname=`extract_line DOXYGEN_SET_PROJECT_NAME "$top_srcdir/$dir/$file/Makefile.am"`
+ test -z "$entryname" && entryname="$file"
+
+ if grep DOXYGEN_EMPTY "$top_srcdir/$dir/$file/Makefile.am" > /dev/null 2>&1 ; then
+ echo "<li>$indent$file</li>"
+ else
+ echo "<li>$indent<a href=\"@topdir@/$dir$file/html/index.html\">$entryname</a></li>"
+ fi
+ done > subdirs
+
+ doxyndex
+}
+
+### Handle the Doxygen processing of a non-toplevel directory.
+apidox_subdir()
+{
+ echo ""
+ echo "*** Creating apidox in $subdir"
+ echo "*"
+ rm -f "$subdir/Doxyfile"
+ if test ! -d "$top_srcdir/$subdir" ; then
+ echo "* No source (sub)directory $subdir"
+ return
+ fi
+ for i in "$top_srcdir/doc/api/Doxyfile.global" \
+ "$top_srcdir/admin/Doxyfile.global" \
+ "$DOXDATA/Doxyfile.global"
+ do
+ if test -f "$i" ; then
+ cp "$i" "$subdir/Doxyfile"
+ break
+ fi
+ done
+
+
+ test -f "Doxyfile.in" || create_doxyfile_in
+ cat "Doxyfile.in" >> "$subdir/Doxyfile"
+
+ echo "PROJECT_NAME = \"$subdir\"" >> "$subdir/Doxyfile"
+ echo "INPUT = $srcdir" >> "$subdir/Doxyfile"
+ echo "OUTPUT_DIRECTORY = ." >> "$subdir/Doxyfile"
+ if grep -l "$subdir/" subdirs.in > /dev/null 2>&1 ; then
+ echo "RECURSIVE = NO" >> "$subdir/Doxyfile"
+ fi
+ echo "HTML_OUTPUT = $subdir/html" >> "$subdir/Doxyfile"
+ echo "GENERATE_TAGFILE = $subdir/$subdirname.tag" >> "$subdir/Doxyfile"
+ test -d "$top_srcdir/doc/api" && \
+ echo "IMAGE_PATH = $top_srcdir/doc/api" >> "$subdir/Doxyfile"
+
+ apidox_htmlfiles ""
+
+ # Makefile.ams may contain overrides to our settings,
+ # so copy them in.
+ grep '^DOXYGEN_SET_' "$srcdir/Makefile.am" | \
+ sed -e 's+DOXYGEN_SET_++' >> "$subdir/Doxyfile"
+ apidox_specials "$srcdir/Makefile.am" "$subdir/Doxyfile"
+
+ excludes=`extract_line DOXYGEN_EXCLUDE`
+ if test -n "$excludes"; then
+ patterns=""
+ dirs=""
+ for item in `echo "$excludes"`; do
+ if test -d "$top_srcdir/$subdir/$item"; then
+ dirs="$dirs $top_srcdir/$subdir/$item/"
+ else
+ patterns="$patterns $item"
+ fi
+ done
+ echo "EXCLUDE_PATTERNS += $patterns" >> "$subdir/Doxyfile"
+ echo "EXCLUDE += $dirs" >> "$subdir/Doxyfile"
+ fi
+
+ echo "TAGFILES = \\" >> "$subdir/Doxyfile"
+ ## For now, don't support \ continued references lines
+ tags=`extract_line DOXYGEN_REFERENCES`
+ for i in $tags qt ; do
+ tagsubdir=`dirname $i` ; tag=`basename $i`
+ tagpath=""
+ not_found=""
+
+ if test "x$tagsubdir" = "x." ; then
+ tagsubdir=""
+ else
+ tagsubdir="$tagsubdir/"
+ fi
+
+ # Find location of tag file
+ if test -f "$tagsubdir$tag/$tag.tag" ; then
+ file="$tagsubdir$tag/$tag.tag"
+ loc="$tagsubdir$tag/html"
+ else
+ # This checks for dox built with_out_ --no-modulename
+ # in the same build dir as this dox run was started in.
+ file=`ls -1 ../*-apidocs/"$tagsubdir$tag/$tag.tag" 2> /dev/null`
+
+ if test -n "$file" ; then
+ loc=`echo "$file" | sed -e "s/$tag.tag\$/html/"`
+ else
+ # If the tag file doesn't exist yet, but should
+ # because we have the right dirs here, queue
+ # this directory for re-processing later.
+ if test -d "$top_srcdir/$tagsubdir$tag" ; then
+ echo "* Need to re-process $subdir for tag $i"
+ echo "$subdir" >> "subdirs.later"
+ else
+ # Re-check in $PREFIX if needed.
+ test -n "$PREFIX" && \
+ file=`cd "$PREFIX" && \
+ ls -1 *-apidocs/"$tagsubdir$tag/$tag.tag" 2> /dev/null`
+
+ # If something is found, patch it up. The location must be
+ # relative to the installed location of the dox and the
+ # file must be absolute.
+ if test -n "$file" ; then
+ loc=`echo "../$file" | sed -e "s/$tag.tag\$/html/"`
+ file="$PREFIX/$file"
+ echo "* Tags for $tagsubdir$tag will only work when installed."
+ not_found="YES"
+ fi
+ fi
+ fi
+ fi
+ if test "$tag" = "qt" ; then
+ if test -z "$QTDOCDIR" ; then
+ echo " $file" >> "$subdir/Doxyfile"
+ else
+ if test -z "$file" ; then
+ # Really no Qt tags
+ echo "" >> "$subdir/Doxyfile"
+ else
+ echo " $file=$QTDOCDIR" >> "$subdir/Doxyfile"
+ fi
+ fi
+ else
+ if test -n "$file" ; then
+ test -z "$not_found" && echo "* Found tag $file"
+ echo " $file=../$top_builddir$loc \\" >> "$subdir/Doxyfile"
+ fi
+ fi
+ done
+
+ apidox_local
+
+ if grep '^DOXYGEN_EMPTY' "$srcdir/Makefile.am" > /dev/null 2>&1 ; then
+ # This directory is empty, so don't process it, but
+ # *do* handle subdirs that might have dox.
+ :
+ else
+ # Regular processing
+ doxygen "$subdir/Doxyfile"
+ doxyndex
+ fi
+}
+
+### Run a given subdir by setting up global variables first.
+do_subdir()
+{
+ subdir=`echo "$1" | sed -e 's+/$++'`
+ srcdir="$top_srcdir/$subdir"
+ subdirname=`basename "$subdir"`
+ mkdir -p "$subdir" 2> /dev/null
+ if test ! -d "$subdir" ; then
+ echo "Can't create dox subdirectory $subdir"
+ return
+ fi
+ top_builddir=`echo "/$subdir" | sed -e 's+/[^/]*+../+g'`
+ apidox_subdir
+}
+
+
+### Create installdox-slow in the toplevel
+create_installdox()
+{
+# Fix up the installdox script so it accepts empty args
+#
+# This code is copied from the installdox generated by Doxygen,
+# copyright by Dimitri van Heesch and released under the GPL.
+# This does a _slow_ update of the dox, because it loops
+# over the given substitutions instead of assuming all the
+# needed ones are given.
+#
+cat <<\EOF
+#! /usr/bin/env perl
+
+%subst = () ;
+$quiet = 0;
+
+if (open(F,"search.cfg"))
+{
+ $_=<F> ; s/[ \t\n]*$//g ; $subst{"_doc"} = $_;
+ $_=<F> ; s/[ \t\n]*$//g ; $subst{"_cgi"} = $_;
+}
+
+while ( @ARGV ) {
+ $_ = shift @ARGV;
+ if ( s/^-// ) {
+ if ( /^l(.*)/ ) {
+ $v = ($1 eq "") ? shift @ARGV : $1;
+ ($v =~ /\/$/) || ($v .= "/");
+ $_ = $v;
+ if ( /(.+)\@(.+)/ ) {
+ $subst{$1} = $2;
+ } else {
+ print STDERR "Argument $_ is invalid for option -l\n";
+ &usage();
+ }
+ }
+ elsif ( /^q/ ) {
+ $quiet = 1;
+ }
+ elsif ( /^\?|^h/ ) {
+ &usage();
+ }
+ else {
+ print STDERR "Illegal option -$_\n";
+ &usage();
+ }
+ }
+ else {
+ push (@files, $_ );
+ }
+}
+
+
+if ( ! @files ) {
+ if (opendir(D,".")) {
+ foreach $file ( readdir(D) ) {
+ $match = ".html";
+ next if ( $file =~ /^\.\.?$/ );
+ ($file =~ /$match/) && (push @files, $file);
+ ($file =~ "tree.js") && (push @files, $file);
+ }
+ closedir(D);
+ }
+}
+
+if ( ! @files ) {
+ print STDERR "Warning: No input files given and none found!\n";
+}
+
+foreach $f (@files)
+{
+ if ( ! $quiet ) {
+ print "Editing: $f...\n";
+ }
+ $oldf = $f;
+ $f .= ".bak";
+ unless (rename $oldf,$f) {
+ print STDERR "Error: cannot rename file $oldf\n";
+ exit 1;
+ }
+ if (open(F,"<$f")) {
+ unless (open(G,">$oldf")) {
+ print STDERR "Error: opening file $oldf for writing\n";
+ exit 1;
+ }
+ if ($oldf ne "tree.js") {
+ while (<F>) {
+ foreach $sub (keys %subst) {
+ s/doxygen\=\"$sub\:([^ \"\t\>\<]*)\" (href|src)=\"\1/doxygen\=\"$sub:$subst{$sub}\" \2=\"$subst{$sub}/g;
+ print G "$_";
+ }
+ }
+ }
+ else {
+ while (<F>) {
+ foreach $sub (keys %subst) {
+ s/\"$sub\:([^ \"\t\>\<]*)\", \"\1/\"$sub:$subst{$sub}\" ,\"$subst{$sub}/g;
+ print G "$_";
+ }
+ }
+ }
+ }
+ else {
+ print STDERR "Warning file $f does not exist\n";
+ }
+ unlink $f;
+}
+
+sub usage {
+ print STDERR "Usage: installdox [options] [html-file [html-file ...]]\n";
+ print STDERR "Options:\n";
+ print STDERR " -l tagfile\@linkName tag file + URL or directory \n";
+ print STDERR " -q Quiet mode\n\n";
+ exit 1;
+}
+EOF
+}
+
+# Do only the subdirs that match the RE passed in as $1
+do_subdirs_re()
+{
+ RE=`echo "$1" | sed -e 's+/$++'`
+
+ # Here's a queue of dirs to re-process later when
+ # all the rest have been done already.
+ > subdirs.later
+
+ # subdirs.top lists _all_ subdirs of top in the order they
+ # should be handled; subdirs.in lists those dirs that contain
+ # dox. So the intersection of the two is the ordered list
+ # of top-level subdirs that contain dox.
+ #
+ # subdirs.top also doesn't contain ".", so that special
+ # case can be ignored in the loop.
+
+
+ (
+ for i in `grep "^$RE" subdirs.top`
+ do
+ if test "x$i" = "x." ; then
+ continue
+ fi
+ # Calculate intersection of this element and the
+ # set of dox dirs.
+ if grep "^$i\$" subdirs.in > /dev/null 2>&1 ; then
+ echo "$i"
+ mkdir -p "$i" 2> /dev/null
+
+ # Handle the subdirs of this one
+ for j in `grep "$i/" subdirs.in`
+ do
+ echo "$j"
+ mkdir -p "$j" 2> /dev/null
+ done
+ fi
+ done
+
+ # Now we still need to handle whatever is left
+ for i in `cat subdirs.in`
+ do
+ test -d "$i" || echo "$i"
+ mkdir -p "$i" 2> /dev/null
+ done
+ ) > subdirs.sort
+ for i in `cat subdirs.sort`
+ do
+ do_subdir "$i"
+ done
+
+ if test -s "subdirs.later" ; then
+ sort subdirs.later | uniq > subdirs.sort
+ for i in `cat subdirs.sort`
+ do
+ : > subdirs.later
+ echo "*** Reprocessing $i"
+ do_subdir "$i"
+ test -s "subdirs.later" && echo "* Some tag files were still not found."
+ done
+ fi
+}
+
+if test "x." = "x$top_builddir" ; then
+ apidox_toplevel
+ create_subdirs
+ create_installdox > installdox-slow
+ if test "x$recurse" = "x1" ; then
+ if test "x$module_name" = "xkdelibs" ; then
+ if test -z "$QTDOCTAG" && test -d "$QTDOCDIR" && \
+ test ! -f "qt/qt.tag" ; then
+ # Special case: create a qt tag file.
+ echo "*** Creating a tag file for the Qt library:"
+ mkdir qt
+ doxytag -t qt/qt.tag "$QTDOCDIR" > /dev/null 2>&1
+ fi
+ fi
+ if test -n "$QTDOCTAG" && test -r "$QTDOCTAG" ; then
+ echo "*** Copying tag file for the Qt library:"
+ mkdir qt
+ cp "$QTDOCTAG" qt/qt.tag
+ fi
+
+ do_subdirs_re "."
+
+ fi
+else
+ if test "x$recurse" = "x1" ; then
+ do_subdirs_re "$subdir"
+ else
+ do_subdir "$subdir"
+ fi
+fi
+
+
+# At the end of a run, clean up stuff.
+if test "YES" = "$cleanup" ; then
+ rm -f subdirs.in subdirs.later subdirs.sort subdirs.top Doxyfile.in
+ rm -f `find . -name Doxyfile`
+ rm -f qt/qt.tag
+ rmdir qt > /dev/null 2>&1
+fi
+
+
+exit 0
+
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/install-sh
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/install-sh (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/install-sh 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,401 @@
+#!/bin/sh
+# install - install a program, script, or datafile
+
+scriptversion=2005-11-07.23
+
+# This originates from X11R5 (mit/util/scripts/install.sh), which was
+# later released in X11R6 (xc/config/util/install.sh) with the
+# following copyright and license.
+#
+# Copyright (C) 1994 X Consortium
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to
+# deal in the Software without restriction, including without limitation the
+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+# sell copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name of the X Consortium shall not
+# be used in advertising or otherwise to promote the sale, use or other deal-
+# ings in this Software without prior written authorization from the X Consor-
+# tium.
+#
+#
+# FSF changes to this file are in the public domain.
+#
+# 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}"
+
+posix_glob=
+posix_mkdir=
+
+# Symbolic mode for testing mkdir with directories.
+# It is the same as 755, but also tests that "u+" works.
+test_mode=u=rwx,g=rx,o=rx,u+wx
+
+# Desired mode of installed file.
+mode=0755
+
+# Desired mode of newly created intermediate directories.
+# It is empty if not known yet.
+intermediate_mode=
+
+chmodcmd=$chmodprog
+chowncmd=
+chgrpcmd=
+stripcmd=
+rmcmd="$rmprog -f"
+mvcmd="$mvprog"
+src=
+dst=
+dir_arg=
+dstarg=
+no_target_directory=
+
+usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
+ or: $0 [OPTION]... SRCFILES... DIRECTORY
+ or: $0 [OPTION]... -t DIRECTORY SRCFILES...
+ or: $0 [OPTION]... -d DIRECTORIES...
+
+In the 1st form, copy SRCFILE to DSTFILE.
+In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
+In the 4th, create DIRECTORIES.
+
+Options:
+-c (ignored)
+-d create directories instead of installing files.
+-g GROUP $chgrpprog installed files to GROUP.
+-m MODE $chmodprog installed files to MODE.
+-o USER $chownprog installed files to USER.
+-s $stripprog installed files.
+-t DIRECTORY install into DIRECTORY.
+-T report an error if DSTFILE is a directory.
+--help display this help and exit.
+--version display version info and exit.
+
+Environment variables override the default commands:
+ CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
+"
+
+while test -n "$1"; do
+ case $1 in
+ -c) shift
+ continue;;
+
+ -d) dir_arg=true
+ shift
+ continue;;
+
+ -g) chgrpcmd="$chgrpprog $2"
+ shift
+ shift
+ continue;;
+
+ --help) echo "$usage"; exit $?;;
+
+ -m) mode=$2
+ shift
+ shift
+ continue;;
+
+ -o) chowncmd="$chownprog $2"
+ shift
+ shift
+ continue;;
+
+ -s) stripcmd=$stripprog
+ shift
+ continue;;
+
+ -t) dstarg=$2
+ shift
+ shift
+ continue;;
+
+ -T) no_target_directory=true
+ shift
+ continue;;
+
+ --version) echo "$0 $scriptversion"; exit $?;;
+
+ *) # When -d is used, all remaining arguments are directories to create.
+ # When -t is used, the destination is already specified.
+ test -n "$dir_arg$dstarg" && break
+ # Otherwise, the last argument is the destination. Remove it from $@.
+ for arg
+ do
+ if test -n "$dstarg"; then
+ # $@ is not empty: it contains at least $arg.
+ set fnord "$@" "$dstarg"
+ shift # fnord
+ fi
+ shift # arg
+ dstarg=$arg
+ done
+ break;;
+ esac
+done
+
+if test -z "$1"; then
+ if test -z "$dir_arg"; then
+ echo "$0: no input file specified." >&2
+ exit 1
+ fi
+ # It's OK to call `install-sh -d' without argument.
+ # This can happen when creating conditional directories.
+ exit 0
+fi
+
+test -n "$dir_arg" || trap '(exit $?); exit' 1 2 13 15
+
+for src
+do
+ # Protect names starting with `-'.
+ case $src in
+ -*) src=./$src ;;
+ esac
+
+ if test -n "$dir_arg"; then
+ dst=$src
+ dstdir=$dst
+ test -d "$dstdir"
+ dstdir_status=$?
+ else
+
+ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
+ # might cause directories to be created, which would be especially bad
+ # if $src (and thus $dsttmp) contains '*'.
+ if test ! -f "$src" && test ! -d "$src"; then
+ echo "$0: $src does not exist." >&2
+ exit 1
+ fi
+
+ if test -z "$dstarg"; then
+ echo "$0: no destination specified." >&2
+ exit 1
+ fi
+
+ dst=$dstarg
+ # Protect names starting with `-'.
+ case $dst in
+ -*) dst=./$dst ;;
+ esac
+
+ # If destination is a directory, append the input filename; won't work
+ # if double slashes aren't ignored.
+ if test -d "$dst"; then
+ if test -n "$no_target_directory"; then
+ echo "$0: $dstarg: Is a directory" >&2
+ exit 1
+ fi
+ dstdir=$dst
+ dst=$dstdir/`basename "$src"`
+ dstdir_status=0
+ else
+ # Prefer dirname, but fall back on a substitute if dirname fails.
+ dstdir=`
+ (dirname "$dst") 2>/dev/null ||
+ expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$dst" : 'X\(//\)[^/]' \| \
+ X"$dst" : 'X\(//\)$' \| \
+ X"$dst" : 'X\(/\)' \| \
+ . : '\(.\)' 2>/dev/null ||
+ echo X"$dst" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+ /^X\(\/\/\)$/{ s//\1/; q; }
+ /^X\(\/\).*/{ s//\1/; q; }
+ s/.*/./; q'
+ `
+
+ test -d "$dstdir"
+ dstdir_status=$?
+ fi
+ fi
+
+ obsolete_mkdir_used=false
+
+ if test $dstdir_status != 0; then
+ case $posix_mkdir in
+ '')
+ posix_mkdir=false
+ if $mkdirprog -m $test_mode -p -- / >/dev/null 2>&1; then
+ posix_mkdir=true
+ else
+ # Remove any dirs left behind by ancient mkdir implementations.
+ rmdir ./-m "$test_mode" ./-p ./-- 2>/dev/null
+ fi ;;
+ esac
+
+ if
+ $posix_mkdir && {
+
+ # With -d, create the new directory with the user-specified mode.
+ # Otherwise, create it using the same intermediate mode that
+ # mkdir -p would use when creating intermediate directories.
+ # POSIX says that this mode is "$(umask -S),u+wx", so use that
+ # if umask -S works.
+
+ if test -n "$dir_arg"; then
+ mkdir_mode=$mode
+ else
+ case $intermediate_mode in
+ '')
+ if umask_S=`(umask -S) 2>/dev/null`; then
+ intermediate_mode=$umask_S,u+wx
+ else
+ intermediate_mode=$test_mode
+ fi ;;
+ esac
+ mkdir_mode=$intermediate_mode
+ fi
+
+ $mkdirprog -m "$mkdir_mode" -p -- "$dstdir"
+ }
+ then :
+ else
+
+ # mkdir does not conform to POSIX, or it failed possibly due to
+ # a race condition. Create the directory the slow way, step by
+ # step, checking for races as we go.
+
+ case $dstdir in
+ /*) pathcomp=/ ;;
+ -*) pathcomp=./ ;;
+ *) pathcomp= ;;
+ esac
+
+ case $posix_glob in
+ '')
+ if (set -f) 2>/dev/null; then
+ posix_glob=true
+ else
+ posix_glob=false
+ fi ;;
+ esac
+
+ oIFS=$IFS
+ IFS=/
+ $posix_glob && set -f
+ set fnord $dstdir
+ shift
+ $posix_glob && set +f
+ IFS=$oIFS
+
+ for d
+ do
+ test "x$d" = x && continue
+
+ pathcomp=$pathcomp$d
+ if test ! -d "$pathcomp"; then
+ $mkdirprog "$pathcomp"
+ # Don't fail if two instances are running concurrently.
+ test -d "$pathcomp" || exit 1
+ fi
+ pathcomp=$pathcomp/
+ done
+ obsolete_mkdir_used=true
+ fi
+ fi
+
+ if test -n "$dir_arg"; then
+ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
+ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
+ test -z "$chmodcmd" || $doit $chmodcmd "$mode" "$dst"; } || exit 1
+ else
+
+ # Make a couple of temp file names in the proper directory.
+ dsttmp=$dstdir/_inst.$$_
+ rmtmp=$dstdir/_rm.$$_
+
+ # Trap to clean up those temp files at exit.
+ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
+
+ # Copy the file name to the temp name.
+ $doit $cpprog "$src" "$dsttmp" &&
+
+ # 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 $cpprog $src $dsttmp" command.
+ #
+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
+ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
+ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
+ && { test -z "$chmodcmd" || $doit $chmodcmd "$mode" "$dsttmp"; } &&
+
+ # Now rename the file to the real destination.
+ { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \
+ || {
+ # The rename failed, perhaps because mv can't rename something else
+ # to itself, or perhaps because mv is so ancient that it does not
+ # support -f.
+
+ # Now remove or move aside any old file at destination location.
+ # We try this two ways since rm can't unlink itself on some
+ # systems and the destination file might be busy for other
+ # reasons. In this case, the final cleanup might fail but the new
+ # file should still install successfully.
+ {
+ if test -f "$dst"; then
+ $doit $rmcmd -f "$dst" 2>/dev/null \
+ || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \
+ && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\
+ || {
+ echo "$0: cannot unlink or rename $dst" >&2
+ (exit 1); exit 1
+ }
+ else
+ :
+ fi
+ } &&
+
+ # Now rename the file to the real destination.
+ $doit $mvcmd "$dsttmp" "$dst"
+ }
+ } || exit 1
+
+ trap '' 0
+ fi
+done
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
+# End:
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/admin/install-sh
___________________________________________________________________
Name: svn:executable
+
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/libtool.m4.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/libtool.m4.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/libtool.m4.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,5891 @@
+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
+## Copyright 1996, 1997, 1998, 1999, 2000, 2001
+## Free Software Foundation, Inc.
+## Originally by Gordon Matzigkeit <gord at gnu.ai.mit.edu>, 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 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+## General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+##
+## 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.
+
+# serial 47 AC_PROG_LIBTOOL
+
+
+# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
+# -----------------------------------------------------------
+# If this macro is not defined by Autoconf, define it here.
+m4_ifdef([AC_PROVIDE_IFELSE],
+ [],
+ [m4_define([AC_PROVIDE_IFELSE],
+ [m4_ifdef([AC_PROVIDE_$1],
+ [$2], [$3])])])
+
+
+# AC_PROG_LIBTOOL
+# ---------------
+AC_DEFUN([AC_PROG_LIBTOOL],
+[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
+dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
+dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
+ AC_PROVIDE_IFELSE([AC_PROG_CXX],
+ [AC_LIBTOOL_CXX],
+ [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
+ ])])
+dnl And a similar setup for Fortran 77 support
+ AC_PROVIDE_IFELSE([AC_PROG_F77],
+ [AC_LIBTOOL_F77],
+ [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
+])])
+
+dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
+dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
+dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
+ AC_PROVIDE_IFELSE([AC_PROG_GCJ],
+ [AC_LIBTOOL_GCJ],
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
+ [AC_LIBTOOL_GCJ],
+ [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
+ [AC_LIBTOOL_GCJ],
+ [ifdef([AC_PROG_GCJ],
+ [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
+ ifdef([A][M_PROG_GCJ],
+ [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
+ ifdef([LT_AC_PROG_GCJ],
+ [define([LT_AC_PROG_GCJ],
+ defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
+])])# AC_PROG_LIBTOOL
+
+
+# _AC_PROG_LIBTOOL
+# ----------------
+AC_DEFUN([_AC_PROG_LIBTOOL],
+[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
+AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
+AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
+AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
+
+# This can be used to rebuild libtool when needed
+LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+
+# Always use our own libtool.
+LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
+AC_SUBST(LIBTOOL)dnl
+
+# Prevent multiple expansion
+define([AC_PROG_LIBTOOL], [])
+])# _AC_PROG_LIBTOOL
+
+
+# AC_LIBTOOL_SETUP
+# ----------------
+AC_DEFUN([AC_LIBTOOL_SETUP],
+[AC_PREREQ(2.50)dnl
+AC_REQUIRE([AC_ENABLE_SHARED])dnl
+AC_REQUIRE([AC_ENABLE_STATIC])dnl
+AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_PROG_LD])dnl
+AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
+AC_REQUIRE([AC_PROG_NM])dnl
+
+AC_REQUIRE([AC_PROG_LN_S])dnl
+AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
+# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
+AC_REQUIRE([AC_OBJEXT])dnl
+AC_REQUIRE([AC_EXEEXT])dnl
+dnl
+
+AC_LIBTOOL_SYS_MAX_CMD_LEN
+AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
+AC_LIBTOOL_OBJDIR
+
+AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
+_LT_AC_PROG_ECHO_BACKSLASH
+
+case $host_os in
+aix3*)
+ # AIX sometimes has problems with the GCC collect2 program. For some
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
+ # vanish in a puff of smoke.
+ if test "X${COLLECT_NAMES+set}" != Xset; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+ fi
+ ;;
+esac
+
+# Sed substitution that helps us do robust quoting. It backslashifies
+# metacharacters that are still active within double-quoted strings.
+Xsed='sed -e s/^X//'
+[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']
+
+# Same as above, but do not quote variable references.
+[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+
+# Constants:
+rm="rm -f"
+
+# Global variables:
+default_ofile=libtool
+can_build_shared=yes
+
+# All known linkers require a `.a' archive for static linking (except M$VC,
+# which needs '.lib').
+libext=a
+ltmain="$ac_aux_dir/ltmain.sh"
+ofile="$default_ofile"
+with_gnu_ld="$lt_cv_prog_gnu_ld"
+
+AC_CHECK_TOOL(AR, ar, false)
+AC_CHECK_TOOL(RANLIB, ranlib, :)
+AC_CHECK_TOOL(STRIP, strip, :)
+
+old_CC="$CC"
+old_CFLAGS="$CFLAGS"
+
+# Set sane defaults for various variables
+test -z "$AR" && AR=ar
+test -z "$AR_FLAGS" && AR_FLAGS=cru
+test -z "$AS" && AS=as
+test -z "$CC" && CC=cc
+test -z "$LTCC" && LTCC=$CC
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+test -z "$LD" && LD=ld
+test -z "$LN_S" && LN_S="ln -s"
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
+test -z "$NM" && NM=nm
+test -z "$SED" && SED=sed
+test -z "$OBJDUMP" && OBJDUMP=objdump
+test -z "$RANLIB" && RANLIB=:
+test -z "$STRIP" && STRIP=:
+test -z "$ac_objext" && ac_objext=o
+
+# Determine commands to create old-style static archives.
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
+old_postinstall_cmds='chmod 644 $oldlib'
+old_postuninstall_cmds=
+
+if test -n "$RANLIB"; then
+ case $host_os in
+ openbsd*)
+ old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
+ ;;
+ *)
+ old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+ ;;
+ esac
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+fi
+
+# Only perform the check for file, if the check method requires it
+case $deplibs_check_method in
+file_magic*)
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+ AC_PATH_MAGIC
+ fi
+ ;;
+esac
+
+AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
+enable_win32_dll=yes, enable_win32_dll=no)
+
+AC_ARG_ENABLE([libtool-lock],
+ [AC_HELP_STRING([--disable-libtool-lock],
+ [avoid locking (might break parallel builds)])])
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+
+AC_ARG_WITH([pic],
+ [AC_HELP_STRING([--with-pic],
+ [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
+ [pic_mode="$withval"],
+ [pic_mode=default])
+test -z "$pic_mode" && pic_mode=default
+
+# Use C for the default configuration in the libtool script
+tagname=
+AC_LIBTOOL_LANG_C_CONFIG
+_LT_AC_TAGCONFIG
+])# AC_LIBTOOL_SETUP
+
+
+# _LT_AC_SYS_COMPILER
+# -------------------
+AC_DEFUN([_LT_AC_SYS_COMPILER],
+[AC_REQUIRE([AC_PROG_CC])dnl
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+])# _LT_AC_SYS_COMPILER
+
+
+# _LT_AC_SYS_LIBPATH_AIX
+# ----------------------
+# Links a minimal program and checks the executable
+# for the system default hardcoded library path. In most cases,
+# this is /usr/lib:/lib, but when the MPI compilers are used
+# the location of the communication and MPI libs are included too.
+# If we don't find anything, use the default library path according
+# to the aix ld manual.
+AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
+[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`
+# Check for a 64-bit object if we didn't find anything.
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`; fi],[])
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+])# _LT_AC_SYS_LIBPATH_AIX
+
+
+# _LT_AC_SHELL_INIT(ARG)
+# ----------------------
+AC_DEFUN([_LT_AC_SHELL_INIT],
+[ifdef([AC_DIVERSION_NOTICE],
+ [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
+ [AC_DIVERT_PUSH(NOTICE)])
+$1
+AC_DIVERT_POP
+])# _LT_AC_SHELL_INIT
+
+
+# _LT_AC_PROG_ECHO_BACKSLASH
+# --------------------------
+# Add some code to the start of the generated configure script which
+# will find an echo command which doesn't interpret backslashes.
+AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],
+[_LT_AC_SHELL_INIT([
+# Check that we are running under the correct shell.
+SHELL=${CONFIG_SHELL-/bin/sh}
+
+case X$ECHO in
+X*--fallback-echo)
+ # Remove one level of quotation (which was required for Make).
+ ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
+ ;;
+esac
+
+echo=${ECHO-echo}
+if test "X[$]1" = X--no-reexec; then
+ # Discard the --no-reexec flag, and continue.
+ shift
+elif test "X[$]1" = X--fallback-echo; then
+ # Avoid inline document here, it may be left over
+ :
+elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
+ # Yippee, $echo works!
+ :
+else
+ # Restart under the correct shell.
+ exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
+fi
+
+if test "X[$]1" = X--fallback-echo; then
+ # used as fallback echo
+ shift
+ cat <<EOF
+[$]*
+EOF
+ exit 0
+fi
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+
+if test -z "$ECHO"; then
+if test "X${echo_test_string+set}" != Xset; then
+# find a string as large as possible, as long as the shell can cope with it
+ for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
+ # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
+ if (echo_test_string="`eval $cmd`") 2>/dev/null &&
+ echo_test_string="`eval $cmd`" &&
+ (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
+ then
+ break
+ fi
+ done
+fi
+
+if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ :
+else
+ # The Solaris, AIX, and Digital Unix default echo programs unquote
+ # backslashes. This makes it impossible to quote backslashes using
+ # echo "$something" | sed 's/\\/\\\\/g'
+ #
+ # So, first we look for a working echo in the user's PATH.
+
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for dir in $PATH /usr/ucb; do
+ IFS="$lt_save_ifs"
+ if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
+ test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ echo="$dir/echo"
+ break
+ fi
+ done
+ IFS="$lt_save_ifs"
+
+ if test "X$echo" = Xecho; then
+ # We didn't find a better echo, so look for alternatives.
+ if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ # This shell has a builtin print -r that does the trick.
+ echo='print -r'
+ elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
+ test "X$CONFIG_SHELL" != X/bin/ksh; then
+ # If we have ksh, try running configure again with it.
+ ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
+ export ORIGINAL_CONFIG_SHELL
+ CONFIG_SHELL=/bin/ksh
+ export CONFIG_SHELL
+ exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
+ else
+ # Try using printf.
+ echo='printf %s\n'
+ if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ # Cool, printf works
+ :
+ elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
+ test "X$echo_testing_string" = 'X\t' &&
+ echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
+ export CONFIG_SHELL
+ SHELL="$CONFIG_SHELL"
+ export SHELL
+ echo="$CONFIG_SHELL [$]0 --fallback-echo"
+ elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
+ test "X$echo_testing_string" = 'X\t' &&
+ echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ echo="$CONFIG_SHELL [$]0 --fallback-echo"
+ else
+ # maybe with a smaller string...
+ prev=:
+
+ for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
+ if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
+ then
+ break
+ fi
+ prev="$cmd"
+ done
+
+ if test "$prev" != 'sed 50q "[$]0"'; then
+ echo_test_string=`eval $prev`
+ export echo_test_string
+ exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
+ else
+ # Oops. We lost completely, so just stick with echo.
+ echo=echo
+ fi
+ fi
+ fi
+ fi
+fi
+fi
+
+# Copy echo and quote the copy suitably for passing to libtool from
+# the Makefile, instead of quoting the original, which is used later.
+ECHO=$echo
+if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
+ ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
+fi
+
+AC_SUBST(ECHO)
+])])# _LT_AC_PROG_ECHO_BACKSLASH
+
+
+# _LT_AC_LOCK
+# -----------
+AC_DEFUN([_LT_AC_LOCK],
+[AC_ARG_ENABLE([libtool-lock],
+ [AC_HELP_STRING([--disable-libtool-lock],
+ [avoid locking (might break parallel builds)])])
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+
+# Some flags need to be propagated to the compiler or linker for good
+# libtool support.
+case $host in
+ia64-*-hpux*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *ELF-32*)
+ HPUX_IA64_MODE="32"
+ ;;
+ *ELF-64*)
+ HPUX_IA64_MODE="64"
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+*-*-irix6*)
+ # Find out which ABI we are using.
+ echo '[#]line __oline__ "configure"' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ if test "$lt_cv_prog_gnu_ld" = yes; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -melf32bsmip"
+ ;;
+ *N32*)
+ LD="${LD-ld} -melf32bmipn32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -melf64bmip"
+ ;;
+ esac
+ else
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -32"
+ ;;
+ *N32*)
+ LD="${LD-ld} -n32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -64"
+ ;;
+ esac
+ fi
+ fi
+ rm -rf conftest*
+ ;;
+
+x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if AC_TRY_EVAL(ac_compile); then
+ case "`/usr/bin/file conftest.o`" in
+ *32-bit*)
+ LINUX_64_MODE="32"
+ case $host in
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ ppc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+ ;;
+ s390x-*linux*)
+ LD="${LD-ld} -m elf_s390"
+ ;;
+ sparc64-*linux*)
+ LD="${LD-ld} -m elf32_sparc"
+ ;;
+ esac
+ ;;
+ *64-bit*)
+ LINUX_64_MODE="64"
+ case $host in
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ ppc*-*linux*|powerpc*-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
+ s390*-*linux*)
+ LD="${LD-ld} -m elf64_s390"
+ ;;
+ sparc*-*linux*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+
+*-*-sco3.2v5*)
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+ SAVE_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -belf"
+ AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
+ [AC_LANG_PUSH(C)
+ AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
+ AC_LANG_POP])
+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+ CFLAGS="$SAVE_CFLAGS"
+ fi
+ ;;
+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
+[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
+ AC_CHECK_TOOL(DLLTOOL, dlltool, false)
+ AC_CHECK_TOOL(AS, as, false)
+ AC_CHECK_TOOL(OBJDUMP, objdump, false)
+ ;;
+ ])
+esac
+
+need_locks="$enable_libtool_lock"
+
+])# _LT_AC_LOCK
+
+
+# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
+# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
+# ----------------------------------------------------------------
+# Check whether the given compiler option works
+AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
+[AC_REQUIRE([LT_AC_PROG_SED])
+AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$3"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&AS_MESSAGE_LOG_FD
+ echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test ! -s conftest.err; then
+ $2=yes
+ fi
+ fi
+ $rm conftest*
+])
+
+if test x"[$]$2" = xyes; then
+ ifelse([$5], , :, [$5])
+else
+ ifelse([$6], , :, [$6])
+fi
+])# AC_LIBTOOL_COMPILER_OPTION
+
+
+# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
+# [ACTION-SUCCESS], [ACTION-FAILURE])
+# ------------------------------------------------------------
+# Check whether the given compiler option works
+AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
+[AC_CACHE_CHECK([$1], [$2],
+ [$2=no
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $3"
+ printf "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&AS_MESSAGE_LOG_FD
+ else
+ $2=yes
+ fi
+ fi
+ $rm conftest*
+ LDFLAGS="$save_LDFLAGS"
+])
+
+if test x"[$]$2" = xyes; then
+ ifelse([$4], , :, [$4])
+else
+ ifelse([$5], , :, [$5])
+fi
+])# AC_LIBTOOL_LINKER_OPTION
+
+
+# AC_LIBTOOL_SYS_MAX_CMD_LEN
+# --------------------------
+AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN],
+[# find the maximum length of command line arguments
+AC_MSG_CHECKING([the maximum length of command line arguments])
+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
+ i=0
+ testring="ABCD"
+
+ case $build_os in
+ msdosdjgpp*)
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
+ # during glob expansion). Even if it were fixed, the result of this
+ # check would be larger than it should be.
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
+ ;;
+
+ gnu*)
+ # Under GNU Hurd, this test is not required because there is
+ # no limit to the length of command line arguments.
+ # Libtool will interpret -1 as no limit whatsoever
+ lt_cv_sys_max_cmd_len=-1;
+ ;;
+
+ cygwin* | mingw*)
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
+ # about 5 minutes as the teststring grows exponentially.
+ # Worse, since 9x/ME are not pre-emptively multitasking,
+ # you end up with a "frozen" computer, even though with patience
+ # the test eventually succeeds (with a max line length of 256k).
+ # Instead, let's just punt: use the minimum linelength reported by
+ # all of the supported platforms: 8192 (on NT/2K/XP).
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ *)
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+ while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \
+ = "XX$testring") >/dev/null 2>&1 &&
+ new_result=`expr "X$testring" : ".*" 2>&1` &&
+ lt_cv_sys_max_cmd_len=$new_result &&
+ test $i != 17 # 1/2 MB should be enough
+ do
+ i=`expr $i + 1`
+ testring=$testring$testring
+ done
+ testring=
+ # Add a significant safety factor because C++ compilers can tack on massive
+ # amounts of additional arguments before passing them to the linker.
+ # It appears as though 1/2 is a usable value.
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+ ;;
+ esac
+])
+if test -n $lt_cv_sys_max_cmd_len ; then
+ AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
+else
+ AC_MSG_RESULT(none)
+fi
+])# AC_LIBTOOL_SYS_MAX_CMD_LEN
+
+
+# _LT_AC_CHECK_DLFCN
+# --------------------
+AC_DEFUN([_LT_AC_CHECK_DLFCN],
+[AC_CHECK_HEADERS(dlfcn.h)dnl
+])# _LT_AC_CHECK_DLFCN
+
+
+# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
+# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
+# ------------------------------------------------------------------
+AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],
+[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
+if test "$cross_compiling" = yes; then :
+ [$4]
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<EOF
+[#line __oline__ "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+#ifdef __cplusplus
+extern "C" void exit (int);
+#endif
+
+void fnord() { int i=42;}
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ /* dlclose (self); */
+ }
+
+ exit (status);
+}]
+EOF
+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
+ (./conftest; exit; ) 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) $1 ;;
+ x$lt_dlneed_uscore) $2 ;;
+ x$lt_unknown|x*) $3 ;;
+ esac
+ else :
+ # compilation failed
+ $3
+ fi
+fi
+rm -fr conftest*
+])# _LT_AC_TRY_DLOPEN_SELF
+
+
+# AC_LIBTOOL_DLOPEN_SELF
+# -------------------
+AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],
+[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl
+if test "x$enable_dlopen" != xyes; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen="load_add_on"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32*)
+ lt_cv_dlopen="LoadLibrary"
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen="dlopen"
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
+ lt_cv_dlopen="dyld"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ])
+ ;;
+
+ *)
+ AC_CHECK_FUNC([shl_load],
+ [lt_cv_dlopen="shl_load"],
+ [AC_CHECK_LIB([dld], [shl_load],
+ [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
+ [AC_CHECK_FUNC([dlopen],
+ [lt_cv_dlopen="dlopen"],
+ [AC_CHECK_LIB([dl], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
+ [AC_CHECK_LIB([svld], [dlopen],
+ [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
+ [AC_CHECK_LIB([dld], [dld_link],
+ [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
+ ])
+ ])
+ ])
+ ])
+ ])
+ ;;
+ esac
+
+ if test "x$lt_cv_dlopen" != xno; then
+ enable_dlopen=yes
+ else
+ enable_dlopen=no
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS="$CPPFLAGS"
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS="$LDFLAGS"
+ eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS="$LIBS"
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ AC_CACHE_CHECK([whether a program can dlopen itself],
+ lt_cv_dlopen_self, [dnl
+ _LT_AC_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
+ lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
+ ])
+
+ if test "x$lt_cv_dlopen_self" = xyes; then
+ LDFLAGS="$LDFLAGS $link_static_flag"
+ AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
+ lt_cv_dlopen_self_static, [dnl
+ _LT_AC_TRY_DLOPEN_SELF(
+ lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
+ lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross)
+ ])
+ fi
+
+ CPPFLAGS="$save_CPPFLAGS"
+ LDFLAGS="$save_LDFLAGS"
+ LIBS="$save_LIBS"
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+])# AC_LIBTOOL_DLOPEN_SELF
+
+
+# AC_LIBTOOL_PROG_CC_C_O([TAGNAME])
+# ---------------------------------
+# Check to see if options -c and -o are simultaneously supported by compiler
+AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
+[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
+AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
+ [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
+ [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
+ $rm -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
+ # that will create temporary files in the current directory regardless of
+ # the output directory. Thus, making CWD read-only will cause this test
+ # to fail, enabling locking or at least warning the user not to do parallel
+ # builds.
+ chmod -w .
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&AS_MESSAGE_LOG_FD
+ echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test ! -s out/conftest.err; then
+ _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+ fi
+ fi
+ chmod u+w .
+ $rm conftest* out/*
+ rmdir out
+ cd ..
+ rmdir conftest
+ $rm conftest*
+])
+])# AC_LIBTOOL_PROG_CC_C_O
+
+
+# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME])
+# -----------------------------------------
+# Check to see if we can do hard links to lock some files if needed
+AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS],
+[AC_REQUIRE([_LT_AC_LOCK])dnl
+
+hard_links="nottested"
+if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
+ # do not overwrite the value of need_locks provided by the user
+ AC_MSG_CHECKING([if we can lock with hard links])
+ hard_links=yes
+ $rm conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ AC_MSG_RESULT([$hard_links])
+ if test "$hard_links" = no; then
+ AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS
+
+
+# AC_LIBTOOL_OBJDIR
+# -----------------
+AC_DEFUN([AC_LIBTOOL_OBJDIR],
+[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
+[rm -f .libs 2>/dev/null
+mkdir .libs 2>/dev/null
+if test -d .libs; then
+ lt_cv_objdir=.libs
+else
+ # MS-DOS does not allow filenames that begin with a dot.
+ lt_cv_objdir=_libs
+fi
+rmdir .libs 2>/dev/null])
+objdir=$lt_cv_objdir
+])# AC_LIBTOOL_OBJDIR
+
+
+# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME])
+# ----------------------------------------------
+# Check hardcoding attributes.
+AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH],
+[AC_MSG_CHECKING([how to hardcode library paths into programs])
+_LT_AC_TAGVAR(hardcode_action, $1)=
+if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \
+ test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \
+ test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)"="Xyes" ; then
+
+ # We can hardcode non-existant directories.
+ if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
+ test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then
+ # Linking always hardcodes the temporary library directory.
+ _LT_AC_TAGVAR(hardcode_action, $1)=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ _LT_AC_TAGVAR(hardcode_action, $1)=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ _LT_AC_TAGVAR(hardcode_action, $1)=unsupported
+fi
+AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)])
+
+if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test "$shlibpath_overrides_runpath" = yes ||
+ test "$enable_shared" = no; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH
+
+
+# AC_LIBTOOL_SYS_LIB_STRIP
+# ------------------------
+AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP],
+[striplib=
+old_striplib=
+AC_MSG_CHECKING([whether stripping libraries is possible])
+if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ AC_MSG_RESULT([yes])
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP" ; then
+ striplib="$STRIP -x"
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_RESULT([no])
+fi
+ ;;
+ *)
+ AC_MSG_RESULT([no])
+ ;;
+ esac
+fi
+])# AC_LIBTOOL_SYS_LIB_STRIP
+
+
+# AC_LIBTOOL_SYS_DYNAMIC_LINKER
+# -----------------------------
+# PORTME Fill in your ld.so characteristics
+AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
+[AC_MSG_CHECKING([dynamic linker characteristics])
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext=".so"
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+
+aix4* | aix5*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test "$host_cpu" = ia64; then
+ # AIX 5 supports IA64
+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line `#! .'. This would cause the generated library to
+ # depend on `.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[[01]] | aix4.[[01]].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ if test "$aix_use_runtimelinking" = yes; then
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ else
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='${libname}${release}.a $libname.a'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ fi
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+ ;;
+
+beos*)
+ library_names_spec='${libname}${shared_ext}'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi4*)
+ version_type=linux
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32*)
+ version_type=windows
+ shrext=".dll"
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$host_os in
+ yes,cygwin* | yes,mingw* | yes,pw32*)
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $rm \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
+ sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
+ ;;
+ mingw*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
+ sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
+ if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then
+ # It is most probably a Windows format PATH printed by
+ # mingw gcc, but we are running on Cygwin. Gcc prints its search
+ # path with ; separators, and with drive letters. We can handle the
+ # drive letters (cygwin fileutils understands them), so leave them,
+ # especially as we might pass files found there to a mingw objdump,
+ # which wouldn't understand a cygwinified path. Ahh.
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ ;;
+ esac
+ ;;
+
+ *)
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
+ soname_spec='${libname}${release}${major}$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext='$(test .$module = .yes && echo .so || echo .dylib)'
+ # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
+ if test "$GCC" = yes; then
+ sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
+ else
+ sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
+ fi
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd1*)
+ dynamic_linker=no
+ ;;
+
+kfreebsd*-gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='GNU ld.so'
+ ;;
+
+freebsd*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ *) # from 3.2 on
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case "$host_cpu" in
+ ia64*)
+ shrext='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ if test "X$HPUX_IA64_MODE" = X32; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
+ postinstall_cmds='chmod 555 $lib'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test "$lt_cv_prog_gnu_ld" = yes; then
+ version_type=linux
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+# This must be Linux ELF.
+linux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ libsuff=
+ if test "x$LINUX_64_MODE" = x64; then
+ # Some platforms are per default 64-bit, so there's no /lib64
+ if test -d /lib64 -a ! -h /lib64; then
+ libsuff=64
+ fi
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+nto-qnx*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+openbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ case $host_os in
+ openbsd2.[[89]] | openbsd2.[[89]].*)
+ shlibpath_overrides_runpath=no
+ ;;
+ *)
+ shlibpath_overrides_runpath=yes
+ ;;
+ esac
+ else
+ shlibpath_overrides_runpath=yes
+ fi
+ ;;
+
+os2*)
+ libname_spec='$name'
+ shrext=".dll"
+ need_lib_prefix=no
+ library_names_spec='$libname${shared_ext} $libname.a'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=LIBPATH
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+ ;;
+
+sco3.2v5*)
+ version_type=osf
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+solaris*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test "$with_gnu_ld" = yes; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec ;then
+ version_type=linux
+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
+ soname_spec='$libname${shared_ext}.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+uts4*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+AC_MSG_RESULT([$dynamic_linker])
+test "$dynamic_linker" = no && can_build_shared=no
+])# AC_LIBTOOL_SYS_DYNAMIC_LINKER
+
+
+# _LT_AC_TAGCONFIG
+# ----------------
+AC_DEFUN([_LT_AC_TAGCONFIG],
+[AC_ARG_WITH([tags],
+ [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
+ [include additional configurations @<:@automatic@:>@])],
+ [tagnames="$withval"])
+
+if test -f "$ltmain" && test -n "$tagnames"; then
+ if test ! -f "${ofile}"; then
+ AC_MSG_WARN([output file `$ofile' does not exist])
+ fi
+
+ if test -z "$LTCC"; then
+ eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
+ if test -z "$LTCC"; then
+ AC_MSG_WARN([output file `$ofile' does not look like a libtool script])
+ else
+ AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
+ fi
+ fi
+
+ # Extract list of available tagged configurations in $ofile.
+ # Note that this assumes the entire list is on one line.
+ available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
+
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for tagname in $tagnames; do
+ IFS="$lt_save_ifs"
+ # Check whether tagname contains only valid characters
+ case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in
+ "") ;;
+ *) AC_MSG_ERROR([invalid tag name: $tagname])
+ ;;
+ esac
+
+ if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
+ then
+ AC_MSG_ERROR([tag name \"$tagname\" already exists])
+ fi
+
+ # Update the list of available tags.
+ if test -n "$tagname"; then
+ echo appending configuration tag \"$tagname\" to $ofile
+
+ case $tagname in
+ CXX)
+ if test -n "$CXX" && test "X$CXX" != "Xno"; then
+ AC_LIBTOOL_LANG_CXX_CONFIG
+ else
+ tagname=""
+ fi
+ ;;
+
+ F77)
+ if test -n "$F77" && test "X$F77" != "Xno"; then
+ AC_LIBTOOL_LANG_F77_CONFIG
+ else
+ tagname=""
+ fi
+ ;;
+
+ GCJ)
+ if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
+ AC_LIBTOOL_LANG_GCJ_CONFIG
+ else
+ tagname=""
+ fi
+ ;;
+
+ RC)
+ AC_LIBTOOL_LANG_RC_CONFIG
+ ;;
+
+ *)
+ AC_MSG_ERROR([Unsupported tag name: $tagname])
+ ;;
+ esac
+
+ # Append the new tag name to the list of available tags.
+ if test -n "$tagname" ; then
+ available_tags="$available_tags $tagname"
+ fi
+ fi
+ done
+ IFS="$lt_save_ifs"
+
+ # Now substitute the updated list of available tags.
+ if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
+ mv "${ofile}T" "$ofile"
+ chmod +x "$ofile"
+ else
+ rm -f "${ofile}T"
+ AC_MSG_ERROR([unable to update list of available tagged configurations.])
+ fi
+fi
+])# _LT_AC_TAGCONFIG
+
+
+# AC_LIBTOOL_DLOPEN
+# -----------------
+# enable checks for dlopen support
+AC_DEFUN([AC_LIBTOOL_DLOPEN],
+ [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])
+])# AC_LIBTOOL_DLOPEN
+
+
+# AC_LIBTOOL_WIN32_DLL
+# --------------------
+# declare package support for building win32 dll's
+AC_DEFUN([AC_LIBTOOL_WIN32_DLL],
+[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])
+])# AC_LIBTOOL_WIN32_DLL
+
+
+# AC_ENABLE_SHARED([DEFAULT])
+# ---------------------------
+# implement the --enable-shared flag
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
+AC_DEFUN([AC_ENABLE_SHARED],
+[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
+AC_ARG_ENABLE([shared],
+ [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
+ [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+ enable_shared=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_shared=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
+ [enable_shared=]AC_ENABLE_SHARED_DEFAULT)
+])# AC_ENABLE_SHARED
+
+
+# AC_DISABLE_SHARED
+# -----------------
+#- set the default shared flag to --disable-shared
+AC_DEFUN([AC_DISABLE_SHARED],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+AC_ENABLE_SHARED(no)
+])# AC_DISABLE_SHARED
+
+
+# AC_ENABLE_STATIC([DEFAULT])
+# ---------------------------
+# implement the --enable-static flag
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
+AC_DEFUN([AC_ENABLE_STATIC],
+[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
+AC_ARG_ENABLE([static],
+ [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],
+ [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+ enable_static=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_static=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
+ [enable_static=]AC_ENABLE_STATIC_DEFAULT)
+])# AC_ENABLE_STATIC
+
+
+# AC_DISABLE_STATIC
+# -----------------
+# set the default static flag to --disable-static
+AC_DEFUN([AC_DISABLE_STATIC],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+AC_ENABLE_STATIC(no)
+])# AC_DISABLE_STATIC
+
+
+# AC_ENABLE_FAST_INSTALL([DEFAULT])
+# ---------------------------------
+# implement the --enable-fast-install flag
+# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
+AC_DEFUN([AC_ENABLE_FAST_INSTALL],
+[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
+AC_ARG_ENABLE([fast-install],
+ [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
+ [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
+ [p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+ enable_fast_install=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_fast_install=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac],
+ [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)
+])# AC_ENABLE_FAST_INSTALL
+
+
+# AC_DISABLE_FAST_INSTALL
+# -----------------------
+# set the default to --disable-fast-install
+AC_DEFUN([AC_DISABLE_FAST_INSTALL],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+AC_ENABLE_FAST_INSTALL(no)
+])# AC_DISABLE_FAST_INSTALL
+
+
+# AC_LIBTOOL_PICMODE([MODE])
+# --------------------------
+# implement the --with-pic flag
+# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
+AC_DEFUN([AC_LIBTOOL_PICMODE],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+pic_mode=ifelse($#,1,$1,default)
+])# AC_LIBTOOL_PICMODE
+
+
+# AC_PROG_EGREP
+# -------------
+# This is predefined starting with Autoconf 2.54, so this conditional
+# definition can be removed once we require Autoconf 2.54 or later.
+m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],
+[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],
+ [if echo a | (grep -E '(a|b)') >/dev/null 2>&1
+ then ac_cv_prog_egrep='grep -E'
+ else ac_cv_prog_egrep='egrep'
+ fi])
+ EGREP=$ac_cv_prog_egrep
+ AC_SUBST([EGREP])
+])])
+
+
+# AC_PATH_TOOL_PREFIX
+# -------------------
+# find a file program which can recognise shared library
+AC_DEFUN([AC_PATH_TOOL_PREFIX],
+[AC_REQUIRE([AC_PROG_EGREP])dnl
+AC_MSG_CHECKING([for $1])
+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
+[case $MAGIC_CMD in
+[[\\/*] | ?:[\\/]*])
+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD="$MAGIC_CMD"
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+dnl $ac_dummy forces splitting on constant user-supplied paths.
+dnl POSIX.2 word splitting is done only on the output of word expansions,
+dnl not every word. This closes a longstanding sh security hole.
+ ac_dummy="ifelse([$2], , $PATH, [$2])"
+ for ac_dir in $ac_dummy; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$1; then
+ lt_cv_path_MAGIC_CMD="$ac_dir/$1"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool at gnu.org
+
+EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS="$lt_save_ifs"
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
+ ;;
+esac])
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+if test -n "$MAGIC_CMD"; then
+ AC_MSG_RESULT($MAGIC_CMD)
+else
+ AC_MSG_RESULT(no)
+fi
+])# AC_PATH_TOOL_PREFIX
+
+
+# AC_PATH_MAGIC
+# -------------
+# find a file program which can recognise a shared library
+AC_DEFUN([AC_PATH_MAGIC],
+[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
+if test -z "$lt_cv_path_MAGIC_CMD"; then
+ if test -n "$ac_tool_prefix"; then
+ AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
+ else
+ MAGIC_CMD=:
+ fi
+fi
+])# AC_PATH_MAGIC
+
+
+# AC_PROG_LD
+# ----------
+# find the pathname to the GNU or non-GNU linker
+AC_DEFUN([AC_PROG_LD],
+[AC_ARG_WITH([gnu-ld],
+ [AC_HELP_STRING([--with-gnu-ld],
+ [assume the C compiler uses GNU ld @<:@default=no@:>@])],
+ [test "$withval" = no || with_gnu_ld=yes],
+ [with_gnu_ld=no])
+AC_REQUIRE([LT_AC_PROG_SED])dnl
+AC_REQUIRE([AC_PROG_CC])dnl
+AC_REQUIRE([AC_CANONICAL_HOST])dnl
+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
+ac_prog=ld
+if test "$GCC" = yes; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ AC_MSG_CHECKING([for ld used by $CC])
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [[\\/]]* | ?:[[\\/]]*)
+ re_direlt='/[[^/]][[^/]]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
+ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD="$ac_prog"
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test "$with_gnu_ld" = yes; then
+ AC_MSG_CHECKING([for GNU ld])
+else
+ AC_MSG_CHECKING([for non-GNU ld])
+fi
+AC_CACHE_VAL(lt_cv_path_LD,
+[if test -z "$LD"; then
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD="$ac_dir/$ac_prog"
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some GNU ld's only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test "$with_gnu_ld" != no && break
+ ;;
+ *)
+ test "$with_gnu_ld" != yes && break
+ ;;
+ esac
+ fi
+ done
+ IFS="$lt_save_ifs"
+else
+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
+fi])
+LD="$lt_cv_path_LD"
+if test -n "$LD"; then
+ AC_MSG_RESULT($LD)
+else
+ AC_MSG_RESULT(no)
+fi
+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
+AC_PROG_LD_GNU
+])# AC_PROG_LD
+
+
+# AC_PROG_LD_GNU
+# --------------
+AC_DEFUN([AC_PROG_LD_GNU],
+[AC_REQUIRE([AC_PROG_EGREP])dnl
+AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
+[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac])
+with_gnu_ld=$lt_cv_prog_gnu_ld
+])# AC_PROG_LD_GNU
+
+
+# AC_PROG_LD_RELOAD_FLAG
+# ----------------------
+# find reload flag for linker
+# -- PORTME Some linkers may need a different reload flag.
+AC_DEFUN([AC_PROG_LD_RELOAD_FLAG],
+[AC_CACHE_CHECK([for $LD option to reload object files],
+ lt_cv_ld_reload_flag,
+ [lt_cv_ld_reload_flag='-r'])
+reload_flag=$lt_cv_ld_reload_flag
+case $reload_flag in
+"" | " "*) ;;
+*) reload_flag=" $reload_flag" ;;
+esac
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
+])# AC_PROG_LD_RELOAD_FLAG
+
+
+# AC_DEPLIBS_CHECK_METHOD
+# -----------------------
+# how to check for library dependencies
+# -- PORTME fill in with the dynamic library characteristics
+AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
+[AC_CACHE_CHECK([how to recognise dependent libraries],
+lt_cv_deplibs_check_method,
+[lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_deplibs_check_method='unknown'
+# Need to set the preceding variable on all platforms that support
+# interlibrary dependencies.
+# 'none' -- dependencies not supported.
+# `unknown' -- same as none, but documents that we really don't know.
+# 'pass_all' -- all dependencies passed with no checks.
+# 'test_compile' -- check by making test program.
+# 'file_magic [[regex]]' -- check by looking for files in library path
+# which responds to the $file_magic_cmd with a given extended regex.
+# If you have `file' or equivalent on your system and you're not sure
+# whether `pass_all' will *always* work, you probably want this one.
+
+case $host_os in
+aix4* | aix5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+beos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+bsdi4*)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ ;;
+
+cygwin*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+mingw* | pw32*)
+ # win32_libid is a shell function defined in ltmain.sh
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='win32_libid'
+ ;;
+
+darwin* | rhapsody*)
+ # this will be overwritten by pass_all, but leave it in just in case
+ lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ case "$host_os" in
+ rhapsody* | darwin1.[[012]])
+ lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
+ ;;
+ *) # Darwin 1.3 on
+ lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
+ ;;
+ esac
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+freebsd* | kfreebsd*-gnu)
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+ # Not sure whether the presence of OpenBSD here was a mistake.
+ # Let's accept both of them until this is cleared up.
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[[3-9]]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ ;;
+ esac
+ else
+ lt_cv_deplibs_check_method=pass_all
+ fi
+ ;;
+
+gnu*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+hpux10.20* | hpux11*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ case "$host_cpu" in
+ ia64*)
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
+ ;;
+ hppa*64*)
+ [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
+ ;;
+ *)
+ lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
+ ;;
+ esac
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ irix5* | nonstopux*)
+ # this will be overridden with pass_all, but let us keep it just in case
+ lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+ ;;
+ *)
+ case $LD in
+ *-32|*"-32 ") libmagic=32-bit;;
+ *-n32|*"-n32 ") libmagic=N32;;
+ *-64|*"-64 ") libmagic=64-bit;;
+ *) libmagic=never-match;;
+ esac
+ # this will be overridden with pass_all, but let us keep it just in case
+ lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
+ ;;
+ esac
+ lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+# This must be Linux ELF.
+linux*)
+ case $host_cpu in
+ alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh* | x86_64* )
+ lt_cv_deplibs_check_method=pass_all ;;
+ # the debian people say, arm and glibc 2.3.1 works for them with pass_all
+ arm* )
+ lt_cv_deplibs_check_method=pass_all ;;
+ *)
+ # glibc up to 2.1.1 does not perform some relocations on ARM
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;;
+ esac
+ lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+ ;;
+
+netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
+ fi
+ ;;
+
+newos6*)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
+ ;;
+
+nto-qnx*)
+ lt_cv_deplibs_check_method=unknown
+ ;;
+
+openbsd*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'
+ else
+ lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
+ fi
+ ;;
+
+osf3* | osf4* | osf5*)
+ # this will be overridden with pass_all, but let us keep it just in case
+ lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sco3.2v5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+solaris*)
+ lt_cv_deplibs_check_method=pass_all
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ case $host_vendor in
+ motorola)
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ ;;
+ ncr)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ sequent)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
+ ;;
+ sni)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+ siemens)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ esac
+ ;;
+
+sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7* | sysv4*uw2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+esac
+])
+file_magic_cmd=$lt_cv_file_magic_cmd
+deplibs_check_method=$lt_cv_deplibs_check_method
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
+])# AC_DEPLIBS_CHECK_METHOD
+
+
+# AC_PROG_NM
+# ----------
+# find the pathname to a BSD-compatible name lister
+AC_DEFUN([AC_PROG_NM],
+[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM,
+[if test -n "$NM"; then
+ # Let the user override the test.
+ lt_cv_path_NM="$NM"
+else
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ tmp_nm="$ac_dir/${ac_tool_prefix}nm"
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
+ # Check to see if the nm accepts a BSD-compat flag.
+ # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+ # nm: unknown option "B" ignored
+ # Tru64's nm complains that /dev/null is an invalid object file
+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
+ */dev/null* | *'Invalid file or object type'*)
+ lt_cv_path_NM="$tmp_nm -B"
+ break
+ ;;
+ *)
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
+ */dev/null*)
+ lt_cv_path_NM="$tmp_nm -p"
+ break
+ ;;
+ *)
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ continue # so that we can try to find one that supports BSD flags
+ ;;
+ esac
+ esac
+ fi
+ done
+ IFS="$lt_save_ifs"
+ test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
+fi])
+NM="$lt_cv_path_NM"
+])# AC_PROG_NM
+
+
+# AC_CHECK_LIBM
+# -------------
+# check for math library
+AC_DEFUN([AC_CHECK_LIBM],
+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
+LIBM=
+case $host in
+*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
+ # These system don't have libm, or don't need it
+ ;;
+*-ncr-sysv4.3*)
+ AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
+ AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
+ ;;
+*)
+ AC_CHECK_LIB(m, cos, LIBM="-lm")
+ ;;
+esac
+])# AC_CHECK_LIBM
+
+
+# AC_LIBLTDL_CONVENIENCE([DIRECTORY])
+# -----------------------------------
+# sets LIBLTDL to the link flags for the libltdl convenience library and
+# LTDLINCL to the include flags for the libltdl header and adds
+# --enable-ltdl-convenience to the configure arguments. Note that LIBLTDL
+# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
+# DIRECTORY is not provided, it is assumed to be `libltdl'. LIBLTDL will
+# be prefixed with '${top_builddir}/' and LTDLINCL will be prefixed with
+# '${top_srcdir}/' (note the single quotes!). If your package is not
+# flat and you're not using automake, define top_builddir and
+# top_srcdir appropriately in the Makefiles.
+AC_DEFUN([AC_LIBLTDL_CONVENIENCE],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ case $enable_ltdl_convenience in
+ no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
+ "") enable_ltdl_convenience=yes
+ ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
+ esac
+ LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la
+ LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
+ # For backwards non-gettext consistent compatibility...
+ INCLTDL="$LTDLINCL"
+])# AC_LIBLTDL_CONVENIENCE
+
+
+# AC_LIBLTDL_INSTALLABLE([DIRECTORY])
+# -----------------------------------
+# sets LIBLTDL to the link flags for the libltdl installable library and
+# LTDLINCL to the include flags for the libltdl header and adds
+# --enable-ltdl-install to the configure arguments. Note that LIBLTDL
+# and LTDLINCL are not AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If
+# DIRECTORY is not provided and an installed libltdl is not found, it is
+# assumed to be `libltdl'. LIBLTDL will be prefixed with '${top_builddir}/'
+# and LTDLINCL will be prefixed with '${top_srcdir}/' (note the single
+# quotes!). If your package is not flat and you're not using automake,
+# define top_builddir and top_srcdir appropriately in the Makefiles.
+# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
+AC_DEFUN([AC_LIBLTDL_INSTALLABLE],
+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+ AC_CHECK_LIB(ltdl, lt_dlinit,
+ [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
+ [if test x"$enable_ltdl_install" = xno; then
+ AC_MSG_WARN([libltdl not installed, but installation disabled])
+ else
+ enable_ltdl_install=yes
+ fi
+ ])
+ if test x"$enable_ltdl_install" = x"yes"; then
+ ac_configure_args="$ac_configure_args --enable-ltdl-install"
+ LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la
+ LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl'])
+ else
+ ac_configure_args="$ac_configure_args --enable-ltdl-install=no"
+ LIBLTDL="-lltdl"
+ LTDLINCL=
+ fi
+ # For backwards non-gettext consistent compatibility...
+ INCLTDL="$LTDLINCL"
+])# AC_LIBLTDL_INSTALLABLE
+
+
+# AC_LIBTOOL_CXX
+# --------------
+# enable support for C++ libraries
+AC_DEFUN([AC_LIBTOOL_CXX],
+[AC_REQUIRE([_LT_AC_LANG_CXX])
+])# AC_LIBTOOL_CXX
+
+
+# _LT_AC_LANG_CXX
+# ---------------
+AC_DEFUN([_LT_AC_LANG_CXX],
+[AC_REQUIRE([AC_PROG_CXX])
+AC_REQUIRE([AC_PROG_CXXCPP])
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX])
+])# _LT_AC_LANG_CXX
+
+
+# AC_LIBTOOL_F77
+# --------------
+# enable support for Fortran 77 libraries
+AC_DEFUN([AC_LIBTOOL_F77],
+[AC_REQUIRE([_LT_AC_LANG_F77])
+])# AC_LIBTOOL_F77
+
+
+# _LT_AC_LANG_F77
+# ---------------
+AC_DEFUN([_LT_AC_LANG_F77],
+[AC_REQUIRE([AC_PROG_F77])
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77])
+])# _LT_AC_LANG_F77
+
+
+# AC_LIBTOOL_GCJ
+# --------------
+# enable support for GCJ libraries
+AC_DEFUN([AC_LIBTOOL_GCJ],
+[AC_REQUIRE([_LT_AC_LANG_GCJ])
+])# AC_LIBTOOL_GCJ
+
+
+# _LT_AC_LANG_GCJ
+# ---------------
+AC_DEFUN([_LT_AC_LANG_GCJ],
+[AC_PROVIDE_IFELSE([AC_PROG_GCJ],[],
+ [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[],
+ [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[],
+ [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])],
+ [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])],
+ [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])])
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ])
+])# _LT_AC_LANG_GCJ
+
+
+# AC_LIBTOOL_RC
+# --------------
+# enable support for Windows resource files
+AC_DEFUN([AC_LIBTOOL_RC],
+[AC_REQUIRE([LT_AC_PROG_RC])
+_LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC])
+])# AC_LIBTOOL_RC
+
+
+# AC_LIBTOOL_LANG_C_CONFIG
+# ------------------------
+# Ensure that the configuration vars for the C compiler are
+# suitably defined. Those variables are subsequently used by
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG])
+AC_DEFUN([_LT_AC_LANG_C_CONFIG],
+[lt_save_CC="$CC"
+AC_LANG_PUSH(C)
+
+# Source file extension for C test sources.
+ac_ext=c
+
+# Object file extension for compiled C test sources.
+objext=o
+_LT_AC_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;\n"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(){return(0);}\n'
+
+_LT_AC_SYS_COMPILER
+
+#
+# Check for any special shared library compilation flags.
+#
+_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)=
+if test "$GCC" = no; then
+ case $host_os in
+ sco3.2v5*)
+ _LT_AC_TAGVAR(lt_prog_cc_shlib, $1)='-belf'
+ ;;
+ esac
+fi
+if test -n "$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)"; then
+ AC_MSG_WARN([`$CC' requires `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to build shared libraries])
+ if echo "$old_CC $old_CFLAGS " | grep "[[ ]]$]_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)[[[ ]]" >/dev/null; then :
+ else
+ AC_MSG_WARN([add `$_LT_AC_TAGVAR(lt_prog_cc_shlib, $1)' to the CC or CFLAGS env variable and reconfigure])
+ _LT_AC_TAGVAR(lt_cv_prog_cc_can_build_shared, $1)=no
+ fi
+fi
+
+
+#
+# Check to make sure the static flag actually works.
+#
+AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $_LT_AC_TAGVAR(lt_prog_compiler_static, $1) works],
+ _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
+ $_LT_AC_TAGVAR(lt_prog_compiler_static, $1),
+ [],
+ [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
+
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
+AC_LIBTOOL_PROG_CC_C_O($1)
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
+AC_LIBTOOL_SYS_LIB_STRIP
+AC_LIBTOOL_DLOPEN_SELF($1)
+
+# Report which librarie types wil actually be built
+AC_MSG_CHECKING([if libtool supports shared libraries])
+AC_MSG_RESULT([$can_build_shared])
+
+AC_MSG_CHECKING([whether to build shared libraries])
+test "$can_build_shared" = "no" && enable_shared=no
+
+# On AIX, shared libraries and static libraries use the same namespace, and
+# are all built from PIC.
+case "$host_os" in
+aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+aix4*)
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+ test "$enable_shared" = yes && enable_static=no
+ fi
+ ;;
+ darwin* | rhapsody*)
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ case "$host_os" in
+ rhapsody* | darwin1.[[012]])
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,suppress'
+ ;;
+ *) # Darwin 1.3 on
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ else
+ case ${MACOSX_DEPLOYMENT_TARGET} in
+ 10.[012])
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ ;;
+ 10.*)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,dynamic_lookup'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ output_verbose_link_cmd='echo'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+esac
+AC_MSG_RESULT([$enable_shared])
+
+AC_MSG_CHECKING([whether to build static libraries])
+# Make sure either enable_shared or enable_static is yes.
+test "$enable_shared" = yes || enable_static=yes
+AC_MSG_RESULT([$enable_static])
+
+AC_LIBTOOL_CONFIG($1)
+
+AC_LANG_POP
+CC="$lt_save_CC"
+])# AC_LIBTOOL_LANG_C_CONFIG
+
+
+# AC_LIBTOOL_LANG_CXX_CONFIG
+# --------------------------
+# Ensure that the configuration vars for the C compiler are
+# suitably defined. Those variables are subsequently used by
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)])
+AC_DEFUN([_LT_AC_LANG_CXX_CONFIG],
+[AC_LANG_PUSH(C++)
+AC_REQUIRE([AC_PROG_CXX])
+AC_REQUIRE([AC_PROG_CXXCPP])
+
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_AC_TAGVAR(allow_undefined_flag, $1)=
+_LT_AC_TAGVAR(always_export_symbols, $1)=no
+_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
+_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_AC_TAGVAR(hardcode_direct, $1)=no
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
+_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
+_LT_AC_TAGVAR(hardcode_automatic, $1)=no
+_LT_AC_TAGVAR(module_cmds, $1)=
+_LT_AC_TAGVAR(module_expsym_cmds, $1)=
+_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_AC_TAGVAR(no_undefined_flag, $1)=
+_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+
+# Dependencies to place before and after the object being linked:
+_LT_AC_TAGVAR(predep_objects, $1)=
+_LT_AC_TAGVAR(postdep_objects, $1)=
+_LT_AC_TAGVAR(predeps, $1)=
+_LT_AC_TAGVAR(postdeps, $1)=
+_LT_AC_TAGVAR(compiler_lib_search_path, $1)=
+
+# Source file extension for C++ test sources.
+ac_ext=cc
+
+# Object file extension for compiled C++ test sources.
+objext=o
+_LT_AC_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;\n"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_AC_SYS_COMPILER
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_LD=$LD
+lt_save_GCC=$GCC
+GCC=$GXX
+lt_save_with_gnu_ld=$with_gnu_ld
+lt_save_path_LD=$lt_cv_path_LD
+if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
+ lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
+else
+ unset lt_cv_prog_gnu_ld
+fi
+if test -n "${lt_cv_path_LDCXX+set}"; then
+ lt_cv_path_LD=$lt_cv_path_LDCXX
+else
+ unset lt_cv_path_LD
+fi
+test -z "${LDCXX+set}" || LD=$LDCXX
+CC=${CXX-"c++"}
+compiler=$CC
+_LT_AC_TAGVAR(compiler, $1)=$CC
+cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
+
+# We don't want -fno-exception wen compiling C++ code, so set the
+# no_builtin_flag separately
+if test "$GXX" = yes; then
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
+else
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
+fi
+
+if test "$GXX" = yes; then
+ # Set up default GNU C++ configuration
+
+ AC_PROG_LD
+
+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
+ # archiving commands below assume that GNU ld is being used.
+ if test "$with_gnu_ld" = yes; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
+ # investigate it a little bit more. (MM)
+ wlarc='${wl}'
+
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
+ grep 'no-whole-archive' > /dev/null; then
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ else
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ else
+ with_gnu_ld=no
+ wlarc=
+
+ # A generic and very simple default shared library creation
+ # command for GNU C++ for the case where it uses the native
+ # linker, instead of GNU ld. If possible, this setting should
+ # overridden to take advantage of the native linker features on
+ # the platform it is being used on.
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib'
+ fi
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
+
+else
+ GXX=no
+ with_gnu_ld=no
+ wlarc=
+fi
+
+# PORTME: fill in a description of your system's C++ link characteristics
+AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
+_LT_AC_TAGVAR(ld_shlibs, $1)=yes
+case $host_os in
+ aix3*)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aix4* | aix5*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ # KDE requires run time linking. Make it the default.
+ aix_use_runtimelinking=yes
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ _LT_AC_TAGVAR(archive_cmds, $1)=''
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+
+ if test "$GXX" = yes; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" && \
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ else
+ # We have old collect2
+ _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+ fi
+ esac
+ shared_flag='-shared'
+ else
+ # not using gcc
+ if test "$host_cpu" = ia64; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='-qmkshrobj ${wl}-G'
+ else
+ shared_flag='-qmkshrobj'
+ fi
+ fi
+ fi
+
+ # Let the compiler handle the export list.
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
+ if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
+ # Determine the default libpath from the value encoded in an empty executable.
+ _LT_AC_SYS_LIBPATH_AIX
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+
+ _LT_AC_TAGVAR(archive_cmds, $1)="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+ else
+ if test "$host_cpu" = ia64; then
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an empty executable.
+ _LT_AC_SYS_LIBPATH_AIX
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
+ # -bexpall does not export symbols beginning with underscore (_)
+ _LT_AC_TAGVAR(always_export_symbols, $1)=yes
+ # Exported symbols can be pulled into shared objects from archives
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
+ # This is similar to how AIX traditionally builds it's shared libraries.
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ fi
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+
+ cygwin* | mingw* | pw32*)
+ # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
+ # as there is no search path for DLLs.
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=no
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+
+ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ # If the export-symbols file already is a .def file (1st line
+ # is EXPORTS), use it as is; otherwise, prepend...
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared -nostdlib $output_objdir/$soname.def $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ darwin* | rhapsody*)
+ if test "$GXX" = yes; then
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ case "$host_os" in
+ rhapsody* | darwin1.[[012]])
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,suppress'
+ ;;
+ *) # Darwin 1.3 on
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ else
+ case ${MACOSX_DEPLOYMENT_TARGET} in
+ 10.[012])
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ ;;
+ 10.*)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,dynamic_lookup'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ lt_int_apple_cc_single_mod=no
+ output_verbose_link_cmd='echo'
+ if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
+ lt_int_apple_cc_single_mod=yes
+ fi
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
+ fi
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
+
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ else
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ fi
+ _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ dgux*)
+ case $cc_basename in
+ ec++)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ ghcx)
+ # Green Hills C++ Compiler
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+ freebsd[12]*)
+ # C++ shared libraries reported to be fairly broken before switch to ELF
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ freebsd-elf*)
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ ;;
+ freebsd* | kfreebsd*-gnu)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
+ ;;
+ gnu*)
+ ;;
+ hpux9*)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+
+ case $cc_basename in
+ CC)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aCC)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+ hpux10*|hpux11*)
+ if test $with_gnu_ld = no; then
+ case "$host_cpu" in
+ hppa*64*)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+ ia64*)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ ;;
+ *)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ ;;
+ esac
+ fi
+ case "$host_cpu" in
+ hppa*64*)
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+ ia64*)
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+ ;;
+ *)
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+ ;;
+ esac
+
+ case $cc_basename in
+ CC)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ aCC)
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
+ ;;
+ *)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
+ ;;
+ esac
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ if test $with_gnu_ld = no; then
+ case "$host_cpu" in
+ ia64*|hppa*64*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
+ ;;
+ *)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
+ ;;
+ esac
+ fi
+ else
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+ irix5* | irix6*)
+ case $cc_basename in
+ CC)
+ # SGI C++
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+
+ # Archives containing C++ object files must be created using
+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ if test "$with_gnu_ld" = no; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
+ fi
+ fi
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+ esac
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+ linux*)
+ case $cc_basename in
+ KCC)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir'
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
+ ;;
+ icpc)
+ # Intel C++
+ with_gnu_ld=yes
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+ ;;
+ cxx)
+ # Compaq C++
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
+
+ runpath_var=LD_RUN_PATH
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ esac
+ ;;
+ lynxos*)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ m88k*)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+ netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
+ wlarc=
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ fi
+ # Workaround some broken pre-1.5 toolchains
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
+ ;;
+ osf3*)
+ case $cc_basename in
+ KCC)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
+
+ ;;
+ RCC)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ cxx)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ *)
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+ osf4* | osf5*)
+ case $cc_basename in
+ KCC)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Archives containing C++ object files must be created using
+ # the KAI C++ compiler.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs'
+ ;;
+ RCC)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ cxx)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
+ echo "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
+ $rm $lib.exp'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ *)
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+ ;;
+ psos*)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ sco*)
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ case $cc_basename in
+ CC)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC)
+ # Sun C++ 4.x
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ lcc)
+ # Lucid
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *)
+ # The C++ compiler is used as linker so we must use $wl
+ # flag to pass the commands to the underlying system
+ # linker.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
+ ;;
+ esac
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[[LR]]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ gcx)
+ # Green Hills C++ Compiler
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
+
+ # The C++ compiler must be used to create the archive.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
+ ;;
+ *)
+ # GNU C++ compiler with Solaris linker
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
+ if $CC --version | grep -v '^2\.7' > /dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
+ else
+ # g++ 2.7 appears to require `-G' NOT `-shared' on this
+ # platform.
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
+ fi
+
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
+ fi
+ ;;
+ esac
+ ;;
+ sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC)
+ # NonStop-UX NCC 3.20
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ ;;
+ vxworks*)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+esac
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+
+_LT_AC_TAGVAR(GCC, $1)="$GXX"
+_LT_AC_TAGVAR(LD, $1)="$LD"
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+AC_LIBTOOL_POSTDEP_PREDEP($1)
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
+AC_LIBTOOL_PROG_CC_C_O($1)
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
+AC_LIBTOOL_SYS_LIB_STRIP
+AC_LIBTOOL_DLOPEN_SELF($1)
+
+AC_LIBTOOL_CONFIG($1)
+
+AC_LANG_POP
+CC=$lt_save_CC
+LDCXX=$LD
+LD=$lt_save_LD
+GCC=$lt_save_GCC
+with_gnu_ldcxx=$with_gnu_ld
+with_gnu_ld=$lt_save_with_gnu_ld
+lt_cv_path_LDCXX=$lt_cv_path_LD
+lt_cv_path_LD=$lt_save_path_LD
+lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
+lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
+])# AC_LIBTOOL_LANG_CXX_CONFIG
+
+# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME])
+# ------------------------
+# Figure out "hidden" library dependencies from verbose
+# compiler output when linking a shared library.
+# Parse the compiler output and extract the necessary
+# objects, libraries and library flags.
+AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
+dnl we can't use the lt_simple_compile_test_code here,
+dnl because it contains code intended for an executable,
+dnl not a library. It's possible we should let each
+dnl tag define a new lt_????_link_test_code variable,
+dnl but it's only used here...
+ifelse([$1],[],[cat > conftest.$ac_ext <<EOF
+int a;
+void foo (void) { a = 0; }
+EOF
+],[$1],[CXX],[cat > conftest.$ac_ext <<EOF
+class Foo
+{
+public:
+ Foo (void) { a = 0; }
+private:
+ int a;
+};
+EOF
+],[$1],[F77],[cat > conftest.$ac_ext <<EOF
+ subroutine foo
+ implicit none
+ integer*4 a
+ a=0
+ return
+ end
+EOF
+],[$1],[GCJ],[cat > conftest.$ac_ext <<EOF
+public class foo {
+ private int a;
+ public void bar (void) {
+ a = 0;
+ }
+};
+EOF
+])
+dnl Parse the compiler output and extract the necessary
+dnl objects, libraries and library flags.
+if AC_TRY_EVAL(ac_compile); then
+ # Parse the compiler output and extract the necessary
+ # objects, libraries and library flags.
+
+ # Sentinel used to keep track of whether or not we are before
+ # the conftest object file.
+ pre_test_object_deps_done=no
+
+ # The `*' in the case matches for architectures that use `case' in
+ # $output_verbose_cmd can trigger glob expansion during the loop
+ # eval without this substitution.
+ output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
+
+ for p in `eval $output_verbose_link_cmd`; do
+ case $p in
+
+ -L* | -R* | -l*)
+ # Some compilers place space between "-{L,R}" and the path.
+ # Remove the space.
+ if test $p = "-L" \
+ || test $p = "-R"; then
+ prev=$p
+ continue
+ else
+ prev=
+ fi
+
+ if test "$pre_test_object_deps_done" = no; then
+ case $p in
+ -L* | -R*)
+ # Internal compiler library paths should come after those
+ # provided the user. The postdeps already come after the
+ # user supplied libs so there is no need to process them.
+ if test -z "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
+ _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
+ else
+ _LT_AC_TAGVAR(compiler_lib_search_path, $1)="${_LT_AC_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
+ fi
+ ;;
+ # The "-l" case would never come before the object being
+ # linked, so don't bother handling this case.
+ esac
+ else
+ if test -z "$_LT_AC_TAGVAR(postdeps, $1)"; then
+ _LT_AC_TAGVAR(postdeps, $1)="${prev}${p}"
+ else
+ _LT_AC_TAGVAR(postdeps, $1)="${_LT_AC_TAGVAR(postdeps, $1)} ${prev}${p}"
+ fi
+ fi
+ ;;
+
+ *.$objext|*.$libext)
+ # This assumes that the test object file only shows up
+ # once in the compiler output.
+ if test "$p" = "conftest.$objext"; then
+ pre_test_object_deps_done=yes
+ continue
+ fi
+
+ if test "$pre_test_object_deps_done" = no; then
+ if test -z "$_LT_AC_TAGVAR(predep_objects, $1)"; then
+ _LT_AC_TAGVAR(predep_objects, $1)="$p"
+ else
+ _LT_AC_TAGVAR(predep_objects, $1)="$_LT_AC_TAGVAR(predep_objects, $1) $p"
+ fi
+ else
+ if test -z "$_LT_AC_TAGVAR(postdep_objects, $1)"; then
+ _LT_AC_TAGVAR(postdep_objects, $1)="$p"
+ else
+ _LT_AC_TAGVAR(postdep_objects, $1)="$_LT_AC_TAGVAR(postdep_objects, $1) $p"
+ fi
+ fi
+ ;;
+
+ *) ;; # Ignore the rest.
+
+ esac
+ done
+
+ # Clean up.
+ rm -f a.out a.exe
+else
+ echo "libtool.m4: error: problem compiling $1 test program"
+fi
+
+$rm -f confest.$objext
+
+case " $_LT_AC_TAGVAR(postdeps, $1) " in
+*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
+esac
+])# AC_LIBTOOL_POSTDEP_PREDEP
+
+# AC_LIBTOOL_LANG_F77_CONFIG
+# ------------------------
+# Ensure that the configuration vars for the C compiler are
+# suitably defined. Those variables are subsequently used by
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [_LT_AC_LANG_F77_CONFIG(F77)])
+AC_DEFUN([_LT_AC_LANG_F77_CONFIG],
+[AC_REQUIRE([AC_PROG_F77])
+AC_LANG_PUSH(Fortran 77)
+
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+_LT_AC_TAGVAR(allow_undefined_flag, $1)=
+_LT_AC_TAGVAR(always_export_symbols, $1)=no
+_LT_AC_TAGVAR(archive_expsym_cmds, $1)=
+_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
+_LT_AC_TAGVAR(hardcode_direct, $1)=no
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
+_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
+_LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+_LT_AC_TAGVAR(hardcode_minus_L, $1)=no
+_LT_AC_TAGVAR(hardcode_automatic, $1)=no
+_LT_AC_TAGVAR(module_cmds, $1)=
+_LT_AC_TAGVAR(module_expsym_cmds, $1)=
+_LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
+_LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
+_LT_AC_TAGVAR(no_undefined_flag, $1)=
+_LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+
+# Source file extension for f77 test sources.
+ac_ext=f
+
+# Object file extension for compiled f77 test sources.
+objext=o
+_LT_AC_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code=" subroutine t\n return\n end\n"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code=" program t\n end\n"
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_AC_SYS_COMPILER
+
+# Allow CC to be a program name with arguments.
+lt_save_CC="$CC"
+CC=${F77-"f77"}
+compiler=$CC
+_LT_AC_TAGVAR(compiler, $1)=$CC
+cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
+
+AC_MSG_CHECKING([if libtool supports shared libraries])
+AC_MSG_RESULT([$can_build_shared])
+
+AC_MSG_CHECKING([whether to build shared libraries])
+test "$can_build_shared" = "no" && enable_shared=no
+
+# On AIX, shared libraries and static libraries use the same namespace, and
+# are all built from PIC.
+case "$host_os" in
+aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+aix4*)
+ test "$enable_shared" = yes && enable_static=no
+ ;;
+esac
+AC_MSG_RESULT([$enable_shared])
+
+AC_MSG_CHECKING([whether to build static libraries])
+# Make sure either enable_shared or enable_static is yes.
+test "$enable_shared" = yes || enable_static=yes
+AC_MSG_RESULT([$enable_static])
+
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+
+_LT_AC_TAGVAR(GCC, $1)="$G77"
+_LT_AC_TAGVAR(LD, $1)="$LD"
+
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
+AC_LIBTOOL_PROG_CC_C_O($1)
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
+AC_LIBTOOL_SYS_LIB_STRIP
+
+
+AC_LIBTOOL_CONFIG($1)
+
+AC_LANG_POP
+CC="$lt_save_CC"
+])# AC_LIBTOOL_LANG_F77_CONFIG
+
+
+# AC_LIBTOOL_LANG_GCJ_CONFIG
+# --------------------------
+# Ensure that the configuration vars for the C compiler are
+# suitably defined. Those variables are subsequently used by
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [_LT_AC_LANG_GCJ_CONFIG(GCJ)])
+AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG],
+[AC_LANG_SAVE
+
+# Source file extension for Java test sources.
+ac_ext=java
+
+# Object file extension for compiled Java test sources.
+objext=o
+_LT_AC_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="class foo {}\n"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_AC_SYS_COMPILER
+
+# Allow CC to be a program name with arguments.
+lt_save_CC="$CC"
+CC=${GCJ-"gcj"}
+compiler=$CC
+_LT_AC_TAGVAR(compiler, $1)=$CC
+
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
+_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1)
+AC_LIBTOOL_PROG_COMPILER_PIC($1)
+AC_LIBTOOL_PROG_CC_C_O($1)
+AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1)
+AC_LIBTOOL_PROG_LD_SHLIBS($1)
+AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)
+AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1)
+AC_LIBTOOL_SYS_LIB_STRIP
+AC_LIBTOOL_DLOPEN_SELF($1)
+
+AC_LIBTOOL_CONFIG($1)
+
+AC_LANG_RESTORE
+CC="$lt_save_CC"
+])# AC_LIBTOOL_LANG_GCJ_CONFIG
+
+
+# AC_LIBTOOL_LANG_RC_CONFIG
+# --------------------------
+# Ensure that the configuration vars for the Windows resource compiler are
+# suitably defined. Those variables are subsequently used by
+# AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'.
+AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG], [_LT_AC_LANG_RC_CONFIG(RC)])
+AC_DEFUN([_LT_AC_LANG_RC_CONFIG],
+[AC_LANG_SAVE
+
+# Source file extension for RC test sources.
+ac_ext=rc
+
+# Object file extension for compiled RC test sources.
+objext=o
+_LT_AC_TAGVAR(objext, $1)=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
+
+# Code to be used in simple link tests
+lt_simple_link_test_code="$lt_simple_compile_test_code"
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+_LT_AC_SYS_COMPILER
+
+# Allow CC to be a program name with arguments.
+lt_save_CC="$CC"
+CC=${RC-"windres"}
+compiler=$CC
+_LT_AC_TAGVAR(compiler, $1)=$CC
+_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
+
+AC_LIBTOOL_CONFIG($1)
+
+AC_LANG_RESTORE
+CC="$lt_save_CC"
+])# AC_LIBTOOL_LANG_RC_CONFIG
+
+
+# AC_LIBTOOL_CONFIG([TAGNAME])
+# ----------------------------
+# If TAGNAME is not passed, then create an initial libtool script
+# with a default configuration from the untagged config vars. Otherwise
+# add code to config.status for appending the configuration named by
+# TAGNAME from the matching tagged config vars.
+AC_DEFUN([AC_LIBTOOL_CONFIG],
+[# The else clause should only fire when bootstrapping the
+# libtool distribution, otherwise you forgot to ship ltmain.sh
+# with your package, and you will get complaints that there are
+# no rules to generate ltmain.sh.
+if test -f "$ltmain"; then
+ # See if we are running on zsh, and set the options which allow our commands through
+ # without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}" ; then
+ setopt NO_GLOB_SUBST
+ fi
+ # Now quote all the things that may contain metacharacters while being
+ # careful not to overquote the AC_SUBSTed values. We take copies of the
+ # variables and quote the copies for generation of the libtool script.
+ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
+ libname_spec library_names_spec soname_spec extract_expsyms_cmds \
+ old_striplib striplib file_magic_cmd finish_cmds finish_eval \
+ deplibs_check_method reload_flag reload_cmds need_locks \
+ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+ lt_cv_sys_global_symbol_to_c_name_address \
+ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+ old_postinstall_cmds old_postuninstall_cmds \
+ _LT_AC_TAGVAR(compiler, $1) \
+ _LT_AC_TAGVAR(CC, $1) \
+ _LT_AC_TAGVAR(LD, $1) \
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1) \
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1) \
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1) \
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) \
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1) \
+ _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \
+ _LT_AC_TAGVAR(old_archive_cmds, $1) \
+ _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \
+ _LT_AC_TAGVAR(predep_objects, $1) \
+ _LT_AC_TAGVAR(postdep_objects, $1) \
+ _LT_AC_TAGVAR(predeps, $1) \
+ _LT_AC_TAGVAR(postdeps, $1) \
+ _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
+ _LT_AC_TAGVAR(archive_cmds, $1) \
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
+ _LT_AC_TAGVAR(postinstall_cmds, $1) \
+ _LT_AC_TAGVAR(postuninstall_cmds, $1) \
+ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \
+ _LT_AC_TAGVAR(allow_undefined_flag, $1) \
+ _LT_AC_TAGVAR(no_undefined_flag, $1) \
+ _LT_AC_TAGVAR(export_symbols_cmds, $1) \
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1) \
+ _LT_AC_TAGVAR(hardcode_automatic, $1) \
+ _LT_AC_TAGVAR(module_cmds, $1) \
+ _LT_AC_TAGVAR(module_expsym_cmds, $1) \
+ _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
+ _LT_AC_TAGVAR(exclude_expsyms, $1) \
+ _LT_AC_TAGVAR(include_expsyms, $1); do
+
+ case $var in
+ _LT_AC_TAGVAR(old_archive_cmds, $1) | \
+ _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) | \
+ _LT_AC_TAGVAR(archive_cmds, $1) | \
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1) | \
+ _LT_AC_TAGVAR(module_cmds, $1) | \
+ _LT_AC_TAGVAR(module_expsym_cmds, $1) | \
+ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) | \
+ _LT_AC_TAGVAR(export_symbols_cmds, $1) | \
+ extract_expsyms_cmds | reload_cmds | finish_cmds | \
+ postinstall_cmds | postuninstall_cmds | \
+ old_postinstall_cmds | old_postuninstall_cmds | \
+ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
+ # Double-quote double-evaled strings.
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
+ ;;
+ *)
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
+ ;;
+ esac
+ done
+
+ case $lt_echo in
+ *'\[$]0 --fallback-echo"')
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\[$]0 --fallback-echo"[$]/[$]0 --fallback-echo"/'`
+ ;;
+ esac
+
+ifelse([$1], [],
+ [cfgfile="${ofile}T"
+ trap "$rm \"$cfgfile\"; exit 1" 1 2 15
+ $rm -f "$cfgfile"
+ AC_MSG_NOTICE([creating $ofile])],
+ [cfgfile="$ofile"])
+
+ cat <<__EOF__ >> "$cfgfile"
+ifelse([$1], [],
+[#! $SHELL
+
+# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
+# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+#
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
+# Free Software Foundation, Inc.
+#
+# This file is part of GNU Libtool:
+# Originally by Gordon Matzigkeit <gord at gnu.ai.mit.edu>, 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 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# 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.
+
+# A sed program that does not truncate output.
+SED=$lt_SED
+
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
+Xsed="$SED -e s/^X//"
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+
+# The names of the tagged configurations supported by this script.
+available_tags=
+
+# ### BEGIN LIBTOOL CONFIG],
+[# ### BEGIN LIBTOOL TAG CONFIG: $tagname])
+
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# Whether or not to build shared libraries.
+build_libtool_libs=$enable_shared
+
+# Whether or not to build static libraries.
+build_old_libs=$enable_static
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)
+
+# Whether or not to disallow shared libs when runtime libs are static
+allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)
+
+# Whether or not to optimize for fast installation.
+fast_install=$enable_fast_install
+
+# The host system.
+host_alias=$host_alias
+host=$host
+
+# An echo program that does not interpret backslashes.
+echo=$lt_echo
+
+# The archiver.
+AR=$lt_AR
+AR_FLAGS=$lt_AR_FLAGS
+
+# A C compiler.
+LTCC=$lt_LTCC
+
+# A language-specific compiler.
+CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
+
+# Is the compiler the GNU C compiler?
+with_gcc=$_LT_AC_TAGVAR(GCC, $1)
+
+# An ERE matcher.
+EGREP=$lt_EGREP
+
+# The linker used to build libraries.
+LD=$lt_[]_LT_AC_TAGVAR(LD, $1)
+
+# Whether we need hard or soft links.
+LN_S=$lt_LN_S
+
+# A BSD-compatible nm program.
+NM=$lt_NM
+
+# A symbol stripping program
+STRIP=$STRIP
+
+# Used to examine libraries when file_magic_cmd begins "file"
+MAGIC_CMD=$MAGIC_CMD
+
+# Used on cygwin: DLL creation program.
+DLLTOOL="$DLLTOOL"
+
+# Used on cygwin: object dumper.
+OBJDUMP="$OBJDUMP"
+
+# Used on cygwin: assembler.
+AS="$AS"
+
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
+# How to pass a linker flag through the compiler.
+wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
+
+# Object file suffix (normally "o").
+objext="$ac_objext"
+
+# Old archive suffix (normally "a").
+libext="$libext"
+
+# Shared library suffix (normally ".so").
+shrext='$shrext'
+
+# Executable file suffix (normally "").
+exeext="$exeext"
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)
+pic_mode=$pic_mode
+
+# What is the maximum length of a command?
+max_cmd_len=$lt_cv_sys_max_cmd_len
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)
+
+# Must we lock files when doing compilation ?
+need_locks=$lt_need_locks
+
+# Do we need the lib prefix for modules?
+need_lib_prefix=$need_lib_prefix
+
+# Do we need a version for libraries?
+need_version=$need_version
+
+# Whether dlopen is supported.
+dlopen_support=$enable_dlopen
+
+# Whether dlopen of programs is supported.
+dlopen_self=$enable_dlopen_self
+
+# Whether dlopen of statically linked programs is supported.
+dlopen_self_static=$enable_dlopen_self_static
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1)
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1)
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1)
+
+# Compiler flag to generate thread-safe objects.
+thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1)
+
+# Library versioning type.
+version_type=$version_type
+
+# Format of library name prefix.
+libname_spec=$lt_libname_spec
+
+# List of archive names. First name is the real one, the rest are links.
+# The last name is the one that the linker finds with -lNAME.
+library_names_spec=$lt_library_names_spec
+
+# The coded name of the library, if different from the real name.
+soname_spec=$lt_soname_spec
+
+# Commands used to build and install an old-style archive.
+RANLIB=$lt_RANLIB
+old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1)
+old_postinstall_cmds=$lt_old_postinstall_cmds
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1)
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)
+
+# Commands used to build and install a shared archive.
+archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1)
+archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1)
+postinstall_cmds=$lt_postinstall_cmds
+postuninstall_cmds=$lt_postuninstall_cmds
+
+# Commands used to build a loadable module (assumed same as above if empty)
+module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1)
+module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1)
+
+# Commands to strip libraries.
+old_striplib=$lt_old_striplib
+striplib=$lt_striplib
+
+# Dependencies to place before the objects being linked to create a
+# shared library.
+predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
+
+# Dependencies to place after the objects being linked to create a
+# shared library.
+postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
+
+# Dependencies to place before the objects being linked to create a
+# shared library.
+predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1)
+
+# Dependencies to place after the objects being linked to create a
+# shared library.
+postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
+
+# Method to check whether dependent libraries are shared objects.
+deplibs_check_method=$lt_deplibs_check_method
+
+# Command to use when deplibs_check_method == file_magic.
+file_magic_cmd=$lt_file_magic_cmd
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1)
+
+# Flag that forces no undefined symbols.
+no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1)
+
+# Commands used to finish a libtool library installation in a directory.
+finish_cmds=$lt_finish_cmds
+
+# Same as above, but a single script fragment to be evaled but not shown.
+finish_eval=$lt_finish_eval
+
+# Take the output of nm and produce a listing of raw symbols and C names.
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
+
+# Transform the output of nm in a proper C declaration
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
+
+# Transform the output of nm in a C name address pair
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+
+# This is the shared library runtime path variable.
+runpath_var=$runpath_var
+
+# This is the shared library path variable.
+shlibpath_var=$shlibpath_var
+
+# Is shlibpath searched before the hard-coded library search path?
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1)
+
+# Whether we should hardcode library paths into libraries.
+hardcode_into_libs=$hardcode_into_libs
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist.
+hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)
+
+# If ld is used when linking, flag to hardcode \$libdir into
+# a binary during linking. This must work even if \$libdir does
+# not exist.
+hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)
+
+# Whether we need a single -rpath flag with a separated argument.
+hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1)
+
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
+# resulting binary.
+hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1)
+
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
+# resulting binary.
+hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1)
+
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
+# the resulting binary.
+hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)
+
+# Set to yes if building a shared library automatically hardcodes DIR into the library
+# and all subsequent libraries and executables linked against it.
+hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1)
+
+# Variables whose values should be saved in libtool wrapper scripts and
+# restored at relink time.
+variables_saved_for_relink="$variables_saved_for_relink"
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
+
+# Compile-time system search path for libraries
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+
+# Run-time system search path for libraries
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+
+# Fix the shell variable \$srcfile for the compiler.
+fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
+
+# Set to yes if exported symbols are required.
+always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1)
+
+# The commands to extract the exported symbol list from a shared archive.
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1)
+
+# Symbols that must always be exported.
+include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1)
+
+ifelse([$1],[],
+[# ### END LIBTOOL CONFIG],
+[# ### END LIBTOOL TAG CONFIG: $tagname])
+
+__EOF__
+
+ifelse([$1],[], [
+ case $host_os in
+ aix3*)
+ cat <<\EOF >> "$cfgfile"
+
+# AIX sometimes has problems with the GCC collect2 program. For some
+# reason, if we set the COLLECT_NAMES environment variable, the problems
+# vanish in a puff of smoke.
+if test "X${COLLECT_NAMES+set}" != Xset; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+fi
+EOF
+ ;;
+ esac
+
+ # We use sed instead of cat because bash on DJGPP gets confused if
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+ sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
+
+ mv -f "$cfgfile" "$ofile" || \
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+])
+else
+ # If there is no Makefile yet, we rely on a make rule to execute
+ # `config.status --recheck' to rerun these tests and create the
+ # libtool script then.
+ test -f Makefile && make "$ltmain"
+fi
+])# AC_LIBTOOL_CONFIG
+
+
+# AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME])
+# -------------------------------------------
+AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI],
+[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
+
+_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
+
+if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
+
+ AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
+ lt_cv_prog_compiler_rtti_exceptions,
+ [-fno-rtti -fno-exceptions], [],
+ [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
+fi
+])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI
+
+
+# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
+# ---------------------------------
+AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
+[AC_REQUIRE([AC_CANONICAL_HOST])
+AC_REQUIRE([AC_PROG_NM])
+AC_REQUIRE([AC_OBJEXT])
+# Check for command to grab the raw symbol name followed by C symbol from nm.
+AC_MSG_CHECKING([command to parse $NM output from $compiler object])
+AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
+[
+# These are sane defaults that work on at least a few old systems.
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
+
+# Character class describing NM global symbol codes.
+symcode='[[BCDEGRST]]'
+
+# Regexp to match symbols that can be accessed directly from C.
+sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
+
+# Transform the above into a raw symbol and a C symbol.
+symxfrm='\1 \2\3 \3'
+
+# Transform an extracted symbol line into a proper C declaration
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
+
+# Transform an extracted symbol line into symbol name and symbol address
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
+
+# Define system-specific variables.
+case $host_os in
+aix*)
+ symcode='[[BCDT]]'
+ ;;
+cygwin* | mingw* | pw32*)
+ symcode='[[ABCDGISTW]]'
+ ;;
+hpux*) # Its linker distinguishes data from code symbols
+ if test "$host_cpu" = ia64; then
+ symcode='[[ABCDEGRST]]'
+ fi
+ lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+ lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
+ ;;
+irix* | nonstopux*)
+ symcode='[[BCDEGRST]]'
+ ;;
+osf*)
+ symcode='[[BCDEGQRST]]'
+ ;;
+solaris* | sysv5*)
+ symcode='[[BDT]]'
+ ;;
+sysv4)
+ symcode='[[DFNSTU]]'
+ ;;
+esac
+
+# Handle CRLF in mingw tool chain
+opt_cr=
+case $build_os in
+mingw*)
+ opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+ ;;
+esac
+
+# If we're using GNU nm, then use its standard symbol codes.
+case `$NM -V 2>&1` in
+*GNU* | *'with BFD'*)
+ symcode='[[ABCDGISTW]]' ;;
+esac
+
+# Try without a prefix undercore, then with it.
+for ac_symprfx in "" "_"; do
+
+ # Write the raw and C identifiers.
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+
+ rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#ifdef __cplusplus
+extern "C" {
+#endif
+char nm_test_var;
+void nm_test_func(){}
+#ifdef __cplusplus
+}
+#endif
+int main(){nm_test_var='a';nm_test_func();return(0);}
+EOF
+
+ if AC_TRY_EVAL(ac_compile); then
+ # Now try to grab the symbols.
+ nlist=conftest.nm
+ if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
+ # Try sorting and uniquifying the output.
+ if sort "$nlist" | uniq > "$nlist"T; then
+ mv -f "$nlist"T "$nlist"
+ else
+ rm -f "$nlist"T
+ fi
+
+ # Make sure that we snagged all the symbols we need.
+ if grep ' nm_test_var$' "$nlist" >/dev/null; then
+ if grep ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<EOF > conftest.$ac_ext
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+EOF
+ # Now generate the symbol file.
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
+
+ cat <<EOF >> conftest.$ac_ext
+#if defined (__STDC__) && __STDC__
+# define lt_ptr_t void *
+#else
+# define lt_ptr_t char *
+# define const
+#endif
+
+/* The mapping between symbol names and symbols. */
+const struct {
+ const char *name;
+ lt_ptr_t address;
+}
+lt_preloaded_symbols[[]] =
+{
+EOF
+ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
+ cat <<\EOF >> conftest.$ac_ext
+ {0, (lt_ptr_t) 0}
+};
+
+#ifdef __cplusplus
+}
+#endif
+EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+ lt_save_LIBS="$LIBS"
+ lt_save_CFLAGS="$CFLAGS"
+ LIBS="conftstm.$ac_objext"
+ CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
+ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
+ pipe_works=yes
+ fi
+ LIBS="$lt_save_LIBS"
+ CFLAGS="$lt_save_CFLAGS"
+ else
+ echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
+ fi
+ else
+ echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
+ cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest* conftst*
+
+ # Do not use the global_symbol_pipe unless it works.
+ if test "$pipe_works" = yes; then
+ break
+ else
+ lt_cv_sys_global_symbol_pipe=
+ fi
+done
+])
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
+ lt_cv_sys_global_symbol_to_cdecl=
+fi
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
+ AC_MSG_RESULT(failed)
+else
+ AC_MSG_RESULT(ok)
+fi
+]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
+
+
+# AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME])
+# ---------------------------------------
+AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC],
+[_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=
+_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=
+
+AC_MSG_CHECKING([for $compiler option to produce PIC])
+ ifelse([$1],[CXX],[
+ # C++ specific cases for pic, static, wl, etc.
+ if test "$GXX" = yes; then
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+ amigaos*)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the `-m68020' flag to GCC prevents building anything better,
+ # like `-m68040'.
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+ mingw* | os2* | pw32*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
+ ;;
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ ;;
+ *djgpp*)
+ # DJGPP does not support shared libraries at all
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+ ;;
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
+ fi
+ ;;
+ hpux*)
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ else
+ case $host_os in
+ aix4* | aix5*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ else
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ cxch68)
+ # Green Hills C++ Compiler
+ # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
+ ;;
+ esac
+ ;;
+ dgux*)
+ case $cc_basename in
+ ec++)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ ;;
+ ghcx)
+ # Green Hills C++ Compiler
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ freebsd* | kfreebsd*-gnu)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ case $cc_basename in
+ CC)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
+ if test "$host_cpu" != ia64; then
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ fi
+ ;;
+ aCC)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ ;;
+ esac
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ irix5* | irix6* | nonstopux*)
+ case $cc_basename in
+ CC)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ # CC pic flag -KPIC is the default.
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ linux*)
+ case $cc_basename in
+ KCC)
+ # KAI C++ Compiler
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ icpc)
+ # Intel C++
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ cxx)
+ # Compaq C++
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ lynxos*)
+ ;;
+ m88k*)
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ netbsd*)
+ ;;
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
+ ;;
+ RCC)
+ # Rational C++ 2.4.1
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ cxx)
+ # Digital/Compaq C++
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ psos*)
+ ;;
+ sco*)
+ case $cc_basename in
+ CC)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ ;;
+ gcx)
+ # Green Hills C++ Compiler
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC)
+ # Sun C++ 4.x
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ lcc)
+ # Lucid
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC)
+ # NonStop-UX NCC 3.20
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ unixware*)
+ ;;
+ vxworks*)
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+ esac
+ fi
+],
+[
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+
+ amigaos*)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the `-m68020' flag to GCC prevents building anything better,
+ # like `-m68040'.
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
+ ;;
+
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+
+ mingw* | pw32* | os2*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
+ ;;
+
+ msdosdjgpp*)
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
+ # on systems that don't support them.
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ enable_shared=no
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
+ fi
+ ;;
+
+ hpux*)
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ ;;
+
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
+ ;;
+ esac
+ else
+ # PORTME Check for flag to pass linker flags through the system compiler.
+ case $host_os in
+ aix*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ else
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+
+ mingw* | pw32* | os2*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
+ ;;
+ esac
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # PIC (with -KPIC) is the default.
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ newsos6)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ linux*)
+ case $CC in
+ icc* | ecc*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
+ ;;
+ ccc*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # All Alpha code is PIC.
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ esac
+ ;;
+
+ osf3* | osf4* | osf5*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ # All OSF/1 code is PIC.
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+
+ sco3.2v5*)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kpic'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-dn'
+ ;;
+
+ solaris*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sunos4*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec ;then
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ fi
+ ;;
+
+ uts4*)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+ esac
+ fi
+])
+AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)])
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
+ AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
+ _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
+ [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
+ [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
+ "" | " "*) ;;
+ *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;;
+ esac],
+ [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
+fi
+case "$host_os" in
+ # For platforms which do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])"
+ ;;
+esac
+])
+
+
+# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME])
+# ------------------------------------
+# See if the linker supports building shared libraries.
+AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
+[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
+ifelse([$1],[CXX],[
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ case $host_os in
+ aix4* | aix5*)
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
+ if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
+ else
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
+ fi
+ ;;
+ pw32*)
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
+ ;;
+ cygwin* | mingw*)
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
+ ;;
+ *)
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ ;;
+ esac
+],[
+ runpath_var=
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+ _LT_AC_TAGVAR(archive_cmds, $1)=
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)=
+ _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)=
+ _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)=
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+ _LT_AC_TAGVAR(thread_safe_flag_spec, $1)=
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown
+ _LT_AC_TAGVAR(hardcode_automatic, $1)=no
+ _LT_AC_TAGVAR(module_cmds, $1)=
+ _LT_AC_TAGVAR(module_expsym_cmds, $1)=
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ # include_expsyms should be a list of space-separated symbols to be *always*
+ # included in the symbol list
+ _LT_AC_TAGVAR(include_expsyms, $1)=
+ # exclude_expsyms can be an extended regexp of symbols to exclude
+ # it will be wrapped by ` (' and `)$', so one must not match beginning or
+ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
+ # as well as any symbol that contains `d'.
+ _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+ # platforms (ab)use it in PIC code, but their linkers get confused if
+ # the symbol is explicitly referenced. Since portable code cannot
+ # rely on this symbol name, it's probably fine to never include it in
+ # preloaded symbol tables.
+ extract_expsyms_cmds=
+
+ case $host_os in
+ cygwin* | mingw* | pw32*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test "$GCC" != yes; then
+ with_gnu_ld=no
+ fi
+ ;;
+ openbsd*)
+ with_gnu_ld=no
+ ;;
+ esac
+
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
+ if test "$with_gnu_ld" = yes; then
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ wlarc='${wl}'
+
+ # See if GNU ld supports shared libraries.
+ case $host_os in
+ aix3* | aix4* | aix5*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test "$host_cpu" != ia64; then
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ cat <<EOF 1>&2
+
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
+*** to be unable to reliably create shared libraries on AIX.
+*** Therefore, libtool is disabling shared libraries support. If you
+*** really care for shared libraries, you may want to modify your PATH
+*** so that a non-GNU linker is found, and then restart.
+
+EOF
+ fi
+ ;;
+
+ amigaos*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+
+ # Samuel A. Falvo II <kc5tja at dolphin.openprojects.net> reports
+ # that the semantics of dynamic libraries on AmigaOS, at least up
+ # to version 4, is to share data among multiple programs linked
+ # with the same dynamic library. Since this doesn't match the
+ # behavior of shared libraries on other platforms, we can't use
+ # them.
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+ # Joseph Beckenbach <jrb3 at best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32*)
+ # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
+ # as there is no search path for DLLs.
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=no
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
+
+ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ # If the export-symbols file already is a .def file (1st line
+ # is EXPORTS), use it as is; otherwise, prepend...
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+ solaris* | sysv5*)
+ if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ cat <<EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** create shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+EOF
+ elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ sunos4*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ wlarc=
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+ esac
+
+ if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = yes; then
+ runpath_var=LD_RUN_PATH
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ else
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=
+ fi
+ fi
+ else
+ # PORTME fill in a description of your system's linker (not GNU ld)
+ case $host_os in
+ aix3*)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_AC_TAGVAR(always_export_symbols, $1)=yes
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ if test "$GCC" = yes && test -z "$link_static_flag"; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
+ fi
+ ;;
+
+ aix4* | aix5*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
+ if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
+ else
+ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols'
+ fi
+
+ # KDE requires run time linking. Make it the default.
+ aix_use_runtimelinking=yes
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ _LT_AC_TAGVAR(archive_cmds, $1)=''
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':'
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+
+ if test "$GCC" = yes; then
+ case $host_os in aix4.[012]|aix4.[012].*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" && \
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ else
+ # We have old collect2
+ _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=
+ fi
+ esac
+ shared_flag='-shared'
+ else
+ # not using gcc
+ if test "$host_cpu" = ia64; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='-qmkshrobj ${wl}-G'
+ else
+ shared_flag='-qmkshrobj'
+ fi
+ fi
+ fi
+
+ # Let the compiler handle the export list.
+ _LT_AC_TAGVAR(always_export_symbols, $1)=no
+ if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok'
+ # Determine the default libpath from the value encoded in an empty executable.
+ _LT_AC_SYS_LIBPATH_AIX
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ _LT_AC_TAGVAR(archive_cmds, $1)="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+ else
+ if test "$host_cpu" = ia64; then
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an empty executable.
+ _LT_AC_SYS_LIBPATH_AIX
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
+ # -bexpall does not export symbols beginning with underscore (_)
+ _LT_AC_TAGVAR(always_export_symbols, $1)=yes
+ # Exported symbols can be pulled into shared objects from archives
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
+ # This is similar to how AIX traditionally builds it's shared libraries.
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ fi
+ fi
+ ;;
+
+ amigaos*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ # see comment about different semantics on the GNU ld section
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ bsdi4*)
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
+ ;;
+
+ cygwin* | mingw* | pw32*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=no
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext=".dll"
+ # FIXME: Setting linknames here is a bad hack.
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
+ # The linker will automatically build a .lib file if we build a DLL.
+ _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
+ # FIXME: Should let the user specify the lib program.
+ _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
+ fix_srcfile_path='`cygpath -w "$srcfile"`'
+ _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
+ ;;
+
+ darwin* | rhapsody*)
+ if test "$GXX" = yes ; then
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ case "$host_os" in
+ rhapsody* | darwin1.[[012]])
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,suppress'
+ ;;
+ *) # Darwin 1.3 on
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ else
+ case ${MACOSX_DEPLOYMENT_TARGET} in
+ 10.[012])
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ ;;
+ 10.*)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)='-Wl,-undefined -Wl,dynamic_lookup'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ lt_int_apple_cc_single_mod=no
+ output_verbose_link_cmd='echo'
+ if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
+ lt_int_apple_cc_single_mod=yes
+ fi
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
+ fi
+ _LT_AC_TAGVAR(module_cmds, $1)='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ else
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ fi
+ _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience'
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ else
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ fi
+ ;;
+
+ dgux*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ freebsd1*)
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+ # support. Future versions do this automatically, but an explicit c++rt0.o
+ # does not break anything, and helps significantly (at the cost of a little
+ # extra space).
+ freebsd2.2*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+ freebsd2*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | kfreebsd*-gnu)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ hpux9*)
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ ;;
+
+ hpux10* | hpux11*)
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ ;;
+ *)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
+ ;;
+ esac
+ else
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
+ ;;
+ *)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ ;;
+ esac
+ fi
+ if test "$with_gnu_ld" = no; then
+ case "$host_cpu" in
+ hppa*64*)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+ ia64*)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ ;;
+ *)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ ;;
+ esac
+ fi
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ newsos6)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ openbsd*)
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
+ else
+ case $host_os in
+ openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ ;;
+ *)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
+ ;;
+ esac
+ fi
+ ;;
+
+ os2*)
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
+ _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
+ _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+ ;;
+
+ osf3*)
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
+ else
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
+ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
+
+ # Both c and cxx compiler support -rpath directly
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
+ ;;
+
+ sco3.2v5*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ ;;
+
+ solaris*)
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ case $host_os in
+ solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
+ *) # Supported since Solaris 2.6 (maybe 2.5.1?)
+ _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
+ esac
+ _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
+ ;;
+
+ sunos4*)
+ if test "x$host_vendor" = xsequent; then
+ # Use $CC to link under sequent, because it throws in some extra .o
+ # files that make .init and .fini sections work.
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv4)
+ case $host_vendor in
+ sni)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true???
+ ;;
+ siemens)
+ ## LD is ld it makes a PLAMLIB
+ ## CC just makes a GrossModule.
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no
+ ;;
+ motorola)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ runpath_var='LD_RUN_PATH'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv4.3*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ _LT_AC_TAGVAR(ld_shlibs, $1)=yes
+ fi
+ ;;
+
+ sysv4.2uw2*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=no
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ hardcode_runpath_var=yes
+ runpath_var=LD_RUN_PATH
+ ;;
+
+ sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[[78]]* | unixware7*)
+ _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z ${wl}text'
+ if test "$GCC" = yes; then
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ else
+ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ fi
+ runpath_var='LD_RUN_PATH'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ sysv5*)
+ _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text'
+ # $CC -shared without GNU ld will not create a library from C++
+ # object files and a static libstdc++, better avoid it by now
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ runpath_var='LD_RUN_PATH'
+ ;;
+
+ uts4*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+ *)
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+ esac
+ fi
+])
+AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)])
+test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test "$GCC" = yes; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in
+x|xyes)
+ # Assume -lc should be added
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
+
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
+ case $_LT_AC_TAGVAR(archive_cmds, $1) in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ AC_MSG_CHECKING([whether -lc should be explicitly linked in])
+ $rm conftest*
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1)
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=
+ if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1)
+ then
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
+ else
+ _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
+ fi
+ _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $rm conftest*
+ AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
+ ;;
+ esac
+ fi
+ ;;
+esac
+])# AC_LIBTOOL_PROG_LD_SHLIBS
+
+
+# _LT_AC_FILE_LTDLL_C
+# -------------------
+# Be careful that the start marker always follows a newline.
+AC_DEFUN([_LT_AC_FILE_LTDLL_C], [
+# /* ltdll.c starts here */
+# #define WIN32_LEAN_AND_MEAN
+# #include <windows.h>
+# #undef WIN32_LEAN_AND_MEAN
+# #include <stdio.h>
+#
+# #ifndef __CYGWIN__
+# # ifdef __CYGWIN32__
+# # define __CYGWIN__ __CYGWIN32__
+# # endif
+# #endif
+#
+# #ifdef __cplusplus
+# extern "C" {
+# #endif
+# BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
+# #ifdef __cplusplus
+# }
+# #endif
+#
+# #ifdef __CYGWIN__
+# #include <cygwin/cygwin_dll.h>
+# DECLARE_CYGWIN_DLL( DllMain );
+# #endif
+# HINSTANCE __hDllInstance_base;
+#
+# BOOL APIENTRY
+# DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
+# {
+# __hDllInstance_base = hInst;
+# return TRUE;
+# }
+# /* ltdll.c ends here */
+])# _LT_AC_FILE_LTDLL_C
+
+
+# _LT_AC_TAGVAR(VARNAME, [TAGNAME])
+# ---------------------------------
+AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])])
+
+
+# old names
+AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL])
+AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
+AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
+AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
+AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
+AC_DEFUN([AM_PROG_LD], [AC_PROG_LD])
+AC_DEFUN([AM_PROG_NM], [AC_PROG_NM])
+
+# This is just to silence aclocal about the macro not being used
+ifelse([AC_DISABLE_FAST_INSTALL])
+
+AC_DEFUN([LT_AC_PROG_GCJ],
+[AC_CHECK_TOOL(GCJ, gcj, no)
+ test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
+ AC_SUBST(GCJFLAGS)
+])
+
+AC_DEFUN([LT_AC_PROG_RC],
+[AC_CHECK_TOOL(RC, windres, no)
+])
+
+############################################################
+# NOTE: This macro has been submitted for inclusion into #
+# GNU Autoconf as AC_PROG_SED. When it is available in #
+# a released version of Autoconf we should remove this #
+# macro and use it instead. #
+############################################################
+# LT_AC_PROG_SED
+# --------------
+# Check for a fully-functional sed program, that truncates
+# as few characters as possible. Prefer GNU sed if found.
+AC_DEFUN([LT_AC_PROG_SED],
+[AC_MSG_CHECKING([for a sed that does not truncate output])
+AC_CACHE_VAL(lt_cv_path_SED,
+[# Loop through the user's path and test for sed and gsed.
+# Then use that list of sed's as ones to test for truncation.
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for lt_ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
+ lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
+ fi
+ done
+ done
+done
+lt_ac_max=0
+lt_ac_count=0
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
+# along with /bin/sed that truncates output.
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
+ test ! -f $lt_ac_sed && break
+ cat /dev/null > conftest.in
+ lt_ac_count=0
+ echo $ECHO_N "0123456789$ECHO_C" >conftest.in
+ # Check for GNU sed and select it if it is found.
+ if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
+ lt_cv_path_SED=$lt_ac_sed
+ break
+ fi
+ while true; do
+ cat conftest.in conftest.in >conftest.tmp
+ mv conftest.tmp conftest.in
+ cp conftest.in conftest.nl
+ echo >>conftest.nl
+ $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
+ cmp -s conftest.out conftest.nl || break
+ # 10000 chars as input seems more than enough
+ test $lt_ac_count -gt 10 && break
+ lt_ac_count=`expr $lt_ac_count + 1`
+ if test $lt_ac_count -gt $lt_ac_max; then
+ lt_ac_max=$lt_ac_count
+ lt_cv_path_SED=$lt_ac_sed
+ fi
+ done
+done
+])
+SED=$lt_cv_path_SED
+AC_MSG_RESULT([$SED])
+])
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/ltmain.sh
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/ltmain.sh (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/ltmain.sh 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,6389 @@
+# ltmain.sh - Provide generalized library-building support services.
+# NOTE: Changing this file will not affect anything until you rerun configure.
+#
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003
+# Free Software Foundation, Inc.
+# Originally by Gordon Matzigkeit <gord at gnu.ai.mit.edu>, 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 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# 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.
+
+# Check that we have a working $echo.
+if test "X$1" = X--no-reexec; then
+ # Discard the --no-reexec flag, and continue.
+ shift
+elif test "X$1" = X--fallback-echo; then
+ # Avoid inline document here, it may be left over
+ :
+elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
+ # Yippee, $echo works!
+ :
+else
+ # Restart under the correct shell, and then maybe $echo will work.
+ exec $SHELL "$0" --no-reexec ${1+"$@"}
+fi
+
+if test "X$1" = X--fallback-echo; then
+ # used as fallback echo
+ shift
+ cat <<EOF
+$*
+EOF
+ exit 0
+fi
+
+# The name of this program.
+progname=`$echo "$0" | ${SED} 's%^.*/%%'`
+modename="$progname"
+
+# Constants.
+PROGRAM=ltmain.sh
+PACKAGE=libtool
+VERSION=1.5a
+TIMESTAMP=" (1.1240 2003/06/26 06:55:19)"
+
+default_mode=
+help="Try \`$progname --help' for more information."
+magic="%%%MAGIC variable%%%"
+mkdir="mkdir"
+mv="mv -f"
+rm="rm -f"
+
+# Sed substitution that helps us do robust quoting. It backslashifies
+# metacharacters that are still active within double-quoted strings.
+Xsed="${SED}"' -e 1s/^X//'
+sed_quote_subst='s/\([\\`\\"$\\\\]\)/\\\1/g'
+# test EBCDIC or ASCII
+case `echo A|tr A '\301'` in
+ A) # EBCDIC based system
+ SP2NL="tr '\100' '\n'"
+ NL2SP="tr '\r\n' '\100\100'"
+ ;;
+ *) # Assume ASCII based system
+ SP2NL="tr '\040' '\012'"
+ NL2SP="tr '\015\012' '\040\040'"
+ ;;
+esac
+
+# NLS nuisances.
+# Only set LANG and LC_ALL to C if already set.
+# These must not be set unconditionally because not all systems understand
+# e.g. LANG=C (notably SCO).
+# We save the old values to restore during execute mode.
+if test "${LC_ALL+set}" = set; then
+ save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
+fi
+if test "${LANG+set}" = set; then
+ save_LANG="$LANG"; LANG=C; export LANG
+fi
+
+# Make sure IFS has a sensible default
+: ${IFS=" "}
+
+if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
+ $echo "$modename: not configured to build any kind of library" 1>&2
+ $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
+ exit 1
+fi
+
+# Global variables.
+mode=$default_mode
+nonopt=
+prev=
+prevopt=
+run=
+show="$echo"
+show_help=
+execute_dlfiles=
+lo2o="s/\\.lo\$/.${objext}/"
+o2lo="s/\\.${objext}\$/.lo/"
+
+#####################################
+# Shell function definitions:
+# This seems to be the best place for them
+
+# Need a lot of goo to handle *both* DLLs and import libs
+# Has to be a shell function in order to 'eat' the argument
+# that is supplied when $file_magic_command is called.
+win32_libid () {
+ win32_libid_type="unknown"
+ win32_fileres=`file -L $1 2>/dev/null`
+ case $win32_fileres in
+ *ar\ archive\ import\ library*) # definitely import
+ win32_libid_type="x86 archive import"
+ ;;
+ *ar\ archive*) # could be an import, or static
+ if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
+ grep -E 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
+ win32_nmres=`eval $NM -f posix -A $1 | \
+ sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'`
+ if test "X$win32_nmres" = "Ximport" ; then
+ win32_libid_type="x86 archive import"
+ else
+ win32_libid_type="x86 archive static"
+ fi
+ fi
+ ;;
+ *DLL*)
+ win32_libid_type="x86 DLL"
+ ;;
+ *executable*) # but shell scripts are "executable" too...
+ case $win32_fileres in
+ *MS\ Windows\ PE\ Intel*)
+ win32_libid_type="x86 DLL"
+ ;;
+ esac
+ ;;
+ esac
+ $echo $win32_libid_type
+}
+
+# End of Shell function definitions
+#####################################
+
+# Parse our command line options once, thoroughly.
+while test "$#" -gt 0
+do
+ arg="$1"
+ shift
+
+ case $arg in
+ -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
+ *) optarg= ;;
+ esac
+
+ # If the previous option needs an argument, assign it.
+ if test -n "$prev"; then
+ case $prev in
+ execute_dlfiles)
+ execute_dlfiles="$execute_dlfiles $arg"
+ ;;
+ tag)
+ tagname="$arg"
+
+ # Check whether tagname contains only valid characters
+ case $tagname in
+ *[!-_A-Za-z0-9,/]*)
+ $echo "$progname: invalid tag name: $tagname" 1>&2
+ exit 1
+ ;;
+ esac
+
+ case $tagname in
+ CC)
+ # Don't test for the "default" C tag, as we know, it's there, but
+ # not specially marked.
+ ;;
+ *)
+ if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$0" > /dev/null; then
+ taglist="$taglist $tagname"
+ # Evaluate the configuration.
+ eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $0`"
+ else
+ $echo "$progname: ignoring unknown tag $tagname" 1>&2
+ fi
+ ;;
+ esac
+ ;;
+ *)
+ eval "$prev=\$arg"
+ ;;
+ esac
+
+ prev=
+ prevopt=
+ continue
+ fi
+
+ # Have we seen a non-optional argument yet?
+ case $arg in
+ --help)
+ show_help=yes
+ ;;
+
+ --version)
+ $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
+ $echo
+ $echo "Copyright (C) 2003 Free Software Foundation, Inc."
+ $echo "This is free software; see the source for copying conditions. There is NO"
+ $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+ exit 0
+ ;;
+
+ --config)
+ ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0
+ # Now print the configurations for the tags.
+ for tagname in $taglist; do
+ ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$0"
+ done
+ exit 0
+ ;;
+
+ --debug)
+ $echo "$progname: enabling shell trace mode"
+ set -x
+ ;;
+
+ --dry-run | -n)
+ run=:
+ ;;
+
+ --features)
+ $echo "host: $host"
+ if test "$build_libtool_libs" = yes; then
+ $echo "enable shared libraries"
+ else
+ $echo "disable shared libraries"
+ fi
+ if test "$build_old_libs" = yes; then
+ $echo "enable static libraries"
+ else
+ $echo "disable static libraries"
+ fi
+ exit 0
+ ;;
+
+ --finish) mode="finish" ;;
+
+ --mode) prevopt="--mode" prev=mode ;;
+ --mode=*) mode="$optarg" ;;
+
+ --preserve-dup-deps) duplicate_deps="yes" ;;
+
+ --quiet | --silent)
+ show=:
+ ;;
+
+ --tag) prevopt="--tag" prev=tag ;;
+ --tag=*)
+ set tag "$optarg" ${1+"$@"}
+ shift
+ prev=tag
+ ;;
+
+ -dlopen)
+ prevopt="-dlopen"
+ prev=execute_dlfiles
+ ;;
+
+ -*)
+ $echo "$modename: unrecognized option \`$arg'" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ ;;
+
+ *)
+ nonopt="$arg"
+ break
+ ;;
+ esac
+done
+
+if test -n "$prevopt"; then
+ $echo "$modename: option \`$prevopt' requires an argument" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+fi
+
+# If this variable is set in any of the actions, the command in it
+# will be execed at the end. This prevents here-documents from being
+# left over by shells.
+exec_cmd=
+
+if test -z "$show_help"; then
+
+ # Infer the operation mode.
+ if test -z "$mode"; then
+ $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
+ $echo "*** Future versions of Libtool will require -mode=MODE be specified." 1>&2
+ case $nonopt in
+ *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*)
+ mode=link
+ for arg
+ do
+ case $arg in
+ -c)
+ mode=compile
+ break
+ ;;
+ esac
+ done
+ ;;
+ *db | *dbx | *strace | *truss)
+ mode=execute
+ ;;
+ *install*|cp|mv)
+ mode=install
+ ;;
+ *rm)
+ mode=uninstall
+ ;;
+ *)
+ # If we have no mode, but dlfiles were specified, then do execute mode.
+ test -n "$execute_dlfiles" && mode=execute
+
+ # Just use the default operation mode.
+ if test -z "$mode"; then
+ if test -n "$nonopt"; then
+ $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
+ else
+ $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
+ fi
+ fi
+ ;;
+ esac
+ fi
+
+ # Only execute mode is allowed to have -dlopen flags.
+ if test -n "$execute_dlfiles" && test "$mode" != execute; then
+ $echo "$modename: unrecognized option \`-dlopen'" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ # Change the help message to a mode-specific one.
+ generic_help="$help"
+ help="Try \`$modename --help --mode=$mode' for more information."
+
+ # These modes are in order of execution frequency so that they run quickly.
+ case $mode in
+ # libtool compile mode
+ compile)
+ modename="$modename: compile"
+ # Get the compilation command and the source file.
+ base_compile=
+ srcfile="$nonopt" # always keep a non-empty value in "srcfile"
+ suppress_output=
+ arg_mode=normal
+ libobj=
+
+ for arg
+ do
+ case "$arg_mode" in
+ arg )
+ # do not "continue". Instead, add this to base_compile
+ lastarg="$arg"
+ arg_mode=normal
+ ;;
+
+ target )
+ libobj="$arg"
+ arg_mode=normal
+ continue
+ ;;
+
+ normal )
+ # Accept any command-line options.
+ case $arg in
+ -o)
+ if test -n "$libobj" ; then
+ $echo "$modename: you cannot specify \`-o' more than once" 1>&2
+ exit 1
+ fi
+ arg_mode=target
+ continue
+ ;;
+
+ -static)
+ build_old_libs=yes
+ continue
+ ;;
+
+ -prefer-pic)
+ pic_mode=yes
+ continue
+ ;;
+
+ -prefer-non-pic)
+ pic_mode=no
+ continue
+ ;;
+
+ -Xcompiler)
+ arg_mode=arg # the next one goes into the "base_compile" arg list
+ continue # The current "srcfile" will either be retained or
+ ;; # replaced later. I would guess that would be a bug.
+
+ -Wc,*)
+ args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
+ lastarg=
+ save_ifs="$IFS"; IFS=','
+ for arg in $args; do
+ IFS="$save_ifs"
+
+ # Double-quote args containing other shell metacharacters.
+ # Many Bourne shells cannot handle close brackets correctly
+ # in scan sets, so we specify it separately.
+ case $arg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ arg="\"$arg\""
+ ;;
+ esac
+ lastarg="$lastarg $arg"
+ done
+ IFS="$save_ifs"
+ lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"`
+
+ # Add the arguments to base_compile.
+ base_compile="$base_compile $lastarg"
+ continue
+ ;;
+
+ * )
+ # Accept the current argument as the source file.
+ # The previous "srcfile" becomes the current argument.
+ #
+ lastarg="$srcfile"
+ srcfile="$arg"
+ ;;
+ esac # case $arg
+ ;;
+ esac # case $arg_mode
+
+ # Aesthetically quote the previous argument.
+ lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`
+
+ case $lastarg in
+ # Double-quote args containing other shell metacharacters.
+ # Many Bourne shells cannot handle close brackets correctly
+ # in scan sets, so we specify it separately.
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ lastarg="\"$lastarg\""
+ ;;
+ esac
+
+ base_compile="$base_compile $lastarg"
+ done # for arg
+
+ case $arg_mode in
+ arg)
+ $echo "$modename: you must specify an argument for -Xcompile"
+ exit 1
+ ;;
+ target)
+ $echo "$modename: you must specify a target with \`-o'" 1>&2
+ exit 1
+ ;;
+ *)
+ # Get the name of the library object.
+ [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'`
+ ;;
+ esac
+
+ # Recognize several different file suffixes.
+ # If the user specifies -o file.o, it is replaced with file.lo
+ xform='[cCFSifmso]'
+ case $libobj in
+ *.ada) xform=ada ;;
+ *.adb) xform=adb ;;
+ *.ads) xform=ads ;;
+ *.asm) xform=asm ;;
+ *.c++) xform=c++ ;;
+ *.cc) xform=cc ;;
+ *.ii) xform=ii ;;
+ *.class) xform=class ;;
+ *.cpp) xform=cpp ;;
+ *.cxx) xform=cxx ;;
+ *.f90) xform=f90 ;;
+ *.for) xform=for ;;
+ *.java) xform=java ;;
+ esac
+
+ libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
+
+ case $libobj in
+ *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;;
+ *)
+ $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2
+ exit 1
+ ;;
+ esac
+
+ # Infer tagged configuration to use if any are available and
+ # if one wasn't chosen via the "--tag" command line option.
+ # Only attempt this if the compiler in the base compile
+ # command doesn't match the default compiler.
+ if test -n "$available_tags" && test -z "$tagname"; then
+ case $base_compile in
+ # Blanks in the command may have been stripped by the calling shell,
+ # but not from the CC environment variable when configure was run.
+ " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "*) ;;
+ # Blanks at the start of $base_compile will cause this to fail
+ # if we don't check for them as well.
+ *)
+ for z in $available_tags; do
+ if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
+ # Evaluate the configuration.
+ eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
+ case "$base_compile " in
+ "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*)
+ # The compiler in the base compile command matches
+ # the one in the tagged configuration.
+ # Assume this is the tagged configuration we want.
+ tagname=$z
+ break
+ ;;
+ esac
+ fi
+ done
+ # If $tagname still isn't set, then no tagged configuration
+ # was found and let the user know that the "--tag" command
+ # line option must be used.
+ if test -z "$tagname"; then
+ $echo "$modename: unable to infer tagged configuration"
+ $echo "$modename: specify a tag with \`--tag'" 1>&2
+ exit 1
+# else
+# $echo "$modename: using $tagname tagged configuration"
+ fi
+ ;;
+ esac
+ fi
+
+ objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'`
+ xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'`
+ if test "X$xdir" = "X$obj"; then
+ xdir=
+ else
+ xdir=$xdir/
+ fi
+ lobj=${xdir}$objdir/$objname
+
+ if test -z "$base_compile"; then
+ $echo "$modename: you must specify a compilation command" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ # Delete any leftover library objects.
+ if test "$build_old_libs" = yes; then
+ removelist="$obj $lobj $libobj ${libobj}T"
+ else
+ removelist="$lobj $libobj ${libobj}T"
+ fi
+
+ $run $rm $removelist
+ trap "$run $rm $removelist; exit 1" 1 2 15
+
+ # On Cygwin there's no "real" PIC flag so we must build both object types
+ case $host_os in
+ cygwin* | mingw* | pw32* | os2*)
+ pic_mode=default
+ ;;
+ esac
+ if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
+ # non-PIC code in shared libraries is not supported
+ pic_mode=default
+ fi
+
+ # Calculate the filename of the output object if compiler does
+ # not support -o with -c
+ if test "$compiler_c_o" = no; then
+ output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext}
+ lockfile="$output_obj.lock"
+ removelist="$removelist $output_obj $lockfile"
+ trap "$run $rm $removelist; exit 1" 1 2 15
+ else
+ output_obj=
+ need_locks=no
+ lockfile=
+ fi
+
+ # Lock this critical section if it is needed
+ # We use this script file to make the link, it avoids creating a new file
+ if test "$need_locks" = yes; then
+ until $run ln "$0" "$lockfile" 2>/dev/null; do
+ $show "Waiting for $lockfile to be removed"
+ sleep 2
+ done
+ elif test "$need_locks" = warn; then
+ if test -f "$lockfile"; then
+ $echo "\
+*** ERROR, $lockfile exists and contains:
+`cat $lockfile 2>/dev/null`
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support \`-c' and \`-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $run $rm $removelist
+ exit 1
+ fi
+ $echo $srcfile > "$lockfile"
+ fi
+
+ if test -n "$fix_srcfile_path"; then
+ eval srcfile=\"$fix_srcfile_path\"
+ fi
+
+ $run $rm "$libobj" "${libobj}T"
+
+ # Create a libtool object file (analogous to a ".la" file),
+ # but don't create it if we're doing a dry run.
+ test -z "$run" && cat > ${libobj}T <<EOF
+# $libobj - a libtool object file
+# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+EOF
+
+ # Only build a PIC object if we are building libtool libraries.
+ if test "$build_libtool_libs" = yes; then
+ # Without this assignment, base_compile gets emptied.
+ fbsd_hideous_sh_bug=$base_compile
+
+ if test "$pic_mode" != no; then
+ command="$base_compile $srcfile $pic_flag"
+ else
+ # Don't build PIC code
+ command="$base_compile $srcfile"
+ fi
+
+ if test ! -d "${xdir}$objdir"; then
+ $show "$mkdir ${xdir}$objdir"
+ $run $mkdir ${xdir}$objdir
+ status=$?
+ if test "$status" -ne 0 && test ! -d "${xdir}$objdir"; then
+ exit $status
+ fi
+ fi
+
+ if test -z "$output_obj"; then
+ # Place PIC objects in $objdir
+ command="$command -o $lobj"
+ fi
+
+ $run $rm "$lobj" "$output_obj"
+
+ $show "$command"
+ if $run eval "$command"; then :
+ else
+ test -n "$output_obj" && $run $rm $removelist
+ exit 1
+ fi
+
+ if test "$need_locks" = warn &&
+ test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
+ $echo "\
+*** ERROR, $lockfile contains:
+`cat $lockfile 2>/dev/null`
+
+but it should contain:
+$srcfile
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support \`-c' and \`-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $run $rm $removelist
+ exit 1
+ fi
+
+ # Just move the object if needed, then go on to compile the next one
+ if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then
+ $show "$mv $output_obj $lobj"
+ if $run $mv $output_obj $lobj; then :
+ else
+ error=$?
+ $run $rm $removelist
+ exit $error
+ fi
+ fi
+
+ # Append the name of the PIC object to the libtool object file.
+ test -z "$run" && cat >> ${libobj}T <<EOF
+pic_object='$objdir/$objname'
+
+EOF
+
+ # Allow error messages only from the first compilation.
+ suppress_output=' >/dev/null 2>&1'
+ else
+ # No PIC object so indicate it doesn't exist in the libtool
+ # object file.
+ test -z "$run" && cat >> ${libobj}T <<EOF
+pic_object=none
+
+EOF
+ fi
+
+ # Only build a position-dependent object if we build old libraries.
+ if test "$build_old_libs" = yes; then
+ if test "$pic_mode" != yes; then
+ # Don't build PIC code
+ command="$base_compile $srcfile"
+ else
+ command="$base_compile $srcfile $pic_flag"
+ fi
+ if test "$compiler_c_o" = yes; then
+ command="$command -o $obj"
+ fi
+
+ # Suppress compiler output if we already did a PIC compilation.
+ command="$command$suppress_output"
+ $run $rm "$obj" "$output_obj"
+ $show "$command"
+ if $run eval "$command"; then :
+ else
+ $run $rm $removelist
+ exit 1
+ fi
+
+ if test "$need_locks" = warn &&
+ test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
+ $echo "\
+*** ERROR, $lockfile contains:
+`cat $lockfile 2>/dev/null`
+
+but it should contain:
+$srcfile
+
+This indicates that another process is trying to use the same
+temporary object file, and libtool could not work around it because
+your compiler does not support \`-c' and \`-o' together. If you
+repeat this compilation, it may succeed, by chance, but you had better
+avoid parallel builds (make -j) in this platform, or get a better
+compiler."
+
+ $run $rm $removelist
+ exit 1
+ fi
+
+ # Just move the object if needed
+ if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then
+ $show "$mv $output_obj $obj"
+ if $run $mv $output_obj $obj; then :
+ else
+ error=$?
+ $run $rm $removelist
+ exit $error
+ fi
+ fi
+
+ # Append the name of the non-PIC object the libtool object file.
+ # Only append if the libtool object file exists.
+ test -z "$run" && cat >> ${libobj}T <<EOF
+# Name of the non-PIC object.
+non_pic_object='$objname'
+
+EOF
+ else
+ # Append the name of the non-PIC object the libtool object file.
+ # Only append if the libtool object file exists.
+ test -z "$run" && cat >> ${libobj}T <<EOF
+# Name of the non-PIC object.
+non_pic_object=none
+
+EOF
+ fi
+
+ $run $mv "${libobj}T" "${libobj}"
+
+ # Unlock the critical section if it was locked
+ if test "$need_locks" != no; then
+ $run $rm "$lockfile"
+ fi
+
+ exit 0
+ ;;
+
+ # libtool link mode
+ link | relink)
+ modename="$modename: link"
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+ # It is impossible to link a dll without this setting, and
+ # we shouldn't force the makefile maintainer to figure out
+ # which system we are compiling for in order to pass an extra
+ # flag for every libtool invocation.
+ # allow_undefined=no
+
+ # FIXME: Unfortunately, there are problems with the above when trying
+ # to make a dll which has undefined symbols, in which case not
+ # even a static library is built. For now, we need to specify
+ # -no-undefined on the libtool link line when we can be certain
+ # that all symbols are satisfied, otherwise we get a static library.
+ allow_undefined=yes
+ ;;
+ *)
+ allow_undefined=yes
+ ;;
+ esac
+ libtool_args="$nonopt"
+ base_compile="$nonopt"
+ compile_command="$nonopt"
+ finalize_command="$nonopt"
+
+ compile_rpath=
+ finalize_rpath=
+ compile_shlibpath=
+ finalize_shlibpath=
+ convenience=
+ old_convenience=
+ deplibs=
+ old_deplibs=
+ add_flags=
+ compiler_flags=
+ linker_flags=
+ dllsearchpath=
+ lib_search_path=`pwd`
+ inst_prefix_dir=
+
+ avoid_version=no
+ dlfiles=
+ dlprefiles=
+ dlself=no
+ export_dynamic=no
+ export_symbols=
+ export_symbols_regex=
+ generated=
+ libobjs=
+ ltlibs=
+ module=no
+ no_install=no
+ objs=
+ non_pic_objects=
+ prefer_static_libs=no
+ preload=no
+ prev=
+ prevarg=
+ release=
+ rpath=
+ xrpath=
+ perm_rpath=
+ temp_rpath=
+ thread_safe=no
+ vinfo=
+ vinfo_number=no
+
+ # We need to know -static, to get the right output filenames.
+ for arg
+ do
+ case $arg in
+ -all-static | -static)
+ if test "X$arg" = "X-all-static"; then
+ if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
+ $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
+ fi
+ if test -n "$link_static_flag"; then
+ dlopen_self=$dlopen_self_static
+ fi
+ else
+ if test -z "$pic_flag" && test -n "$link_static_flag"; then
+ dlopen_self=$dlopen_self_static
+ fi
+ fi
+ build_libtool_libs=no
+ build_old_libs=yes
+ prefer_static_libs=yes
+ break
+ ;;
+ esac
+ done
+
+ # See if our shared archives depend on static archives.
+ test -n "$old_archive_from_new_cmds" && build_old_libs=yes
+
+ # Go through the arguments, transforming them on the way.
+ while test "$#" -gt 0; do
+ arg="$1"
+ base_compile="$base_compile $arg"
+ shift
+ case $arg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test
+ ;;
+ *) qarg=$arg ;;
+ esac
+ libtool_args="$libtool_args $qarg"
+
+ # If the previous option needs an argument, assign it.
+ if test -n "$prev"; then
+ case $prev in
+ output)
+ compile_command="$compile_command @OUTPUT@"
+ finalize_command="$finalize_command @OUTPUT@"
+ ;;
+ esac
+
+ case $prev in
+ dlfiles|dlprefiles)
+ if test "$preload" = no; then
+ # Add the symbol object into the linking commands.
+ compile_command="$compile_command @SYMFILE@"
+ finalize_command="$finalize_command @SYMFILE@"
+ preload=yes
+ fi
+ case $arg in
+ *.la | *.lo) ;; # We handle these cases below.
+ force)
+ if test "$dlself" = no; then
+ dlself=needless
+ export_dynamic=yes
+ fi
+ prev=
+ continue
+ ;;
+ self)
+ if test "$prev" = dlprefiles; then
+ dlself=yes
+ elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
+ dlself=yes
+ else
+ dlself=needless
+ export_dynamic=yes
+ fi
+ prev=
+ continue
+ ;;
+ *)
+ if test "$prev" = dlfiles; then
+ dlfiles="$dlfiles $arg"
+ else
+ dlprefiles="$dlprefiles $arg"
+ fi
+ prev=
+ continue
+ ;;
+ esac
+ ;;
+ expsyms)
+ export_symbols="$arg"
+ if test ! -f "$arg"; then
+ $echo "$modename: symbol file \`$arg' does not exist"
+ exit 1
+ fi
+ prev=
+ continue
+ ;;
+ expsyms_regex)
+ export_symbols_regex="$arg"
+ prev=
+ continue
+ ;;
+ inst_prefix)
+ inst_prefix_dir="$arg"
+ prev=
+ continue
+ ;;
+ release)
+ release="-$arg"
+ prev=
+ continue
+ ;;
+ objectlist)
+ if test -f "$arg"; then
+ save_arg=$arg
+ moreargs=
+ for fil in `cat $save_arg`
+ do
+# moreargs="$moreargs $fil"
+ arg=$fil
+ # A libtool-controlled object.
+
+ # Check to see that this really is a libtool object.
+ if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+ pic_object=
+ non_pic_object=
+
+ # Read the .lo file
+ # If there is no directory component, then add one.
+ case $arg in
+ */* | *\\*) . $arg ;;
+ *) . ./$arg ;;
+ esac
+
+ if test -z "$pic_object" || \
+ test -z "$non_pic_object" ||
+ test "$pic_object" = none && \
+ test "$non_pic_object" = none; then
+ $echo "$modename: cannot find name of object for \`$arg'" 1>&2
+ exit 1
+ fi
+
+ # Extract subdirectory from the argument.
+ xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
+ if test "X$xdir" = "X$arg"; then
+ xdir=
+ else
+ xdir="$xdir/"
+ fi
+
+ if test "$pic_object" != none; then
+ # Prepend the subdirectory the object is found in.
+ pic_object="$xdir$pic_object"
+
+ if test "$prev" = dlfiles; then
+ if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
+ dlfiles="$dlfiles $pic_object"
+ prev=
+ continue
+ else
+ # If libtool objects are unsupported, then we need to preload.
+ prev=dlprefiles
+ fi
+ fi
+
+ # CHECK ME: I think I busted this. -Ossama
+ if test "$prev" = dlprefiles; then
+ # Preload the old-style object.
+ dlprefiles="$dlprefiles $pic_object"
+ prev=
+ fi
+
+ # A PIC object.
+ libobjs="$libobjs $pic_object"
+ arg="$pic_object"
+ fi
+
+ # Non-PIC object.
+ if test "$non_pic_object" != none; then
+ # Prepend the subdirectory the object is found in.
+ non_pic_object="$xdir$non_pic_object"
+
+ # A standard non-PIC object
+ non_pic_objects="$non_pic_objects $non_pic_object"
+ if test -z "$pic_object" || test "$pic_object" = none ; then
+ arg="$non_pic_object"
+ fi
+ fi
+ else
+ # Only an error if not doing a dry-run.
+ if test -z "$run"; then
+ $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
+ exit 1
+ else
+ # Dry-run case.
+
+ # Extract subdirectory from the argument.
+ xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
+ if test "X$xdir" = "X$arg"; then
+ xdir=
+ else
+ xdir="$xdir/"
+ fi
+
+ pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
+ non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
+ libobjs="$libobjs $pic_object"
+ non_pic_objects="$non_pic_objects $non_pic_object"
+ fi
+ fi
+ done
+ else
+ $echo "$modename: link input file \`$save_arg' does not exist"
+ exit 1
+ fi
+ arg=$save_arg
+ prev=
+ continue
+ ;;
+ rpath | xrpath)
+ # We need an absolute path.
+ case $arg in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ $echo "$modename: only absolute run-paths are allowed" 1>&2
+ exit 1
+ ;;
+ esac
+ if test "$prev" = rpath; then
+ case "$rpath " in
+ *" $arg "*) ;;
+ *) rpath="$rpath $arg" ;;
+ esac
+ else
+ case "$xrpath " in
+ *" $arg "*) ;;
+ *) xrpath="$xrpath $arg" ;;
+ esac
+ fi
+ prev=
+ continue
+ ;;
+ xcompiler)
+ compiler_flags="$compiler_flags $qarg"
+ prev=
+ compile_command="$compile_command $qarg"
+ finalize_command="$finalize_command $qarg"
+ continue
+ ;;
+ xlinker)
+ linker_flags="$linker_flags $qarg"
+ compiler_flags="$compiler_flags $wl$qarg"
+ prev=
+ compile_command="$compile_command $wl$qarg"
+ finalize_command="$finalize_command $wl$qarg"
+ continue
+ ;;
+ xcclinker)
+ linker_flags="$linker_flags $qarg"
+ compiler_flags="$compiler_flags $qarg"
+ prev=
+ compile_command="$compile_command $qarg"
+ finalize_command="$finalize_command $qarg"
+ continue
+ ;;
+ framework)
+ case $host in
+ *-*-darwin*)
+ case "$deplibs " in
+ *" $qarg.ltframework "*) ;;
+ *) deplibs="$deplibs $qarg.ltframework" # this is fixed later
+ ;;
+ esac
+ ;;
+ esac
+ prev=
+ continue
+ ;;
+ *)
+ eval "$prev=\"\$arg\""
+ prev=
+ continue
+ ;;
+ esac
+ fi # test -n "$prev"
+
+ prevarg="$arg"
+
+ case $arg in
+ -all-static)
+ if test -n "$link_static_flag"; then
+ compile_command="$compile_command $link_static_flag"
+ finalize_command="$finalize_command $link_static_flag"
+ fi
+ continue
+ ;;
+
+ -allow-undefined)
+ # FIXME: remove this flag sometime in the future.
+ $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2
+ continue
+ ;;
+
+ -avoid-version)
+ avoid_version=yes
+ continue
+ ;;
+
+ -dlopen)
+ prev=dlfiles
+ continue
+ ;;
+
+ -dlpreopen)
+ prev=dlprefiles
+ continue
+ ;;
+
+ -export-dynamic)
+ export_dynamic=yes
+ continue
+ ;;
+
+ -export-symbols | -export-symbols-regex)
+ if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
+ $echo "$modename: more than one -exported-symbols argument is not allowed"
+ exit 1
+ fi
+ if test "X$arg" = "X-export-symbols"; then
+ prev=expsyms
+ else
+ prev=expsyms_regex
+ fi
+ continue
+ ;;
+
+ -inst-prefix-dir)
+ prev=inst_prefix
+ continue
+ ;;
+
+ # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
+ # so, if we see these flags be careful not to treat them like -L
+ -L[A-Z][A-Z]*:*)
+ case $with_gcc/$host in
+ no/*-*-irix* | /*-*-irix*)
+ compile_command="$compile_command $arg"
+ finalize_command="$finalize_command $arg"
+ ;;
+ esac
+ continue
+ ;;
+
+ -L*)
+ dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ absdir=`cd "$dir" && pwd`
+ if test -z "$absdir"; then
+ $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
+ exit 1
+ fi
+ dir="$absdir"
+ ;;
+ esac
+ case "$deplibs " in
+ *" -L$dir "*) ;;
+ *)
+ deplibs="$deplibs -L$dir"
+ lib_search_path="$lib_search_path $dir"
+ ;;
+ esac
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+ case :$dllsearchpath: in
+ *":$dir:"*) ;;
+ *) dllsearchpath="$dllsearchpath:$dir";;
+ esac
+ ;;
+ esac
+ continue
+ ;;
+
+ -l*)
+ if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
+ case $host in
+ *-*-cygwin* | *-*-pw32* | *-*-beos*)
+ # These systems don't actually have a C or math library (as such)
+ continue
+ ;;
+ *-*-mingw* | *-*-os2*)
+ # These systems don't actually have a C library (as such)
+ test "X$arg" = "X-lc" && continue
+ ;;
+ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc due to us having libc/libc_r.
+ test "X$arg" = "X-lc" && continue
+ ;;
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # Rhapsody C and math libraries are in the System framework
+ deplibs="$deplibs System.ltframework"
+ continue
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+ *-*-openbsd*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+ esac
+ fi
+ deplibs="$deplibs $arg"
+ continue
+ ;;
+
+ -module)
+ module=yes
+ continue
+ ;;
+
+ # gcc -m* arguments should be passed to the linker via $compiler_flags
+ # in order to pass architecture information to the linker
+ # (e.g. 32 vs 64-bit). This may also be accomplished via -Wl,-mfoo
+ # but this is not reliable with gcc because gcc may use -mfoo to
+ # select a different linker, different libraries, etc, while
+ # -Wl,-mfoo simply passes -mfoo to the linker.
+ -m*)
+ # Unknown arguments in both finalize_command and compile_command need
+ # to be aesthetically quoted because they are evaled later.
+ arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+ case $arg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ arg="\"$arg\""
+ ;;
+ esac
+ compile_command="$compile_command $arg"
+ finalize_command="$finalize_command $arg"
+ if test "$with_gcc" = "yes" ; then
+ compiler_flags="$compiler_flags $arg"
+ fi
+ continue
+ ;;
+
+ -shrext)
+ prev=shrext
+ continue
+ ;;
+
+ -no-fast-install)
+ fast_install=no
+ continue
+ ;;
+
+ -no-install)
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+ # The PATH hackery in wrapper scripts is required on Windows
+ # in order for the loader to find any dlls it needs.
+ $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
+ $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
+ fast_install=no
+ ;;
+ *) no_install=yes ;;
+ esac
+ continue
+ ;;
+
+ -no-undefined)
+ allow_undefined=no
+ continue
+ ;;
+
+ -objectlist)
+ prev=objectlist
+ continue
+ ;;
+
+ -o) prev=output ;;
+
+ -release)
+ prev=release
+ continue
+ ;;
+
+ -rpath)
+ prev=rpath
+ continue
+ ;;
+
+ -R)
+ prev=xrpath
+ continue
+ ;;
+
+ -R*)
+ dir=`$echo "X$arg" | $Xsed -e 's/^-R//'`
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ $echo "$modename: only absolute run-paths are allowed" 1>&2
+ exit 1
+ ;;
+ esac
+ case "$xrpath " in
+ *" $dir "*) ;;
+ *) xrpath="$xrpath $dir" ;;
+ esac
+ continue
+ ;;
+
+ -static)
+ # The effects of -static are defined in a previous loop.
+ # We used to do the same as -all-static on platforms that
+ # didn't have a PIC flag, but the assumption that the effects
+ # would be equivalent was wrong. It would break on at least
+ # Digital Unix and AIX.
+ continue
+ ;;
+
+ -thread-safe)
+ thread_safe=yes
+ continue
+ ;;
+
+ -version-info)
+ prev=vinfo
+ continue
+ ;;
+ -version-number)
+ prev=vinfo
+ vinfo_number=yes
+ continue
+ ;;
+
+ -Wc,*)
+ args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
+ arg=
+ save_ifs="$IFS"; IFS=','
+ for flag in $args; do
+ IFS="$save_ifs"
+ case $flag in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ flag="\"$flag\""
+ ;;
+ esac
+ arg="$arg $wl$flag"
+ compiler_flags="$compiler_flags $flag"
+ done
+ IFS="$save_ifs"
+ arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
+ ;;
+
+ -Wl,*)
+ args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
+ arg=
+ save_ifs="$IFS"; IFS=','
+ for flag in $args; do
+ IFS="$save_ifs"
+ case $flag in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ flag="\"$flag\""
+ ;;
+ esac
+ arg="$arg $wl$flag"
+ compiler_flags="$compiler_flags $wl$flag"
+ linker_flags="$linker_flags $flag"
+ done
+ IFS="$save_ifs"
+ arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
+ ;;
+
+ -Xcompiler)
+ prev=xcompiler
+ continue
+ ;;
+
+ -Xlinker)
+ prev=xlinker
+ continue
+ ;;
+
+ -XCClinker)
+ prev=xcclinker
+ continue
+ ;;
+
+ -framework)
+ prev=framework
+ continue
+ ;;
+
+ # Some other compiler flag.
+ -* | +*)
+ # Unknown arguments in both finalize_command and compile_command need
+ # to be aesthetically quoted because they are evaled later.
+ arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+ case $arg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ arg="\"$arg\""
+ ;;
+ esac
+ add_flags="$add_flags $arg"
+ ;;
+
+ *.$objext)
+ # A standard object.
+ objs="$objs $arg"
+ ;;
+
+ *.lo)
+ # A libtool-controlled object.
+
+ # Check to see that this really is a libtool object.
+ if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+ pic_object=
+ non_pic_object=
+
+ # Read the .lo file
+ # If there is no directory component, then add one.
+ case $arg in
+ */* | *\\*) . $arg ;;
+ *) . ./$arg ;;
+ esac
+
+ if test -z "$pic_object" || \
+ test -z "$non_pic_object" ||
+ test "$pic_object" = none && \
+ test "$non_pic_object" = none; then
+ $echo "$modename: cannot find name of object for \`$arg'" 1>&2
+ exit 1
+ fi
+
+ # Extract subdirectory from the argument.
+ xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
+ if test "X$xdir" = "X$arg"; then
+ xdir=
+ else
+ xdir="$xdir/"
+ fi
+
+ if test "$pic_object" != none; then
+ # Prepend the subdirectory the object is found in.
+ pic_object="$xdir$pic_object"
+
+ if test "$prev" = dlfiles; then
+ if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
+ dlfiles="$dlfiles $pic_object"
+ prev=
+ continue
+ else
+ # If libtool objects are unsupported, then we need to preload.
+ prev=dlprefiles
+ fi
+ fi
+
+ # CHECK ME: I think I busted this. -Ossama
+ if test "$prev" = dlprefiles; then
+ # Preload the old-style object.
+ dlprefiles="$dlprefiles $pic_object"
+ prev=
+ fi
+
+ # A PIC object.
+ libobjs="$libobjs $pic_object"
+ arg="$pic_object"
+ fi
+
+ # Non-PIC object.
+ if test "$non_pic_object" != none; then
+ # Prepend the subdirectory the object is found in.
+ non_pic_object="$xdir$non_pic_object"
+
+ # A standard non-PIC object
+ non_pic_objects="$non_pic_objects $non_pic_object"
+ if test -z "$pic_object" || test "$pic_object" = none ; then
+ arg="$non_pic_object"
+ fi
+ fi
+ else
+ # Only an error if not doing a dry-run.
+ if test -z "$run"; then
+ $echo "$modename: \`$arg' is not a valid libtool object" 1>&2
+ exit 1
+ else
+ # Dry-run case.
+
+ # Extract subdirectory from the argument.
+ xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'`
+ if test "X$xdir" = "X$arg"; then
+ xdir=
+ else
+ xdir="$xdir/"
+ fi
+
+ pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"`
+ non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"`
+ libobjs="$libobjs $pic_object"
+ non_pic_objects="$non_pic_objects $non_pic_object"
+ fi
+ fi
+ ;;
+
+ *.$libext)
+ # An archive.
+ deplibs="$deplibs $arg"
+ old_deplibs="$old_deplibs $arg"
+ continue
+ ;;
+
+ *.la)
+ # A libtool-controlled library.
+
+ if test "$prev" = dlfiles; then
+ # This library was specified with -dlopen.
+ dlfiles="$dlfiles $arg"
+ prev=
+ elif test "$prev" = dlprefiles; then
+ # The library was specified with -dlpreopen.
+ dlprefiles="$dlprefiles $arg"
+ prev=
+ else
+ deplibs="$deplibs $arg"
+ fi
+ continue
+ ;;
+
+ # Some other compiler argument.
+ *)
+ # Unknown arguments in both finalize_command and compile_command need
+ # to be aesthetically quoted because they are evaled later.
+ arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+ case $arg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
+ arg="\"$arg\""
+ ;;
+ esac
+ add_flags="$add_flags $arg"
+ ;;
+ esac # arg
+
+ # Now actually substitute the argument into the commands.
+ if test -n "$arg"; then
+ compile_command="$compile_command $arg"
+ finalize_command="$finalize_command $arg"
+ fi
+ done # argument parsing loop
+
+ if test -n "$prev"; then
+ $echo "$modename: the \`$prevarg' option requires an argument" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ # Infer tagged configuration to use if any are available and
+ # if one wasn't chosen via the "--tag" command line option.
+ # Only attempt this if the compiler in the base link
+ # command doesn't match the default compiler.
+ if test -n "$available_tags" && test -z "$tagname"; then
+ case $base_compile in
+ # Blanks in the command may have been stripped by the calling shell,
+ # but not from the CC environment variable when configure was run.
+ "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*) ;;
+ # Blanks at the start of $base_compile will cause this to fail
+ # if we don't check for them as well.
+ *)
+ for z in $available_tags; do
+ if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$0" > /dev/null; then
+ # Evaluate the configuration.
+ eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $0`"
+ case $base_compile in
+ "$CC "* | " $CC "* | "`$echo $CC` "* | " `$echo $CC` "*)
+ # The compiler in $compile_command matches
+ # the one in the tagged configuration.
+ # Assume this is the tagged configuration we want.
+ tagname=$z
+ break
+ ;;
+ esac
+ fi
+ done
+ # If $tagname still isn't set, then no tagged configuration
+ # was found and let the user know that the "--tag" command
+ # line option must be used.
+ if test -z "$tagname"; then
+ $echo "$modename: unable to infer tagged configuration"
+ $echo "$modename: specify a tag with \`--tag'" 1>&2
+ exit 1
+# else
+# $echo "$modename: using $tagname tagged configuration"
+ fi
+ ;;
+ esac
+ fi
+
+ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
+ eval arg=\"$export_dynamic_flag_spec\"
+ compile_command="$compile_command $arg"
+ finalize_command="$finalize_command $arg"
+ fi
+
+ oldlibs=
+ # calculate the name of the file, without its directory
+ outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'`
+ libobjs_save="$libobjs"
+
+ if test -n "$shlibpath_var"; then
+ # get the directories listed in $shlibpath_var
+ eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\`
+ else
+ shlib_search_path=
+ fi
+ eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
+ eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
+
+ output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
+ if test "X$output_objdir" = "X$output"; then
+ output_objdir="$objdir"
+ else
+ output_objdir="$output_objdir/$objdir"
+ fi
+ # Create the object directory.
+ if test ! -d "$output_objdir"; then
+ $show "$mkdir $output_objdir"
+ $run $mkdir $output_objdir
+ status=$?
+ if test "$status" -ne 0 && test ! -d "$output_objdir"; then
+ exit $status
+ fi
+ fi
+
+ # Determine the type of output
+ case $output in
+ "")
+ $echo "$modename: you must specify an output file" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ ;;
+ *.$libext) linkmode=oldlib ;;
+ *.lo | *.$objext) linkmode=obj ;;
+ *.la) linkmode=lib ;;
+ *) linkmode=prog ;; # Anything else should be a program.
+ esac
+
+ case $host in
+ *cygwin* | *mingw* | *pw32*)
+ # don't eliminate duplcations in $postdeps and $predeps
+ duplicate_compiler_generated_deps=yes
+ ;;
+ *)
+ duplicate_compiler_generated_deps=$duplicate_deps
+ ;;
+ esac
+ specialdeplibs=
+
+ libs=
+ # Find all interdependent deplibs by searching for libraries
+ # that are linked more than once (e.g. -la -lb -la)
+ for deplib in $deplibs; do
+ if test "X$duplicate_deps" = "Xyes" ; then
+ case "$libs " in
+ *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+ esac
+ fi
+ libs="$libs $deplib"
+ done
+
+ if test "$linkmode" = lib; then
+ libs="$predeps $libs $compiler_lib_search_path $postdeps"
+
+ # Compute libraries that are listed more than once in $predeps
+ # $postdeps and mark them as special (i.e., whose duplicates are
+ # not to be eliminated).
+ pre_post_deps=
+ if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then
+ for pre_post_dep in $predeps $postdeps; do
+ case "$pre_post_deps " in
+ *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
+ esac
+ pre_post_deps="$pre_post_deps $pre_post_dep"
+ done
+ fi
+ pre_post_deps=
+ fi
+
+ deplibs=
+ newdependency_libs=
+ newlib_search_path=
+ need_relink=no # whether we're linking any uninstalled libtool libraries
+ notinst_deplibs= # not-installed libtool libraries
+ notinst_path= # paths that contain not-installed libtool libraries
+ case $linkmode in
+ lib)
+ passes="conv link"
+ for file in $dlfiles $dlprefiles; do
+ case $file in
+ *.la) ;;
+ *)
+ $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2
+ exit 1
+ ;;
+ esac
+ done
+ ;;
+ prog)
+ compile_deplibs=
+ finalize_deplibs=
+ alldeplibs=no
+ newdlfiles=
+ newdlprefiles=
+ passes="conv scan dlopen dlpreopen link"
+ ;;
+ *) passes="conv"
+ ;;
+ esac
+ for pass in $passes; do
+ if test "$linkmode,$pass" = "lib,link" ||
+ test "$linkmode,$pass" = "prog,scan"; then
+ libs="$deplibs"
+ deplibs=
+ fi
+ if test "$linkmode" = prog; then
+ case $pass in
+ dlopen) libs="$dlfiles" ;;
+ dlpreopen) libs="$dlprefiles" ;;
+ link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
+ esac
+ fi
+ if test "$pass" = dlopen; then
+ # Collect dlpreopened libraries
+ save_deplibs="$deplibs"
+ deplibs=
+ fi
+ for deplib in $libs; do
+ lib=
+ found=no
+ case $deplib in
+ -l*)
+ if test "$linkmode" != lib && test "$linkmode" != prog; then
+ $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2
+ continue
+ fi
+ if test "$pass" = conv && test "$allow_undefined" = yes; then
+ deplibs="$deplib $deplibs"
+ continue
+ fi
+ name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
+ for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ for search_ext in .la $shrext .so .a; do
+ # Search the libtool library
+ lib="$searchdir/lib${name}${search_ext}"
+ if test -f "$lib"; then
+ if test "$search_ext" = ".la"; then
+ found=yes
+ else
+ found=no
+ fi
+ break 2
+ fi
+ done
+ done
+ if test "$found" != yes; then
+ # deplib doesn't seem to be a libtool library
+ if test "$linkmode,$pass" = "prog,link"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
+ fi
+ continue
+ else # deplib is a libtool library
+ # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
+ # We need to do some special things here, and not later.
+ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
+ case " $predeps $postdeps " in
+ *" $deplib "*)
+ if (${SED} -e '2q' $lib |
+ grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+ library_names=
+ old_library=
+ case $lib in
+ */* | *\\*) . $lib ;;
+ *) . ./$lib ;;
+ esac
+ for l in $old_library $library_names; do
+ ll="$l"
+ done
+ if test "X$ll" = "X$old_library" ; then # only static version available
+ found=no
+ ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
+ test "X$ladir" = "X$lib" && ladir="."
+ lib=$ladir/$old_library
+ if test "$linkmode,$pass" = "prog,link"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
+ fi
+ continue
+ fi
+ fi
+ ;;
+ *) ;;
+ esac
+ fi
+ fi
+ ;; # -l
+ *.ltframework)
+ if test "$linkmode,$pass" = "prog,link"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ deplibs="$deplib $deplibs"
+ if test "$linkmode" = lib ; then
+ newdependency_libs="$deplib $newdependency_libs"
+ fi
+ fi
+ continue
+ ;;
+ -L*)
+ case $linkmode in
+ lib)
+ deplibs="$deplib $deplibs"
+ test "$pass" = conv && continue
+ newdependency_libs="$deplib $newdependency_libs"
+ newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
+ ;;
+ prog)
+ if test "$pass" = conv; then
+ deplibs="$deplib $deplibs"
+ continue
+ fi
+ if test "$pass" = scan; then
+ deplibs="$deplib $deplibs"
+ newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`
+ else
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ fi
+ ;;
+ *)
+ $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2
+ ;;
+ esac # linkmode
+ continue
+ ;; # -L
+ -R*)
+ if test "$pass" = link; then
+ dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'`
+ # Make sure the xrpath contains only unique directories.
+ case "$xrpath " in
+ *" $dir "*) ;;
+ *) xrpath="$xrpath $dir" ;;
+ esac
+ fi
+ deplibs="$deplib $deplibs"
+ continue
+ ;;
+ *.la) lib="$deplib" ;;
+ *.$libext)
+ if test "$pass" = conv; then
+ deplibs="$deplib $deplibs"
+ continue
+ fi
+ case $linkmode in
+ lib)
+ if test "$deplibs_check_method" != pass_all; then
+ $echo
+ $echo "*** Warning: Trying to link with static lib archive $deplib."
+ $echo "*** I have the capability to make that library automatically link in when"
+ $echo "*** you link to this library. But I can only do this if you have a"
+ $echo "*** shared version of the library, which you do not appear to have"
+ $echo "*** because the file extensions .$libext of this argument makes me believe"
+ $echo "*** that it is just a static archive that I should not used here."
+ else
+ $echo
+ $echo "*** Warning: Linking the shared library $output against the"
+ $echo "*** static library $deplib is not portable!"
+ deplibs="$deplib $deplibs"
+ fi
+ continue
+ ;;
+ prog)
+ if test "$pass" != link; then
+ deplibs="$deplib $deplibs"
+ else
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ fi
+ continue
+ ;;
+ esac # linkmode
+ ;; # *.$libext
+ *.lo | *.$objext)
+ if test "$pass" = conv; then
+ deplibs="$deplib $deplibs"
+ elif test "$linkmode" = prog; then
+ if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
+ # If there is no dlopen support or we're linking statically,
+ # we need to preload.
+ newdlprefiles="$newdlprefiles $deplib"
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"
+ else
+ newdlfiles="$newdlfiles $deplib"
+ fi
+ fi
+ continue
+ ;;
+ %DEPLIBS%)
+ alldeplibs=yes
+ continue
+ ;;
+ esac # case $deplib
+ if test "$found" = yes || test -f "$lib"; then :
+ else
+ $echo "$modename: cannot find the library \`$lib'" 1>&2
+ exit 1
+ fi
+
+ # Check to see that this really is a libtool archive.
+ if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
+ else
+ $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+ exit 1
+ fi
+
+ ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'`
+ test "X$ladir" = "X$lib" && ladir="."
+
+ dlname=
+ dlopen=
+ dlpreopen=
+ libdir=
+ library_names=
+ old_library=
+ # If the library was installed with an old release of libtool,
+ # it will not redefine variables installed, or shouldnotlink
+ installed=yes
+ shouldnotlink=no
+
+ # Read the .la file
+ case $lib in
+ */* | *\\*) . $lib ;;
+ *) . ./$lib ;;
+ esac
+
+ case $host in
+ *-*-darwin*)
+ # Convert "-framework foo" to "foo.ltframework" in dependency_libs
+ test -n "$dependency_libs" && dependency_libs=`$echo "X$dependency_libs" | $Xsed -e 's/-framework \([^ $]*\)/\1.ltframework/g'`
+ ;;
+ esac
+
+ if test "$linkmode,$pass" = "lib,link" ||
+ test "$linkmode,$pass" = "prog,scan" ||
+ { test "$linkmode" != prog && test "$linkmode" != lib; }; then
+ test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
+ test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
+ fi
+
+ if test "$pass" = conv; then
+ # Only check for convenience libraries
+ deplibs="$lib $deplibs"
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ #echo "Adding $deplib to \$deplibs"
+ deplibs="$deplib $deplibs"
+ if test "X$duplicate_deps" = "Xyes" ; then
+ case "$tmp_libs " in
+ *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+ esac
+ fi
+ tmp_libs="$tmp_libs $deplib"
+ done
+ if test -z "$libdir"; then
+ if test -z "$old_library"; then
+ $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
+ exit 1
+ fi
+ # It is a libtool convenience library, so add in its objects.
+ convenience="$convenience $ladir/$objdir/$old_library"
+ old_convenience="$old_convenience $ladir/$objdir/$old_library"
+ elif test "$linkmode" != prog && test "$linkmode" != lib; then
+ $echo "$modename: \`$lib' is not a convenience library" 1>&2
+ exit 1
+ fi
+ continue
+ fi # $pass = conv
+
+
+ # Get the name of the library we link against.
+ linklib=
+ for l in $old_library $library_names; do
+ linklib="$l"
+ done
+ if test -z "$linklib"; then
+ $echo "$modename: cannot find name of link library for \`$lib'" 1>&2
+ exit 1
+ fi
+
+ # This library was specified with -dlopen.
+ if test "$pass" = dlopen; then
+ if test -z "$libdir"; then
+ $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2
+ exit 1
+ fi
+ if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
+ # If there is no dlname, no dlopen support or we're linking
+ # statically, we need to preload. We also need to preload any
+ # dependent libraries so libltdl's deplib preloader doesn't
+ # bomb out in the load deplibs phase.
+ dlprefiles="$dlprefiles $lib $dependency_libs"
+ else
+ newdlfiles="$newdlfiles $lib"
+ fi
+ continue
+ fi # $pass = dlopen
+
+ # We need an absolute path.
+ case $ladir in
+ [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
+ *)
+ abs_ladir=`cd "$ladir" && pwd`
+ if test -z "$abs_ladir"; then
+ $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2
+ $echo "$modename: passing it literally to the linker, although it might fail" 1>&2
+ abs_ladir="$ladir"
+ fi
+ ;;
+ esac
+ laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
+
+ # Find the relevant object directory and library name.
+ if test "X$installed" = Xyes; then
+ if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
+ $echo "$modename: warning: library \`$lib' was moved." 1>&2
+ dir="$ladir"
+ absdir="$abs_ladir"
+ libdir="$abs_ladir"
+ else
+ dir="$libdir"
+ absdir="$libdir"
+ fi
+ else
+ dir="$ladir/$objdir"
+ absdir="$abs_ladir/$objdir"
+ # Remove this search path later
+ notinst_path="$notinst_path $abs_ladir"
+ fi # $installed = yes
+ name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+
+ # This library was specified with -dlpreopen.
+ if test "$pass" = dlpreopen; then
+ if test -z "$libdir"; then
+ $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2
+ exit 1
+ fi
+ # Prefer using a static library (so that no silly _DYNAMIC symbols
+ # are required to link).
+ if test -n "$old_library"; then
+ newdlprefiles="$newdlprefiles $dir/$old_library"
+ # Otherwise, use the dlname, so that lt_dlopen finds it.
+ elif test -n "$dlname"; then
+ newdlprefiles="$newdlprefiles $dir/$dlname"
+ else
+ newdlprefiles="$newdlprefiles $dir/$linklib"
+ fi
+ fi # $pass = dlpreopen
+
+ if test -z "$libdir"; then
+ # Link the convenience library
+ if test "$linkmode" = lib; then
+ deplibs="$dir/$old_library $deplibs"
+ elif test "$linkmode,$pass" = "prog,link"; then
+ compile_deplibs="$dir/$old_library $compile_deplibs"
+ finalize_deplibs="$dir/$old_library $finalize_deplibs"
+ else
+ deplibs="$lib $deplibs" # used for prog,scan pass
+ fi
+ continue
+ fi
+
+
+ if test "$linkmode" = prog && test "$pass" != link; then
+ newlib_search_path="$newlib_search_path $ladir"
+ deplibs="$lib $deplibs"
+
+ linkalldeplibs=no
+ if test "$link_all_deplibs" != no || test -z "$library_names" ||
+ test "$build_libtool_libs" = no; then
+ linkalldeplibs=yes
+ fi
+
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ case $deplib in
+ -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test
+ esac
+ # Need to link against all dependency_libs?
+ if test "$linkalldeplibs" = yes; then
+ deplibs="$deplib $deplibs"
+ else
+ # Need to hardcode shared library paths
+ # or/and link against static libraries
+ newdependency_libs="$deplib $newdependency_libs"
+ fi
+ if test "X$duplicate_deps" = "Xyes" ; then
+ case "$tmp_libs " in
+ *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+ esac
+ fi
+ tmp_libs="$tmp_libs $deplib"
+ done # for deplib
+ continue
+ fi # $linkmode = prog...
+
+ if test "$linkmode,$pass" = "prog,link"; then
+ if test -n "$library_names" &&
+ { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
+ # We need to hardcode the library path
+ if test -n "$shlibpath_var"; then
+ # Make sure the rpath contains only unique directories.
+ case "$temp_rpath " in
+ *" $dir "*) ;;
+ *" $absdir "*) ;;
+ *) temp_rpath="$temp_rpath $dir" ;;
+ esac
+ fi
+
+ # Hardcode the library path.
+ # Skip directories that are in the system default run-time
+ # search path.
+ case " $sys_lib_dlsearch_path " in
+ *" $absdir "*) ;;
+ *)
+ case "$compile_rpath " in
+ *" $absdir "*) ;;
+ *) compile_rpath="$compile_rpath $absdir"
+ esac
+ ;;
+ esac
+ case " $sys_lib_dlsearch_path " in
+ *" $libdir "*) ;;
+ *)
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) finalize_rpath="$finalize_rpath $libdir"
+ esac
+ ;;
+ esac
+ fi # $linkmode,$pass = prog,link...
+
+ if test "$alldeplibs" = yes &&
+ { test "$deplibs_check_method" = pass_all ||
+ { test "$build_libtool_libs" = yes &&
+ test -n "$library_names"; }; }; then
+ # We only need to search for static libraries
+ continue
+ fi
+ fi
+
+ link_static=no # Whether the deplib will be linked statically
+ if test -n "$library_names" &&
+ { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
+ if test "$installed" = no; then
+ notinst_deplibs="$notinst_deplibs $lib"
+ need_relink=yes
+ fi
+ # This is a shared library
+
+ # Warn about portability, can't link against -module's on some systems (darwin)
+ if test "$shouldnotlink" = yes && test "$pass" = link ; then
+ $echo
+ if test "$linkmode" = prog; then
+ $echo "*** Warning: Linking the executable $output against the loadable module"
+ else
+ $echo "*** Warning: Linking the shared library $output against the loadable module"
+ fi
+ $echo "*** $linklib is not portable!"
+ fi
+ if test "$linkmode" = lib &&
+ test "$hardcode_into_libs" = yes; then
+ # Hardcode the library path.
+ # Skip directories that are in the system default run-time
+ # search path.
+ case " $sys_lib_dlsearch_path " in
+ *" $absdir "*) ;;
+ *)
+ case "$compile_rpath " in
+ *" $absdir "*) ;;
+ *) compile_rpath="$compile_rpath $absdir"
+ esac
+ ;;
+ esac
+ case " $sys_lib_dlsearch_path " in
+ *" $libdir "*) ;;
+ *)
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) finalize_rpath="$finalize_rpath $libdir"
+ esac
+ ;;
+ esac
+ fi
+
+ if test -n "$old_archive_from_expsyms_cmds"; then
+ # figure out the soname
+ set dummy $library_names
+ realname="$2"
+ shift; shift
+ libname=`eval \\$echo \"$libname_spec\"`
+ # use dlname if we got it. it's perfectly good, no?
+ if test -n "$dlname"; then
+ soname="$dlname"
+ elif test -n "$soname_spec"; then
+ # bleh windows
+ case $host in
+ *cygwin* | mingw*)
+ major=`expr $current - $age`
+ versuffix="-$major"
+ ;;
+ esac
+ eval soname=\"$soname_spec\"
+ else
+ soname="$realname"
+ fi
+
+ # Make a new name for the extract_expsyms_cmds to use
+ soroot="$soname"
+ soname=`$echo $soroot | ${SED} -e 's/^.*\///'`
+ newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a"
+
+ # If the library has no export list, then create one now
+ if test -f "$output_objdir/$soname-def"; then :
+ else
+ $show "extracting exported symbol list from \`$soname'"
+ save_ifs="$IFS"; IFS='~'
+ eval cmds=\"$extract_expsyms_cmds\"
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+ fi
+
+ # Create $newlib
+ if test -f "$output_objdir/$newlib"; then :; else
+ $show "generating import library for \`$soname'"
+ save_ifs="$IFS"; IFS='~'
+ eval cmds=\"$old_archive_from_expsyms_cmds\"
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+ fi
+ # make sure the library variables are pointing to the new library
+ dir=$output_objdir
+ linklib=$newlib
+ fi # test -n "$old_archive_from_expsyms_cmds"
+
+ if test "$linkmode" = prog || test "$mode" != relink; then
+ add_shlibpath=
+ add_dir=
+ add=
+ lib_linked=yes
+ case $hardcode_action in
+ immediate | unsupported)
+ if test "$hardcode_direct" = no; then
+ add="$dir/$linklib"
+ case $host in
+ *-*-sco3.2v5* ) add_dir="-L$dir" ;;
+ *-*-darwin* )
+ # if the lib is a module then we can not link against it, someone
+ # is ignoring the new warnings I added
+ if /usr/bin/file -L $add 2> /dev/null | grep "bundle" >/dev/null ; then
+ $echo "** Warning, lib $linklib is a module, not a shared library"
+ if test -z "$old_library" ; then
+ $echo
+ $echo "** And there doesn't seem to be a static archive available"
+ $echo "** The link will probably fail, sorry"
+ else
+ add="$dir/$old_library"
+ fi
+ fi
+ esac
+ elif test "$hardcode_minus_L" = no; then
+ case $host in
+ *-*-sunos*) add_shlibpath="$dir" ;;
+ esac
+ add_dir="-L$dir"
+ add="-l$name"
+ elif test "$hardcode_shlibpath_var" = no; then
+ add_shlibpath="$dir"
+ add="-l$name"
+ else
+ lib_linked=no
+ fi
+ ;;
+ relink)
+ if test "$hardcode_direct" = yes; then
+ add="$dir/$linklib"
+ elif test "$hardcode_minus_L" = yes; then
+ add_dir="-L$dir"
+ # Try looking first in the location we're being installed to.
+ if test -n "$inst_prefix_dir"; then
+ case "$libdir" in
+ [\\/]*)
+ add_dir="-L$inst_prefix_dir$libdir $add_dir"
+ ;;
+ esac
+ fi
+ add="-l$name"
+ elif test "$hardcode_shlibpath_var" = yes; then
+ add_shlibpath="$dir"
+ add="-l$name"
+ else
+ lib_linked=no
+ fi
+ ;;
+ *) lib_linked=no ;;
+ esac
+
+ if test "$lib_linked" != yes; then
+ $echo "$modename: configuration error: unsupported hardcode properties"
+ exit 1
+ fi
+
+ if test -n "$add_shlibpath"; then
+ case :$compile_shlibpath: in
+ *":$add_shlibpath:"*) ;;
+ *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
+ esac
+ fi
+ if test "$linkmode" = prog; then
+ test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
+ test -n "$add" && compile_deplibs="$add $compile_deplibs"
+ else
+ test -n "$add_dir" && deplibs="$add_dir $deplibs"
+ test -n "$add" && deplibs="$add $deplibs"
+ if test "$hardcode_direct" != yes && \
+ test "$hardcode_minus_L" != yes && \
+ test "$hardcode_shlibpath_var" = yes; then
+ case :$finalize_shlibpath: in
+ *":$libdir:"*) ;;
+ *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+ esac
+ fi
+ fi
+ fi
+
+ if test "$linkmode" = prog || test "$mode" = relink; then
+ add_shlibpath=
+ add_dir=
+ add=
+ # Finalize command for both is simple: just hardcode it.
+ if test "$hardcode_direct" = yes; then
+ add="$libdir/$linklib"
+ elif test "$hardcode_minus_L" = yes; then
+ add_dir="-L$libdir"
+ add="-l$name"
+ elif test "$hardcode_shlibpath_var" = yes; then
+ case :$finalize_shlibpath: in
+ *":$libdir:"*) ;;
+ *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
+ esac
+ add="-l$name"
+ elif test "$hardcode_automatic" = yes; then
+ if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then
+ add="$inst_prefix_dir$libdir/$linklib"
+ else
+ add="$libdir/$linklib"
+ fi
+ else
+ # We cannot seem to hardcode it, guess we'll fake it.
+ add_dir="-L$libdir"
+ # Try looking first in the location we're being installed to.
+ if test -n "$inst_prefix_dir"; then
+ case "$libdir" in
+ [\\/]*)
+ add_dir="-L$inst_prefix_dir$libdir $add_dir"
+ ;;
+ esac
+ fi
+ add="-l$name"
+ fi
+
+ if test "$linkmode" = prog; then
+ test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
+ test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
+ else
+ test -n "$add_dir" && deplibs="$add_dir $deplibs"
+ test -n "$add" && deplibs="$add $deplibs"
+ fi
+ fi
+ elif test "$linkmode" = prog; then
+ # Here we assume that one of hardcode_direct or hardcode_minus_L
+ # is not unsupported. This is valid on all known static and
+ # shared platforms.
+ if test "$hardcode_direct" != unsupported; then
+ test -n "$old_library" && linklib="$old_library"
+ compile_deplibs="$dir/$linklib $compile_deplibs"
+ finalize_deplibs="$dir/$linklib $finalize_deplibs"
+ else
+ compile_deplibs="-l$name -L$dir $compile_deplibs"
+ finalize_deplibs="-l$name -L$dir $finalize_deplibs"
+ fi
+ elif test "$build_libtool_libs" = yes; then
+ # Not a shared library
+ if test "$deplibs_check_method" != pass_all; then
+ # We're trying link a shared library against a static one
+ # but the system doesn't support it.
+
+ # Just print a warning and add the library to dependency_libs so
+ # that the program can be linked against the static library.
+ $echo
+ $echo "*** Warning: This system can not link to static lib archive $lib."
+ $echo "*** I have the capability to make that library automatically link in when"
+ $echo "*** you link to this library. But I can only do this if you have a"
+ $echo "*** shared version of the library, which you do not appear to have."
+ if test "$module" = yes; then
+ $echo "*** But as you try to build a module library, libtool will still create "
+ $echo "*** a static module, that should work as long as the dlopening application"
+ $echo "*** is linked with the -dlopen flag to resolve symbols at runtime."
+ if test -z "$global_symbol_pipe"; then
+ $echo
+ $echo "*** However, this would only work if libtool was able to extract symbol"
+ $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+ $echo "*** not find such a program. So, this module is probably useless."
+ $echo "*** \`nm' from GNU binutils and a full rebuild may help."
+ fi
+ if test "$build_old_libs" = no; then
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ fi
+ else
+ convenience="$convenience $dir/$old_library"
+ old_convenience="$old_convenience $dir/$old_library"
+ deplibs="$dir/$old_library $deplibs"
+ link_static=yes
+ fi
+ fi # link shared/static library?
+
+ if test "$linkmode" = lib; then
+ #if test -n "$dependency_libs" &&
+ # { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes ||
+ # test "$link_static" = yes; }; then
+ # Extract -R from dependency_libs
+ temp_deplibs=
+ for libdir in $dependency_libs; do
+ case $libdir in
+ -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'`
+ case " $xrpath " in
+ *" $temp_xrpath "*) ;;
+ *) xrpath="$xrpath $temp_xrpath";;
+ esac;;
+ *) temp_deplibs="$temp_deplibs $libdir";;
+ esac
+ done
+ dependency_libs="$temp_deplibs"
+ #fi
+
+ newlib_search_path="$newlib_search_path $absdir"
+ # Link against this library
+ test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
+ # ... and its dependency_libs
+ tmp_libs=
+ for deplib in $dependency_libs; do
+ newdependency_libs="$deplib $newdependency_libs"
+ if test "X$duplicate_deps" = "Xyes" ; then
+ case "$tmp_libs " in
+ *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
+ esac
+ fi
+ tmp_libs="$tmp_libs $deplib"
+ done
+
+ if test "$link_all_deplibs" != no; then
+ # Add the search paths of all dependency libraries
+ for deplib in $dependency_libs; do
+ case $deplib in
+ -L*) path="$deplib" ;;
+ *.la)
+ dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'`
+ test "X$dir" = "X$deplib" && dir="."
+ # We need an absolute path.
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
+ *)
+ absdir=`cd "$dir" && pwd`
+ if test -z "$absdir"; then
+ $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2
+ absdir="$dir"
+ fi
+ ;;
+ esac
+ if grep "^installed=no" $deplib > /dev/null; then
+ path="$absdir/$objdir"
+ else
+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+ if test -z "$libdir"; then
+ $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
+ exit 1
+ fi
+ if test "$absdir" != "$libdir"; then
+ # Sure, some shells/systems don't implement the -ef.
+ # Those will have to live with the warning.
+ test "$absdir" -ef "$libdir" > /dev/null 2>&1 ||
+ $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2
+ fi
+ path="$absdir"
+ fi
+ depdepl=
+ case $host in
+ *-*-darwin*)
+ # we do not want to link against static libs, but need to link against shared
+ eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
+ if test -n "$deplibrary_names" ; then
+ for tmp in $deplibrary_names ; do
+ depdepl=$tmp
+ done
+ if test -f "$path/$depdepl" ; then
+ depdepl="$path/$depdepl"
+ fi
+ # do not add paths which are already there
+ case " $newlib_search_path " in
+ *" $path "*) ;;
+ *) newlib_search_path="$newlib_search_path $path";;
+ esac
+ path=""
+ fi
+ ;;
+ *)
+ path="-L$path"
+ ;;
+ esac
+
+ ;;
+ -l*)
+ case $host in
+ *-*-darwin*)
+ # Again, we only want to link against shared libraries
+ eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"`
+ for tmp in $newlib_search_path ; do
+ if test -f "$tmp/lib$tmp_libs.dylib" ; then
+ eval depdepl="$tmp/lib$tmp_libs.dylib"
+ break
+ fi
+ done
+ path=""
+ ;;
+ *) continue ;;
+ esac
+ ;;
+
+ *.ltframework)
+ case $host in
+ *-*-darwin*)
+ depdepl="$deplib"
+ ;;
+ esac
+ ;;
+
+ *) continue ;;
+ esac
+ case " $deplibs " in
+ *" $depdepl "*) ;;
+ *) deplibs="$deplibs $depdepl" ;;
+ esac
+ case " $deplibs " in
+ *" $path "*) ;;
+ *) deplibs="$deplibs $path" ;;
+ esac
+ done
+ fi # link_all_deplibs != no
+ fi # linkmode = lib
+ done # for deplib in $libs
+ dependency_libs="$newdependency_libs"
+ if test "$pass" = dlpreopen; then
+ # Link the dlpreopened libraries before other libraries
+ for deplib in $save_deplibs; do
+ deplibs="$deplib $deplibs"
+ done
+ fi
+ if test "$pass" != dlopen; then
+ if test "$pass" != conv; then
+ # Make sure lib_search_path contains only unique directories.
+ lib_search_path=
+ for dir in $newlib_search_path; do
+ case "$lib_search_path " in
+ *" $dir "*) ;;
+ *) lib_search_path="$lib_search_path $dir" ;;
+ esac
+ done
+ newlib_search_path=
+ fi
+
+ if test "$linkmode,$pass" != "prog,link"; then
+ vars="deplibs"
+ else
+ vars="compile_deplibs finalize_deplibs"
+ fi
+ for var in $vars dependency_libs; do
+ # Add libraries to $var in reverse order
+ eval tmp_libs=\"\$$var\"
+ new_libs=
+ for deplib in $tmp_libs; do
+ # FIXME: Pedantically, this is the right thing to do, so
+ # that some nasty dependency loop isn't accidentally
+ # broken:
+ #new_libs="$deplib $new_libs"
+ # Pragmatically, this seems to cause very few problems in
+ # practice:
+ case $deplib in
+ -L*) new_libs="$deplib $new_libs" ;;
+ -R*) ;;
+ *)
+ # And here is the reason: when a library appears more
+ # than once as an explicit dependence of a library, or
+ # is implicitly linked in more than once by the
+ # compiler, it is considered special, and multiple
+ # occurrences thereof are not removed. Compare this
+ # with having the same library being listed as a
+ # dependency of multiple other libraries: in this case,
+ # we know (pedantically, we assume) the library does not
+ # need to be listed more than once, so we keep only the
+ # last copy. This is not always right, but it is rare
+ # enough that we require users that really mean to play
+ # such unportable linking tricks to link the library
+ # using -Wl,-lname, so that libtool does not consider it
+ # for duplicate removal.
+ case " $specialdeplibs " in
+ *" $deplib "*) new_libs="$deplib $new_libs" ;;
+ *)
+ case " $new_libs " in
+ *" $deplib "*) ;;
+ *) new_libs="$deplib $new_libs" ;;
+ esac
+ ;;
+ esac
+ ;;
+ esac
+ done
+ tmp_libs=
+ for deplib in $new_libs; do
+ case $deplib in
+ -L*)
+ case " $tmp_libs " in
+ *" $deplib "*) ;;
+ *) tmp_libs="$tmp_libs $deplib" ;;
+ esac
+ ;;
+ *) tmp_libs="$tmp_libs $deplib" ;;
+ esac
+ done
+ eval $var=\"$tmp_libs\"
+ done # for var
+ fi
+ # Last step: remove runtime libs from dependency_libs (they stay in deplibs)
+ tmp_libs=
+ for i in $dependency_libs ; do
+ case " $predeps $postdeps $compiler_lib_search_path " in
+ *" $i "*)
+ i=""
+ ;;
+ esac
+ if test -n "$i" ; then
+ tmp_libs="$tmp_libs $i"
+ fi
+ done
+ dependency_libs=$tmp_libs
+ done # for pass
+ if test "$linkmode" = prog; then
+ dlfiles="$newdlfiles"
+ dlprefiles="$newdlprefiles"
+ fi
+
+ case $linkmode in
+ oldlib)
+ if test -n "$deplibs"; then
+ $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
+ fi
+
+ if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
+ $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
+ fi
+
+ if test -n "$rpath"; then
+ $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
+ fi
+
+ if test -n "$xrpath"; then
+ $echo "$modename: warning: \`-R' is ignored for archives" 1>&2
+ fi
+
+ if test -n "$vinfo"; then
+ $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2
+ fi
+
+ if test -n "$release"; then
+ $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
+ fi
+
+ if test -n "$export_symbols" || test -n "$export_symbols_regex"; then
+ $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
+ fi
+
+ # Now set the variables for building old libraries.
+ build_libtool_libs=no
+ oldlibs="$output"
+ objs="$objs$old_deplibs"
+ ;;
+
+ lib)
+ # Make sure we only generate libraries of the form `libNAME.la'.
+ case $outputname in
+ lib*)
+ name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+ eval shared_ext=\"$shrext\"
+ eval libname=\"$libname_spec\"
+ ;;
+ *)
+ if test "$module" = no; then
+ $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+ if test "$need_lib_prefix" != no; then
+ # Add the "lib" prefix for modules if required
+ name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
+ eval shared_ext=\"$shrext\"
+ eval libname=\"$libname_spec\"
+ else
+ libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
+ fi
+ ;;
+ esac
+
+ if test -n "$objs"; then
+ if test "$deplibs_check_method" != pass_all; then
+ $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1
+ exit 1
+ else
+ $echo
+ $echo "*** Warning: Linking the shared library $output against the non-libtool"
+ $echo "*** objects $objs is not portable!"
+ libobjs="$libobjs $objs"
+ fi
+ fi
+
+ if test "$dlself" != no; then
+ $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2
+ fi
+
+ set dummy $rpath
+ if test "$#" -gt 2; then
+ $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2
+ fi
+ install_libdir="$2"
+
+ oldlibs=
+ if test -z "$rpath"; then
+ if test "$build_libtool_libs" = yes; then
+ # Building a libtool convenience library.
+ # Some compilers have problems with a `.al' extension so
+ # convenience libraries should have the same extension an
+ # archive normally would.
+ oldlibs="$output_objdir/$libname.$libext $oldlibs"
+ build_libtool_libs=convenience
+ build_old_libs=yes
+ fi
+
+ if test -n "$vinfo"; then
+ $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2
+ fi
+
+ if test -n "$release"; then
+ $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2
+ fi
+ else
+
+ # Parse the version information argument.
+ save_ifs="$IFS"; IFS=':'
+ set dummy $vinfo 0 0 0
+ IFS="$save_ifs"
+
+ if test -n "$8"; then
+ $echo "$modename: too many parameters to \`-version-info'" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ # convert absolute version numbers to libtool ages
+ # this retains compatibility with .la files and attempts
+ # to make the code below a bit more comprehensible
+
+ case $vinfo_number in
+ yes)
+ number_major="$2"
+ number_minor="$3"
+ number_revision="$4"
+ #
+ # There are really only two kinds -- those that
+ # use the current revision as the major version
+ # and those that subtract age and use age as
+ # a minor version. But, then there is irix
+ # which has an extra 1 added just for fun
+ #
+ case $version_type in
+ darwin|linux|osf|windows)
+ current=`expr $number_major + $number_minor`
+ age="$number_minor"
+ revision="$number_revision"
+ ;;
+ freebsd-aout|freebsd-elf|sunos)
+ current="$number_major"
+ revision="$number_minor"
+ age="0"
+ ;;
+ irix|nonstopux)
+ current=`expr $number_major + $number_minor - 1`
+ age="$number_minor"
+ revision="$number_minor"
+ ;;
+ esac
+ ;;
+ no)
+ current="$2"
+ revision="$3"
+ age="$4"
+ ;;
+ esac
+
+ # Check that each of the things are valid numbers.
+ case $current in
+ 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+ *)
+ $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2
+ $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+ exit 1
+ ;;
+ esac
+
+ case $revision in
+ 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+ *)
+ $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2
+ $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+ exit 1
+ ;;
+ esac
+
+ case $age in
+ 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;;
+ *)
+ $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2
+ $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+ exit 1
+ ;;
+ esac
+
+ if test "$age" -gt "$current"; then
+ $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2
+ $echo "$modename: \`$vinfo' is not valid version information" 1>&2
+ exit 1
+ fi
+
+ # Calculate the version variables.
+ major=
+ versuffix=
+ verstring=
+ case $version_type in
+ none) ;;
+
+ darwin)
+ # Like Linux, but with the current version available in
+ # verstring for coding it into the library header
+ major=.`expr $current - $age`
+ versuffix="$major.$age.$revision"
+ # Darwin ld doesn't like 0 for these options...
+ minor_current=`expr $current + 1`
+ verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
+ ;;
+
+ freebsd-aout)
+ major=".$current"
+ versuffix=".$current.$revision";
+ ;;
+
+ freebsd-elf)
+ major=".$current"
+ versuffix=".$current";
+ ;;
+
+ irix | nonstopux)
+ major=`expr $current - $age + 1`
+
+ case $version_type in
+ nonstopux) verstring_prefix=nonstopux ;;
+ *) verstring_prefix=sgi ;;
+ esac
+ verstring="$verstring_prefix$major.$revision"
+
+ # Add in all the interfaces that we are compatible with.
+ loop=$revision
+ while test "$loop" -ne 0; do
+ iface=`expr $revision - $loop`
+ loop=`expr $loop - 1`
+ verstring="$verstring_prefix$major.$iface:$verstring"
+ done
+
+ # Before this point, $major must not contain `.'.
+ major=.$major
+ versuffix="$major.$revision"
+ ;;
+
+ linux)
+ major=.`expr $current - $age`
+ versuffix="$major.$age.$revision"
+ ;;
+
+ osf)
+ major=.`expr $current - $age`
+ versuffix=".$current.$age.$revision"
+ verstring="$current.$age.$revision"
+
+ # Add in all the interfaces that we are compatible with.
+ loop=$age
+ while test "$loop" -ne 0; do
+ iface=`expr $current - $loop`
+ loop=`expr $loop - 1`
+ verstring="$verstring:${iface}.0"
+ done
+
+ # Make executables depend on our current version.
+ verstring="$verstring:${current}.0"
+ ;;
+
+ sunos)
+ major=".$current"
+ versuffix=".$current.$revision"
+ ;;
+
+ windows)
+ # Use '-' rather than '.', since we only want one
+ # extension on DOS 8.3 filesystems.
+ major=`expr $current - $age`
+ versuffix="-$major"
+ ;;
+
+ *)
+ $echo "$modename: unknown library version type \`$version_type'" 1>&2
+ $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
+ exit 1
+ ;;
+ esac
+
+ # Clear the version info if we defaulted, and they specified a release.
+ if test -z "$vinfo" && test -n "$release"; then
+ major=
+ case $version_type in
+ darwin)
+ # we can't check for "0.0" in archive_cmds due to quoting
+ # problems, so we reset it completely
+ verstring=
+ ;;
+ *)
+ verstring="0.0"
+ ;;
+ esac
+ if test "$need_version" = no; then
+ versuffix=
+ else
+ versuffix=".0.0"
+ fi
+ fi
+
+ # Remove version info from name if versioning should be avoided
+ if test "$avoid_version" = yes && test "$need_version" = no; then
+ major=
+ versuffix=
+ verstring=""
+ fi
+
+ # Check to see if the archive will have undefined symbols.
+ if test "$allow_undefined" = yes; then
+ if test "$allow_undefined_flag" = unsupported; then
+ $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2
+ build_libtool_libs=no
+ build_old_libs=yes
+ fi
+ else
+ # Don't allow undefined symbols.
+ allow_undefined_flag="$no_undefined_flag"
+ fi
+ fi
+
+ if test "$mode" != relink; then
+ # Remove our outputs, but don't remove object files since they
+ # may have been created when compiling PIC objects.
+ removelist=
+ tempremovelist=`$echo "$output_objdir/*"`
+ for p in $tempremovelist; do
+ case $p in
+ *.$objext | *$exeext)
+ ;;
+ $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
+ removelist="$removelist $p"
+ ;;
+ *) ;;
+ esac
+ done
+ if test -n "$removelist"; then
+ $show "${rm}r $removelist"
+ $run ${rm}r $removelist
+ fi
+ fi
+
+ # Now set the variables for building old libraries.
+ if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
+ oldlibs="$oldlibs $output_objdir/$libname.$libext"
+
+ # Transform .lo files to .o files.
+ oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP`
+ fi
+
+ # Eliminate all temporary directories.
+ for path in $notinst_path; do
+ lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'`
+ deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'`
+ dependency_libs=`$echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'`
+ done
+
+ if test -n "$xrpath"; then
+ # If the user specified any rpath flags, then add them.
+ temp_xrpath=
+ for libdir in $xrpath; do
+ temp_xrpath="$temp_xrpath -R$libdir"
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) finalize_rpath="$finalize_rpath $libdir" ;;
+ esac
+ done
+ if true || test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
+ dependency_libs="$temp_xrpath $dependency_libs"
+ fi
+ fi
+
+ # Make sure dlfiles contains only unique files that won't be dlpreopened
+ old_dlfiles="$dlfiles"
+ dlfiles=
+ for lib in $old_dlfiles; do
+ case " $dlprefiles $dlfiles " in
+ *" $lib "*) ;;
+ *) dlfiles="$dlfiles $lib" ;;
+ esac
+ done
+
+ # Make sure dlprefiles contains only unique files
+ old_dlprefiles="$dlprefiles"
+ dlprefiles=
+ for lib in $old_dlprefiles; do
+ case "$dlprefiles " in
+ *" $lib "*) ;;
+ *) dlprefiles="$dlprefiles $lib" ;;
+ esac
+ done
+
+ if test "$build_libtool_libs" = yes; then
+ if test -n "$rpath"; then
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*)
+ # these systems don't actually have a c library (as such)!
+ ;;
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # Rhapsody C library is in the System framework
+ deplibs="$deplibs System.ltframework"
+ ;;
+ *-*-netbsd*)
+ # Don't link with libc until the a.out ld.so is fixed.
+ ;;
+ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc due to us having libc/libc_r.
+ test "X$arg" = "X-lc" && continue
+ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test "$build_libtool_need_lc" = "yes"; then
+ deplibs="$deplibs -lc"
+ fi
+ ;;
+ esac
+ fi
+
+ # Transform deplibs into only deplibs that can be linked in shared.
+ name_save=$name
+ libname_save=$libname
+ release_save=$release
+ versuffix_save=$versuffix
+ major_save=$major
+ # I'm not sure if I'm treating the release correctly. I think
+ # release should show up in the -l (ie -lgmp5) so we don't want to
+ # add it in twice. Is that correct?
+ release=""
+ versuffix=""
+ major=""
+ newdeplibs=
+ droppeddeps=no
+ case $deplibs_check_method in
+ pass_all)
+ # Don't check for shared/static. Everything works.
+ # This might be a little naive. We might want to check
+ # whether the library exists or not. But this is on
+ # osf3 & osf4 and I'm not really sure... Just
+ # implementing what was already the behavior.
+ newdeplibs=$deplibs
+ ;;
+ test_compile)
+ # This code stresses the "libraries are programs" paradigm to its
+ # limits. Maybe even breaks it. We compile a program, linking it
+ # against the deplibs as a proxy for the library. Then we can check
+ # whether they linked in statically or dynamically with ldd.
+ $rm conftest.c
+ cat > conftest.c <<EOF
+ int main() { return 0; }
+EOF
+ $rm conftest
+ $LTCC -o conftest conftest.c $deplibs
+ if test "$?" -eq 0 ; then
+ ldd_output=`ldd conftest`
+ for i in $deplibs; do
+ name="`expr $i : '-l\(.*\)'`"
+ # If $name is empty we are operating on a -L argument.
+ if test "$name" != "" && test "$name" -ne "0"; then
+ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
+ case " $predeps $postdeps " in
+ *" $i "*)
+ newdeplibs="$newdeplibs $i"
+ i=""
+ ;;
+ esac
+ fi
+ if test -n "$i" ; then
+ libname=`eval \\$echo \"$libname_spec\"`
+ deplib_matches=`eval \\$echo \"$library_names_spec\"`
+ set dummy $deplib_matches
+ deplib_match=$2
+ if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
+ newdeplibs="$newdeplibs $i"
+ else
+ droppeddeps=yes
+ $echo
+ $echo "*** Warning: dynamic linker does not accept needed library $i."
+ $echo "*** I have the capability to make that library automatically link in when"
+ $echo "*** you link to this library. But I can only do this if you have a"
+ $echo "*** shared version of the library, which I believe you do not have"
+ $echo "*** because a test_compile did reveal that the linker did not use it for"
+ $echo "*** its dynamic dependency list that programs get resolved with at runtime."
+ fi
+ fi
+ else
+ newdeplibs="$newdeplibs $i"
+ fi
+ done
+ else
+ # Error occurred in the first compile. Let's try to salvage
+ # the situation: Compile a separate program for each library.
+ for i in $deplibs; do
+ name="`expr $i : '-l\(.*\)'`"
+ # If $name is empty we are operating on a -L argument.
+ if test "$name" != "" && test "$name" != "0"; then
+ $rm conftest
+ $LTCC -o conftest conftest.c $i
+ # Did it work?
+ if test "$?" -eq 0 ; then
+ ldd_output=`ldd conftest`
+ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
+ case " $predeps $postdeps " in
+ *" $i "*)
+ newdeplibs="$newdeplibs $i"
+ i=""
+ ;;
+ esac
+ fi
+ if test -n "$i" ; then
+ libname=`eval \\$echo \"$libname_spec\"`
+ deplib_matches=`eval \\$echo \"$library_names_spec\"`
+ set dummy $deplib_matches
+ deplib_match=$2
+ if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
+ newdeplibs="$newdeplibs $i"
+ else
+ droppeddeps=yes
+ $echo
+ $echo "*** Warning: dynamic linker does not accept needed library $i."
+ $echo "*** I have the capability to make that library automatically link in when"
+ $echo "*** you link to this library. But I can only do this if you have a"
+ $echo "*** shared version of the library, which you do not appear to have"
+ $echo "*** because a test_compile did reveal that the linker did not use this one"
+ $echo "*** as a dynamic dependency that programs can get resolved with at runtime."
+ fi
+ fi
+ else
+ droppeddeps=yes
+ $echo
+ $echo "*** Warning! Library $i is needed by this library but I was not able to"
+ $echo "*** make it link in! You will probably need to install it or some"
+ $echo "*** library that it depends on before this library will be fully"
+ $echo "*** functional. Installing it before continuing would be even better."
+ fi
+ else
+ newdeplibs="$newdeplibs $i"
+ fi
+ done
+ fi
+ ;;
+ file_magic*)
+ set dummy $deplibs_check_method
+ file_magic_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
+ for a_deplib in $deplibs; do
+ name="`expr $a_deplib : '-l\(.*\)'`"
+ # If $name is empty we are operating on a -L argument.
+ if test "$name" != "" && test "$name" != "0"; then
+ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
+ case " $predeps $postdeps " in
+ *" $a_deplib "*)
+ newdeplibs="$newdeplibs $a_deplib"
+ a_deplib=""
+ ;;
+ esac
+ fi
+ if test -n "$a_deplib" ; then
+ libname=`eval \\$echo \"$libname_spec\"`
+ for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+ for potent_lib in $potential_libs; do
+ # Follow soft links.
+ if ls -lLd "$potent_lib" 2>/dev/null \
+ | grep " -> " >/dev/null; then
+ continue
+ fi
+ # The statement above tries to avoid entering an
+ # endless loop below, in case of cyclic links.
+ # We might still enter an endless loop, since a link
+ # loop can be closed while we follow links,
+ # but so what?
+ potlib="$potent_lib"
+ while test -h "$potlib" 2>/dev/null; do
+ potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
+ case $potliblink in
+ [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
+ *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";;
+ esac
+ done
+ if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \
+ | ${SED} 10q \
+ | $EGREP "$file_magic_regex" > /dev/null; then
+ newdeplibs="$newdeplibs $a_deplib"
+ a_deplib=""
+ break 2
+ fi
+ done
+ done
+ fi
+ if test -n "$a_deplib" ; then
+ droppeddeps=yes
+ $echo
+ $echo "*** Warning: linker path does not have real file for library $a_deplib."
+ $echo "*** I have the capability to make that library automatically link in when"
+ $echo "*** you link to this library. But I can only do this if you have a"
+ $echo "*** shared version of the library, which you do not appear to have"
+ $echo "*** because I did check the linker path looking for a file starting"
+ if test -z "$potlib" ; then
+ $echo "*** with $libname but no candidates were found. (...for file magic test)"
+ else
+ $echo "*** with $libname and none of the candidates passed a file format test"
+ $echo "*** using a file magic. Last file checked: $potlib"
+ fi
+ fi
+ else
+ # Add a -L argument.
+ newdeplibs="$newdeplibs $a_deplib"
+ fi
+ done # Gone through all deplibs.
+ ;;
+ match_pattern*)
+ set dummy $deplibs_check_method
+ match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"`
+ for a_deplib in $deplibs; do
+ name="`expr $a_deplib : '-l\(.*\)'`"
+ # If $name is empty we are operating on a -L argument.
+ if test -n "$name" && test "$name" != "0"; then
+ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
+ case " $predeps $postdeps " in
+ *" $a_deplib "*)
+ newdeplibs="$newdeplibs $a_deplib"
+ a_deplib=""
+ ;;
+ esac
+ fi
+ if test -n "$a_deplib" ; then
+ libname=`eval \\$echo \"$libname_spec\"`
+ for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
+ potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+ for potent_lib in $potential_libs; do
+ potlib="$potent_lib" # see symlink-check above in file_magic test
+ if eval $echo \"$potent_lib\" 2>/dev/null \
+ | ${SED} 10q \
+ | $EGREP "$match_pattern_regex" > /dev/null; then
+ newdeplibs="$newdeplibs $a_deplib"
+ a_deplib=""
+ break 2
+ fi
+ done
+ done
+ fi
+ if test -n "$a_deplib" ; then
+ droppeddeps=yes
+ $echo
+ $echo "*** Warning: linker path does not have real file for library $a_deplib."
+ $echo "*** I have the capability to make that library automatically link in when"
+ $echo "*** you link to this library. But I can only do this if you have a"
+ $echo "*** shared version of the library, which you do not appear to have"
+ $echo "*** because I did check the linker path looking for a file starting"
+ if test -z "$potlib" ; then
+ $echo "*** with $libname but no candidates were found. (...for regex pattern test)"
+ else
+ $echo "*** with $libname and none of the candidates passed a file format test"
+ $echo "*** using a regex pattern. Last file checked: $potlib"
+ fi
+ fi
+ else
+ # Add a -L argument.
+ newdeplibs="$newdeplibs $a_deplib"
+ fi
+ done # Gone through all deplibs.
+ ;;
+ none | unknown | *)
+ newdeplibs=""
+ tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \
+ -e 's/ -[LR][^ ]*//g'`
+ if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
+ for i in $predeps $postdeps ; do
+ # can't use Xsed below, because $i might contain '/'
+ tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"`
+ done
+ fi
+ if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \
+ | grep . >/dev/null; then
+ $echo
+ if test "X$deplibs_check_method" = "Xnone"; then
+ $echo "*** Warning: inter-library dependencies are not supported in this platform."
+ else
+ $echo "*** Warning: inter-library dependencies are not known to be supported."
+ fi
+ $echo "*** All declared inter-library dependencies are being dropped."
+ droppeddeps=yes
+ fi
+ ;;
+ esac
+ versuffix=$versuffix_save
+ major=$major_save
+ release=$release_save
+ libname=$libname_save
+ name=$name_save
+
+ case $host in
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # On Rhapsody replace the C library is the System framework
+ newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
+ ;;
+ esac
+
+ if test "$droppeddeps" = yes; then
+ if test "$module" = yes; then
+ $echo
+ $echo "*** Warning: libtool could not satisfy all declared inter-library"
+ $echo "*** dependencies of module $libname. Therefore, libtool will create"
+ $echo "*** a static module, that should work as long as the dlopening"
+ $echo "*** application is linked with the -dlopen flag."
+ if test -z "$global_symbol_pipe"; then
+ $echo
+ $echo "*** However, this would only work if libtool was able to extract symbol"
+ $echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
+ $echo "*** not find such a program. So, this module is probably useless."
+ $echo "*** \`nm' from GNU binutils and a full rebuild may help."
+ fi
+ if test "$build_old_libs" = no; then
+ oldlibs="$output_objdir/$libname.$libext"
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ else
+ $echo "*** The inter-library dependencies that have been dropped here will be"
+ $echo "*** automatically added whenever a program is linked with this library"
+ $echo "*** or is declared to -dlopen it."
+
+ if test "$allow_undefined" = no; then
+ $echo
+ $echo "*** Since this library must not contain undefined symbols,"
+ $echo "*** because either the platform does not support them or"
+ $echo "*** it was explicitly requested with -no-undefined,"
+ $echo "*** libtool will only create a static version of it."
+ if test "$build_old_libs" = no; then
+ oldlibs="$output_objdir/$libname.$libext"
+ build_libtool_libs=module
+ build_old_libs=yes
+ else
+ build_libtool_libs=no
+ fi
+ fi
+ fi
+ fi
+ # Time to change all our "foo.ltframework" stuff back to "-framework foo"
+ case $host in
+ *-*-darwin*)
+ newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+ dependency_libs=`$echo "X $dependency_libs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+ ;;
+ esac
+ # Done checking deplibs!
+ deplibs=$newdeplibs
+ fi
+
+ # All the library-specific variables (install_libdir is set above).
+ library_names=
+ old_library=
+ dlname=
+
+ # Test again, we may have decided not to build it any more
+ if test "$build_libtool_libs" = yes; then
+ if test "$hardcode_into_libs" = yes; then
+ # Hardcode the library paths
+ hardcode_libdirs=
+ dep_rpath=
+ rpath="$finalize_rpath"
+ test "$mode" != relink && test "$fast_install" = no && rpath="$compile_rpath$rpath"
+ for libdir in $rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs="$libdir"
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ dep_rpath="$dep_rpath $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$perm_rpath " in
+ *" $libdir "*) ;;
+ *) perm_rpath="$perm_rpath $libdir" ;;
+ esac
+ fi
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir="$hardcode_libdirs"
+ if test -n "$hardcode_libdir_flag_spec_ld"; then
+ eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
+ else
+ eval dep_rpath=\"$hardcode_libdir_flag_spec\"
+ fi
+ fi
+ if test -n "$runpath_var" && test -n "$perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $perm_rpath; do
+ rpath="$rpath$dir:"
+ done
+ eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
+ fi
+ test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
+ fi
+
+ shlibpath="$finalize_shlibpath"
+ test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
+ if test -n "$shlibpath"; then
+ eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
+ fi
+
+ # Get the real and link names of the library.
+ eval shared_ext=\"$shrext\"
+ eval library_names=\"$library_names_spec\"
+ set dummy $library_names
+ realname="$2"
+ shift; shift
+
+ if test -n "$soname_spec"; then
+ eval soname=\"$soname_spec\"
+ else
+ soname="$realname"
+ fi
+ if test -z "$dlname"; then
+ dlname=$soname
+ fi
+
+ lib="$output_objdir/$realname"
+ for link
+ do
+ linknames="$linknames $link"
+ done
+
+ # Use standard objects if they are pic
+ test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+
+ # Prepare the list of exported symbols
+ if test -z "$export_symbols"; then
+ if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
+ $show "generating symbol list for \`$libname.la'"
+ export_symbols="$output_objdir/$libname.exp"
+ $run $rm $export_symbols
+ eval cmds=\"$export_symbols_cmds\"
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ if len=`expr "X$cmd" : ".*"` &&
+ test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ skipped_export=false
+ else
+ # The command line is too long to execute in one step.
+ $show "using reloadable object file for export list..."
+ skipped_export=:
+ fi
+ done
+ IFS="$save_ifs"
+ if test -n "$export_symbols_regex"; then
+ $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\""
+ $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
+ $show "$mv \"${export_symbols}T\" \"$export_symbols\""
+ $run eval '$mv "${export_symbols}T" "$export_symbols"'
+ fi
+ fi
+ fi
+
+ if test -n "$export_symbols" && test -n "$include_expsyms"; then
+ $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"'
+ fi
+
+ tmp_deplibs=
+ for test_deplib in $deplibs; do
+ case " $convenience " in
+ *" $test_deplib "*) ;;
+ *)
+ tmp_deplibs="$tmp_deplibs $test_deplib"
+ ;;
+ esac
+ done
+ deplibs="$tmp_deplibs"
+
+ if test -n "$convenience"; then
+ if test -n "$whole_archive_flag_spec"; then
+ save_libobjs=$libobjs
+ eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
+ else
+ gentop="$output_objdir/${outputname}x"
+ $show "${rm}r $gentop"
+ $run ${rm}r "$gentop"
+ $show "$mkdir $gentop"
+ $run $mkdir "$gentop"
+ status=$?
+ if test "$status" -ne 0 && test ! -d "$gentop"; then
+ exit $status
+ fi
+ generated="$generated $gentop"
+
+ for xlib in $convenience; do
+ # Extract the objects.
+ case $xlib in
+ [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
+ *) xabs=`pwd`"/$xlib" ;;
+ esac
+ xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
+ xdir="$gentop/$xlib"
+
+ $show "${rm}r $xdir"
+ $run ${rm}r "$xdir"
+ $show "$mkdir $xdir"
+ $run $mkdir "$xdir"
+ status=$?
+ if test "$status" -ne 0 && test ! -d "$xdir"; then
+ exit $status
+ fi
+ # We will extract separately just the conflicting names and we will no
+ # longer touch any unique names. It is faster to leave these extract
+ # automatically by $AR in one run.
+ $show "(cd $xdir && $AR x $xabs)"
+ $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
+ if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
+ :
+ else
+ $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
+ $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
+ $AR t "$xabs" | sort | uniq -cd | while read -r count name
+ do
+ i=1
+ while test "$i" -le "$count"
+ do
+ # Put our $i before any first dot (extension)
+ # Never overwrite any file
+ name_to="$name"
+ while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
+ do
+ name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
+ done
+ $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
+ $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
+ i=`expr $i + 1`
+ done
+ done
+ fi
+
+ libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
+ done
+ fi
+ fi
+
+ if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
+ eval flag=\"$thread_safe_flag_spec\"
+ linker_flags="$linker_flags $flag"
+ fi
+
+ # Make a backup of the uninstalled library when relinking
+ if test "$mode" = relink; then
+ $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $?
+ fi
+
+ # Add all flags from the command line. We here create a library,
+ # but those flags were only added to compile_command and
+ # finalize_command, which are only used when creating executables.
+ # So do it by hand here.
+ compiler_flags="$compiler_flags $add_flags"
+ # Only add it to commands which use CC, instead of LD, i.e.
+ # only to $compiler_flags
+ #linker_flags="$linker_flags $add_flags"
+
+ # Do each of the archive commands.
+ if test "$module" = yes && test -n "$module_cmds" ; then
+ if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
+ eval cmds=\"$module_expsym_cmds\"
+ else
+ eval cmds=\"$module_cmds\"
+ fi
+ else
+ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
+ eval cmds=\"$archive_expsym_cmds\"
+ else
+ eval cmds=\"$archive_cmds\"
+ fi
+ fi
+
+ if test "X$skipped_export" != "X:" && len=`expr "X$cmds" : ".*"` &&
+ test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+ :
+ else
+ # The command line is too long to link in one step, link piecewise.
+ $echo "creating reloadable object files..."
+
+ # Save the value of $output and $libobjs because we want to
+ # use them later. If we have whole_archive_flag_spec, we
+ # want to use save_libobjs as it was before
+ # whole_archive_flag_spec was expanded, because we can't
+ # assume the linker understands whole_archive_flag_spec.
+ # This may have to be revisited, in case too many
+ # convenience libraries get linked in and end up exceeding
+ # the spec.
+ if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then
+ save_libobjs=$libobjs
+ fi
+ save_output=$output
+
+ # Clear the reloadable object creation command queue and
+ # initialize k to one.
+ test_cmds=
+ concat_cmds=
+ objlist=
+ delfiles=
+ last_robj=
+ k=1
+ output=$output_objdir/$save_output-${k}.$objext
+ # Loop over the list of objects to be linked.
+ for obj in $save_libobjs
+ do
+ eval test_cmds=\"$reload_cmds $objlist $last_robj\"
+ if test "X$objlist" = X ||
+ { len=`expr "X$test_cmds" : ".*"` &&
+ test "$len" -le "$max_cmd_len"; }; then
+ objlist="$objlist $obj"
+ else
+ # The command $test_cmds is almost too long, add a
+ # command to the queue.
+ if test "$k" -eq 1 ; then
+ # The first file doesn't have a previous command to add.
+ eval concat_cmds=\"$reload_cmds $objlist $last_robj\"
+ else
+ # All subsequent reloadable object files will link in
+ # the last one created.
+ eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\"
+ fi
+ last_robj=$output_objdir/$save_output-${k}.$objext
+ k=`expr $k + 1`
+ output=$output_objdir/$save_output-${k}.$objext
+ objlist=$obj
+ len=1
+ fi
+ done
+ # Handle the remaining objects by creating one last
+ # reloadable object file. All subsequent reloadable object
+ # files will link in the last one created.
+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\"
+
+ if ${skipped_export-false}; then
+ $show "generating symbol list for \`$libname.la'"
+ export_symbols="$output_objdir/$libname.exp"
+ $run $rm $export_symbols
+ libobjs=$output
+ # Append the command to create the export file.
+ eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\"
+ fi
+
+ # Set up a command to remove the reloadale object files
+ # after they are used.
+ i=0
+ while test "$i" -lt "$k"
+ do
+ i=`expr $i + 1`
+ delfiles="$delfiles $output_objdir/$save_output-${i}.$objext"
+ done
+
+ $echo "creating a temporary reloadable object file: $output"
+
+ # Loop through the commands generated above and execute them.
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $concat_cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+
+ libobjs=$output
+ # Restore the value of output.
+ output=$save_output
+
+ if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
+ eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
+ fi
+ # Expand the library linking commands again to reset the
+ # value of $libobjs for piecewise linking.
+
+ # Do each of the archive commands.
+ if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
+ eval cmds=\"$archive_expsym_cmds\"
+ else
+ eval cmds=\"$archive_cmds\"
+ fi
+
+ # Append the command to remove the reloadable object files
+ # to the just-reset $cmds.
+ eval cmds=\"\$cmds~$rm $delfiles\"
+ fi
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+
+ # Restore the uninstalled library and exit
+ if test "$mode" = relink; then
+ $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $?
+ exit 0
+ fi
+
+ # Create links to the real library.
+ for linkname in $linknames; do
+ if test "$realname" != "$linkname"; then
+ $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)"
+ $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $?
+ fi
+ done
+
+ # If -module or -export-dynamic was specified, set the dlname.
+ if test "$module" = yes || test "$export_dynamic" = yes; then
+ # On all known operating systems, these are identical.
+ dlname="$soname"
+ fi
+ fi
+ ;;
+
+ obj)
+ if test -n "$deplibs"; then
+ $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
+ fi
+
+ if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
+ $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
+ fi
+
+ if test -n "$rpath"; then
+ $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
+ fi
+
+ if test -n "$xrpath"; then
+ $echo "$modename: warning: \`-R' is ignored for objects" 1>&2
+ fi
+
+ if test -n "$vinfo"; then
+ $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
+ fi
+
+ if test -n "$release"; then
+ $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
+ fi
+
+ case $output in
+ *.lo)
+ if test -n "$objs$old_deplibs"; then
+ $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
+ exit 1
+ fi
+ libobj="$output"
+ obj=`$echo "X$output" | $Xsed -e "$lo2o"`
+ ;;
+ *)
+ libobj=
+ obj="$output"
+ ;;
+ esac
+
+ # Delete the old objects.
+ $run $rm $obj $libobj
+
+ # Objects from convenience libraries. This assumes
+ # single-version convenience libraries. Whenever we create
+ # different ones for PIC/non-PIC, this we'll have to duplicate
+ # the extraction.
+ reload_conv_objs=
+ gentop=
+ # reload_cmds runs $LD directly, so let us get rid of
+ # -Wl from whole_archive_flag_spec
+ wl=
+
+ if test -n "$convenience"; then
+ if test -n "$whole_archive_flag_spec"; then
+ eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
+ else
+ gentop="$output_objdir/${obj}x"
+ $show "${rm}r $gentop"
+ $run ${rm}r "$gentop"
+ $show "$mkdir $gentop"
+ $run $mkdir "$gentop"
+ status=$?
+ if test "$status" -ne 0 && test ! -d "$gentop"; then
+ exit $status
+ fi
+ generated="$generated $gentop"
+
+ for xlib in $convenience; do
+ # Extract the objects.
+ case $xlib in
+ [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
+ *) xabs=`pwd`"/$xlib" ;;
+ esac
+ xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
+ xdir="$gentop/$xlib"
+
+ $show "${rm}r $xdir"
+ $run ${rm}r "$xdir"
+ $show "$mkdir $xdir"
+ $run $mkdir "$xdir"
+ status=$?
+ if test "$status" -ne 0 && test ! -d "$xdir"; then
+ exit $status
+ fi
+ # We will extract separately just the conflicting names and we will no
+ # longer touch any unique names. It is faster to leave these extract
+ # automatically by $AR in one run.
+ $show "(cd $xdir && $AR x $xabs)"
+ $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
+ if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
+ :
+ else
+ $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
+ $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
+ $AR t "$xabs" | sort | uniq -cd | while read -r count name
+ do
+ i=1
+ while test "$i" -le "$count"
+ do
+ # Put our $i before any first dot (extension)
+ # Never overwrite any file
+ name_to="$name"
+ while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
+ do
+ name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
+ done
+ $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
+ $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
+ i=`expr $i + 1`
+ done
+ done
+ fi
+
+ reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
+ done
+ fi
+ fi
+
+ # Create the old-style object.
+ reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
+
+ output="$obj"
+ eval cmds=\"$reload_cmds\"
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+
+ # Exit if we aren't doing a library object file.
+ if test -z "$libobj"; then
+ if test -n "$gentop"; then
+ $show "${rm}r $gentop"
+ $run ${rm}r $gentop
+ fi
+
+ exit 0
+ fi
+
+ if test "$build_libtool_libs" != yes; then
+ if test -n "$gentop"; then
+ $show "${rm}r $gentop"
+ $run ${rm}r $gentop
+ fi
+
+ # Create an invalid libtool object if no PIC, so that we don't
+ # accidentally link it into a program.
+ # $show "echo timestamp > $libobj"
+ # $run eval "echo timestamp > $libobj" || exit $?
+ exit 0
+ fi
+
+ if test -n "$pic_flag" || test "$pic_mode" != default; then
+ # Only do commands if we really have different PIC objects.
+ reload_objs="$libobjs $reload_conv_objs"
+ output="$libobj"
+ eval cmds=\"$reload_cmds\"
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+ fi
+
+ if test -n "$gentop"; then
+ $show "${rm}r $gentop"
+ $run ${rm}r $gentop
+ fi
+
+ exit 0
+ ;;
+
+ prog)
+ case $host in
+ *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
+ esac
+ if test -n "$vinfo"; then
+ $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
+ fi
+
+ if test -n "$release"; then
+ $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
+ fi
+
+ if test "$preload" = yes; then
+ if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown &&
+ test "$dlopen_self_static" = unknown; then
+ $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support."
+ fi
+ fi
+
+ case $host in
+ *-*-rhapsody* | *-*-darwin1.[012])
+ # On Rhapsody replace the C library is the System framework
+ compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
+ finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / System.ltframework /'`
+ ;;
+ esac
+
+ case $host in
+ *-*-darwin*)
+ # Don't allow lazy linking, it breaks C++ global constructors
+ if test "$tagname" = CXX ; then
+ compile_command="$compile_command ${wl}-bind_at_load"
+ finalize_command="$finalize_command ${wl}-bind_at_load"
+ fi
+ # Time to change all our "foo.ltframework" stuff back to "-framework foo"
+ compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+ finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's% \([^ $]*\).ltframework% -framework \1%g'`
+ ;;
+ esac
+
+ compile_command="$compile_command $compile_deplibs"
+ finalize_command="$finalize_command $finalize_deplibs"
+
+ if test -n "$rpath$xrpath"; then
+ # If the user specified any rpath flags, then add them.
+ for libdir in $rpath $xrpath; do
+ # This is the magic to use -rpath.
+ case "$finalize_rpath " in
+ *" $libdir "*) ;;
+ *) finalize_rpath="$finalize_rpath $libdir" ;;
+ esac
+ done
+ fi
+
+ # Now hardcode the library paths
+ rpath=
+ hardcode_libdirs=
+ for libdir in $compile_rpath $finalize_rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs="$libdir"
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ rpath="$rpath $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$perm_rpath " in
+ *" $libdir "*) ;;
+ *) perm_rpath="$perm_rpath $libdir" ;;
+ esac
+ fi
+ case $host in
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+ case :$dllsearchpath: in
+ *":$libdir:"*) ;;
+ *) dllsearchpath="$dllsearchpath:$libdir";;
+ esac
+ ;;
+ esac
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir="$hardcode_libdirs"
+ eval rpath=\" $hardcode_libdir_flag_spec\"
+ fi
+ compile_rpath="$rpath"
+
+ rpath=
+ hardcode_libdirs=
+ for libdir in $finalize_rpath; do
+ if test -n "$hardcode_libdir_flag_spec"; then
+ if test -n "$hardcode_libdir_separator"; then
+ if test -z "$hardcode_libdirs"; then
+ hardcode_libdirs="$libdir"
+ else
+ # Just accumulate the unique libdirs.
+ case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in
+ *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
+ ;;
+ *)
+ hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
+ ;;
+ esac
+ fi
+ else
+ eval flag=\"$hardcode_libdir_flag_spec\"
+ rpath="$rpath $flag"
+ fi
+ elif test -n "$runpath_var"; then
+ case "$finalize_perm_rpath " in
+ *" $libdir "*) ;;
+ *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
+ esac
+ fi
+ done
+ # Substitute the hardcoded libdirs into the rpath.
+ if test -n "$hardcode_libdir_separator" &&
+ test -n "$hardcode_libdirs"; then
+ libdir="$hardcode_libdirs"
+ eval rpath=\" $hardcode_libdir_flag_spec\"
+ fi
+ finalize_rpath="$rpath"
+
+ if test -n "$libobjs" && test "$build_old_libs" = yes; then
+ # Transform all the library objects into standard objects.
+ compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+ finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+ fi
+
+ dlsyms=
+ if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
+ if test -n "$NM" && test -n "$global_symbol_pipe"; then
+ dlsyms="${outputname}S.c"
+ else
+ $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
+ fi
+ fi
+
+ if test -n "$dlsyms"; then
+ case $dlsyms in
+ "") ;;
+ *.c)
+ # Discover the nlist of each of the dlfiles.
+ nlist="$output_objdir/${outputname}.nm"
+
+ $show "$rm $nlist ${nlist}S ${nlist}T"
+ $run $rm "$nlist" "${nlist}S" "${nlist}T"
+
+ # Parse the name list into a source file.
+ $show "creating $output_objdir/$dlsyms"
+
+ test -z "$run" && $echo > "$output_objdir/$dlsyms" "\
+/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
+/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */
+
+#ifdef __cplusplus
+extern \"C\" {
+#endif
+
+/* Prevent the only kind of declaration conflicts we can make. */
+#define lt_preloaded_symbols some_other_symbol
+
+/* External symbol declarations for the compiler. */\
+"
+
+ if test "$dlself" = yes; then
+ $show "generating symbol list for \`$output'"
+
+ test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist"
+
+ # Add our own program objects to the symbol list.
+ progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP`
+ for arg in $progfiles; do
+ $show "extracting global C symbols from \`$arg'"
+ $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
+ done
+
+ if test -n "$exclude_expsyms"; then
+ $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
+ $run eval '$mv "$nlist"T "$nlist"'
+ fi
+
+ if test -n "$export_symbols_regex"; then
+ $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
+ $run eval '$mv "$nlist"T "$nlist"'
+ fi
+
+ # Prepare the list of exported symbols
+ if test -z "$export_symbols"; then
+ export_symbols="$output_objdir/$output.exp"
+ $run $rm $export_symbols
+ $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
+ else
+ $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"'
+ $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T'
+ $run eval 'mv "$nlist"T "$nlist"'
+ fi
+ fi
+
+ for arg in $dlprefiles; do
+ $show "extracting global C symbols from \`$arg'"
+ name=`$echo "$arg" | ${SED} -e 's%^.*/%%'`
+ $run eval '$echo ": $name " >> "$nlist"'
+ $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
+ done
+
+ if test -z "$run"; then
+ # Make sure we have at least an empty file.
+ test -f "$nlist" || : > "$nlist"
+
+ if test -n "$exclude_expsyms"; then
+ $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
+ $mv "$nlist"T "$nlist"
+ fi
+
+ # Try sorting and uniquifying the output.
+ if grep -v "^: " < "$nlist" |
+ if sort -k 3 </dev/null >/dev/null 2>&1; then
+ sort -k 3
+ else
+ sort +2
+ fi |
+ uniq > "$nlist"S; then
+ :
+ else
+ grep -v "^: " < "$nlist" > "$nlist"S
+ fi
+
+ if test -f "$nlist"S; then
+ eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"'
+ else
+ $echo '/* NONE */' >> "$output_objdir/$dlsyms"
+ fi
+
+ $echo >> "$output_objdir/$dlsyms" "\
+
+#undef lt_preloaded_symbols
+
+#if defined (__STDC__) && __STDC__
+# define lt_ptr void *
+#else
+# define lt_ptr char *
+# define const
+#endif
+
+/* The mapping between symbol names and symbols. */
+const struct {
+ const char *name;
+ lt_ptr address;
+}
+lt_preloaded_symbols[] =
+{\
+"
+
+ eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms"
+
+ $echo >> "$output_objdir/$dlsyms" "\
+ {0, (lt_ptr) 0}
+};
+
+/* This works around a problem in FreeBSD linker */
+#ifdef FREEBSD_WORKAROUND
+static const void *lt_preloaded_setup() {
+ return lt_preloaded_symbols;
+}
+#endif
+
+#ifdef __cplusplus
+}
+#endif\
+"
+ fi
+
+ pic_flag_for_symtable=
+ case $host in
+ # compiling the symbol table file with pic_flag works around
+ # a FreeBSD bug that causes programs to crash when -lm is
+ # linked before any other PIC object. But we must not use
+ # pic_flag when linking with -static. The problem exists in
+ # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
+ *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
+ case "$compile_command " in
+ *" -static "*) ;;
+ *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
+ esac;;
+ *-*-hpux*)
+ case "$compile_command " in
+ *" -static "*) ;;
+ *) pic_flag_for_symtable=" $pic_flag";;
+ esac
+ esac
+
+ # Now compile the dynamic symbol file.
+ $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
+ $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
+
+ # Clean up the generated files.
+ $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
+ $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T"
+
+ # Transform the symbol file into the correct name.
+ compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
+ finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
+ ;;
+ *)
+ $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
+ exit 1
+ ;;
+ esac
+ else
+ # We keep going just in case the user didn't refer to
+ # lt_preloaded_symbols. The linker will fail if global_symbol_pipe
+ # really was required.
+
+ # Nullify the symbol file.
+ compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
+ finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
+ fi
+
+ # AIX runtime linking requires linking programs with -Wl,-brtl and libs with -Wl,-G
+ # Also add -bnolibpath to the beginning of the link line, to clear the hardcoded runpath.
+ # Otherwise, things like the -L path to libgcc.a are accidentally hardcoded by ld.
+ # This does not apply on AIX for ia64, which uses a SysV linker.
+ case "$host" in
+ ia64-*-aix5*) ;;
+ *-*-aix4* | *-*-aix5*)
+ compile_command=`$echo "X$compile_command $wl-brtl" | $Xsed -e "s/\$CC/\$CC $wl-bnolibpath/1"`
+ finalize_command=`$echo "X$finalize_command $wl-brtl" | $Xsed -e "s/\$CC/\$CC $wl-bnolibpath/1"` ;;
+ esac
+
+ if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
+ # Replace the output file specification.
+ compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+ link_command="$compile_command$compile_rpath"
+
+ # We have no uninstalled library dependencies, so finalize right now.
+ $show "$link_command"
+ $run eval "$link_command"
+ status=$?
+
+ # Delete the generated files.
+ if test -n "$dlsyms"; then
+ $show "$rm $output_objdir/${outputname}S.${objext}"
+ $run $rm "$output_objdir/${outputname}S.${objext}"
+ fi
+
+ exit $status
+ fi
+
+ if test -n "$shlibpath_var"; then
+ # We should set the shlibpath_var
+ rpath=
+ for dir in $temp_rpath; do
+ case $dir in
+ [\\/]* | [A-Za-z]:[\\/]*)
+ # Absolute path.
+ rpath="$rpath$dir:"
+ ;;
+ *)
+ # Relative path: add a thisdir entry.
+ rpath="$rpath\$thisdir/$dir:"
+ ;;
+ esac
+ done
+ temp_rpath="$rpath"
+ fi
+
+ if test -n "$compile_shlibpath$finalize_shlibpath"; then
+ compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command"
+ fi
+ if test -n "$finalize_shlibpath"; then
+ finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
+ fi
+
+ compile_var=
+ finalize_var=
+ if test -n "$runpath_var"; then
+ if test -n "$perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $perm_rpath; do
+ rpath="$rpath$dir:"
+ done
+ compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
+ fi
+ if test -n "$finalize_perm_rpath"; then
+ # We should set the runpath_var.
+ rpath=
+ for dir in $finalize_perm_rpath; do
+ rpath="$rpath$dir:"
+ done
+ finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
+ fi
+ fi
+
+ if test "$no_install" = yes; then
+ # We don't need to create a wrapper script.
+ link_command="$compile_var$compile_command$compile_rpath"
+ # Replace the output file specification.
+ link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+ # Delete the old output file.
+ $run $rm $output
+ # Link the executable and exit
+ $show "$link_command"
+ $run eval "$link_command" || exit $?
+ exit 0
+ fi
+
+ if test "$hardcode_action" = relink; then
+ # Fast installation is not supported
+ link_command="$compile_var$compile_command$compile_rpath"
+ relink_command="$finalize_var$finalize_command$finalize_rpath"
+
+ $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2
+ $echo "$modename: \`$output' will be relinked during installation" 1>&2
+ else
+ if test "$fast_install" != no; then
+ link_command="$finalize_var$compile_command$finalize_rpath"
+ if test "$fast_install" = yes; then
+ relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
+ else
+ # fast_install is set to needless
+ relink_command=
+ fi
+ else
+ link_command="$compile_var$compile_command$compile_rpath"
+ relink_command="$finalize_var$finalize_command$finalize_rpath"
+ fi
+ fi
+
+ # Replace the output file specification.
+ link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'`
+
+ # Delete the old output files.
+ $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname
+
+ $show "$link_command"
+ $run eval "$link_command" || exit $?
+
+ # Now create the wrapper script.
+ $show "creating $output"
+
+ # Quote the relink command for shipping.
+ if test -n "$relink_command"; then
+ # Preserve any variables that may affect compiler behavior
+ for var in $variables_saved_for_relink; do
+ if eval test -z \"\${$var+set}\"; then
+ relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
+ elif eval var_value=\$$var; test -z "$var_value"; then
+ relink_command="$var=; export $var; $relink_command"
+ else
+ var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
+ relink_command="$var=\"$var_value\"; export $var; $relink_command"
+ fi
+ done
+ relink_command="(cd `pwd`; $relink_command)"
+ relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+ fi
+
+ # Quote $echo for shipping.
+ if test "X$echo" = "X$SHELL $0 --fallback-echo"; then
+ case $0 in
+ [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";;
+ *) qecho="$SHELL `pwd`/$0 --fallback-echo";;
+ esac
+ qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
+ else
+ qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
+ fi
+
+ # Only actually do things if our run command is non-null.
+ if test -z "$run"; then
+ # win32 will think the script is a binary if it has
+ # a .exe suffix, so we strip it off here.
+ case $output in
+ *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;;
+ esac
+ # test for cygwin because mv fails w/o .exe extensions
+ case $host in
+ *cygwin*)
+ exeext=.exe
+ outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;;
+ *) exeext= ;;
+ esac
+ case $host in
+ *mingw* )
+ cwrappersource=`$echo ${output_objdir}/lt-${outputname}.c`
+ cwrapper=`$echo ${output}.exe`
+ $rm $cwrappersource $cwrapper
+ trap "$rm $cwrappersource $cwrapper; exit 1" 1 2 15
+
+ cat > $cwrappersource <<EOF
+
+/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
+ Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
+
+ The $output program cannot be directly executed until all the libtool
+ libraries that it depends on are installed.
+
+ This wrapper executable should never be moved out of the build directory.
+ If it is, it will not operate correctly.
+
+ Currently, it simply execs the wrapper *script* "/bin/sh $output",
+ but could eventually absorb all of the scripts functionality and
+ exec $objdir/$outputname directly.
+*/
+EOF
+ cat >> $cwrappersource<<"EOF"
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <malloc.h>
+#include <stdarg.h>
+#include <assert.h>
+
+#if defined(PATH_MAX)
+# define LT_PATHMAX PATH_MAX
+#elif defined(MAXPATHLEN)
+# define LT_PATHMAX MAXPATHLEN
+#else
+# define LT_PATHMAX 1024
+#endif
+
+#ifndef DIR_SEPARATOR
+#define DIR_SEPARATOR '/'
+#endif
+
+#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
+ defined (__OS2__)
+#define HAVE_DOS_BASED_FILE_SYSTEM
+#ifndef DIR_SEPARATOR_2
+#define DIR_SEPARATOR_2 '\\'
+#endif
+#endif
+
+#ifndef DIR_SEPARATOR_2
+# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR)
+#else /* DIR_SEPARATOR_2 */
+# define IS_DIR_SEPARATOR(ch) \
+ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
+#endif /* DIR_SEPARATOR_2 */
+
+#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type)))
+#define XFREE(stale) do { \
+ if (stale) { free ((void *) stale); stale = 0; } \
+} while (0)
+
+const char *program_name = NULL;
+
+void * xmalloc (size_t num);
+char * xstrdup (const char *string);
+char * basename (const char *name);
+char * fnqualify(const char *path);
+char * strendzap(char *str, const char *pat);
+void lt_fatal (const char *message, ...);
+
+int
+main (int argc, char *argv[])
+{
+ char **newargz;
+ int i;
+
+ program_name = (char *) xstrdup ((char *) basename (argv[0]));
+ newargz = XMALLOC(char *, argc+2);
+EOF
+
+ cat >> $cwrappersource <<EOF
+ newargz[0] = "$SHELL";
+EOF
+
+ cat >> $cwrappersource <<"EOF"
+ newargz[1] = fnqualify(argv[0]);
+ /* we know the script has the same name, without the .exe */
+ /* so make sure newargz[1] doesn't end in .exe */
+ strendzap(newargz[1],".exe");
+ for (i = 1; i < argc; i++)
+ newargz[i+1] = xstrdup(argv[i]);
+ newargz[argc+1] = NULL;
+EOF
+
+ cat >> $cwrappersource <<EOF
+ execv("$SHELL",newargz);
+EOF
+
+ cat >> $cwrappersource <<"EOF"
+}
+
+void *
+xmalloc (size_t num)
+{
+ void * p = (void *) malloc (num);
+ if (!p)
+ lt_fatal ("Memory exhausted");
+
+ return p;
+}
+
+char *
+xstrdup (const char *string)
+{
+ return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL
+;
+}
+
+char *
+basename (const char *name)
+{
+ const char *base;
+
+#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
+ /* Skip over the disk name in MSDOS pathnames. */
+ if (isalpha (name[0]) && name[1] == ':')
+ name += 2;
+#endif
+
+ for (base = name; *name; name++)
+ if (IS_DIR_SEPARATOR (*name))
+ base = name + 1;
+ return (char *) base;
+}
+
+char *
+fnqualify(const char *path)
+{
+ size_t size;
+ char *p;
+ char tmp[LT_PATHMAX + 1];
+
+ assert(path != NULL);
+
+ /* Is it qualified already? */
+#if defined (HAVE_DOS_BASED_FILE_SYSTEM)
+ if (isalpha (path[0]) && path[1] == ':')
+ return xstrdup (path);
+#endif
+ if (IS_DIR_SEPARATOR (path[0]))
+ return xstrdup (path);
+
+ /* prepend the current directory */
+ /* doesn't handle '~' */
+ if (getcwd (tmp, LT_PATHMAX) == NULL)
+ lt_fatal ("getcwd failed");
+ size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */
+ p = XMALLOC(char, size);
+ sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path);
+ return p;
+}
+
+char *
+strendzap(char *str, const char *pat)
+{
+ size_t len, patlen;
+
+ assert(str != NULL);
+ assert(pat != NULL);
+
+ len = strlen(str);
+ patlen = strlen(pat);
+
+ if (patlen <= len)
+ {
+ str += len - patlen;
+ if (strcmp(str, pat) == 0)
+ *str = '\0';
+ }
+ return str;
+}
+
+static void
+lt_error_core (int exit_status, const char * mode,
+ const char * message, va_list ap)
+{
+ fprintf (stderr, "%s: %s: ", program_name, mode);
+ vfprintf (stderr, message, ap);
+ fprintf (stderr, ".\n");
+
+ if (exit_status >= 0)
+ exit (exit_status);
+}
+
+void
+lt_fatal (const char *message, ...)
+{
+ va_list ap;
+ va_start (ap, message);
+ lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
+ va_end (ap);
+}
+EOF
+ # we should really use a build-platform specific compiler
+ # here, but OTOH, the wrappers (shell script and this C one)
+ # are only useful if you want to execute the "real" binary.
+ # Since the "real" binary is built for $host, then this
+ # wrapper might as well be built for $host, too.
+ $run $LTCC -s -o $cwrapper $cwrappersource
+ ;;
+ esac
+ $rm $output
+ trap "$rm $output; exit 1" 1 2 15
+
+ $echo > $output "\
+#! $SHELL
+
+# $output - temporary wrapper script for $objdir/$outputname
+# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
+#
+# The $output program cannot be directly executed until all the libtool
+# libraries that it depends on are installed.
+#
+# This wrapper script should never be moved out of the build directory.
+# If it is, it will not operate correctly.
+
+# Sed substitution that helps us do robust quoting. It backslashifies
+# metacharacters that are still active within double-quoted strings.
+Xsed='${SED} -e 1s/^X//'
+sed_quote_subst='$sed_quote_subst'
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
+
+relink_command=\"$relink_command\"
+
+# This environment variable determines our operation mode.
+if test \"\$libtool_install_magic\" = \"$magic\"; then
+ # install mode needs the following variable:
+ notinst_deplibs='$notinst_deplibs'
+else
+ # When we are sourced in execute mode, \$file and \$echo are already set.
+ if test \"\$libtool_execute_magic\" != \"$magic\"; then
+ echo=\"$qecho\"
+ file=\"\$0\"
+ # Make sure echo works.
+ if test \"X\$1\" = X--no-reexec; then
+ # Discard the --no-reexec flag, and continue.
+ shift
+ elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then
+ # Yippee, \$echo works!
+ :
+ else
+ # Restart under the correct shell, and then maybe \$echo will work.
+ exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"}
+ fi
+ fi\
+"
+ $echo >> $output "\
+
+ # Find the directory that this script lives in.
+ thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
+ test \"x\$thisdir\" = \"x\$file\" && thisdir=.
+
+ # Follow symbolic links until we get to the real thisdir.
+ file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
+ while test -n \"\$file\"; do
+ destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
+
+ # If there was a directory component, then change thisdir.
+ if test \"x\$destdir\" != \"x\$file\"; then
+ case \"\$destdir\" in
+ [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;;
+ *) thisdir=\"\$thisdir/\$destdir\" ;;
+ esac
+ fi
+
+ file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
+ file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
+ done
+
+ # Try to get the absolute directory name.
+ absdir=\`cd \"\$thisdir\" && pwd\`
+ test -n \"\$absdir\" && thisdir=\"\$absdir\"
+"
+
+ if test "$fast_install" = yes; then
+ $echo >> $output "\
+ program=lt-'$outputname'$exeext
+ progdir=\"\$thisdir/$objdir\"
+
+ if test ! -f \"\$progdir/\$program\" || \\
+ { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
+ test \"X\$file\" != \"X\$progdir/\$program\"; }; then
+
+ file=\"\$\$-\$program\"
+
+ if test ! -d \"\$progdir\"; then
+ $mkdir \"\$progdir\"
+ else
+ $rm \"\$progdir/\$file\"
+ fi"
+
+ $echo >> $output "\
+
+ # relink executable if necessary
+ if test -n \"\$relink_command\"; then
+ if relink_command_output=\`eval \$relink_command 2>&1\`; then :
+ else
+ $echo \"\$relink_command_output\" >&2
+ $rm \"\$progdir/\$file\"
+ exit 1
+ fi
+ fi
+
+ $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
+ { $rm \"\$progdir/\$program\";
+ $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; }
+ $rm \"\$progdir/\$file\"
+ fi"
+ else
+ $echo >> $output "\
+ program='$outputname'
+ progdir=\"\$thisdir/$objdir\"
+"
+ fi
+
+ $echo >> $output "\
+
+ if test -f \"\$progdir/\$program\"; then"
+
+ # Export our shlibpath_var if we have one.
+ if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
+ $echo >> $output "\
+ # Add our own library path to $shlibpath_var
+ $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
+
+ # Some systems cannot cope with colon-terminated $shlibpath_var
+ # The second colon is a workaround for a bug in BeOS R4 sed
+ $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\`
+
+ export $shlibpath_var
+"
+ fi
+
+ # fixup the dll searchpath if we need to.
+ if test -n "$dllsearchpath"; then
+ $echo >> $output "\
+ # Add the dll search path components to the executable PATH
+ PATH=$dllsearchpath:\$PATH
+"
+ fi
+
+ $echo >> $output "\
+ if test \"\$libtool_execute_magic\" != \"$magic\"; then
+ # Run the actual program with our arguments.
+"
+ case $host in
+ # Backslashes separate directories on plain windows
+ *-*-mingw | *-*-os2*)
+ $echo >> $output "\
+ exec \$progdir\\\\\$program \${1+\"\$@\"}
+"
+ ;;
+
+ *)
+ # Need to set LD_LIBRARY_PATH, to the value already
+ # computed within libtool.
+ $echo >> $output "\
+ LD_LIBRARY_PATH=\"$rpath\" exec \$progdir/\$program \${1+\"\$@\"}
+"
+ ;;
+ esac
+ $echo >> $output "\
+ \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
+ exit 1
+ fi
+ else
+ # The program doesn't exist.
+ \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2
+ \$echo \"This script is just a wrapper for \$program.\" 1>&2
+ $echo \"See the $PACKAGE documentation for more information.\" 1>&2
+ exit 1
+ fi
+fi\
+"
+ chmod +x $output
+ fi
+ exit 0
+ ;;
+ esac
+
+ # See if we need to build an old-fashioned archive.
+ for oldlib in $oldlibs; do
+
+ if test "$build_libtool_libs" = convenience; then
+ oldobjs="$libobjs_save"
+ addlibs="$convenience"
+ build_libtool_libs=no
+ else
+ if test "$build_libtool_libs" = module; then
+ oldobjs="$libobjs_save"
+ build_libtool_libs=no
+ else
+ oldobjs="$old_deplibs $non_pic_objects"
+ fi
+ addlibs="$old_convenience"
+ fi
+
+ if test -n "$addlibs"; then
+ gentop="$output_objdir/${outputname}x"
+ $show "${rm}r $gentop"
+ $run ${rm}r "$gentop"
+ $show "$mkdir $gentop"
+ $run $mkdir "$gentop"
+ status=$?
+ if test "$status" -ne 0 && test ! -d "$gentop"; then
+ exit $status
+ fi
+ generated="$generated $gentop"
+
+ # Add in members from convenience archives.
+ for xlib in $addlibs; do
+ # Extract the objects.
+ case $xlib in
+ [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;;
+ *) xabs=`pwd`"/$xlib" ;;
+ esac
+ xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'`
+ xdir="$gentop/$xlib"
+
+ $show "${rm}r $xdir"
+ $run ${rm}r "$xdir"
+ $show "$mkdir $xdir"
+ $run $mkdir "$xdir"
+ status=$?
+ if test "$status" -ne 0 && test ! -d "$xdir"; then
+ exit $status
+ fi
+ # We will extract separately just the conflicting names and we will no
+ # longer touch any unique names. It is faster to leave these extract
+ # automatically by $AR in one run.
+ $show "(cd $xdir && $AR x $xabs)"
+ $run eval "(cd \$xdir && $AR x \$xabs)" || exit $?
+ if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then
+ :
+ else
+ $echo "$modename: warning: object name conflicts; renaming object files" 1>&2
+ $echo "$modename: warning: to ensure that they will not overwrite" 1>&2
+ $AR t "$xabs" | sort | uniq -cd | while read -r count name
+ do
+ i=1
+ while test "$i" -le "$count"
+ do
+ # Put our $i before any first dot (extension)
+ # Never overwrite any file
+ name_to="$name"
+ while test "X$name_to" = "X$name" || test -f "$xdir/$name_to"
+ do
+ name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"`
+ done
+ $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')"
+ $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $?
+ i=`expr $i + 1`
+ done
+ done
+ fi
+
+ oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP`
+ done
+ fi
+
+ compiler_flags="$compiler_flags $add_flags"
+
+ # Do each command in the archive commands.
+ if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
+ eval cmds=\"$old_archive_from_new_cmds\"
+ else
+ eval cmds=\"$old_archive_cmds\"
+
+ if len=`expr "X$cmds" : ".*"` &&
+ test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
+ :
+ else
+ # the command line is too long to link in one step, link in parts
+ $echo "using piecewise archive linking..."
+ save_RANLIB=$RANLIB
+ RANLIB=:
+ objlist=
+ concat_cmds=
+ save_oldobjs=$oldobjs
+ # GNU ar 2.10+ was changed to match POSIX; thus no paths are
+ # encoded into archives. This makes 'ar r' malfunction in
+ # this piecewise linking case whenever conflicting object
+ # names appear in distinct ar calls; check, warn and compensate.
+ if (for obj in $save_oldobjs
+ do
+ $echo "X$obj" | $Xsed -e 's%^.*/%%'
+ done | sort | sort -uc >/dev/null 2>&1); then
+ :
+ else
+ $echo "$modename: warning: object name conflicts; overriding AR_FLAGS to 'cq'" 1>&2
+ $echo "$modename: warning: to ensure that POSIX-compatible ar will work" 1>&2
+ AR_FLAGS=cq
+ fi
+ # Is there a better way of finding the last object in the list?
+ for obj in $save_oldobjs
+ do
+ last_oldobj=$obj
+ done
+ for obj in $save_oldobjs
+ do
+ oldobjs="$objlist $obj"
+ objlist="$objlist $obj"
+ eval test_cmds=\"$old_archive_cmds\"
+ if len=`expr "X$test_cmds" : ".*"` &&
+ test "$len" -le "$max_cmd_len"; then
+ :
+ else
+ # the above command should be used before it gets too long
+ oldobjs=$objlist
+ if test "$obj" = "$last_oldobj" ; then
+ RANLIB=$save_RANLIB
+ fi
+ test -z "$concat_cmds" || concat_cmds=$concat_cmds~
+ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
+ objlist=
+ fi
+ done
+ RANLIB=$save_RANLIB
+ oldobjs=$objlist
+ if test "X$oldobjs" = "X" ; then
+ eval cmds=\"\$concat_cmds\"
+ else
+ eval cmds=\"\$concat_cmds~$old_archive_cmds\"
+ fi
+ fi
+ fi
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+ done
+
+ if test -n "$generated"; then
+ $show "${rm}r$generated"
+ $run ${rm}r$generated
+ fi
+
+ # Now create the libtool archive.
+ case $output in
+ *.la)
+ old_library=
+ test "$build_old_libs" = yes && old_library="$libname.$libext"
+ $show "creating $output"
+
+ # Preserve any variables that may affect compiler behavior
+ for var in $variables_saved_for_relink; do
+ if eval test -z \"\${$var+set}\"; then
+ relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command"
+ elif eval var_value=\$$var; test -z "$var_value"; then
+ relink_command="$var=; export $var; $relink_command"
+ else
+ var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"`
+ relink_command="$var=\"$var_value\"; export $var; $relink_command"
+ fi
+ done
+ # Quote the link command for shipping.
+ relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)"
+ relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
+ if test "$hardcode_automatic" = yes ; then
+ relink_command=
+ fi
+ # Only create the output if not a dry run.
+ if test -z "$run"; then
+ for installed in no yes; do
+ if test "$installed" = yes; then
+ if test -z "$install_libdir"; then
+ break
+ fi
+ output="$output_objdir/$outputname"i
+ # Replace all uninstalled libtool libraries with the installed ones
+ newdependency_libs=
+ for deplib in $dependency_libs; do
+ case $deplib in
+ *.la)
+ name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'`
+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
+ if test -z "$libdir"; then
+ $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
+ exit 1
+ fi
+ newdependency_libs="$newdependency_libs $libdir/$name"
+ ;;
+ *) newdependency_libs="$newdependency_libs $deplib" ;;
+ esac
+ done
+ dependency_libs="$newdependency_libs"
+ newdlfiles=
+ for lib in $dlfiles; do
+ name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
+ if test -z "$libdir"; then
+ $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+ exit 1
+ fi
+ newdlfiles="$newdlfiles $libdir/$name"
+ done
+ dlfiles="$newdlfiles"
+ newdlprefiles=
+ for lib in $dlprefiles; do
+ name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'`
+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
+ if test -z "$libdir"; then
+ $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+ exit 1
+ fi
+ newdlprefiles="$newdlprefiles $libdir/$name"
+ done
+ dlprefiles="$newdlprefiles"
+ fi
+ $rm $output
+ # place dlname in correct position for cygwin
+ tdlname=$dlname
+ case $host,$output,$installed,$module,$dlname in
+ *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
+ esac
+ $echo > $output "\
+# $outputname - a libtool library file
+# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='$tdlname'
+
+# Names of this library.
+library_names='$library_names'
+
+# The name of the static archive.
+old_library='$old_library'
+
+# Libraries that this one depends upon.
+dependency_libs='$dependency_libs'
+
+# Version information for $libname.
+current=$current
+age=$age
+revision=$revision
+
+# Is this an already installed library?
+installed=$installed
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=$module
+
+# Files to dlopen/dlpreopen
+dlopen='$dlfiles'
+dlpreopen='$dlprefiles'
+
+# Directory that this library needs to be installed in:
+libdir='$install_libdir'"
+ if test "$installed" = no && test "$need_relink" = yes && test "$fast_install" = no; then
+ $echo >> $output "\
+relink_command=\"$relink_command\""
+ fi
+ done
+ fi
+
+ # Do a symbolic link so that the libtool archive can be found in
+ # LD_LIBRARY_PATH before the program is installed.
+ $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)"
+ $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $?
+ ;;
+ esac
+ exit 0
+ ;;
+
+ # libtool install mode
+ install)
+ modename="$modename: install"
+
+ # There may be an optional sh(1) argument at the beginning of
+ # install_prog (especially on Windows NT).
+ if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
+ # Allow the use of GNU shtool's install command.
+ $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then
+ # Aesthetically quote it.
+ arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"`
+ case $arg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
+ arg="\"$arg\""
+ ;;
+ esac
+ install_prog="$arg "
+ arg="$1"
+ shift
+ else
+ install_prog=
+ arg="$nonopt"
+ fi
+
+ # The real first argument should be the name of the installation program.
+ # Aesthetically quote it.
+ arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+ case $arg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
+ arg="\"$arg\""
+ ;;
+ esac
+ install_prog="$install_prog$arg"
+
+ # We need to accept at least all the BSD install flags.
+ dest=
+ files=
+ opts=
+ prev=
+ install_type=
+ isdir=no
+ stripme=
+ for arg
+ do
+ if test -n "$dest"; then
+ files="$files $dest"
+ dest="$arg"
+ continue
+ fi
+
+ case $arg in
+ -d) isdir=yes ;;
+ -f) prev="-f" ;;
+ -g) prev="-g" ;;
+ -m) prev="-m" ;;
+ -o) prev="-o" ;;
+ -s)
+ stripme=" -s"
+ continue
+ ;;
+ -*) ;;
+
+ *)
+ # If the previous option needed an argument, then skip it.
+ if test -n "$prev"; then
+ prev=
+ else
+ dest="$arg"
+ continue
+ fi
+ ;;
+ esac
+
+ # Aesthetically quote the argument.
+ arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
+ case $arg in
+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*)
+ arg="\"$arg\""
+ ;;
+ esac
+ install_prog="$install_prog $arg"
+ done
+
+ if test -z "$install_prog"; then
+ $echo "$modename: you must specify an install program" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ if test -n "$prev"; then
+ $echo "$modename: the \`$prev' option requires an argument" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ if test -z "$files"; then
+ if test -z "$dest"; then
+ $echo "$modename: no file or destination specified" 1>&2
+ else
+ $echo "$modename: you must specify a destination" 1>&2
+ fi
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ # Strip any trailing slash from the destination.
+ dest=`$echo "X$dest" | $Xsed -e 's%/$%%'`
+
+ # Check to see that the destination is a directory.
+ test -d "$dest" && isdir=yes
+ if test "$isdir" = yes; then
+ destdir="$dest"
+ destname=
+ else
+ destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'`
+ test "X$destdir" = "X$dest" && destdir=.
+ destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'`
+
+ # Not a directory, so check to see that there is only one file specified.
+ set dummy $files
+ if test "$#" -gt 2; then
+ $echo "$modename: \`$dest' is not a directory" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+ fi
+ case $destdir in
+ [\\/]* | [A-Za-z]:[\\/]*) ;;
+ *)
+ for file in $files; do
+ case $file in
+ *.lo) ;;
+ *)
+ $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ ;;
+ esac
+ done
+ ;;
+ esac
+
+ # This variable tells wrapper scripts just to set variables rather
+ # than running their programs.
+ libtool_install_magic="$magic"
+
+ staticlibs=
+ future_libdirs=
+ current_libdirs=
+ for file in $files; do
+
+ # Do each installation.
+ case $file in
+ *.$libext)
+ # Do the static libraries later.
+ staticlibs="$staticlibs $file"
+ ;;
+
+ *.la)
+ # Check to see that this really is a libtool archive.
+ if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
+ else
+ $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ library_names=
+ old_library=
+ relink_command=
+ # If there is no directory component, then add one.
+ case $file in
+ */* | *\\*) . $file ;;
+ *) . ./$file ;;
+ esac
+
+ # Add the libdir to current_libdirs if it is the destination.
+ if test "X$destdir" = "X$libdir"; then
+ case "$current_libdirs " in
+ *" $libdir "*) ;;
+ *) current_libdirs="$current_libdirs $libdir" ;;
+ esac
+ else
+ # Note the libdir as a future libdir.
+ case "$future_libdirs " in
+ *" $libdir "*) ;;
+ *) future_libdirs="$future_libdirs $libdir" ;;
+ esac
+ fi
+
+ dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/
+ test "X$dir" = "X$file/" && dir=
+ dir="$dir$objdir"
+
+ if test -n "$relink_command"; then
+ # Determine the prefix the user has applied to our future dir.
+ inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
+
+ # Don't allow the user to place us outside of our expected
+ # location b/c this prevents finding dependent libraries that
+ # are installed to the same prefix.
+ # At present, this check doesn't affect windows .dll's that
+ # are installed into $libdir/../bin (currently, that works fine)
+ # but it's something to keep an eye on.
+ if test "$inst_prefix_dir" = "$destdir"; then
+ $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
+ exit 1
+ fi
+
+ if test -n "$inst_prefix_dir"; then
+ # Stick the inst_prefix_dir data into the link command.
+ relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
+ else
+ relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
+ fi
+
+ $echo "$modename: warning: relinking \`$file'" 1>&2
+ $show "$relink_command"
+ if $run eval "$relink_command"; then :
+ else
+ $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
+ exit 1
+ fi
+ fi
+
+ # See the names of the shared library.
+ set dummy $library_names
+ if test -n "$2"; then
+ realname="$2"
+ shift
+ shift
+
+ srcname="$realname"
+ test -n "$relink_command" && srcname="$realname"T
+
+ # Install the shared library and build the symlinks.
+ $show "$install_prog $dir/$srcname $destdir/$realname"
+ $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $?
+ if test -n "$stripme" && test -n "$striplib"; then
+ $show "$striplib $destdir/$realname"
+ $run eval "$striplib $destdir/$realname" || exit $?
+ fi
+
+ if test "$#" -gt 0; then
+ # Delete the old symlinks, and create new ones.
+ for linkname
+ do
+ if test "$linkname" != "$realname"; then
+ $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
+ $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
+ fi
+ done
+ fi
+
+ # Do each command in the postinstall commands.
+ lib="$destdir/$realname"
+ eval cmds=\"$postinstall_cmds\"
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+ fi
+
+ # Install the pseudo-library for information purposes.
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
+ ;;
+
+ *.lo)
+ # Install (i.e. copy) a libtool object.
+
+ # Figure out destination file name, if it wasn't already specified.
+ if test -n "$destname"; then
+ destfile="$destdir/$destname"
+ else
+ destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ destfile="$destdir/$destfile"
+ fi
+
+ # Deduce the name of the destination old-style object file.
+ case $destfile in
+ *.lo)
+ staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
+ ;;
+ *.$objext)
+ staticdest="$destfile"
+ destfile=
+ ;;
+ *)
+ $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ ;;
+ esac
+
+ # Install the libtool object if requested.
+ if test -n "$destfile"; then
+ $show "$install_prog $file $destfile"
+ $run eval "$install_prog $file $destfile" || exit $?
+ fi
+
+ # Install the old object if enabled.
+ if test "$build_old_libs" = yes; then
+ # Deduce the name of the old-style object file.
+ staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
+
+ $show "$install_prog $staticobj $staticdest"
+ $run eval "$install_prog \$staticobj \$staticdest" || exit $?
+ fi
+ exit 0
+ ;;
+
+ *)
+ # Figure out destination file name, if it wasn't already specified.
+ if test -n "$destname"; then
+ destfile="$destdir/$destname"
+ else
+ destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ destfile="$destdir/$destfile"
+ fi
+
+ # If the file is missing, and there is a .exe on the end, strip it
+ # because it is most likely a libtool script we actually want to
+ # install
+ stripped_ext=""
+ case $file in
+ *.exe)
+ if test ! -f "$file"; then
+ file=`$echo $file|${SED} 's,.exe$,,'`
+ stripped_ext=".exe"
+ fi
+ ;;
+ esac
+
+ # Do a test to see if this is really a libtool program.
+ case $host in
+ *cygwin*|*mingw*)
+ wrapper=`$echo $file | ${SED} -e 's,.exe$,,'`
+ ;;
+ *)
+ wrapper=$file
+ ;;
+ esac
+ if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then
+ notinst_deplibs=
+ relink_command=
+
+ # To insure that "foo" is sourced, and not "foo.exe",
+ # finese the cygwin/MSYS system by explicitly sourcing "foo."
+ # which disallows the automatic-append-.exe behavior.
+ case $build in
+ *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
+ *) wrapperdot=${wrapper} ;;
+ esac
+ # If there is no directory component, then add one.
+ case $file in
+ */* | *\\*) . ${wrapperdot} ;;
+ *) . ./${wrapperdot} ;;
+ esac
+
+ # Check the variables that should have been set.
+ if test -z "$notinst_deplibs"; then
+ $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2
+ exit 1
+ fi
+
+ finalize=yes
+ for lib in $notinst_deplibs; do
+ # Check to see that each library is installed.
+ libdir=
+ if test -f "$lib"; then
+ # If there is no directory component, then add one.
+ case $lib in
+ */* | *\\*) . $lib ;;
+ *) . ./$lib ;;
+ esac
+ fi
+ libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test
+ if test -n "$libdir" && test ! -f "$libfile"; then
+ $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
+ finalize=no
+ fi
+ done
+
+ relink_command=
+ # To insure that "foo" is sourced, and not "foo.exe",
+ # finese the cygwin/MSYS system by explicitly sourcing "foo."
+ # which disallows the automatic-append-.exe behavior.
+ case $build in
+ *cygwin* | *mingw*) wrapperdot=${wrapper}. ;;
+ *) wrapperdot=${wrapper} ;;
+ esac
+ # If there is no directory component, then add one.
+ case $file in
+ */* | *\\*) . ${wrapperdot} ;;
+ *) . ./${wrapperdot} ;;
+ esac
+
+ outputname=
+ if test "$fast_install" = no && test -n "$relink_command"; then
+ if test "$finalize" = yes && test -z "$run"; then
+ tmpdir="/tmp"
+ test -n "$TMPDIR" && tmpdir="$TMPDIR"
+ tmpdir="$tmpdir/libtool-$$"
+ if $mkdir "$tmpdir" && chmod 700 "$tmpdir"; then :
+ else
+ $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
+ continue
+ fi
+ file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
+ outputname="$tmpdir/$file"
+ # Replace the output file specification.
+ relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
+
+ $show "$relink_command"
+ if $run eval "$relink_command"; then :
+ else
+ $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
+ ${rm}r "$tmpdir"
+ continue
+ fi
+ file="$outputname"
+ else
+ $echo "$modename: warning: cannot relink \`$file'" 1>&2
+ fi
+ else
+ # Install the binary that we compiled earlier.
+ file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
+ fi
+ fi
+
+ # remove .exe since cygwin /usr/bin/install will append another
+ # one anyways
+ case $install_prog,$host in
+ */usr/bin/install*,*cygwin*)
+ case $file:$destfile in
+ *.exe:*.exe)
+ # this is ok
+ ;;
+ *.exe:*)
+ destfile=$destfile.exe
+ ;;
+ *:*.exe)
+ destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'`
+ ;;
+ esac
+ ;;
+ esac
+ $show "$install_prog$stripme $file $destfile"
+ $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
+ test -n "$outputname" && ${rm}r "$tmpdir"
+ ;;
+ esac
+ done
+
+ for file in $staticlibs; do
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+
+ # Set up the ranlib parameters.
+ oldlib="$destdir/$name"
+
+ $show "$install_prog $file $oldlib"
+ $run eval "$install_prog \$file \$oldlib" || exit $?
+
+ if test -n "$stripme" && test -n "$striplib"; then
+ $show "$old_striplib $oldlib"
+ $run eval "$old_striplib $oldlib" || exit $?
+ fi
+
+ # Do each command in the postinstall commands.
+ eval cmds=\"$old_postinstall_cmds\"
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || exit $?
+ done
+ IFS="$save_ifs"
+ done
+
+ if test -n "$future_libdirs"; then
+ $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2
+ fi
+
+ if test -n "$current_libdirs"; then
+ # Maybe just do a dry run.
+ test -n "$run" && current_libdirs=" -n$current_libdirs"
+ exec_cmd='$SHELL $0 --finish$current_libdirs'
+ else
+ exit 0
+ fi
+ ;;
+
+ # libtool finish mode
+ finish)
+ modename="$modename: finish"
+ libdirs="$nonopt"
+ admincmds=
+
+ if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
+ for dir
+ do
+ libdirs="$libdirs $dir"
+ done
+
+ for libdir in $libdirs; do
+ if test -n "$finish_cmds"; then
+ # Do each command in the finish commands.
+ eval cmds=\"$finish_cmds\"
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd" || admincmds="$admincmds
+ $cmd"
+ done
+ IFS="$save_ifs"
+ fi
+ if test -n "$finish_eval"; then
+ # Do the single finish_eval.
+ eval cmds=\"$finish_eval\"
+ $run eval "$cmds" || admincmds="$admincmds
+ $cmds"
+ fi
+ done
+ fi
+
+ # Exit here if they wanted silent mode.
+ exit 0
+
+ $echo "----------------------------------------------------------------------"
+ $echo "Libraries have been installed in:"
+ for libdir in $libdirs; do
+ $echo " $libdir"
+ done
+ $echo
+ $echo "If you ever happen to want to link against installed libraries"
+ $echo "in a given directory, LIBDIR, you must either use libtool, and"
+ $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
+ $echo "flag during linking and do at least one of the following:"
+ if test -n "$shlibpath_var"; then
+ $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
+ $echo " during execution"
+ fi
+ if test -n "$runpath_var"; then
+ $echo " - add LIBDIR to the \`$runpath_var' environment variable"
+ $echo " during linking"
+ fi
+ if test -n "$hardcode_libdir_flag_spec"; then
+ libdir=LIBDIR
+ eval flag=\"$hardcode_libdir_flag_spec\"
+
+ $echo " - use the \`$flag' linker flag"
+ fi
+ if test -n "$admincmds"; then
+ $echo " - have your system administrator run these commands:$admincmds"
+ fi
+ if test -f /etc/ld.so.conf; then
+ $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
+ fi
+ $echo
+ $echo "See any operating system documentation about shared libraries for"
+ $echo "more information, such as the ld(1) and ld.so(8) manual pages."
+ $echo "----------------------------------------------------------------------"
+ exit 0
+ ;;
+
+ # libtool execute mode
+ execute)
+ modename="$modename: execute"
+
+ # The first argument is the command name.
+ cmd="$nonopt"
+ if test -z "$cmd"; then
+ $echo "$modename: you must specify a COMMAND" 1>&2
+ $echo "$help"
+ exit 1
+ fi
+
+ # Handle -dlopen flags immediately.
+ for file in $execute_dlfiles; do
+ if test ! -f "$file"; then
+ $echo "$modename: \`$file' is not a file" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ dir=
+ case $file in
+ *.la)
+ # Check to see that this really is a libtool archive.
+ if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
+ else
+ $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ # Read the libtool library.
+ dlname=
+ library_names=
+
+ # If there is no directory component, then add one.
+ case $file in
+ */* | *\\*) . $file ;;
+ *) . ./$file ;;
+ esac
+
+ # Skip this library if it cannot be dlopened.
+ if test -z "$dlname"; then
+ # Warn if it was a shared library.
+ test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'"
+ continue
+ fi
+
+ dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
+ test "X$dir" = "X$file" && dir=.
+
+ if test -f "$dir/$objdir/$dlname"; then
+ dir="$dir/$objdir"
+ else
+ $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
+ exit 1
+ fi
+ ;;
+
+ *.lo)
+ # Just add the directory containing the .lo file.
+ dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
+ test "X$dir" = "X$file" && dir=.
+ ;;
+
+ *)
+ $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
+ continue
+ ;;
+ esac
+
+ # Get the absolute pathname.
+ absdir=`cd "$dir" && pwd`
+ test -n "$absdir" && dir="$absdir"
+
+ # Now add the directory to shlibpath_var.
+ if eval "test -z \"\$$shlibpath_var\""; then
+ eval "$shlibpath_var=\"\$dir\""
+ else
+ eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
+ fi
+ done
+
+ # This variable tells wrapper scripts just to set shlibpath_var
+ # rather than running their programs.
+ libtool_execute_magic="$magic"
+
+ # Check if any of the arguments is a wrapper script.
+ args=
+ for file
+ do
+ case $file in
+ -*) ;;
+ *)
+ # Do a test to see if this is really a libtool program.
+ if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+ # If there is no directory component, then add one.
+ case $file in
+ */* | *\\*) . $file ;;
+ *) . ./$file ;;
+ esac
+
+ # Transform arg to wrapped name.
+ file="$progdir/$program"
+ fi
+ ;;
+ esac
+ # Quote arguments (to preserve shell metacharacters).
+ file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
+ args="$args \"$file\""
+ done
+
+ if test -z "$run"; then
+ if test -n "$shlibpath_var"; then
+ # Export the shlibpath_var.
+ eval "export $shlibpath_var"
+ fi
+
+ # Restore saved environment variables
+ if test "${save_LC_ALL+set}" = set; then
+ LC_ALL="$save_LC_ALL"; export LC_ALL
+ fi
+ if test "${save_LANG+set}" = set; then
+ LANG="$save_LANG"; export LANG
+ fi
+
+ # Now prepare to actually exec the command.
+ exec_cmd="\$cmd$args"
+ else
+ # Display what would be done.
+ if test -n "$shlibpath_var"; then
+ eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
+ $echo "export $shlibpath_var"
+ fi
+ $echo "$cmd$args"
+ exit 0
+ fi
+ ;;
+
+ # libtool clean and uninstall mode
+ clean | uninstall)
+ modename="$modename: $mode"
+ rm="$nonopt"
+ files=
+ rmforce=
+ exit_status=0
+
+ # This variable tells wrapper scripts just to set variables rather
+ # than running their programs.
+ libtool_install_magic="$magic"
+
+ for arg
+ do
+ case $arg in
+ -f) rm="$rm $arg"; rmforce=yes ;;
+ -*) rm="$rm $arg" ;;
+ *) files="$files $arg" ;;
+ esac
+ done
+
+ if test -z "$rm"; then
+ $echo "$modename: you must specify an RM program" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ fi
+
+ rmdirs=
+
+ origobjdir="$objdir"
+ for file in $files; do
+ dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
+ if test "X$dir" = "X$file"; then
+ dir=.
+ objdir="$origobjdir"
+ else
+ objdir="$dir/$origobjdir"
+ fi
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ test "$mode" = uninstall && objdir="$dir"
+
+ # Remember objdir for removal later, being careful to avoid duplicates
+ if test "$mode" = clean; then
+ case " $rmdirs " in
+ *" $objdir "*) ;;
+ *) rmdirs="$rmdirs $objdir" ;;
+ esac
+ fi
+
+ # Don't error if the file doesn't exist and rm -f was used.
+ if (test -L "$file") >/dev/null 2>&1 \
+ || (test -h "$file") >/dev/null 2>&1 \
+ || test -f "$file"; then
+ :
+ elif test -d "$file"; then
+ exit_status=1
+ continue
+ elif test "$rmforce" = yes; then
+ continue
+ fi
+
+ rmfiles="$file"
+
+ case $name in
+ *.la)
+ # Possibly a libtool archive, so verify it.
+ if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+ . $dir/$name
+
+ # Delete the libtool libraries and symlinks.
+ for n in $library_names; do
+ rmfiles="$rmfiles $objdir/$n"
+ done
+ test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
+ test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
+
+ if test "$mode" = uninstall; then
+ if test -n "$library_names"; then
+ # Do each command in the postuninstall commands.
+ eval cmds=\"$postuninstall_cmds\"
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd"
+ if test "$?" -ne 0 && test "$rmforce" != yes; then
+ exit_status=1
+ fi
+ done
+ IFS="$save_ifs"
+ fi
+
+ if test -n "$old_library"; then
+ # Do each command in the old_postuninstall commands.
+ eval cmds=\"$old_postuninstall_cmds\"
+ save_ifs="$IFS"; IFS='~'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd"
+ if test "$?" -ne 0 && test "$rmforce" != yes; then
+ exit_status=1
+ fi
+ done
+ IFS="$save_ifs"
+ fi
+ # FIXME: should reinstall the best remaining shared library.
+ fi
+ fi
+ ;;
+
+ *.lo)
+ # Possibly a libtool object, so verify it.
+ if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+
+ # Read the .lo file
+ . $dir/$name
+
+ # Add PIC object to the list of files to remove.
+ if test -n "$pic_object" \
+ && test "$pic_object" != none; then
+ rmfiles="$rmfiles $dir/$pic_object"
+ fi
+
+ # Add non-PIC object to the list of files to remove.
+ if test -n "$non_pic_object" \
+ && test "$non_pic_object" != none; then
+ rmfiles="$rmfiles $dir/$non_pic_object"
+ fi
+ fi
+ ;;
+
+ *)
+ if test "$mode" = clean ; then
+ noexename=$name
+ case $file in
+ *.exe)
+ file=`$echo $file|${SED} 's,.exe$,,'`
+ noexename=`$echo $name|${SED} 's,.exe$,,'`
+ # $file with .exe has already been added to rmfiles,
+ # add $file without .exe
+ rmfiles="$rmfiles $file"
+ ;;
+ esac
+ # Do a test to see if this is a libtool program.
+ if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+ relink_command=
+ . $dir/$noexename
+
+ # note $name still contains .exe if it was in $file originally
+ # as does the version of $file that was added into $rmfiles
+ rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
+ if test "$fast_install" = yes && test -n "$relink_command"; then
+ rmfiles="$rmfiles $objdir/lt-$name"
+ fi
+ if test "X$noexename" != "X$name" ; then
+ rmfiles="$rmfiles $objdir/lt-${noexename}.c"
+ fi
+ fi
+ fi
+ ;;
+ esac
+ $show "$rm $rmfiles"
+ $run $rm $rmfiles || exit_status=1
+ done
+ objdir="$origobjdir"
+
+ # Try to remove the ${objdir}s in the directories where we deleted files
+ for dir in $rmdirs; do
+ if test -d "$dir"; then
+ $show "rmdir $dir"
+ $run rmdir $dir >/dev/null 2>&1
+ fi
+ done
+
+ exit $exit_status
+ ;;
+
+ "")
+ $echo "$modename: you must specify a MODE" 1>&2
+ $echo "$generic_help" 1>&2
+ exit 1
+ ;;
+ esac
+
+ if test -z "$exec_cmd"; then
+ $echo "$modename: invalid operation mode \`$mode'" 1>&2
+ $echo "$generic_help" 1>&2
+ exit 1
+ fi
+fi # test -z "$show_help"
+
+if test -n "$exec_cmd"; then
+ eval exec $exec_cmd
+ exit 1
+fi
+
+# We need to display help for each of the modes.
+case $mode in
+"") $echo \
+"Usage: $modename [OPTION]... [MODE-ARG]...
+
+Provide generalized library-building support services.
+
+ --config show all configuration variables
+ --debug enable verbose shell tracing
+-n, --dry-run display commands without modifying any files
+ --features display basic configuration information and exit
+ --finish same as \`--mode=finish'
+ --help display this help message and exit
+ --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS]
+ --quiet same as \`--silent'
+ --silent don't print informational messages
+ --tag=TAG use configuration variables from tag TAG
+ --version print version information
+
+MODE must be one of the following:
+
+ clean remove files from the build directory
+ compile compile a source file into a libtool object
+ execute automatically set library path, then run a program
+ finish complete the installation of libtool libraries
+ install install libraries or executables
+ link create a library or an executable
+ uninstall remove libraries from an installed directory
+
+MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for
+a more detailed description of MODE.
+
+Report bugs to <bug-libtool at gnu.org>."
+ exit 0
+ ;;
+
+clean)
+ $echo \
+"Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
+
+Remove files from the build directory.
+
+RM is the name of the program to use to delete files associated with each FILE
+(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
+to RM.
+
+If FILE is a libtool library, object or program, all the files associated
+with it are deleted. Otherwise, only FILE itself is deleted using RM."
+ ;;
+
+compile)
+ $echo \
+"Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE
+
+Compile a source file into a libtool library object.
+
+This mode accepts the following additional options:
+
+ -o OUTPUT-FILE set the output file name to OUTPUT-FILE
+ -prefer-pic try to building PIC objects only
+ -prefer-non-pic try to building non-PIC objects only
+ -static always build a \`.o' file suitable for static linking
+
+COMPILE-COMMAND is a command to be used in creating a \`standard' object file
+from the given SOURCEFILE.
+
+The output file name is determined by removing the directory component from
+SOURCEFILE, then substituting the C source code suffix \`.c' with the
+library object suffix, \`.lo'."
+ ;;
+
+execute)
+ $echo \
+"Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]...
+
+Automatically set library path, then run a program.
+
+This mode accepts the following additional options:
+
+ -dlopen FILE add the directory containing FILE to the library path
+
+This mode sets the library path environment variable according to \`-dlopen'
+flags.
+
+If any of the ARGS are libtool executable wrappers, then they are translated
+into their corresponding uninstalled binary, and any of their required library
+directories are added to the library path.
+
+Then, COMMAND is executed, with ARGS as arguments."
+ ;;
+
+finish)
+ $echo \
+"Usage: $modename [OPTION]... --mode=finish [LIBDIR]...
+
+Complete the installation of libtool libraries.
+
+Each LIBDIR is a directory that contains libtool libraries.
+
+The commands that this mode executes may require superuser privileges. Use
+the \`--dry-run' option if you just want to see what would be executed."
+ ;;
+
+install)
+ $echo \
+"Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND...
+
+Install executables or libraries.
+
+INSTALL-COMMAND is the installation command. The first component should be
+either the \`install' or \`cp' program.
+
+The rest of the components are interpreted as arguments to that command (only
+BSD-compatible install options are recognized)."
+ ;;
+
+link)
+ $echo \
+"Usage: $modename [OPTION]... --mode=link LINK-COMMAND...
+
+Link object files or libraries together to form another library, or to
+create an executable program.
+
+LINK-COMMAND is a command using the C compiler that you would use to create
+a program from several object files.
+
+The following components of LINK-COMMAND are treated specially:
+
+ -all-static do not do any dynamic linking at all
+ -avoid-version do not add a version suffix if possible
+ -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
+ -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
+ -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
+ -export-symbols SYMFILE
+ try to export only the symbols listed in SYMFILE
+ -export-symbols-regex REGEX
+ try to export only the symbols matching REGEX
+ -LLIBDIR search LIBDIR for required installed libraries
+ -lNAME OUTPUT-FILE requires the installed library libNAME
+ -module build a library that can dlopened
+ -no-fast-install disable the fast-install mode
+ -no-install link a not-installable executable
+ -no-undefined declare that a library does not refer to external symbols
+ -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
+ -objectlist FILE Use a list of object files found in FILE to specify objects
+ -release RELEASE specify package release information
+ -rpath LIBDIR the created library will eventually be installed in LIBDIR
+ -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
+ -static do not do any dynamic linking of libtool libraries
+ -version-info CURRENT[:REVISION[:AGE]]
+ specify library version info [each variable defaults to 0]
+
+All other options (arguments beginning with \`-') are ignored.
+
+Every other argument is treated as a filename. Files ending in \`.la' are
+treated as uninstalled libtool libraries, other files are standard or library
+object files.
+
+If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
+only library objects (\`.lo' files) may be specified, and \`-rpath' is
+required, except when creating a convenience library.
+
+If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
+using \`ar' and \`ranlib', or on Windows using \`lib'.
+
+If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
+is created, otherwise an executable program is created."
+ ;;
+
+uninstall)
+ $echo \
+"Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
+
+Remove libraries from an installation directory.
+
+RM is the name of the program to use to delete files associated with each FILE
+(typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed
+to RM.
+
+If FILE is a libtool library, all the files associated with it are deleted.
+Otherwise, only FILE itself is deleted using RM."
+ ;;
+
+*)
+ $echo "$modename: invalid operation mode \`$mode'" 1>&2
+ $echo "$help" 1>&2
+ exit 1
+ ;;
+esac
+
+$echo
+$echo "Try \`$modename --help' for more information about other modes."
+
+exit 0
+
+# The TAGs below are defined such that we never get into a situation
+# in which we disable both kinds of libraries. Given conflicting
+# choices, we go for a static library, that is the most portable,
+# since we can't tell whether shared libraries were disabled because
+# the user asked for that or because the platform doesn't support
+# them. This is particularly important on AIX, because we don't
+# support having both static and shared libraries enabled at the same
+# time on that platform, so we default to a shared-only configuration.
+# If a disable-shared tag is given, we'll fallback to a static-only
+# configuration. But we'll never go from static-only to shared-only.
+
+# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
+build_libtool_libs=no
+build_old_libs=yes
+# ### END LIBTOOL TAG CONFIG: disable-shared
+
+# ### BEGIN LIBTOOL TAG CONFIG: disable-static
+build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
+# ### END LIBTOOL TAG CONFIG: disable-static
+
+# Local Variables:
+# mode:shell-script
+# sh-indentation:2
+# End:
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/missing
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/missing (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/missing 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,353 @@
+#! /bin/sh
+# Common stub for a few missing GNU programs while installing.
+
+scriptversion=2004-09-07.08
+
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004
+# Free Software Foundation, Inc.
+# Originally by Fran,cois Pinard <pinard at 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
+
+run=:
+
+# 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
+
+msg="missing on your system"
+
+case "$1" in
+--run)
+ # Try to run requested program, and just exit if it succeeds.
+ run=
+ shift
+ "$@" && exit 0
+ # Exit code 63 means version mismatch. This often happens
+ # when the user try to use an ancient version of a tool on
+ # a file that requires a minimum version. In this case we
+ # we should proceed has if the program had been absent, or
+ # if --run hadn't been passed.
+ if test $? = 63; then
+ run=:
+ msg="probably too old"
+ fi
+ ;;
+
+ -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]
+
+Send bug reports to <bug-automake at gnu.org>."
+ exit 0
+ ;;
+
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
+ echo "missing $scriptversion (GNU Automake)"
+ exit 0
+ ;;
+
+ -*)
+ echo 1>&2 "$0: Unknown \`$1' option"
+ echo 1>&2 "Try \`$0 --help' for more information"
+ exit 1
+ ;;
+
+esac
+
+# Now exit if we have it, but it failed. Also exit now if we
+# don't have it and --version was passed (most likely to detect
+# the program).
+case "$1" in
+ lex|yacc)
+ # Not GNU programs, they don't have --version.
+ ;;
+
+ tar)
+ if test -n "$run"; then
+ echo 1>&2 "ERROR: \`tar' requires --run"
+ exit 1
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
+ exit 1
+ fi
+ ;;
+
+ *)
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+ # We have it, but it failed.
+ exit 1
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
+ # Could not run --version or --help. This is probably someone
+ # running `$TOOL --version' or `$TOOL --help' to check whether
+ # $TOOL exists and not knowing $TOOL uses missing.
+ exit 1
+ fi
+ ;;
+esac
+
+# If it does not exist, or fails to run (possibly an outdated version),
+# try to emulate it.
+case "$1" in
+ aclocal*)
+ echo 1>&2 "\
+WARNING: \`$1' is $msg. 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 $msg. 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 $msg. 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 $msg. 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
+ ;;
+
+ autom4te)
+ echo 1>&2 "\
+WARNING: \`$1' is needed, but is $msg.
+ You might have modified some files without having the
+ proper tools for further handling them.
+ You can get \`$1' as part of \`Autoconf' from any GNU
+ archive site."
+
+ file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
+ test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
+ if test -f "$file"; then
+ touch $file
+ else
+ test -z "$file" || exec >$file
+ echo "#! /bin/sh"
+ echo "# Created by GNU Automake missing as a replacement of"
+ echo "# $ $@"
+ echo "exit 0"
+ chmod +x $file
+ exit 1
+ fi
+ ;;
+
+ bison|yacc)
+ echo 1>&2 "\
+WARNING: \`$1' $msg. 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 $msg. 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 $msg. 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)
+ echo 1>&2 "\
+WARNING: \`$1' is $msg. 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
+
+ # 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 "$@" && exit 0
+ fi
+ if (gtar --version > /dev/null 2>&1); then
+ gtar "$@" && exit 0
+ fi
+ firstarg="$1"
+ if shift; then
+ case "$firstarg" in
+ *o*)
+ firstarg=`echo "$firstarg" | sed s/o//`
+ tar "$firstarg" "$@" && exit 0
+ ;;
+ esac
+ case "$firstarg" in
+ *h*)
+ firstarg=`echo "$firstarg" | sed s/h//`
+ tar "$firstarg" "$@" && 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 is $msg.
+ 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 prerequisites 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
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
+# End:
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/admin/missing
___________________________________________________________________
Name: svn:executable
+
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/mkinstalldirs
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/mkinstalldirs (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/mkinstalldirs 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,158 @@
+#! /bin/sh
+# mkinstalldirs --- make directory hierarchy
+
+scriptversion=2005-06-29.22
+
+# Original author: Noah Friedman <friedman at prep.ai.mit.edu>
+# Created: 1993-05-16
+# Public domain.
+#
+# This file is maintained in Automake, please report
+# bugs to <bug-automake at gnu.org> or send patches to
+# <automake-patches at gnu.org>.
+
+errstatus=0
+dirmode=
+
+usage="\
+Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
+
+Create each directory DIR (with mode MODE, if specified), including all
+leading file name components.
+
+Report bugs to <bug-automake at gnu.org>."
+
+# process command line arguments
+while test $# -gt 0 ; do
+ case $1 in
+ -h | --help | --h*) # -h for help
+ echo "$usage"
+ exit $?
+ ;;
+ -m) # -m PERM arg
+ shift
+ test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
+ dirmode=$1
+ shift
+ ;;
+ --version)
+ echo "$0 $scriptversion"
+ exit $?
+ ;;
+ --) # stop option processing
+ shift
+ break
+ ;;
+ -*) # unknown option
+ echo "$usage" 1>&2
+ exit 1
+ ;;
+ *) # first non-opt arg
+ break
+ ;;
+ esac
+done
+
+for file
+do
+ if test -d "$file"; then
+ shift
+ else
+ break
+ fi
+done
+
+case $# in
+ 0) exit 0 ;;
+esac
+
+# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and
+# mkdir -p a/c at the same time, both will detect that a is missing,
+# one will create a, then the other will try to create a and die with
+# a "File exists" error. This is a problem when calling mkinstalldirs
+# from a parallel make. We use --version in the probe to restrict
+# ourselves to GNU mkdir, which is thread-safe.
+case $dirmode in
+ '')
+ if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
+ echo "mkdir -p -- $*"
+ exec mkdir -p -- "$@"
+ else
+ # On NextStep and OpenStep, the `mkdir' command does not
+ # recognize any option. It will interpret all options as
+ # directories to create, and then abort because `.' already
+ # exists.
+ test -d ./-p && rmdir ./-p
+ test -d ./--version && rmdir ./--version
+ fi
+ ;;
+ *)
+ if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 &&
+ test ! -d ./--version; then
+ echo "mkdir -m $dirmode -p -- $*"
+ exec mkdir -m "$dirmode" -p -- "$@"
+ else
+ # Clean up after NextStep and OpenStep mkdir.
+ for d in ./-m ./-p ./--version "./$dirmode";
+ do
+ test -d $d && rmdir $d
+ done
+ fi
+ ;;
+esac
+
+for file
+do
+ case $file in
+ /*) pathcomp=/ ;;
+ *) pathcomp= ;;
+ esac
+ oIFS=$IFS
+ IFS=/
+ set fnord $file
+ shift
+ IFS=$oIFS
+
+ for d
+ do
+ test "x$d" = x && continue
+
+ 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
+ else
+ if test ! -z "$dirmode"; then
+ echo "chmod $dirmode $pathcomp"
+ lasterr=
+ chmod "$dirmode" "$pathcomp" || lasterr=$?
+
+ if test ! -z "$lasterr"; then
+ errstatus=$lasterr
+ fi
+ fi
+ fi
+ fi
+
+ pathcomp=$pathcomp/
+ done
+done
+
+exit $errstatus
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
+# End:
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/admin/mkinstalldirs
___________________________________________________________________
Name: svn:executable
+
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/nmcheck
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/nmcheck (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/nmcheck 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,371 @@
+#!/usr/bin/perl -w
+
+# Check namespace cleanness of a library.
+# Allowed symbols are passed as arguments.
+# They may have trailing * = wildcard.
+# Wildcards may be also specified as *::* (e.g. K*::* for all KDE classes)
+# Symbols are listed as full function unmangled names without arguments,
+# e.g. 'foo bar* nspace::*' allows foo(), foo(int), bar(), barbar()
+# and all symbols in namespace/class nspace.
+# If an argument has comma in it, it's a filename of a file containing
+# allowed symbols, one per line.
+
+
+$thisProg = "$0"; # This programs name
+
+$library = "";
+$allowed_symbols = "";
+$debug = 0;
+$allowed_weak = "";
+$weak_specified = 0;
+
+while( defined( $ARGV[ 0 ] ))
+{
+ $_ = shift;
+ if( /^--verbose$|^-v$/ )
+ {
+ $debug = 1;
+ }
+ elsif( /^--help$|^-h$/ )
+ {
+ print STDOUT "Usage $thisProg [OPTION] ... library [allowed symbols] ...\n",
+ "\n",
+ "Check if the given library has only allowed public symbols.\n",
+ "\n",
+ " --allowweak=[symbol] allow only these weak symbols\n",
+ " -v, --verbose verbosely list files processed\n",
+ " -h, --help print this help, then exit\n";
+ exit 0;
+ }
+ elsif( /^--allowweak=(.*)$/ )
+ {
+ $allowed_weak .= " " . $1;
+ $weak_specified = 1;
+ }
+ elsif( /^--allowweak$/ ) # simply list all weak
+ {
+ $allowed_weak .= " ";
+ $weak_specified = 1;
+ }
+ elsif( /^--*/ )
+ {
+ die "Invalid argument!\n";
+ }
+ else
+ {
+ if( ! $library )
+ {
+ $library = $_;
+ }
+ else
+ {
+ $allowed_symbols .= " " . $_;
+ }
+ }
+}
+
+if( ! $weak_specified )
+{
+ $allowed_weak = "*";
+ # allow all weak symbols by default
+ # instances of templates and similar stuff - unfortunately includes also things from other libraries,
+ # so it cannot be on by default
+}
+
+print STDERR "library:" . $library . "\n" if $debug;
+print STDERR "allowed_symbols:" . $allowed_symbols . "\n" if $debug;
+print STDERR "allowed_weak:" . $allowed_weak . "\n" if $debug;
+
+$default_symbols = "_fini _init"; # system symbols
+# on my system, every .so has :
+# A _DYNAMIC
+# A _GLOBAL_OFFSET_TABLE_
+# A __bss_start
+# A _edata
+# A _end
+# T _fini
+# T _init
+# no need to list A symbols in $default_symbols
+
+print STDERR "default_symbols: " . $default_symbols . "\n" if $debug;
+
+print STDOUT "Namespace cleanness check for " . $library . " :\n";
+
+$lib_file = "";
+if( $library =~ /\.la$/ )
+{
+ # get the real library file from .la
+ open( FILEIN, $library ) || die "Couldn't open $! !\n";
+ while( $line = <FILEIN> )
+ {
+ if( $line =~ /library_names=\'([^ ]*).*/o )
+ {
+ $lib_file = $1;
+ }
+ }
+ close( FILEIN );
+ if( ! $lib_file )
+ {
+ print STDERR "Library file not found in .la file!\n";
+ exit 1;
+ }
+ my $libpath = $library;
+ $libpath =~ s%[^/]*$%%;
+ if( -e $libpath . ".libs/" . $lib_file )
+ {
+ $lib_file = $libpath . ".libs/" . $lib_file;
+ }
+ else
+ {
+ $lib_file = $libpath . $lib_file;
+ }
+}
+else
+{
+ $lib_file = $library;
+}
+
+print STDERR "libfile: ". $lib_file . "\n" if $debug;
+
+$allowed_symbols .= " " . $default_symbols;
+
+sub process_symbols($\@\%\@);
+
+ at wildcards = ();
+%exacts = ();
+ at regwildcards = ();
+process_symbols( $allowed_symbols, @wildcards, %exacts, @regwildcards );
+ at weak_wildcards = ();
+%weak_exacts = ();
+ at weak_regwildcards = ();
+process_symbols( $allowed_weak, @weak_wildcards, %weak_exacts, @weak_regwildcards );
+
+# grep is for stripping not exported symbols, which don't have address (=first column)
+$nm_command = "nm -BDCg " . $lib_file . " | grep -v '^ ' |";
+
+# TODO how portable is this nmcheck stuff?
+
+print STDERR "nm command:" . $nm_command . "\n" if $debug;
+
+open( FILEIN, $nm_command ) || die "nm command failed\n";
+
+my $exit_code = 0;
+
+while( $line = <FILEIN> )
+{
+ my $type;
+ my $symbol;
+ if( $line =~ /^[^ ]* (.) (.*)$/o )
+ {
+ $type = $1;
+ $symbol = $2;
+ }
+ else
+ {
+ die "Invalid line: " . $line . "\n";
+ }
+
+ print STDERR "Type: " . $type . " , symbol: " . $symbol . "\n" if $debug;
+ if( $type eq "A" )
+ { # these should be system symbols, so ignore them
+ next;
+ }
+
+ my $orig_symbol = $symbol;
+
+ if( $symbol =~ /\(anonymous namespace\)/o )
+ { # TODO tell to prefer named namespaces? (shorter symbols)
+ next;
+ }
+
+ # strip prefixes
+ # the :: appending is to make "CLASS::*" work also for "vtable for CLASS"
+ $symbol =~ s/^typeinfo for (.*)$/$1::/o;
+ $symbol =~ s/^typeinfo fn for (.*)$/$1::/o;
+ $symbol =~ s/^typeinfo name for (.*)$/$1::/o;
+ $symbol =~ s/^vtable for (.*)$/$1::/o;
+ $symbol =~ s/^guard variable for (.*)$/$1::/o;
+ $symbol =~ s/^reference temporary for (.*)$/$1::/o;
+ $symbol =~ s/^VTT for (.*)$/$1::/o;
+ $symbol =~ s/^virtual thunk \[[^\]]*\] to (.*)$/$1::/o;
+ $symbol =~ s/^non-virtual thunk \[[^\]]*\] to (.*)$/$1::/o;
+ $symbol =~ s/^covariant return thunk \[[^\]]*\] to (.*)$/$1::/o;
+ $symbol =~ s/^construction vtable thunk for (.*)$/$1::/o;
+ $symbol =~ s/^construction vtable for .*-in-(.*) [0-9]*$/$1::/o;
+
+ # templates seem to have also return types mangled in their name, and nm prints it too
+ # they have also template arguments in the symbol
+ # get rid of both of those
+ while( $symbol =~ /<.*>/o )
+ {
+ $symbol =~ s/<[^<>]*>//o; # strip innermost <>
+ }
+ if( $symbol !~ /operator\(\)/o )
+ {
+ $symbol =~ s/ ?\(.*\).*$//o; # strip () and all after it
+ }
+ else
+ {
+ $symbol =~ s/(^|:| )operator\(\) ?\(.*\).*$//o; # strip () and all after it
+ }
+ $symbol =~ s/\[.*\] *$//o; # strip [in-charge] etc.
+ if( $symbol =~ /(^|:| )operator /o )
+ {
+ $symbol =~ s/.* ([^\s]*)operator /$1/o; # strip everything before 'X::operator blah'
+ }
+ else
+ {
+ $symbol =~ s/.* ([^\s]+) *$/$1/o; # get last word (strip return type)
+ }
+
+ # print STDERR "Processed symbol: " . $symbol . "\n" if $debug;
+
+ my $found = 0;
+ if( $exacts{ $symbol } )
+ {
+ $found = 1;
+ }
+ if( ! $found )
+ {
+ for my $wild ( @wildcards )
+ {
+ if( index( $symbol, $wild ) == 0 )
+ {
+ $found = 1;
+ last;
+ }
+ }
+ }
+ if( ! $found )
+ {
+ for my $wild ( @regwildcards )
+ {
+ if( $symbol =~ /^$wild$/ )
+ {
+ $found = 1;
+ last;
+ }
+ }
+ }
+ if( ( ! $found ) && ( $type eq "W" || $type eq "V" ))
+ {
+ if( $weak_exacts{ $symbol } )
+ {
+ $found = 1;
+ }
+ if( ! $found )
+ {
+ for my $wild ( @weak_wildcards )
+ {
+ if( index( $symbol, $wild ) == 0 )
+ {
+ $found = 1;
+ last;
+ }
+ }
+ }
+ if( ! $found )
+ {
+ for my $wild ( @weak_regwildcards )
+ {
+ if( $symbol =~ /^$wild$/ )
+ {
+ $found = 1;
+ last;
+ }
+ }
+ }
+ }
+
+ if( ! $found )
+ {
+ print STDERR "Public symbol " . $orig_symbol . " is not allowed!\n";
+ $exit_code = 1;
+ }
+}
+
+close( FILEIN );
+
+print STDOUT $exit_code == 0 ? "OK\n" : "FAILED\n";
+
+exit $exit_code;
+
+sub process_symbols($\@\%\@)
+{
+ my $allowed_symbols = $_[ 0 ];
+ my $wildcards_ref = $_[ 1 ];
+ my $exacts_ref = $_[ 2 ];
+ my $regwildcards_ref = $_[ 3 ];
+
+ $allowed_symbols =~ s/^ *//o; # strip whitespace
+ $allowed_symbols =~ s/ *$//o;
+
+ if( $allowed_symbols eq "NONE" )
+ {
+ $allowed_symbols = "";
+ }
+
+ my @symbols1 = split( ' ', $allowed_symbols );
+ my $i = 0;
+ my @symbols2 = ();
+ while( defined( $symbols1[ $i ] ))
+ {
+ my $symbol = $symbols1[ $i ];
+ if( $symbol =~ /\./ ) # dot in name -> file
+ {
+ open( SYMIN, $symbol ) || die ( "Cannot open file " . $symbol . "!" );
+ while( $line = <SYMIN> )
+ {
+ $line =~ s/^\s*//o; # strip whitespace
+ $line =~ s/\s*$//o;
+ if( $line !~ /^$/o # empty line
+ && $line !~ /^\s*#/ ) # comment line starting with #
+ {
+ $symbols2[ $#symbols2 + 1 ] = $line;
+ }
+ }
+ close( SYMIN );
+ }
+ else
+ {
+ $symbols2[ $#symbols2 + 1 ] = $symbol;
+ }
+ $i++;
+ }
+ $i = 0;
+ while( defined( $symbols2[ $i ] ))
+ {
+ my $symbol = $symbols2[ $i ];
+ if( $symbol =~ /__/
+ || $symbol =~ /^_[A-Z]/ )
+ { # ISO C++ 2.10.2
+ die "Symbols containing a double underscore or beginning with an underscore and an upper-case letter are reserved!\n";
+ }
+ elsif( $symbol eq "main"
+ || $symbol eq "main*" )
+ {
+ die "Symbol main is not allowed!\n";
+ }
+ if( $symbol =~ /^([^\*]*)\*$/o # trailing * without any * before it
+ && $symbol !~ /operator\*$/o )
+ {
+ print STDERR "wildcard:" . $symbol . "\n" if $debug;
+ $wildcards_ref->[ $#{$wildcards_ref} + 1 ] = $1;
+ }
+ elsif( $symbol =~ /\*$/o
+ && ( $symbol =~ /\*::/o || $symbol =~ /::\*/o )
+ && $symbol !~ /^\*/o
+ && $symbol !~ /operator\*$/o )
+ {
+ print STDERR "regwildcard:" . $symbol . "\n" if $debug;
+ $symbol =~ s/\*/\.\*/go; # change * to .* (regexp)
+ $regwildcards_ref->[ $#{$regwildcards_ref} + 1 ] = $symbol;
+ }
+ else
+ {
+ print STDERR "exact:" . $symbol . "\n" if $debug;
+ $exacts_ref->{ $symbol } = 1;
+ }
+ $i++;
+ }
+}
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/admin/nmcheck
___________________________________________________________________
Name: svn:executable
+
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/oldinclude.m4.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/oldinclude.m4.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/oldinclude.m4.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,192 @@
+### -*- autoconf -*-
+
+dnl This file is part of the KDE libraries/packages
+dnl Copyright (C) 1997 Janos Farkas (chexum at shadow.banki.hu)
+dnl (C) 1997,98,99 Stephan Kulow (coolo at 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., 51 Franklin Street, Fifth Floor,
+dnl Boston, MA 02110-1301, USA.
+
+AC_DEFUN([KDE_CHECK_MICO],
+[
+AC_REQUIRE([KDE_CHECK_LIBDL])
+AC_REQUIRE([KDE_MISC_TESTS])
+AC_MSG_CHECKING(for MICO)
+
+if test -z "$MICODIR"; then
+ kde_micodir=/usr/local
+ else
+ kde_micodir="$MICODIR"
+fi
+
+AC_ARG_WITH(micodir,
+ [ --with-micodir=micodir where mico is installed ],
+ kde_micodir=$withval,
+ kde_micodir=$kde_micodir
+)
+
+AC_CACHE_VAL(kde_cv_mico_incdir,
+[
+ mico_incdirs="$kde_micodir/include /usr/include /usr/local/include /usr/local/include /opt/local/include $kde_extra_includes"
+AC_FIND_FILE(CORBA.h, $mico_incdirs, kde_cv_mico_incdir)
+
+])
+kde_micodir=`echo $kde_cv_mico_incdir | sed -e 's#/include##'`
+
+if test ! -r $kde_micodir/include/CORBA.h; then
+ AC_MSG_ERROR([No CORBA.h found, specify another micodir])
+fi
+
+AC_MSG_RESULT($kde_micodir)
+
+MICO_INCLUDES=-I$kde_micodir/include
+AC_SUBST(MICO_INCLUDES)
+MICO_LDFLAGS=-L$kde_micodir/lib
+AC_SUBST(MICO_LDFLAGS)
+micodir=$kde_micodir
+AC_SUBST(micodir)
+
+AC_MSG_CHECKING([for MICO version])
+AC_CACHE_VAL(kde_cv_mico_version,
+[
+AC_LANG_C
+cat >conftest.$ac_ext <<EOF
+#include <stdio.h>
+#include <mico/version.h>
+int main() {
+
+ printf("MICO_VERSION=%s\n",MICO_VERSION);
+ return (0);
+}
+EOF
+ac_compile='${CC-gcc} $CFLAGS $MICO_INCLUDES conftest.$ac_ext -o conftest'
+if AC_TRY_EVAL(ac_compile); then
+ if eval `./conftest 2>&5`; then
+ kde_cv_mico_version=$MICO_VERSION
+ else
+ AC_MSG_ERROR([your system is not able to execute a small application to
+ find MICO version! Check $kde_micodir/include/mico/version.h])
+ fi
+else
+ AC_MSG_ERROR([your system is not able to compile a small application to
+ find MICO version! Check $kde_micodir/include/mico/version.h])
+fi
+])
+
+dnl installed MICO version
+mico_v_maj=`echo $kde_cv_mico_version | sed -e 's/^\(.*\)\..*\..*$/\1/'`
+mico_v_mid=`echo $kde_cv_mico_version | sed -e 's/^.*\.\(.*\)\..*$/\1/'`
+mico_v_min=`echo $kde_cv_mico_version | sed -e 's/^.*\..*\.\(.*\)$/\1/'`
+
+if test "x$1" = "x"; then
+ req_version="2.3.0"
+else
+ req_version=$1
+fi
+
+dnl required MICO version
+req_v_maj=`echo $req_version | sed -e 's/^\(.*\)\..*\..*$/\1/'`
+req_v_mid=`echo $req_version | sed -e 's/^.*\.\(.*\)\..*$/\1/'`
+req_v_min=`echo $req_version | sed -e 's/^.*\..*\.\(.*\)$/\1/'`
+
+if test "$mico_v_maj" -lt "$req_v_maj" || \
+ ( test "$mico_v_maj" -eq "$req_v_maj" && \
+ test "$mico_v_mid" -lt "$req_v_mid" ) || \
+ ( test "$mico_v_mid" -eq "$req_v_mid" && \
+ test "$mico_v_min" -lt "$req_v_min" )
+
+then
+ AC_MSG_ERROR([found MICO version $kde_cv_mico_version but version $req_version \
+at least is required. You should upgrade MICO.])
+else
+ AC_MSG_RESULT([$kde_cv_mico_version (minimum version $req_version, ok)])
+fi
+
+LIBMICO="-lmico$kde_cv_mico_version $LIBCRYPT $LIBSOCKET $LIBDL"
+AC_SUBST(LIBMICO)
+if test -z "$IDL"; then
+ IDL='$(kde_bindir)/cuteidl'
+fi
+AC_SUBST(IDL)
+IDL_DEPENDENCIES='$(kde_includes)/CUTE.h'
+AC_SUBST(IDL_DEPENDENCIES)
+
+idldir="\$(includedir)/idl"
+AC_SUBST(idldir)
+
+])
+
+AC_DEFUN([KDE_CHECK_MINI_STL],
+[
+AC_REQUIRE([KDE_CHECK_MICO])
+
+AC_MSG_CHECKING(if we use mico's mini-STL)
+AC_CACHE_VAL(kde_cv_have_mini_stl,
+[
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+kde_save_cxxflags="$CXXFLAGS"
+CXXFLAGS="$CXXFLAGS $MICO_INCLUDES"
+AC_TRY_COMPILE(
+[
+#include <mico/config.h>
+],
+[
+#ifdef HAVE_MINI_STL
+#error "nothing"
+#endif
+],
+kde_cv_have_mini_stl=no,
+kde_cv_have_mini_stl=yes)
+CXXFLAGS="$kde_save_cxxflags"
+AC_LANG_RESTORE
+])
+
+if test "x$kde_cv_have_mini_stl" = "xyes"; then
+ AC_MSG_RESULT(yes)
+ $1
+else
+ AC_MSG_RESULT(no)
+ $2
+fi
+])
+
+])
+
+AC_DEFUN([KDE_CHECK_ANSI],
+[
+])
+
+AC_DEFUN([KDE_CHECK_INSURE],
+[
+ AC_ARG_ENABLE(insure, [ --enable-insure use insure++ for debugging [default=no]],
+ [
+ if test $enableval = "no"; dnl
+ then ac_use_insure="no"
+ else ac_use_insure="yes"
+ fi
+ ], [ac_use_insure="no"])
+
+ AC_MSG_CHECKING(if we will use Insure++ to debug)
+ AC_MSG_RESULT($ac_use_insure)
+ if test "$ac_use_insure" = "yes"; dnl
+ then CC="insure"; CXX="insure"; dnl CFLAGS="$CLAGS -fno-rtti -fno-exceptions "????
+ fi
+])
+
+AC_DEFUN([KDE_CHECK_NEWLIBS],
+[
+
+])
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/pkg.m4.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/pkg.m4.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/pkg.m4.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,57 @@
+
+dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
+dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
+dnl also defines GSTUFF_PKG_ERRORS on error
+AC_DEFUN([PKG_CHECK_MODULES], [
+ succeeded=no
+
+ if test -z "$PKG_CONFIG"; then
+ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+ fi
+
+ if test "$PKG_CONFIG" = "no" ; then
+ echo "*** The pkg-config script could not be found. Make sure it is"
+ echo "*** in your path, or set the PKG_CONFIG environment variable"
+ echo "*** to the full path to pkg-config."
+ echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
+ else
+ PKG_CONFIG_MIN_VERSION=0.9.0
+ if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+ AC_MSG_CHECKING(for $2)
+
+ if $PKG_CONFIG --exists "$2" ; then
+ AC_MSG_RESULT(yes)
+ succeeded=yes
+
+ AC_MSG_CHECKING($1_CFLAGS)
+ $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
+ AC_MSG_RESULT($$1_CFLAGS)
+
+ AC_MSG_CHECKING($1_LIBS)
+ $1_LIBS=`$PKG_CONFIG --libs "$2"`
+ AC_MSG_RESULT($$1_LIBS)
+ else
+ $1_CFLAGS=""
+ $1_LIBS=""
+ ## If we have a custom action on failure, don't print errors, but
+ ## do set a variable so people can do so.
+ $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
+ ifelse([$4], ,echo $$1_PKG_ERRORS,)
+ fi
+
+ AC_SUBST($1_CFLAGS)
+ AC_SUBST($1_LIBS)
+ else
+ echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
+ echo "*** See http://www.freedesktop.org/software/pkgconfig"
+ fi
+ fi
+
+ if test $succeeded = yes; then
+ ifelse([$3], , :, [$3])
+ else
+ ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
+ fi
+])
+
+
Added: kde-extras/k3b/k3b/branches/upstream/current/admin/ylwrap
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/admin/ylwrap (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/admin/ylwrap 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,223 @@
+#! /bin/sh
+# ylwrap - wrapper for lex/yacc invocations.
+
+scriptversion=2005-05-14.22
+
+# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005
+# Free Software Foundation, Inc.
+#
+# Written by Tom Tromey <tromey at 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., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, 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.
+
+# This file is maintained in Automake, please report
+# bugs to <bug-automake at gnu.org> or send patches to
+# <automake-patches at gnu.org>.
+
+case "$1" in
+ '')
+ echo "$0: No files given. Try \`$0 --help' for more information." 1>&2
+ exit 1
+ ;;
+ --basedir)
+ basedir=$2
+ shift 2
+ ;;
+ -h|--h*)
+ cat <<\EOF
+Usage: ylwrap [--help|--version] INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...
+
+Wrapper for lex/yacc invocations, renaming files as desired.
+
+ INPUT is the input file
+ OUTPUT is one file PROG generates
+ DESIRED is the file we actually want instead of OUTPUT
+ PROGRAM is program to run
+ ARGS are passed to PROG
+
+Any number of OUTPUT,DESIRED pairs may be used.
+
+Report bugs to <bug-automake at gnu.org>.
+EOF
+ exit $?
+ ;;
+ -v|--v*)
+ echo "ylwrap $scriptversion"
+ exit $?
+ ;;
+esac
+
+
+# The input.
+input="$1"
+shift
+case "$input" in
+ [\\/]* | ?:[\\/]*)
+ # Absolute path; do nothing.
+ ;;
+ *)
+ # Relative path. Make it absolute.
+ input="`pwd`/$input"
+ ;;
+esac
+
+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
+
+case $# in
+ 0) $prog "$input" ;;
+ *) $prog "$@" "$input" ;;
+esac
+ret=$?
+
+if test $ret -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
+
+ # 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 's,\\\\,\\\\\\\\,g;s,\\.,\\\\.,g'`
+
+ 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
+
+ # We do not want to overwrite a header file if it hasn't
+ # changed. This avoid useless recompilations. However the
+ # parser itself (the first file) should always be updated,
+ # because it is the destination of the .y.c rule in the
+ # Makefile. Divert the output of all other files to a temporary
+ # file so we can compare them to existing versions.
+ if test $first = no; then
+ realtarget="$target"
+ target="tmp-`echo $target | sed s/.*[\\/]//g`"
+ fi
+ # 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.
+ #
+ # We want to use the real output file name, not yy.lex.c for
+ # instance.
+ #
+ # We want the include guards to be adjusted too.
+ FROM=`echo "$from" | sed \
+ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\
+ -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
+ TARGET=`echo "$2" | sed \
+ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'\
+ -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`
+
+ sed -e "/^#/!b" -e "s,$input_rx,," -e "s,$from,$2," \
+ -e "s,$FROM,$TARGET," "$from" >"$target" || ret=$?
+
+ # Check whether header files must be updated.
+ if test $first = no; then
+ if test -f "$realtarget" && cmp -s "$realtarget" "$target"; then
+ echo "$2" is unchanged
+ rm -f "$target"
+ else
+ echo updating "$2"
+ mv -f "$target" "$realtarget"
+ fi
+ fi
+ 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
+ ret=1
+ fi
+ fi
+ shift
+ shift
+ first=no
+ done
+else
+ ret=$?
+fi
+
+# Remove the directory.
+cd ..
+rm -rf $dirname
+
+exit $ret
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
+# End:
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/admin/ylwrap
___________________________________________________________________
Name: svn:executable
+
Added: kde-extras/k3b/k3b/branches/upstream/current/config.h.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/config.h.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/config.h.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,362 @@
+/* config.h.in. Generated from configure.in by autoheader. */
+
+/* defined if K3b should check cdrecord for suid root */
+#undef CDRECORD_SUID_ROOT_CHECK
+
+/* Define to 1 if your flac library's version is newer than or equal to 1.1.2
+ */
+#undef FLAC_NEWER_THAN_1_1_1
+
+/* HAL API version 0.4 */
+#undef HAL_0_4
+
+/* Define to 1 if you have the <artsc/artsc.h> header file. */
+#undef HAVE_ARTSC_ARTSC_H
+
+/* Define to 1 if you have the <byteswap.h> header file. */
+#undef HAVE_BYTESWAP_H
+
+/* Define to 1 if you have the <Carbon/Carbon.h> header file. */
+#undef HAVE_CARBON_CARBON_H
+
+/* Define if you have the CoreAudio API */
+#undef HAVE_COREAUDIO
+
+/* Define to 1 if you have the <crt_externs.h> header file. */
+#undef HAVE_CRT_EXTERNS_H
+
+/* Defines if your system has the crypt function */
+#undef HAVE_CRYPT
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#undef HAVE_DLFCN_H
+
+/* Define to 1 if you have the <dvdread/dvd_reader.h> header file. */
+#undef HAVE_DVDREAD_DVD_READER_H
+
+/* Define to 1 if you have the <FLAC++/decoder.h> header file. */
+#undef HAVE_FLAC___DECODER_H
+
+/* compile in HAL support */
+#undef HAVE_HAL
+
+/* Define to 1 if you have the <iconv.h> header file. */
+#undef HAVE_ICONV_H
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
+
+/* defined if K3bSetup is compiled */
+#undef HAVE_K3BSETUP
+
+/* defined if you have the lame header and lib */
+#undef HAVE_LAME
+
+/* Define to 1 if you have the <lame/lame.h> header file. */
+#undef HAVE_LAME_LAME_H
+
+/* Defined if you have libdvdread headers and libs installed. */
+#undef HAVE_LIBDVDREAD
+
+/* Define if you have libjpeg */
+#undef HAVE_LIBJPEG
+
+/* defined if you have libmad headers and libraries */
+#undef HAVE_LIBMAD
+
+/* Define if you have libpng */
+#undef HAVE_LIBPNG
+
+/* Define if you have a working libpthread (will enable threaded code) */
+#undef HAVE_LIBPTHREAD
+
+/* defined if you have libsamplerate library and header */
+#undef HAVE_LIBSAMPLERATE
+
+/* Define if you have libz */
+#undef HAVE_LIBZ
+
+/* Define if lrint is not supported */
+#undef HAVE_LRINT
+
+/* Define if lrintf is not supported */
+#undef HAVE_LRINTF
+
+/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
+
+/* Define to 1 if you have the <mpcdec/mpcdec.h> header file. */
+#undef HAVE_MPCDEC_MPCDEC_H
+
+/* Define to 1 if you have the <musepack/musepack.h> header file. */
+#undef HAVE_MUSEPACK_MUSEPACK_H
+
+/* have MusicBrainz */
+#undef HAVE_MUSICBRAINZ
+
+/* Define if your system needs _NSGetEnviron to set up the environment */
+#undef HAVE_NSGETENVIRON
+
+/* Define to 1 if the assembler supports AltiVec instructions. */
+#undef HAVE_PPC_ALTIVEC
+
+/* defined if you have resmgr libraries and headers */
+#undef HAVE_RESMGR
+
+/* Define to 1 if you have the <resmgr.h> header file. */
+#undef HAVE_RESMGR_H
+
+/* Define if you have res_init */
+#undef HAVE_RES_INIT
+
+/* Define if you have the res_init prototype */
+#undef HAVE_RES_INIT_PROTO
+
+/* Define to 1 if you have the <samplerate.h> header file. */
+#undef HAVE_SAMPLERATE_H
+
+/* Define if you have a STL implementation by SGI */
+#undef HAVE_SGI_STL
+
+/* Set to 1 if you have libsndfile. */
+#undef HAVE_SNDFILE
+
+/* Define to 1 if you have the `snprintf' function. */
+#undef HAVE_SNPRINTF
+
+/* Define to 1 if you have the `stat64' function. */
+#undef HAVE_STAT64
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H
+
+/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
+
+/* Define to 1 if you have the <string.h> header file. */
+#undef HAVE_STRING_H
+
+/* Define if you have strlcat */
+#undef HAVE_STRLCAT
+
+/* Define if you have the strlcat prototype */
+#undef HAVE_STRLCAT_PROTO
+
+/* Define if you have strlcpy */
+#undef HAVE_STRLCPY
+
+/* Define if you have the strlcpy prototype */
+#undef HAVE_STRLCPY_PROTO
+
+/* Define to 1 if you have the <sys/bitypes.h> header file. */
+#undef HAVE_SYS_BITYPES_H
+
+/* Define to 1 if you have the <sys/statvfs.h> header file. */
+#undef HAVE_SYS_STATVFS_H
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
+
+/* Define to 1 if you have the <sys/vfs.h> header file. */
+#undef HAVE_SYS_VFS_H
+
+/* have TagLib */
+#undef HAVE_TAGLIB
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H
+
+/* Define to 1 if you have the `vsnprintf' function. */
+#undef HAVE_VSNPRINTF
+
+/* Define to 1 if the assembler supports 3DNOW instructions. */
+#undef HAVE_X86_3DNOW
+
+/* Define to 1 if the assembler supports MMX instructions. */
+#undef HAVE_X86_MMX
+
+/* Define to 1 if the assembler supports SSE instructions. */
+#undef HAVE_X86_SSE
+
+/* Define to 1 if the assembler supports SSE2 instructions. */
+#undef HAVE_X86_SSE2
+
+/* K3b additional debugging support */
+#undef K3B_DEBUG
+
+/* Defined if all ffmpeg codecs should be allowed */
+#undef K3B_FFMPEG_ALL_CODECS
+
+/* Suffix for lib directories */
+#undef KDELIBSUFF
+
+/* The header to include for MPC decoding. */
+#undef MPC_HEADER_FILE
+
+/* Define if you have ogg/vorbis installed */
+#undef OGG_VORBIS
+
+/* Name of package */
+#undef PACKAGE
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* The size of `char *', as computed by sizeof. */
+#undef SIZEOF_CHAR_P
+
+/* The size of `int', as computed by sizeof. */
+#undef SIZEOF_INT
+
+/* The size of `long', as computed by sizeof. */
+#undef SIZEOF_LONG
+
+/* The size of `short', as computed by sizeof. */
+#undef SIZEOF_SHORT
+
+/* The size of `size_t', as computed by sizeof. */
+#undef SIZEOF_SIZE_T
+
+/* The size of `unsigned long', as computed by sizeof. */
+#undef SIZEOF_UNSIGNED_LONG
+
+/* Define to 1 if you have the ANSI C header files. */
+#undef STDC_HEADERS
+
+/* Version number of package */
+#undef VERSION
+
+/* Defined if compiling without arts */
+#undef WITHOUT_ARTS
+
+/* defined if arts support is compiled in */
+#undef WITH_ARTS
+
+/* Define to 1 if your processor stores words with the most significant byte
+ first (like Motorola and SPARC, unlike Intel and VAX). */
+#undef WORDS_BIGENDIAN
+
+/*
+ * jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
+ * headers and I'm too lazy to write a configure test as long as only
+ * unixware is related
+ */
+#ifdef _UNIXWARE
+#define HAVE_BOOLEAN
+#endif
+
+
+
+/*
+ * AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
+ * that defines bzero.
+ */
+
+#if defined(_AIX)
+#include <strings.h>
+#endif
+
+
+
+#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
+# include <sys/time.h>
+# include <crt_externs.h>
+# define environ (*_NSGetEnviron())
+#endif
+
+
+
+#if !defined(HAVE_RES_INIT_PROTO)
+#ifdef __cplusplus
+extern "C" {
+#endif
+int res_init(void);
+#ifdef __cplusplus
+}
+#endif
+#endif
+
+
+
+#if !defined(HAVE_STRLCAT_PROTO)
+#ifdef __cplusplus
+extern "C" {
+#endif
+unsigned long strlcat(char*, const char*, unsigned long);
+#ifdef __cplusplus
+}
+#endif
+#endif
+
+
+
+#if !defined(HAVE_STRLCPY_PROTO)
+#ifdef __cplusplus
+extern "C" {
+#endif
+unsigned long strlcpy(char*, const char*, unsigned long);
+#ifdef __cplusplus
+}
+#endif
+#endif
+
+
+
+/*
+ * On HP-UX, the declaration of vsnprintf() is needed every time !
+ */
+
+#if !defined(HAVE_VSNPRINTF) || defined(hpux)
+#if __STDC__
+#include <stdarg.h>
+#include <stdlib.h>
+#else
+#include <varargs.h>
+#endif
+#ifdef __cplusplus
+extern "C"
+#endif
+int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
+#ifdef __cplusplus
+extern "C"
+#endif
+int snprintf(char *str, size_t n, char const *fmt, ...);
+#endif
+
+
+/* define to 1 if -fvisibility is supported */
+#undef __KDE_HAVE_GCC_VISIBILITY
+
+
+#if defined(__SVR4) && !defined(__svr4__)
+#define __svr4__ 1
+#endif
+
+
+/* type to use in place of socklen_t if not defined */
+#undef kde_socklen_t
+
+/* type to use in place of socklen_t if not defined (deprecated, use
+ kde_socklen_t) */
+#undef ksize_t
+
+/* backwards compatibility stuff */
+#undef mpc_bool_t
Added: kde-extras/k3b/k3b/branches/upstream/current/configure
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/configure (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/configure 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,40887 @@
+#! /bin/sh
+# Guess values for system-dependent variables and create Makefiles.
+# Generated by GNU Autoconf 2.61.
+#
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# This configure script is free software; the Free Software Foundation
+# gives unlimited permission to copy, distribute and modify it.
+## --------------------- ##
+## M4sh Initialization. ##
+## --------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in
+ *posix*) set -o posix ;;
+esac
+
+fi
+
+
+
+
+# PATH needs CR
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ echo "#! /bin/sh" >conf$$.sh
+ echo "exit 0" >>conf$$.sh
+ chmod +x conf$$.sh
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
+ PATH_SEPARATOR=';'
+ else
+ PATH_SEPARATOR=:
+ fi
+ rm -f conf$$.sh
+fi
+
+# Support unset when possible.
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ as_unset=unset
+else
+ as_unset=false
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+as_nl='
+'
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+case $0 in
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ { (exit 1); exit 1; }
+fi
+
+# Work around bugs in pre-3.0 UWIN ksh.
+for as_var in ENV MAIL MAILPATH
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+for as_var in \
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
+ LC_TELEPHONE LC_TIME
+do
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
+ eval $as_var=C; export $as_var
+ else
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+ fi
+done
+
+# Required to use basename.
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+
+# Name of the executable.
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# CDPATH.
+$as_unset CDPATH
+
+
+if test "x$CONFIG_SHELL" = x; then
+ if (eval ":") 2>/dev/null; then
+ as_have_required=yes
+else
+ as_have_required=no
+fi
+
+ if test $as_have_required = yes && (eval ":
+(as_func_return () {
+ (exit \$1)
+}
+as_func_success () {
+ as_func_return 0
+}
+as_func_failure () {
+ as_func_return 1
+}
+as_func_ret_success () {
+ return 0
+}
+as_func_ret_failure () {
+ return 1
+}
+
+exitcode=0
+if as_func_success; then
+ :
+else
+ exitcode=1
+ echo as_func_success failed.
+fi
+
+if as_func_failure; then
+ exitcode=1
+ echo as_func_failure succeeded.
+fi
+
+if as_func_ret_success; then
+ :
+else
+ exitcode=1
+ echo as_func_ret_success failed.
+fi
+
+if as_func_ret_failure; then
+ exitcode=1
+ echo as_func_ret_failure succeeded.
+fi
+
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
+ :
+else
+ exitcode=1
+ echo positional parameters were not saved.
+fi
+
+test \$exitcode = 0) || { (exit 1); exit 1; }
+
+(
+ as_lineno_1=\$LINENO
+ as_lineno_2=\$LINENO
+ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
+ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
+") 2> /dev/null; then
+ :
+else
+ as_candidate_shells=
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ case $as_dir in
+ /*)
+ for as_base in sh bash ksh sh5; do
+ as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
+ done;;
+ esac
+done
+IFS=$as_save_IFS
+
+
+ for as_shell in $as_candidate_shells $SHELL; do
+ # Try only shells that exist, to save several forks.
+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+ { ("$as_shell") 2> /dev/null <<\_ASEOF
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in
+ *posix*) set -o posix ;;
+esac
+
+fi
+
+
+:
+_ASEOF
+}; then
+ CONFIG_SHELL=$as_shell
+ as_have_required=yes
+ if { "$as_shell" 2> /dev/null <<\_ASEOF
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in
+ *posix*) set -o posix ;;
+esac
+
+fi
+
+
+:
+(as_func_return () {
+ (exit $1)
+}
+as_func_success () {
+ as_func_return 0
+}
+as_func_failure () {
+ as_func_return 1
+}
+as_func_ret_success () {
+ return 0
+}
+as_func_ret_failure () {
+ return 1
+}
+
+exitcode=0
+if as_func_success; then
+ :
+else
+ exitcode=1
+ echo as_func_success failed.
+fi
+
+if as_func_failure; then
+ exitcode=1
+ echo as_func_failure succeeded.
+fi
+
+if as_func_ret_success; then
+ :
+else
+ exitcode=1
+ echo as_func_ret_success failed.
+fi
+
+if as_func_ret_failure; then
+ exitcode=1
+ echo as_func_ret_failure succeeded.
+fi
+
+if ( set x; as_func_ret_success y && test x = "$1" ); then
+ :
+else
+ exitcode=1
+ echo positional parameters were not saved.
+fi
+
+test $exitcode = 0) || { (exit 1); exit 1; }
+
+(
+ as_lineno_1=$LINENO
+ as_lineno_2=$LINENO
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
+
+_ASEOF
+}; then
+ break
+fi
+
+fi
+
+ done
+
+ if test "x$CONFIG_SHELL" != x; then
+ for as_var in BASH_ENV ENV
+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+ done
+ export CONFIG_SHELL
+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
+fi
+
+
+ if test $as_have_required = no; then
+ echo This script requires a shell more modern than all the
+ echo shells that I found on your system. Please install a
+ echo modern shell, or manually run the script under such a
+ echo shell if you do have one.
+ { (exit 1); exit 1; }
+fi
+
+
+fi
+
+fi
+
+
+
+(eval "as_func_return () {
+ (exit \$1)
+}
+as_func_success () {
+ as_func_return 0
+}
+as_func_failure () {
+ as_func_return 1
+}
+as_func_ret_success () {
+ return 0
+}
+as_func_ret_failure () {
+ return 1
+}
+
+exitcode=0
+if as_func_success; then
+ :
+else
+ exitcode=1
+ echo as_func_success failed.
+fi
+
+if as_func_failure; then
+ exitcode=1
+ echo as_func_failure succeeded.
+fi
+
+if as_func_ret_success; then
+ :
+else
+ exitcode=1
+ echo as_func_ret_success failed.
+fi
+
+if as_func_ret_failure; then
+ exitcode=1
+ echo as_func_ret_failure succeeded.
+fi
+
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
+ :
+else
+ exitcode=1
+ echo positional parameters were not saved.
+fi
+
+test \$exitcode = 0") || {
+ echo No shell found that supports shell functions.
+ echo Please tell autoconf at gnu.org about your system,
+ echo including any error possibly output before this
+ echo message
+}
+
+
+
+ as_lineno_1=$LINENO
+ as_lineno_2=$LINENO
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
+
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
+ # uniformly replaced by the line number. The first 'sed' inserts a
+ # line-number line after each line using $LINENO; the second 'sed'
+ # does the real work. The second script uses 'N' to pair each
+ # line-number line with the line containing $LINENO, and appends
+ # trailing '-' during substitution so that $LINENO is not a special
+ # case at line end.
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
+ # E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
+ { (exit 1); exit 1; }; }
+
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in
+-n*)
+ case `echo 'x\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ *) ECHO_C='\c';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir
+fi
+echo >conf$$.file
+if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -p'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -p'
+elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+else
+ as_ln_s='cp -p'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p=:
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+if test -x / >/dev/null 2>&1; then
+ as_test_x='test -x'
+else
+ if ls -dL / >/dev/null 2>&1; then
+ as_ls_L_option=L
+ else
+ as_ls_L_option=
+ fi
+ as_test_x='
+ eval sh -c '\''
+ if test -d "$1"; then
+ test -d "$1/.";
+ else
+ case $1 in
+ -*)set "./$1";;
+ esac;
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
+ ???[sx]*):;;*)false;;esac;fi
+ '\'' sh
+ '
+fi
+as_executable_p=$as_test_x
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+
+
+# Check that we are running under the correct shell.
+SHELL=${CONFIG_SHELL-/bin/sh}
+
+case X$ECHO in
+X*--fallback-echo)
+ # Remove one level of quotation (which was required for Make).
+ ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
+ ;;
+esac
+
+echo=${ECHO-echo}
+if test "X$1" = X--no-reexec; then
+ # Discard the --no-reexec flag, and continue.
+ shift
+elif test "X$1" = X--fallback-echo; then
+ # Avoid inline document here, it may be left over
+ :
+elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
+ # Yippee, $echo works!
+ :
+else
+ # Restart under the correct shell.
+ exec $SHELL "$0" --no-reexec ${1+"$@"}
+fi
+
+if test "X$1" = X--fallback-echo; then
+ # used as fallback echo
+ shift
+ cat <<EOF
+$*
+EOF
+ exit 0
+fi
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+
+if test -z "$ECHO"; then
+if test "X${echo_test_string+set}" != Xset; then
+# find a string as large as possible, as long as the shell can cope with it
+ for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
+ # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
+ if (echo_test_string="`eval $cmd`") 2>/dev/null &&
+ echo_test_string="`eval $cmd`" &&
+ (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
+ then
+ break
+ fi
+ done
+fi
+
+if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ :
+else
+ # The Solaris, AIX, and Digital Unix default echo programs unquote
+ # backslashes. This makes it impossible to quote backslashes using
+ # echo "$something" | sed 's/\\/\\\\/g'
+ #
+ # So, first we look for a working echo in the user's PATH.
+
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for dir in $PATH /usr/ucb; do
+ IFS="$lt_save_ifs"
+ if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
+ test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ echo="$dir/echo"
+ break
+ fi
+ done
+ IFS="$lt_save_ifs"
+
+ if test "X$echo" = Xecho; then
+ # We didn't find a better echo, so look for alternatives.
+ if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ # This shell has a builtin print -r that does the trick.
+ echo='print -r'
+ elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
+ test "X$CONFIG_SHELL" != X/bin/ksh; then
+ # If we have ksh, try running configure again with it.
+ ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
+ export ORIGINAL_CONFIG_SHELL
+ CONFIG_SHELL=/bin/ksh
+ export CONFIG_SHELL
+ exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
+ else
+ # Try using printf.
+ echo='printf %s\n'
+ if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
+ echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ # Cool, printf works
+ :
+ elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
+ test "X$echo_testing_string" = 'X\t' &&
+ echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
+ export CONFIG_SHELL
+ SHELL="$CONFIG_SHELL"
+ export SHELL
+ echo="$CONFIG_SHELL $0 --fallback-echo"
+ elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
+ test "X$echo_testing_string" = 'X\t' &&
+ echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
+ test "X$echo_testing_string" = "X$echo_test_string"; then
+ echo="$CONFIG_SHELL $0 --fallback-echo"
+ else
+ # maybe with a smaller string...
+ prev=:
+
+ for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
+ if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
+ then
+ break
+ fi
+ prev="$cmd"
+ done
+
+ if test "$prev" != 'sed 50q "$0"'; then
+ echo_test_string=`eval $prev`
+ export echo_test_string
+ exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
+ else
+ # Oops. We lost completely, so just stick with echo.
+ echo=echo
+ fi
+ fi
+ fi
+ fi
+fi
+fi
+
+# Copy echo and quote the copy suitably for passing to libtool from
+# the Makefile, instead of quoting the original, which is used later.
+ECHO=$echo
+if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
+ ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
+fi
+
+
+
+
+tagnames=${tagnames+${tagnames},}CXX
+
+tagnames=${tagnames+${tagnames},}F77
+
+exec 7<&0 </dev/null 6>&1
+
+# Name of the host.
+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+#
+# Initializations.
+#
+ac_default_prefix=/usr/local
+ac_clean_files=
+ac_config_libobj_dir=.
+LIBOBJS=
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+SHELL=${CONFIG_SHELL-/bin/sh}
+
+# Identity of this package.
+PACKAGE_NAME=
+PACKAGE_TARNAME=
+PACKAGE_VERSION=
+PACKAGE_STRING=
+PACKAGE_BUGREPORT=
+
+ac_unique_file="acinclude.m4"
+ac_default_prefix=${KDEDIR:-the kde prefix}
+# Factoring default headers for most tests.
+ac_includes_default="\
+#include <stdio.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+# include <sys/stat.h>
+#endif
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+# endif
+#endif
+#ifdef HAVE_STRING_H
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
+# include <memory.h>
+# endif
+# include <string.h>
+#endif
+#ifdef HAVE_STRINGS_H
+# include <strings.h>
+#endif
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#endif
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif"
+
+ac_subst_vars='SHELL
+PATH_SEPARATOR
+PACKAGE_NAME
+PACKAGE_TARNAME
+PACKAGE_VERSION
+PACKAGE_STRING
+PACKAGE_BUGREPORT
+exec_prefix
+prefix
+program_transform_name
+bindir
+sbindir
+libexecdir
+datarootdir
+datadir
+sysconfdir
+sharedstatedir
+localstatedir
+includedir
+oldincludedir
+docdir
+infodir
+htmldir
+dvidir
+pdfdir
+psdir
+libdir
+localedir
+mandir
+DEFS
+ECHO_C
+ECHO_N
+ECHO_T
+LIBS
+build_alias
+host_alias
+target_alias
+build
+build_cpu
+build_vendor
+build_os
+host
+host_cpu
+host_vendor
+host_os
+target
+target_cpu
+target_vendor
+target_os
+INSTALL_PROGRAM
+INSTALL_SCRIPT
+INSTALL_DATA
+am__isrc
+CYGPATH_W
+PACKAGE
+VERSION
+ACLOCAL
+AUTOCONF
+AUTOMAKE
+AUTOHEADER
+MAKEINFO
+install_sh
+STRIP
+INSTALL_STRIP_PROGRAM
+mkdir_p
+AWK
+SET_MAKE
+am__leading_dot
+AMTAR
+am__tar
+am__untar
+KDECONFIG
+kde_libs_prefix
+kde_libs_htmldir
+CONF_FILES
+CC
+CFLAGS
+LDFLAGS
+CPPFLAGS
+ac_ct_CC
+EXEEXT
+OBJEXT
+DEPDIR
+am__include
+am__quote
+AMDEP_TRUE
+AMDEP_FALSE
+AMDEPBACKSLASH
+CCDEPMODE
+am__fastdepCC_TRUE
+am__fastdepCC_FALSE
+CPP
+CXX
+CXXFLAGS
+ac_ct_CXX
+CXXDEPMODE
+am__fastdepCXX_TRUE
+am__fastdepCXX_FALSE
+WOVERLOADED_VIRTUAL
+HAVE_GCC_VISIBILITY
+unsermake_enable_pch_TRUE
+unsermake_enable_pch_FALSE
+USE_EXCEPTIONS
+USE_RTTI
+CXXCPP
+NOOPT_CXXFLAGS
+NOOPT_CFLAGS
+ENABLE_PERMISSIVE_FLAG
+LDFLAGS_AS_NEEDED
+LDFLAGS_NEW_DTAGS
+KDE_USE_FINAL_TRUE
+KDE_USE_FINAL_FALSE
+KDE_USE_CLOSURE_TRUE
+KDE_USE_CLOSURE_FALSE
+KDE_NO_UNDEFINED
+KDE_USE_NMCHECK_TRUE
+KDE_USE_NMCHECK_FALSE
+GREP
+EGREP
+LN_S
+ECHO
+AR
+RANLIB
+F77
+FFLAGS
+ac_ct_F77
+LIBTOOL
+KDE_PLUGIN
+KDE_CHECK_PLUGIN
+MSGFMT
+GMSGFMT
+XGETTEXT
+LIBUTIL
+LIBCOMPAT
+LIBCRYPT
+LIBRESOLV
+LIB_POLL
+FRAMEWORK_COREAUDIO
+LIBSOCKET
+X_EXTRA_LIBS
+LIBUCB
+LIBDL
+KDE_USE_FPIE
+KDE_USE_PIE
+include_x11_TRUE
+include_x11_FALSE
+XMKMF
+X_PRE_LIBS
+LIB_X11
+LIB_XRENDER
+LIBSM
+X_INCLUDES
+X_LDFLAGS
+x_includes
+x_libraries
+QTE_NORTTI
+LIB_XEXT
+LIBPTHREAD
+USE_THREADS
+KDE_MT_LDFLAGS
+KDE_MT_LIBS
+USER_INCLUDES
+USER_LDFLAGS
+LIBZ
+LIBPNG
+LIBJPEG
+qt_libraries
+qt_includes
+QT_INCLUDES
+QT_LDFLAGS
+PERL
+MOC
+UIC
+UIC_TR
+LIB_QT
+LIB_QPE
+kde_qtver
+KDE_EXTRA_RPATH
+KDE_RPATH
+X_RPATH
+kde_libraries
+kde_includes
+KDE_LDFLAGS
+KDE_INCLUDES
+all_includes
+all_libraries
+AUTODIRS
+include_ARTS_TRUE
+include_ARTS_FALSE
+MAKEKDEWIDGETS
+KCONFIG_COMPILER
+KCFG_DEPENDENCIES
+DCOPIDLNG
+DCOPIDL
+DCOPIDL2CPP
+DCOP_DEPENDENCIES
+MCOPIDL
+ARTSCCONFIG
+MEINPROC
+KDE_XSL_STYLESHEET
+XMLLINT
+kde_htmldir
+kde_appsdir
+kde_icondir
+kde_sounddir
+kde_datadir
+kde_locale
+kde_confdir
+kde_kcfgdir
+kde_mimedir
+kde_wallpaperdir
+kde_bindir
+xdg_appsdir
+xdg_menudir
+xdg_directorydir
+kde_templatesdir
+kde_servicesdir
+kde_servicetypesdir
+kde_moduledir
+kdeinitdir
+kde_styledir
+kde_widgetdir
+LIB_KDED
+LIB_KDECORE
+LIB_KDEUI
+LIB_KIO
+LIB_KJS
+LIB_SMB
+LIB_KAB
+LIB_KABC
+LIB_KHTML
+LIB_KSPELL
+LIB_KPARTS
+LIB_KDEPRINT
+LIB_KUTILS
+LIB_KDEPIM
+LIB_KIMPROXY
+LIB_KNEWSTUFF
+LIB_KDNSSD
+LIB_KUNITTEST
+LIB_KSYCOCA
+LIB_KFILE
+LIB_KFM
+LIBSAMPLERATE
+compile_libsamplerate_TRUE
+compile_libsamplerate_FALSE
+ARTS_LIBS
+include_arts_TRUE
+include_arts_FALSE
+with_k3bsetup1_TRUE
+with_k3bsetup1_FALSE
+CAM_LIB
+TAGLIB_CONFIG
+taglib_includes
+taglib_libs
+MUSICBRAINZ_LIBS
+include_videodvdrip_TRUE
+include_videodvdrip_FALSE
+RESMGR_LIB
+HAL_INCS
+HAL_LIBS
+DBUS_INCS
+DBUS_LIBS
+DBUSQT_INCS
+DBUSQT_LIBS
+include_HAL_TRUE
+include_HAL_FALSE
+HAL_DBUS_LIBS
+PKG_CONFIG
+ALSA_CFLAGS
+ALSA_LIBS
+include_ALSA_TRUE
+include_ALSA_FALSE
+include_FFMPEG_TRUE
+include_FFMPEG_FALSE
+include_FLAC_TRUE
+include_FLAC_FALSE
+SNDFILE_CFLAGS
+SNDFILE_LIBS
+include_AIFF_TRUE
+include_AIFF_FALSE
+MAD_LIB
+include_MP3_TRUE
+include_MP3_FALSE
+MPC_LIBS
+include_MPC_TRUE
+include_MPC_FALSE
+include_OGG_TRUE
+include_OGG_FALSE
+include_LAME_TRUE
+include_LAME_FALSE
+CCAS
+CCASFLAGS
+CCASDEPMODE
+am__fastdepCCAS_TRUE
+am__fastdepCCAS_FALSE
+GV_ASM_DEFS
+TOPSUBDIRS
+LIBOBJS
+LTLIBOBJS'
+ac_subst_files=''
+ ac_precious_vars='build_alias
+host_alias
+target_alias
+CC
+CFLAGS
+LDFLAGS
+LIBS
+CPPFLAGS
+CPP
+CXX
+CXXFLAGS
+CCC
+CXXCPP
+F77
+FFLAGS
+XMKMF
+CCAS
+CCASFLAGS'
+
+
+# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
+# The variables have the same names as the options, with
+# dashes changed to underlines.
+cache_file=/dev/null
+exec_prefix=NONE
+no_create=
+no_recursion=
+prefix=NONE
+program_prefix=NONE
+program_suffix=NONE
+program_transform_name=s,x,x,
+silent=
+site=
+srcdir=
+verbose=
+x_includes=NONE
+x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
+# (The list follows the same order as the GNU Coding Standards.)
+bindir='${exec_prefix}/bin'
+sbindir='${exec_prefix}/sbin'
+libexecdir='${exec_prefix}/libexec'
+datarootdir='${prefix}/share'
+datadir='${datarootdir}'
+sysconfdir='${prefix}/etc'
+sharedstatedir='${prefix}/com'
+localstatedir='${prefix}/var'
+includedir='${prefix}/include'
+oldincludedir='/usr/include'
+docdir='${datarootdir}/doc/${PACKAGE}'
+infodir='${datarootdir}/info'
+htmldir='${docdir}'
+dvidir='${docdir}'
+pdfdir='${docdir}'
+psdir='${docdir}'
+libdir='${exec_prefix}/lib'
+localedir='${datarootdir}/locale'
+mandir='${datarootdir}/man'
+
+ac_prev=
+ac_dashdash=
+for ac_option
+do
+ # If the previous option needs an argument, assign it.
+ if test -n "$ac_prev"; then
+ eval $ac_prev=\$ac_option
+ ac_prev=
+ continue
+ fi
+
+ case $ac_option in
+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+ *) ac_optarg=yes ;;
+ esac
+
+ # Accept the important Cygnus configure options, so we can diagnose typos.
+
+ case $ac_dashdash$ac_option in
+ --)
+ ac_dashdash=yes ;;
+
+ -bindir | --bindir | --bindi | --bind | --bin | --bi)
+ ac_prev=bindir ;;
+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
+ bindir=$ac_optarg ;;
+
+ -build | --build | --buil | --bui | --bu)
+ ac_prev=build_alias ;;
+ -build=* | --build=* | --buil=* | --bui=* | --bu=*)
+ build_alias=$ac_optarg ;;
+
+ -cache-file | --cache-file | --cache-fil | --cache-fi \
+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
+ ac_prev=cache_file ;;
+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
+
+ -datadir | --datadir | --datadi | --datad)
+ ac_prev=datadir ;;
+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
+ datadir=$ac_optarg ;;
+
+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
+ | --dataroo | --dataro | --datar)
+ ac_prev=datarootdir ;;
+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
+ datarootdir=$ac_optarg ;;
+
+ -disable-* | --disable-*)
+ ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
+ { (exit 1); exit 1; }; }
+ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
+ eval enable_$ac_feature=no ;;
+
+ -docdir | --docdir | --docdi | --doc | --do)
+ ac_prev=docdir ;;
+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
+ docdir=$ac_optarg ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
+ dvidir=$ac_optarg ;;
+
+ -enable-* | --enable-*)
+ ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
+ { (exit 1); exit 1; }; }
+ ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
+ eval enable_$ac_feature=\$ac_optarg ;;
+
+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
+ | --exec | --exe | --ex)
+ ac_prev=exec_prefix ;;
+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
+ | --exec=* | --exe=* | --ex=*)
+ exec_prefix=$ac_optarg ;;
+
+ -gas | --gas | --ga | --g)
+ # Obsolete; use --with-gas.
+ with_gas=yes ;;
+
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
+
+ -host | --host | --hos | --ho)
+ ac_prev=host_alias ;;
+ -host=* | --host=* | --hos=* | --ho=*)
+ host_alias=$ac_optarg ;;
+
+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
+ ac_prev=htmldir ;;
+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
+ | --ht=*)
+ htmldir=$ac_optarg ;;
+
+ -includedir | --includedir | --includedi | --included | --include \
+ | --includ | --inclu | --incl | --inc)
+ ac_prev=includedir ;;
+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
+ | --includ=* | --inclu=* | --incl=* | --inc=*)
+ includedir=$ac_optarg ;;
+
+ -infodir | --infodir | --infodi | --infod | --info | --inf)
+ ac_prev=infodir ;;
+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
+ infodir=$ac_optarg ;;
+
+ -libdir | --libdir | --libdi | --libd)
+ ac_prev=libdir ;;
+ -libdir=* | --libdir=* | --libdi=* | --libd=*)
+ libdir=$ac_optarg ;;
+
+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
+ | --libexe | --libex | --libe)
+ ac_prev=libexecdir ;;
+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
+ | --libexe=* | --libex=* | --libe=*)
+ libexecdir=$ac_optarg ;;
+
+ -localedir | --localedir | --localedi | --localed | --locale)
+ ac_prev=localedir ;;
+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
+ localedir=$ac_optarg ;;
+
+ -localstatedir | --localstatedir | --localstatedi | --localstated \
+ | --localstate | --localstat | --localsta | --localst | --locals)
+ ac_prev=localstatedir ;;
+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+ localstatedir=$ac_optarg ;;
+
+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
+ ac_prev=mandir ;;
+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
+ mandir=$ac_optarg ;;
+
+ -nfp | --nfp | --nf)
+ # Obsolete; use --without-fp.
+ with_fp=no ;;
+
+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \
+ | --no-cr | --no-c | -n)
+ no_create=yes ;;
+
+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \
+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
+ no_recursion=yes ;;
+
+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
+ | --oldin | --oldi | --old | --ol | --o)
+ ac_prev=oldincludedir ;;
+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
+ oldincludedir=$ac_optarg ;;
+
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ prefix=$ac_optarg ;;
+
+ -program-prefix | --program-prefix | --program-prefi | --program-pref \
+ | --program-pre | --program-pr | --program-p)
+ ac_prev=program_prefix ;;
+ -program-prefix=* | --program-prefix=* | --program-prefi=* \
+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
+ program_prefix=$ac_optarg ;;
+
+ -program-suffix | --program-suffix | --program-suffi | --program-suff \
+ | --program-suf | --program-su | --program-s)
+ ac_prev=program_suffix ;;
+ -program-suffix=* | --program-suffix=* | --program-suffi=* \
+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
+ program_suffix=$ac_optarg ;;
+
+ -program-transform-name | --program-transform-name \
+ | --program-transform-nam | --program-transform-na \
+ | --program-transform-n | --program-transform- \
+ | --program-transform | --program-transfor \
+ | --program-transfo | --program-transf \
+ | --program-trans | --program-tran \
+ | --progr-tra | --program-tr | --program-t)
+ ac_prev=program_transform_name ;;
+ -program-transform-name=* | --program-transform-name=* \
+ | --program-transform-nam=* | --program-transform-na=* \
+ | --program-transform-n=* | --program-transform-=* \
+ | --program-transform=* | --program-transfor=* \
+ | --program-transfo=* | --program-transf=* \
+ | --program-trans=* | --program-tran=* \
+ | --progr-tra=* | --program-tr=* | --program-t=*)
+ program_transform_name=$ac_optarg ;;
+
+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
+ ac_prev=pdfdir ;;
+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
+ pdfdir=$ac_optarg ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
+ psdir=$ac_optarg ;;
+
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ silent=yes ;;
+
+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
+ ac_prev=sbindir ;;
+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
+ | --sbi=* | --sb=*)
+ sbindir=$ac_optarg ;;
+
+ -sharedstatedir | --sharedstatedir | --sharedstatedi \
+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
+ | --sharedst | --shareds | --shared | --share | --shar \
+ | --sha | --sh)
+ ac_prev=sharedstatedir ;;
+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
+ | --sha=* | --sh=*)
+ sharedstatedir=$ac_optarg ;;
+
+ -site | --site | --sit)
+ ac_prev=site ;;
+ -site=* | --site=* | --sit=*)
+ site=$ac_optarg ;;
+
+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
+ ac_prev=srcdir ;;
+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
+ srcdir=$ac_optarg ;;
+
+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
+ | --syscon | --sysco | --sysc | --sys | --sy)
+ ac_prev=sysconfdir ;;
+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
+ sysconfdir=$ac_optarg ;;
+
+ -target | --target | --targe | --targ | --tar | --ta | --t)
+ ac_prev=target_alias ;;
+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
+ target_alias=$ac_optarg ;;
+
+ -v | -verbose | --verbose | --verbos | --verbo | --verb)
+ verbose=yes ;;
+
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
+
+ -with-* | --with-*)
+ ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
+ { (exit 1); exit 1; }; }
+ ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
+ eval with_$ac_package=\$ac_optarg ;;
+
+ -without-* | --without-*)
+ ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
+ { (exit 1); exit 1; }; }
+ ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
+ eval with_$ac_package=no ;;
+
+ --x)
+ # Obsolete; use --with-x.
+ with_x=yes ;;
+
+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
+ | --x-incl | --x-inc | --x-in | --x-i)
+ ac_prev=x_includes ;;
+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
+ x_includes=$ac_optarg ;;
+
+ -x-libraries | --x-libraries | --x-librarie | --x-librari \
+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
+ ac_prev=x_libraries ;;
+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
+ x_libraries=$ac_optarg ;;
+
+ -*) { echo "$as_me: error: unrecognized option: $ac_option
+Try \`$0 --help' for more information." >&2
+ { (exit 1); exit 1; }; }
+ ;;
+
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
+ { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
+ { (exit 1); exit 1; }; }
+ eval $ac_envvar=\$ac_optarg
+ export $ac_envvar ;;
+
+ *)
+ # FIXME: should be removed in autoconf 3.0.
+ echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+ ;;
+
+ esac
+done
+
+if test -n "$ac_prev"; then
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ { echo "$as_me: error: missing argument to $ac_option" >&2
+ { (exit 1); exit 1; }; }
+fi
+
+# Be sure to have absolute directory names.
+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
+ datadir sysconfdir sharedstatedir localstatedir includedir \
+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
+ libdir localedir mandir
+do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) continue;;
+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+ esac
+ { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
+ { (exit 1); exit 1; }; }
+done
+
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
+ If a cross compiler is detected then cross compile mode will be used." >&2
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
+
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
+
+
+ac_pwd=`pwd` && test -n "$ac_pwd" &&
+ac_ls_di=`ls -di .` &&
+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
+ { echo "$as_me: error: Working directory cannot be determined" >&2
+ { (exit 1); exit 1; }; }
+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
+ { echo "$as_me: error: pwd does not report name of working directory" >&2
+ { (exit 1); exit 1; }; }
+
+
+# Find the source files, if location was not specified.
+if test -z "$srcdir"; then
+ ac_srcdir_defaulted=yes
+ # Try the directory containing this script, then the parent directory.
+ ac_confdir=`$as_dirname -- "$0" ||
+$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$0" : 'X\(//\)[^/]' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+echo X"$0" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ srcdir=$ac_confdir
+ if test ! -r "$srcdir/$ac_unique_file"; then
+ srcdir=..
+ fi
+else
+ ac_srcdir_defaulted=no
+fi
+if test ! -r "$srcdir/$ac_unique_file"; then
+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
+ { (exit 1); exit 1; }; }
+fi
+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
+ac_abs_confdir=`(
+ cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
+ { (exit 1); exit 1; }; }
+ pwd)`
+# When building in place, set srcdir=.
+if test "$ac_abs_confdir" = "$ac_pwd"; then
+ srcdir=.
+fi
+# Remove unnecessary trailing slashes from srcdir.
+# Double slashes in file names in object file debugging info
+# mess up M-x gdb in Emacs.
+case $srcdir in
+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
+esac
+for ac_var in $ac_precious_vars; do
+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_env_${ac_var}_value=\$${ac_var}
+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
+done
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<_ACEOF
+\`configure' configures this package to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [$ac_default_prefix]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [PREFIX]
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
+ --infodir=DIR info documentation [DATAROOTDIR/info]
+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
+ --mandir=DIR man documentation [DATAROOTDIR/man]
+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
+ --htmldir=DIR html documentation [DOCDIR]
+ --dvidir=DIR dvi documentation [DOCDIR]
+ --pdfdir=DIR pdf documentation [DOCDIR]
+ --psdir=DIR ps documentation [DOCDIR]
+_ACEOF
+
+ cat <<\_ACEOF
+
+Program names:
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+
+System types:
+ --build=BUILD configure for building on BUILD [guessed]
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
+ --target=TARGET configure for building compilers for TARGET [HOST]
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+
+ cat <<\_ACEOF
+
+Optional Features:
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --disable-fast-perl disable fast Makefile generation (needs perl)
+ --enable-debug=ARG enables debug symbols (yes|no|full) default=no
+ --disable-debug disables debug output and debug symbols default=no
+ --enable-strict compiles with strict compiler options (may not
+ work!)
+ --disable-warnings disables compilation with -Wall and similar
+ --enable-profile creates profiling infos default=no
+ --disable-dependency-tracking speeds up one-time build
+ --enable-dependency-tracking do not reject slow dependency extractors
+ --enable-pch enables precompiled header support (currently only
+ KCC or gcc >=3.4+unsermake) default=no
+ --enable-coverage use gcc coverage testing
+ --enable-new-ldflags enable the new linker flags
+ --enable-final build size optimized apps (experimental - needs lots
+ of memory)
+ --enable-closure delay template instantiation
+ --enable-nmcheck enable automatic namespace cleanness check
+ --enable-shared[=PKGS] build shared libraries [default=yes]
+ --enable-static[=PKGS] build static libraries [default=no]
+ --enable-libsuffix /lib directory suffix (64,32,none,auto=default)
+ --enable-fast-install[=PKGS]
+ optimize for fast installation [default=yes]
+ --disable-libtool-lock avoid locking (might break parallel builds)
+ --enable-pie platform supports PIE linking default=detect
+ --enable-embedded link to Qt-embedded, don't use X
+ --enable-qtopia link to Qt-embedded, link to the Qtopia Environment
+ --enable-mac link to Qt/Mac (don't use X)
+ --disable-mt link to non-threaded Qt (deprecated)
+ --disable-threading disables threading even if libpthread found
+ --disable-rpath do not use the rpath feature of ld
+ --disable-path-check don't try to find out, where to install
+ --enable-gcc-hidden-visibility
+ toolchain hidden visibility default=no
+ --enable-ffmpeg-all-codecs
+ Build K3b's ffmeg decoder plugin with all audio
+ codecs enabled (default=disabled)
+
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-gnu-ld assume the C compiler uses GNU ld [default=no]
+ --with-pic try to use only PIC/non-PIC objects [default=use
+ both]
+ --with-tags[=TAGS] include additional configurations [automatic]
+ --with-extra-includes=DIR
+ adds non standard include paths
+ --with-extra-libs=DIR adds non standard library paths
+ --with-qt-dir=DIR where the root of Qt is installed
+ --with-qt-includes=DIR where the Qt includes are.
+ --with-qt-libraries=DIR where the Qt library is installed.
+ --without-arts build without aRts default=no
+ --with-external-libsamplerate use the libsamplerate provided by the system (default=yes)
+ --with-k3bsetup=ARG do compile K3bSetup2 KControl Module (default=yes)
+ --without-cdrecord-suid-root
+ enable or disable K3b's suid root check for
+ cdrecord/cdrdao/wodim (default=enabled)
+ --without-musicbrainz build K3b without Musicbrainz support (default=no)
+ --with-k3b-debug Enable additional K3b debugging output and
+ functionality (default=no)
+ --without-libdvdread build K3b without libdvdread (Video DVD ripping)
+ support (default=no)
+ --without-resmgr build K3b without ResMgr support (default=no)
+ --without-hal build K3b without HAL support (default=no)
+ --with-alsa enable support for ALSA output [default=check]
+ --without-ffmpeg build K3b without ffmpeg audio decoder support
+ (default=no)
+ --without-flac build K3b without FLAC support (default=no)
+ --without-sndfile build K3b without libsndfile support (default=no)
+ --without-libmad build K3b without libmad support (default=no)
+ --without-musepack build K3b without Musepack audio support
+ (default=no)
+ --without-oggvorbis build K3b without OggVorbis support (default=no)
+ --without-lame build K3b without LAME support (default=no)
+
+Some influential environment variables:
+ CC C compiler command
+ CFLAGS C compiler flags
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
+ nonstandard directory <lib dir>
+ LIBS libraries to pass to the linker, e.g. -l<library>
+ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
+ you have headers in a nonstandard directory <include dir>
+ CPP C preprocessor
+ CXX C++ compiler command
+ CXXFLAGS C++ compiler flags
+ CXXCPP C++ preprocessor
+ F77 Fortran 77 compiler command
+ FFLAGS Fortran 77 compiler flags
+ XMKMF Path to xmkmf, Makefile generator for X Window System
+ CCAS assembler compiler command (defaults to CC)
+ CCASFLAGS assembler compiler flags (defaults to CFLAGS)
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+_ACEOF
+ac_status=$?
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ test -d "$ac_dir" || continue
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+ cd "$ac_dir" || { ac_status=$?; continue; }
+ # Check for guested configure.
+ if test -f "$ac_srcdir/configure.gnu"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+ elif test -f "$ac_srcdir/configure"; then
+ echo &&
+ $SHELL "$ac_srcdir/configure" --help=recursive
+ else
+ echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi || ac_status=$?
+ cd "$ac_pwd" || { ac_status=$?; break; }
+ done
+fi
+
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+ cat <<\_ACEOF
+configure
+generated by GNU Autoconf 2.61
+
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
+2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+ exit
+fi
+cat >config.log <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by $as_me, which was
+generated by GNU Autoconf 2.61. Invocation command line was
+
+ $ $0 $@
+
+_ACEOF
+exec 5>>config.log
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ echo "PATH: $as_dir"
+done
+IFS=$as_save_IFS
+
+} >&5
+
+cat >&5 <<_ACEOF
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+_ACEOF
+
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *\'*)
+ ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
+ 2)
+ ac_configure_args1="$ac_configure_args1 '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ ac_configure_args="$ac_configure_args '$ac_arg'"
+ ;;
+ esac
+ done
+done
+$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
+$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Use '\'' to represent an apostrophe within the trap.
+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ cat <<\_ASBOX
+## ---------------- ##
+## Cache variables. ##
+## ---------------- ##
+_ASBOX
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+(
+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ *) $as_unset $ac_var ;;
+ esac ;;
+ esac
+ done
+ (set) 2>&1 |
+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ sed -n \
+ "s/'\''/'\''\\\\'\'''\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
+ ;; #(
+ *)
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+)
+ echo
+
+ cat <<\_ASBOX
+## ----------------- ##
+## Output variables. ##
+## ----------------- ##
+_ASBOX
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+
+ if test -n "$ac_subst_files"; then
+ cat <<\_ASBOX
+## ------------------- ##
+## File substitutions. ##
+## ------------------- ##
+_ASBOX
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=\$$ac_var
+ case $ac_val in
+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+ esac
+ echo "$ac_var='\''$ac_val'\''"
+ done | sort
+ echo
+ fi
+
+ if test -s confdefs.h; then
+ cat <<\_ASBOX
+## ----------- ##
+## confdefs.h. ##
+## ----------- ##
+_ASBOX
+ echo
+ cat confdefs.h
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ echo "$as_me: caught signal $ac_signal"
+ echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core core.conftest.* &&
+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -f -r conftest* confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
+
+
+# Let the site file select an alternate cache file if it wants to.
+# Prefer explicitly selected file to automatically selected ones.
+if test -n "$CONFIG_SITE"; then
+ set x "$CONFIG_SITE"
+elif test "x$prefix" != xNONE; then
+ set x "$prefix/share/config.site" "$prefix/etc/config.site"
+else
+ set x "$ac_default_prefix/share/config.site" \
+ "$ac_default_prefix/etc/config.site"
+fi
+shift
+for ac_site_file
+do
+ if test -r "$ac_site_file"; then
+ { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
+echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
+ . "$ac_site_file"
+ fi
+done
+
+if test -r "$cache_file"; then
+ # Some versions of bash will fail to source /dev/null (special
+ # files actually), so we avoid doing that.
+ if test -f "$cache_file"; then
+ { echo "$as_me:$LINENO: loading cache $cache_file" >&5
+echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
+ *) . "./$cache_file";;
+ esac
+ fi
+else
+ { echo "$as_me:$LINENO: creating cache $cache_file" >&5
+echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in $ac_precious_vars; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
+ eval ac_new_val=\$ac_env_${ac_var}_value
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
+echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
+echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
+echo "$as_me: former value: $ac_old_val" >&2;}
+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
+echo "$as_me: current value: $ac_new_val" >&2;}
+ ac_cache_corrupted=:
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
+echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
+echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+ac_aux_dir=
+for ac_dir in admin "$srcdir"/admin; do
+ if test -f "$ac_dir/install-sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f "$ac_dir/install.sh"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ elif test -f "$ac_dir/shtool"; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/shtool install -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&5
+echo "$as_me: error: cannot find install-sh or install.sh in admin \"$srcdir\"/admin" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+# These three variables are undocumented and unsupported,
+# and are intended to be withdrawn in a future Autoconf release.
+# They can cause serious problems if a builder's source tree is in a directory
+# whose full name contains unusual characters.
+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
+
+
+
+unset CDPATH
+
+# Make sure we can run config.sub.
+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
+ { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
+echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
+ { (exit 1); exit 1; }; }
+
+{ echo "$as_me:$LINENO: checking build system type" >&5
+echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
+if test "${ac_cv_build+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_build_alias=$build_alias
+test "x$ac_build_alias" = x &&
+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
+test "x$ac_build_alias" = x &&
+ { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
+echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
+ { (exit 1); exit 1; }; }
+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
+ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
+ { (exit 1); exit 1; }; }
+
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
+echo "${ECHO_T}$ac_cv_build" >&6; }
+case $ac_cv_build in
+*-*-*) ;;
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
+echo "$as_me: error: invalid value of canonical build" >&2;}
+ { (exit 1); exit 1; }; };;
+esac
+build=$ac_cv_build
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_build
+shift
+build_cpu=$1
+build_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+build_os=$*
+IFS=$ac_save_IFS
+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
+
+
+{ echo "$as_me:$LINENO: checking host system type" >&5
+echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
+if test "${ac_cv_host+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test "x$host_alias" = x; then
+ ac_cv_host=$ac_cv_build
+else
+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
+ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
+echo "${ECHO_T}$ac_cv_host" >&6; }
+case $ac_cv_host in
+*-*-*) ;;
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
+echo "$as_me: error: invalid value of canonical host" >&2;}
+ { (exit 1); exit 1; }; };;
+esac
+host=$ac_cv_host
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_host
+shift
+host_cpu=$1
+host_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+host_os=$*
+IFS=$ac_save_IFS
+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
+
+
+{ echo "$as_me:$LINENO: checking target system type" >&5
+echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
+if test "${ac_cv_target+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test "x$target_alias" = x; then
+ ac_cv_target=$ac_cv_host
+else
+ ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
+ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
+echo "${ECHO_T}$ac_cv_target" >&6; }
+case $ac_cv_target in
+*-*-*) ;;
+*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
+echo "$as_me: error: invalid value of canonical target" >&2;}
+ { (exit 1); exit 1; }; };;
+esac
+target=$ac_cv_target
+ac_save_IFS=$IFS; IFS='-'
+set x $ac_cv_target
+shift
+target_cpu=$1
+target_vendor=$2
+shift; shift
+# Remember, the first character of IFS is used to create $*,
+# except with old shells:
+target_os=$*
+IFS=$ac_save_IFS
+case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
+
+
+# The aliases save the names the user supplied, while $host etc.
+# will get canonicalized.
+test -n "$target_alias" &&
+ test "$program_prefix$program_suffix$program_transform_name" = \
+ NONENONEs,x,x, &&
+ program_prefix=${target_alias}-
+test "$program_prefix" != NONE &&
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
+# Use a double $ so make ignores it.
+test "$program_suffix" != NONE &&
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
+# Double any \ or $. echo might interpret backslashes.
+# By default was `s,x,x', remove it if useless.
+cat <<\_ACEOF >conftest.sed
+s/[\\$]/&&/g;s/;s,x,x,$//
+_ACEOF
+program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
+rm -f conftest.sed
+
+
+am__api_version='1.10'
+
+
+
+ test -n "$INSTALL" && kde_save_INSTALL_given=$INSTALL
+ test -n "$INSTALL_PROGRAM" && kde_save_INSTALL_PROGRAM_given=$INSTALL_PROGRAM
+ test -n "$INSTALL_SCRIPT" && kde_save_INSTALL_SCRIPT_given=$INSTALL_SCRIPT
+ # Find a good install program. We prefer a C program (faster),
+# so one script is as good as another. But avoid the broken or
+# incompatible versions:
+# SysV /etc/install, /usr/sbin/install
+# SunOS /usr/etc/install
+# IRIX /sbin/install
+# AIX /bin/install
+# AmigaOS /C/install, which installs bootblocks on floppy discs
+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
+# AFS /usr/afsws/bin/install, which mishandles nonexistent args
+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
+# OS/2's system install, which has a completely different semantic
+# ./install, which can be erroneously created by make from ./install.sh.
+{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
+echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
+if test -z "$INSTALL"; then
+if test "${ac_cv_path_install+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in
+ ./ | .// | /cC/* | \
+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
+ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
+ /usr/ucb/* ) ;;
+ *)
+ # OSF1 and SCO ODT 3.0 have their own names for install.
+ # Don't use installbsd from OSF since it installs stuff as root
+ # by default.
+ for ac_prog in ginstall scoinst install; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
+ if test $ac_prog = install &&
+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # AIX install. It has an incompatible calling convention.
+ :
+ elif test $ac_prog = install &&
+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
+ # program-specific install script used by HP pwplus--don't use.
+ :
+ else
+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+ break 3
+ fi
+ fi
+ done
+ done
+ ;;
+esac
+done
+IFS=$as_save_IFS
+
+
+fi
+ if test "${ac_cv_path_install+set}" = set; then
+ INSTALL=$ac_cv_path_install
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for INSTALL within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ INSTALL=$ac_install_sh
+ fi
+fi
+{ echo "$as_me:$LINENO: result: $INSTALL" >&5
+echo "${ECHO_T}$INSTALL" >&6; }
+
+# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+# It thinks the first close brace ends the variable substitution.
+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+
+ if test -z "$kde_save_INSTALL_given" ; then
+ # OK, user hasn't given any INSTALL, autoconf found one for us
+ # now we test, if it supports the -p flag
+ { echo "$as_me:$LINENO: checking for -p flag to install" >&5
+echo $ECHO_N "checking for -p flag to install... $ECHO_C" >&6; }
+ rm -f confinst.$$.* > /dev/null 2>&1
+ echo "Testtest" > confinst.$$.orig
+ ac_res=no
+ if ${INSTALL} -p confinst.$$.orig confinst.$$.new > /dev/null 2>&1 ; then
+ if test -f confinst.$$.new ; then
+ # OK, -p seems to do no harm to install
+ INSTALL="${INSTALL} -p"
+ ac_res=yes
+ fi
+ fi
+ rm -f confinst.$$.*
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+ fi
+
+ if test -z "$kde_save_INSTALL_PROGRAM_given" ; then
+ INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
+ fi
+ if test -z "$kde_save_INSTALL_SCRIPT_given" ; then
+ INSTALL_SCRIPT='${INSTALL}'
+ fi
+
+{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
+echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
+# Just in case
+sleep 1
+echo timestamp > conftest.file
+# Do `set' in a subshell so we don't clobber the current shell's
+# arguments. Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+ set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
+ if test "$*" = "X"; then
+ # -L didn't work.
+ set X `ls -t $srcdir/configure conftest.file`
+ fi
+ rm -f conftest.file
+ if test "$*" != "X $srcdir/configure conftest.file" \
+ && test "$*" != "X conftest.file $srcdir/configure"; then
+
+ # If neither matched, then we have a broken ls. This can happen
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
+ # broken ls alias from the environment. This has actually
+ # happened. Such a system could not be considered "sane".
+ { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
+alias in your environment" >&5
+echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
+alias in your environment" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+
+ test "$2" = conftest.file
+ )
+then
+ # Ok.
+ :
+else
+ { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
+Check your system clock" >&5
+echo "$as_me: error: newly created file is older than distributed files!
+Check your system clock" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+{ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+# expand $ac_aux_dir to an absolute path
+am_aux_dir=`cd $ac_aux_dir && pwd`
+
+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
+# Use eval to expand $SHELL
+if eval "$MISSING --run true"; then
+ am_missing_run="$MISSING --run "
+else
+ am_missing_run=
+ { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
+echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
+fi
+
+{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
+echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
+if test -z "$MKDIR_P"; then
+ if test "${ac_cv_path_mkdir+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in mkdir gmkdir; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
+ 'mkdir (GNU coreutils) '* | \
+ 'mkdir (coreutils) '* | \
+ 'mkdir (fileutils) '4.1*)
+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
+ break 3;;
+ esac
+ done
+ done
+done
+IFS=$as_save_IFS
+
+fi
+
+ if test "${ac_cv_path_mkdir+set}" = set; then
+ MKDIR_P="$ac_cv_path_mkdir -p"
+ else
+ # As a last resort, use the slow shell script. Don't cache a
+ # value for MKDIR_P within a source directory, because that will
+ # break other packages using the cache if that directory is
+ # removed, or if the value is a relative name.
+ test -d ./--version && rmdir ./--version
+ MKDIR_P="$ac_install_sh -d"
+ fi
+fi
+{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
+echo "${ECHO_T}$MKDIR_P" >&6; }
+
+mkdir_p="$MKDIR_P"
+case $mkdir_p in
+ [\\/$]* | ?:[\\/]*) ;;
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
+esac
+
+for ac_prog in gawk mawk nawk awk
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_AWK+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$AWK"; then
+ ac_cv_prog_AWK="$AWK" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_AWK="$ac_prog"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+AWK=$ac_cv_prog_AWK
+if test -n "$AWK"; then
+ { echo "$as_me:$LINENO: result: $AWK" >&5
+echo "${ECHO_T}$AWK" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ test -n "$AWK" && break
+done
+
+{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
+set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.make <<\_ACEOF
+SHELL = /bin/sh
+all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+_ACEOF
+# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+case `${MAKE-make} -f conftest.make 2>/dev/null` in
+ *@@@%%%=?*=@@@%%%*)
+ eval ac_cv_prog_make_${ac_make}_set=yes;;
+ *)
+ eval ac_cv_prog_make_${ac_make}_set=no;;
+esac
+rm -f conftest.make
+fi
+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ SET_MAKE=
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ SET_MAKE="MAKE=${MAKE-make}"
+fi
+
+rm -rf .tst 2>/dev/null
+mkdir .tst 2>/dev/null
+if test -d .tst; then
+ am__leading_dot=.
+else
+ am__leading_dot=_
+fi
+rmdir .tst 2>/dev/null
+
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
+ # is not polluted with repeated "-I."
+ am__isrc=' -I$(srcdir)'
+ # test to see if srcdir already configured
+ if test -f $srcdir/config.status; then
+ { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
+echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+fi
+
+# test whether we have cygpath
+if test -z "$CYGPATH_W"; then
+ if (cygpath --version) >/dev/null 2>/dev/null; then
+ CYGPATH_W='cygpath -w'
+ else
+ CYGPATH_W=echo
+ fi
+fi
+
+
+# Define the identity of the package.
+ PACKAGE=k3b-1.0.4
+ VERSION="3.5.8"
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define VERSION "$VERSION"
+_ACEOF
+
+# Some tools Automake needs.
+
+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
+
+
+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
+
+
+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
+
+
+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
+
+
+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
+
+install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
+
+# Installed binaries are usually stripped using `strip' when the user
+# run `make install-strip'. However `strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the `STRIP' environment variable to overrule this program.
+if test "$cross_compiling" != no; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_STRIP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { echo "$as_me:$LINENO: result: $STRIP" >&5
+echo "${ECHO_T}$STRIP" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
+echo "${ECHO_T}$ac_ct_STRIP" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
+
+# We need awk for the "check" target. The system "awk" is bad on
+# some platforms.
+# Always define AMTAR for backward compatibility.
+
+AMTAR=${AMTAR-"${am_missing_run}tar"}
+
+am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
+
+
+
+
+
+
+ unset CDPATH
+
+
+
+ kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
+ test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
+ if test -n "$KDEDIRS"; then
+ kde_save_IFS=$IFS
+ IFS=:
+ for dir in $KDEDIRS; do
+ kde_default_bindirs="$dir/bin $kde_default_bindirs "
+ done
+ IFS=$kde_save_IFS
+ fi
+
+ if test "x$prefix" = "xNONE"; then
+
+ { echo "$as_me:$LINENO: checking for kde-config" >&5
+echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
+ if test -n "$KDECONFIG"; then
+ kde_cv_path="$KDECONFIG";
+ else
+ kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
+
+ if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ dirs=""
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
+ else dirs="$dirs $kde_default_bindirs"
+ fi
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/kde-config"; then
+ if test -n ""
+ then
+ evalstr="$dir/kde-config 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/kde-config"
+ break
+ fi
+ else
+ kde_cv_path="$dir/kde-config"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+
+fi
+
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ { echo "$as_me:$LINENO: result: not found" >&5
+echo "${ECHO_T}not found" >&6; }
+
+ { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
+Please check whether you installed KDE correctly.
+" >&5
+echo "$as_me: error: The important program kde-config was not found!
+Please check whether you installed KDE correctly.
+" >&2;}
+ { (exit 1); exit 1; }; }
+
+ else
+ { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+echo "${ECHO_T}$kde_cv_path" >&6; }
+ KDECONFIG=$kde_cv_path
+
+ fi
+
+ else
+ kde_save_PATH="$PATH"
+ PATH="$exec_prefix/bin:$prefix/bin:$PATH"
+
+ { echo "$as_me:$LINENO: checking for kde-config" >&5
+echo $ECHO_N "checking for kde-config... $ECHO_C" >&6; }
+ if test -n "$KDECONFIG"; then
+ kde_cv_path="$KDECONFIG";
+ else
+ kde_cache=`echo kde-config | sed 'y%./+-%__p_%'`
+
+ if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ dirs=""
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ if test -z "prepend"; then dirs="$kde_default_bindirs $dirs"
+ else dirs="$dirs $kde_default_bindirs"
+ fi
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/kde-config"; then
+ if test -n ""
+ then
+ evalstr="$dir/kde-config 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/kde-config"
+ break
+ fi
+ else
+ kde_cv_path="$dir/kde-config"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+
+fi
+
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ { echo "$as_me:$LINENO: result: not found" >&5
+echo "${ECHO_T}not found" >&6; }
+
+ { { echo "$as_me:$LINENO: error: The important program kde-config was not found!
+Please check whether you installed KDE correctly.
+" >&5
+echo "$as_me: error: The important program kde-config was not found!
+Please check whether you installed KDE correctly.
+" >&2;}
+ { (exit 1); exit 1; }; }
+
+ else
+ { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+echo "${ECHO_T}$kde_cv_path" >&6; }
+ KDECONFIG=$kde_cv_path
+
+ fi
+
+ PATH="$kde_save_PATH"
+ fi
+
+ kde_libs_prefix=`$KDECONFIG --prefix`
+ if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
+ { { echo "$as_me:$LINENO: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
+ This means it has been moved since you installed it.
+ This won't work. Please recompile kdelibs for the new prefix.
+ " >&5
+echo "$as_me: error: $KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs.
+ This means it has been moved since you installed it.
+ This won't work. Please recompile kdelibs for the new prefix.
+ " >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
+
+ { echo "$as_me:$LINENO: checking where to install" >&5
+echo $ECHO_N "checking where to install... $ECHO_C" >&6; }
+ if test "x$prefix" = "xNONE"; then
+ prefix=$kde_libs_prefix
+ { echo "$as_me:$LINENO: result: $prefix (as returned by kde-config)" >&5
+echo "${ECHO_T}$prefix (as returned by kde-config)" >&6; }
+ else
+ given_prefix=$prefix
+ { echo "$as_me:$LINENO: result: $prefix (as requested)" >&5
+echo "${ECHO_T}$prefix (as requested)" >&6; }
+ fi
+
+ # And delete superfluous '/' to make compares easier
+ prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
+ exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
+ given_prefix=`echo "$given_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
+
+
+
+
+
+
+ # Check whether --enable-fast-perl was given.
+if test "${enable_fast_perl+set}" = set; then
+ enableval=$enable_fast_perl; with_fast_perl=$enableval
+else
+ with_fast_perl=yes
+fi
+
+
+
+ val=
+ if test -f $srcdir/configure.files ; then
+ val=`sed -e 's%^%\$(top_srcdir)/%' $srcdir/configure.files`
+ fi
+ CONF_FILES=
+ if test -n "$val" ; then
+ for i in $val ; do
+ CONF_FILES="$CONF_FILES $i"
+ done
+ fi
+
+
+
+
+ac_config_headers="$ac_config_headers config.h"
+
+DEPDIR="${am__leading_dot}deps"
+
+ac_config_commands="$ac_config_commands depfiles"
+
+
+am_make=${MAKE-make}
+cat > confinc << 'END'
+am__doit:
+ @echo done
+.PHONY: am__doit
+END
+# If we don't find an include directive, just comment out the code.
+{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
+echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
+am__include="#"
+am__quote=
+_am_result=none
+# First try GNU make style include.
+echo "include confinc" > confmf
+# We grep out `Entering directory' and `Leaving directory'
+# messages which can occur if `w' ends up in MAKEFLAGS.
+# In particular we don't look at `^make:' because GNU make might
+# be invoked under some other name (usually "gmake"), in which
+# case it prints its new name instead of `make'.
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
+ am__include=include
+ am__quote=
+ _am_result=GNU
+fi
+# Now try BSD make style include.
+if test "$am__include" = "#"; then
+ echo '.include "confinc"' > confmf
+ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
+ am__include=.include
+ am__quote="\""
+ _am_result=BSD
+ fi
+fi
+
+
+{ echo "$as_me:$LINENO: result: $_am_result" >&5
+echo "${ECHO_T}$_am_result" >&6; }
+rm -f confinc confmf
+
+# Check whether --enable-dependency-tracking was given.
+if test "${enable_dependency_tracking+set}" = set; then
+ enableval=$enable_dependency_tracking;
+fi
+
+if test "x$enable_dependency_tracking" != xno; then
+ am_depcomp="$ac_aux_dir/depcomp"
+ AMDEPBACKSLASH='\'
+fi
+ if test "x$enable_dependency_tracking" != xno; then
+ AMDEP_TRUE=
+ AMDEP_FALSE='#'
+else
+ AMDEP_TRUE='#'
+ AMDEP_FALSE=
+fi
+
+
+
+
+
+ # Check whether --enable-debug was given.
+if test "${enable_debug+set}" = set; then
+ enableval=$enable_debug;
+ case $enableval in
+ yes)
+ kde_use_debug_code="yes"
+ kde_use_debug_define=no
+ ;;
+ full)
+ kde_use_debug_code="full"
+ kde_use_debug_define=no
+ ;;
+ *)
+ kde_use_debug_code="no"
+ kde_use_debug_define=yes
+ ;;
+ esac
+
+else
+ kde_use_debug_code="no"
+ kde_use_debug_define=no
+
+fi
+
+
+ # Check whether --enable-dummyoption was given.
+if test "${enable_dummyoption+set}" = set; then
+ enableval=$enable_dummyoption;
+fi
+
+
+ # Check whether --enable-strict was given.
+if test "${enable_strict+set}" = set; then
+ enableval=$enable_strict;
+ if test $enableval = "no"; then
+ kde_use_strict_options="no"
+ else
+ kde_use_strict_options="yes"
+ fi
+
+else
+ kde_use_strict_options="no"
+fi
+
+
+ # Check whether --enable-warnings was given.
+if test "${enable_warnings+set}" = set; then
+ enableval=$enable_warnings;
+ if test $enableval = "no"; then
+ kde_use_warnings="no"
+ else
+ kde_use_warnings="yes"
+ fi
+
+else
+ kde_use_warnings="yes"
+fi
+
+
+ if test "$kde_use_debug_code" != "no"; then
+ kde_use_warnings=yes
+ fi
+
+ # Check whether --enable-profile was given.
+if test "${enable_profile+set}" = set; then
+ enableval=$enable_profile; kde_use_profiling=$enableval
+else
+ kde_use_profiling="no"
+
+fi
+
+
+ CFLAGS=" $CFLAGS"
+
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ fi
+fi
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ ac_prog_rejected=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $# != 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
+ fi
+fi
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl.exe
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ { echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl.exe
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CC" && break
+done
+
+ if test "x$ac_ct_CC" = x; then
+ CC=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&2;}
+ac_tool_warned=yes ;;
+esac
+ CC=$ac_ct_CC
+ fi
+fi
+
+fi
+
+
+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&5
+echo "$as_me: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+
+# Provide some information about the compiler.
+echo "$as_me:$LINENO: checking for C compiler version" >&5
+ac_compiler=`set X $ac_compile; echo $2`
+{ (ac_try="$ac_compiler --version >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler --version >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -v >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler -v >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -V >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler -V >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files a.out a.exe b.out"
+# Try to create an executable without -o first, disregard a.out.
+# It will help us diagnose broken compilers, and finding out an intuition
+# of exeext.
+{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
+echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
+ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+#
+# List of possible output files, starting from the most likely.
+# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
+# only as a last resort. b.out is created by i960 compilers.
+ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
+#
+# The IRIX 6 linker writes into existing files which may not be
+# executable, retaining their permissions. Remove them first so a
+# subsequent execution test works.
+ac_rmfiles=
+for ac_file in $ac_files
+do
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
+ esac
+done
+rm -f $ac_rmfiles
+
+if { (ac_try="$ac_link_default"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link_default") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
+# in a Makefile. We should not override ac_cv_exeext if it was cached,
+# so that the user can short-circuit this test for compilers unknown to
+# Autoconf.
+for ac_file in $ac_files ''
+do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
+ ;;
+ [ab].out )
+ # We found the default executable, but exeext='' is most
+ # certainly right.
+ break;;
+ *.* )
+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
+ then :; else
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ fi
+ # We set ac_cv_exeext here because the later test for it is not
+ # safe: cross compilers may not add the suffix if given an `-o'
+ # argument, so we may need to know it at that point already.
+ # Even if this section looks crufty: it has the advantage of
+ # actually working.
+ break;;
+ * )
+ break;;
+ esac
+done
+test "$ac_cv_exeext" = no && ac_cv_exeext=
+
+else
+ ac_file=''
+fi
+
+{ echo "$as_me:$LINENO: result: $ac_file" >&5
+echo "${ECHO_T}$ac_file" >&6; }
+if test -z "$ac_file"; then
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
+See \`config.log' for more details." >&5
+echo "$as_me: error: C compiler cannot create executables
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }
+fi
+
+ac_exeext=$ac_cv_exeext
+
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
+echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
+# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
+# If not cross compiling, check that we can run a simple program.
+if test "$cross_compiling" != yes; then
+ if { ac_try='./$ac_file'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ cross_compiling=no
+ else
+ if test "$cross_compiling" = maybe; then
+ cross_compiling=yes
+ else
+ { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ fi
+fi
+{ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+
+rm -f a.out a.exe conftest$ac_cv_exeext b.out
+ac_clean_files=$ac_clean_files_save
+# Check that the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
+echo "${ECHO_T}$cross_compiling" >&6; }
+
+{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
+echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
+# work properly (i.e., refer to `conftest.exe'), while it won't with
+# `rm'.
+for ac_file in conftest.exe conftest conftest.*; do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ break;;
+ * ) break;;
+ esac
+done
+else
+ { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+rm -f conftest$ac_cv_exeext
+{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
+echo "${ECHO_T}$ac_cv_exeext" >&6; }
+
+rm -f conftest.$ac_ext
+EXEEXT=$ac_cv_exeext
+ac_exeext=$EXEEXT
+{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
+echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
+if test "${ac_cv_objext+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.o conftest.obj
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ for ac_file in conftest.o conftest.obj conftest.*; do
+ test -f "$ac_file" || continue;
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+ break;;
+ esac
+done
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute suffix of object files: cannot compile
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
+echo "${ECHO_T}$ac_cv_objext" >&6; }
+OBJEXT=$ac_cv_objext
+ac_objext=$OBJEXT
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
+if test "${ac_cv_c_compiler_gnu+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_compiler_gnu=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_compiler_gnu=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
+GCC=`test $ac_compiler_gnu = yes && echo yes`
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
+if test "${ac_cv_prog_cc_g+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_save_c_werror_flag=$ac_c_werror_flag
+ ac_c_werror_flag=yes
+ ac_cv_prog_cc_g=no
+ CFLAGS="-g"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cc_g=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ CFLAGS=""
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_c_werror_flag=$ac_save_c_werror_flag
+ CFLAGS="-g"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cc_g=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_c_werror_flag=$ac_save_c_werror_flag
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-g"
+ fi
+else
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
+fi
+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
+if test "${ac_cv_prog_cc_c89+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_prog_cc_c89=no
+ac_save_CC=$CC
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
+ inside strings and character constants. */
+#define FOO(x) 'x'
+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cc_c89=$ac_arg
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext
+ test "x$ac_cv_prog_cc_c89" != "xno" && break
+done
+rm -f conftest.$ac_ext
+CC=$ac_save_CC
+
+fi
+# AC_CACHE_VAL
+case "x$ac_cv_prog_cc_c89" in
+ x)
+ { echo "$as_me:$LINENO: result: none needed" >&5
+echo "${ECHO_T}none needed" >&6; } ;;
+ xno)
+ { echo "$as_me:$LINENO: result: unsupported" >&5
+echo "${ECHO_T}unsupported" >&6; } ;;
+ *)
+ CC="$CC $ac_cv_prog_cc_c89"
+ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
+esac
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+depcc="$CC" am_compiler_list=
+
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
+if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named `D' -- because `-MD' means `put the output
+ # in D'.
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CC_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+ # Solaris 8's {/usr,}/bin/sh.
+ touch sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ case $depmode in
+ nosideeffect)
+ # after this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ none) break ;;
+ esac
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle `-M -o', and we need to detect this.
+ if depmode=$depmode \
+ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CC_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CC_dependencies_compiler_type=none
+fi
+
+fi
+{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
+echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
+ am__fastdepCC_TRUE=
+ am__fastdepCC_FALSE='#'
+else
+ am__fastdepCC_TRUE='#'
+ am__fastdepCC_FALSE=
+fi
+
+
+
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
+# On Suns, sometimes $CPP names a directory.
+if test -n "$CPP" && test -d "$CPP"; then
+ CPP=
+fi
+if test -z "$CPP"; then
+ if test "${ac_cv_prog_CPP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ # Double quotes because CPP needs to be expanded
+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ :
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Broken: fails on valid input.
+continue
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ # Broken: success on invalid input.
+continue
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+ break
+fi
+
+ done
+ ac_cv_prog_CPP=$CPP
+
+fi
+ CPP=$ac_cv_prog_CPP
+else
+ ac_cv_prog_CPP=$CPP
+fi
+{ echo "$as_me:$LINENO: result: $CPP" >&5
+echo "${ECHO_T}$CPP" >&6; }
+ac_preproc_ok=false
+for ac_c_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ :
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Broken: fails on valid input.
+continue
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ # Broken: success on invalid input.
+continue
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+ :
+else
+ { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." >&5
+echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+ if test "$GCC" = "yes"; then
+ if test "$kde_use_debug_code" != "no"; then
+ if test $kde_use_debug_code = "full"; then
+ CFLAGS="-g3 -fno-inline $CFLAGS"
+ else
+ CFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CFLAGS"
+ fi
+ else
+ CFLAGS="-O2 $CFLAGS"
+ fi
+ fi
+
+ if test "$kde_use_debug_define" = "yes"; then
+ CFLAGS="-DNDEBUG $CFLAGS"
+ fi
+
+
+ case "$host" in
+ *-*-sysv4.2uw*) CFLAGS="-D_UNIXWARE $CFLAGS";;
+ *-*-sysv5uw7*) CFLAGS="-D_UNIXWARE7 $CFLAGS";;
+ esac
+
+ if test -z "$LDFLAGS" && test "$kde_use_debug_code" = "no" && test "$GCC" = "yes"; then
+ LDFLAGS=""
+ fi
+
+ CXXFLAGS=" $CXXFLAGS"
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+if test -z "$CXX"; then
+ if test -n "$CCC"; then
+ CXX=$CCC
+ else
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CXX+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CXX"; then
+ ac_cv_prog_CXX="$CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CXX=$ac_cv_prog_CXX
+if test -n "$CXX"; then
+ { echo "$as_me:$LINENO: result: $CXX" >&5
+echo "${ECHO_T}$CXX" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ test -n "$CXX" && break
+ done
+fi
+if test -z "$CXX"; then
+ ac_ct_CXX=$CXX
+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_CXX"; then
+ ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_CXX="$ac_prog"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
+if test -n "$ac_ct_CXX"; then
+ { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
+echo "${ECHO_T}$ac_ct_CXX" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ test -n "$ac_ct_CXX" && break
+done
+
+ if test "x$ac_ct_CXX" = x; then
+ CXX="g++"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&2;}
+ac_tool_warned=yes ;;
+esac
+ CXX=$ac_ct_CXX
+ fi
+fi
+
+ fi
+fi
+# Provide some information about the compiler.
+echo "$as_me:$LINENO: checking for C++ compiler version" >&5
+ac_compiler=`set X $ac_compile; echo $2`
+{ (ac_try="$ac_compiler --version >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler --version >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -v >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler -v >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -V >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler -V >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+
+{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
+echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
+if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_compiler_gnu=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_compiler_gnu=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
+echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
+GXX=`test $ac_compiler_gnu = yes && echo yes`
+ac_test_CXXFLAGS=${CXXFLAGS+set}
+ac_save_CXXFLAGS=$CXXFLAGS
+{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
+echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
+if test "${ac_cv_prog_cxx_g+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_save_cxx_werror_flag=$ac_cxx_werror_flag
+ ac_cxx_werror_flag=yes
+ ac_cv_prog_cxx_g=no
+ CXXFLAGS="-g"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cxx_g=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ CXXFLAGS=""
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ :
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+ CXXFLAGS="-g"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_cxx_g=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
+echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
+if test "$ac_test_CXXFLAGS" = set; then
+ CXXFLAGS=$ac_save_CXXFLAGS
+elif test $ac_cv_prog_cxx_g = yes; then
+ if test "$GXX" = yes; then
+ CXXFLAGS="-g -O2"
+ else
+ CXXFLAGS="-g"
+ fi
+else
+ if test "$GXX" = yes; then
+ CXXFLAGS="-O2"
+ else
+ CXXFLAGS=
+ fi
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+depcc="$CXX" am_compiler_list=
+
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
+if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named `D' -- because `-MD' means `put the output
+ # in D'.
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CXX_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+ # Solaris 8's {/usr,}/bin/sh.
+ touch sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ case $depmode in
+ nosideeffect)
+ # after this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ none) break ;;
+ esac
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle `-M -o', and we need to detect this.
+ if depmode=$depmode \
+ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CXX_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CXX_dependencies_compiler_type=none
+fi
+
+fi
+{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
+echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
+CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
+ am__fastdepCXX_TRUE=
+ am__fastdepCXX_FALSE='#'
+else
+ am__fastdepCXX_TRUE='#'
+ am__fastdepCXX_FALSE=
+fi
+
+
+
+
+ { echo "$as_me:$LINENO: checking whether $CC is blacklisted" >&5
+echo $ECHO_N "checking whether $CC is blacklisted... $ECHO_C" >&6; }
+
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#ifdef __GNUC__
+#if __GNUC__ == 4 && __GNUC_MINOR__ == 0 && __GNUC_PATCHLEVEL__ == 0
+choke me
+#endif
+#endif
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ kde_bad_compiler=no
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ kde_bad_compiler=yes
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ { echo "$as_me:$LINENO: result: $kde_bad_compiler" >&5
+echo "${ECHO_T}$kde_bad_compiler" >&6; }
+
+if test "$kde_bad_compiler" = "yes"; then
+ { { echo "$as_me:$LINENO: error:
+
+This particular compiler version is blacklisted because it
+is known to miscompile KDE. Please use a newer version, or
+if that is not yet available, choose an older version.
+
+Please do not report a bug or bother us reporting this
+configure error. We know about it, and we introduced
+it by intention to avoid untraceable bugs or crashes in KDE.
+
+" >&5
+echo "$as_me: error:
+
+This particular compiler version is blacklisted because it
+is known to miscompile KDE. Please use a newer version, or
+if that is not yet available, choose an older version.
+
+Please do not report a bug or bother us reporting this
+configure error. We know about it, and we introduced
+it by intention to avoid untraceable bugs or crashes in KDE.
+
+" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+
+
+ if test "$GXX" = "yes" || test "$CXX" = "KCC"; then
+ if test "$kde_use_debug_code" != "no"; then
+ if test "$CXX" = "KCC"; then
+ CXXFLAGS="+K0 -Wall -pedantic -W -Wpointer-arith -Wwrite-strings $CXXFLAGS"
+ else
+ if test "$kde_use_debug_code" = "full"; then
+ CXXFLAGS="-g3 -fno-inline $CXXFLAGS"
+ else
+ CXXFLAGS="-g -O2 -fno-schedule-insns -fno-inline $CXXFLAGS"
+ fi
+ fi
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-builtin" >&5
+echo $ECHO_N "checking whether $CXX supports -fno-builtin... $ECHO_C" >&6; }
+kde_cache=`echo fno-builtin | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+
+ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -fno-builtin"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ CXXFLAGS="-fno-builtin $CXXFLAGS"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -Woverloaded-virtual" >&5
+echo $ECHO_N "checking whether $CXX supports -Woverloaded-virtual... $ECHO_C" >&6; }
+kde_cache=`echo Woverloaded-virtual | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -Woverloaded-virtual"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ WOVERLOADED_VIRTUAL="-Woverloaded-virtual"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+ WOVERLOADED_VRITUAL=""
+fi
+
+
+ else
+ if test "$CXX" = "KCC"; then
+ CXXFLAGS="+K3 $CXXFLAGS"
+ else
+ CXXFLAGS="-O2 $CXXFLAGS"
+ fi
+ fi
+ fi
+
+ if test "$kde_use_debug_define" = "yes"; then
+ CXXFLAGS="-DNDEBUG -DNO_DEBUG $CXXFLAGS"
+ fi
+
+ if test "$kde_use_profiling" = "yes"; then
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -pg" >&5
+echo $ECHO_N "checking whether $CXX supports -pg... $ECHO_C" >&6; }
+kde_cache=`echo pg | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -pg"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+
+ CFLAGS="-pg $CFLAGS"
+ CXXFLAGS="-pg $CXXFLAGS"
+
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+ fi
+
+ if test "$kde_use_warnings" = "yes"; then
+ if test "$GCC" = "yes"; then
+ CXXFLAGS="-Wall -W -Wpointer-arith $CXXFLAGS"
+ case $host in
+ *-*-linux-gnu)
+ CFLAGS="-std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE $CFLAGS"
+ CXXFLAGS="-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts $CXXFLAGS"
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -Wmissing-format-attribute" >&5
+echo $ECHO_N "checking whether $CXX supports -Wmissing-format-attribute... $ECHO_C" >&6; }
+kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -Wmissing-format-attribute"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ CXXFLAGS="$CXXFLAGS -Wformat-security -Wmissing-format-attribute"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+
+{ echo "$as_me:$LINENO: checking whether $CC supports -Wmissing-format-attribute" >&5
+echo $ECHO_N "checking whether $CC supports -Wmissing-format-attribute... $ECHO_C" >&6; }
+kde_cache=`echo Wmissing-format-attribute | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cc_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -Wmissing-format-attribute"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cc_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CFLAGS="$save_CFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cc_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ CFLAGS="$CFLAGS -Wformat-security -Wmissing-format-attribute"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+ ;;
+ esac
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
+echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6; }
+kde_cache=`echo Wundef | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -Wundef"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ CXXFLAGS="-Wundef $CXXFLAGS"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-long-long" >&5
+echo $ECHO_N "checking whether $CXX supports -Wno-long-long... $ECHO_C" >&6; }
+kde_cache=`echo Wno-long-long | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -Wno-long-long"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ CXXFLAGS="-Wno-long-long $CXXFLAGS"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -Wno-non-virtual-dtor" >&5
+echo $ECHO_N "checking whether $CXX supports -Wno-non-virtual-dtor... $ECHO_C" >&6; }
+kde_cache=`echo Wno-non-virtual-dtor | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ CXXFLAGS="$CXXFLAGS -Wno-non-virtual-dtor"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+ fi
+ fi
+
+ if test "$GXX" = "yes" && test "$kde_use_strict_options" = "yes"; then
+ CXXFLAGS="-Wcast-qual -Wshadow -Wcast-align $CXXFLAGS"
+ fi
+
+ # Check whether --enable-pch was given.
+if test "${enable_pch+set}" = set; then
+ enableval=$enable_pch; kde_use_pch=$enableval
+else
+ kde_use_pch=no
+fi
+
+
+ HAVE_GCC_VISIBILITY=0
+
+
+ if test "$GXX" = "yes"; then
+ gcc_no_reorder_blocks=NO
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-reorder-blocks" >&5
+echo $ECHO_N "checking whether $CXX supports -fno-reorder-blocks... $ECHO_C" >&6; }
+kde_cache=`echo fno-reorder-blocks | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ gcc_no_reorder_blocks=YES
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+ if test $kde_use_debug_code != "no" && \
+ test $kde_use_debug_code != "full" && \
+ test "YES" = "$gcc_no_reorder_blocks" ; then
+ CXXFLAGS="$CXXFLAGS -fno-reorder-blocks"
+ CFLAGS="$CFLAGS -fno-reorder-blocks"
+ fi
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-exceptions" >&5
+echo $ECHO_N "checking whether $CXX supports -fno-exceptions... $ECHO_C" >&6; }
+kde_cache=`echo fno-exceptions | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -fno-exceptions"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ CXXFLAGS="$CXXFLAGS -fno-exceptions"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-check-new" >&5
+echo $ECHO_N "checking whether $CXX supports -fno-check-new... $ECHO_C" >&6; }
+kde_cache=`echo fno-check-new | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -fno-check-new"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ CXXFLAGS="$CXXFLAGS -fno-check-new"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -fno-common" >&5
+echo $ECHO_N "checking whether $CXX supports -fno-common... $ECHO_C" >&6; }
+kde_cache=`echo fno-common | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -fno-common"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ CXXFLAGS="$CXXFLAGS -fno-common"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -fexceptions" >&5
+echo $ECHO_N "checking whether $CXX supports -fexceptions... $ECHO_C" >&6; }
+kde_cache=`echo fexceptions | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -fexceptions"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ USE_EXCEPTIONS="-fexceptions"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+ USE_EXCEPTIONS=
+fi
+
+ ENABLE_PERMISSIVE_FLAG="-fpermissive"
+
+ if test "$kde_use_pch" = "yes"; then
+ { echo "$as_me:$LINENO: checking whether gcc supports precompiling c header files" >&5
+echo $ECHO_N "checking whether gcc supports precompiling c header files... $ECHO_C" >&6; }
+ echo >conftest.h
+ if $CC -x c-header conftest.h >/dev/null 2>/dev/null; then
+ kde_gcc_supports_pch=yes
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ else
+ kde_gcc_supports_pch=no
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ fi
+ if test "$kde_gcc_supports_pch" = "yes"; then
+ { echo "$as_me:$LINENO: checking whether gcc supports precompiling c++ header files" >&5
+echo $ECHO_N "checking whether gcc supports precompiling c++ header files... $ECHO_C" >&6; }
+ if $CXX -x c++-header conftest.h >/dev/null 2>/dev/null; then
+ kde_gcc_supports_pch=yes
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ else
+ kde_gcc_supports_pch=no
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ fi
+ fi
+ rm -f conftest.h conftest.h.gch
+ fi
+
+
+ { echo "$as_me:$LINENO: checking whether system headers can cope with -O2 -fno-inline" >&5
+echo $ECHO_N "checking whether system headers can cope with -O2 -fno-inline... $ECHO_C" >&6; }
+if test "${kde_cv_opt_noinline_match+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ kde_cv_opt_noinline_match=irrelevant
+ if echo "$CFLAGS" | grep -e -O2 >/dev/null 2>/dev/null \
+ && echo "$CFLAGS" | grep -e -fno-inline >/dev/null 2>/dev/null ; then
+
+ ac_cflags_save="$CFLAGS"
+ CFLAGS="$CFLAGS -D_USE_GNU"
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+ #include <string.h>
+
+int
+main ()
+{
+ const char *pt, *et;
+ et = __extension__ ({ char __a0, __a1, __a2; (__builtin_constant_p ( ";," ) && ((size_t)(const void *)(( ";," )+ 1) - (size_t)(const void *)( ";," ) == 1) ? ((__a0 =((__const char *) ( ";," ))[0], __a0 == '\0') ? ((void) ( pt ),((void *)0) ) : ((__a1 = ((__const char *) ( ";," ))[1], __a1== '\0') ? (__extension__ (__builtin_constant_p ( __a0 ) && ( __a0 ) == '\0' ? (char *) __rawmemchr ( pt , __a0) : strchr( pt , __a0 ))) : ((__a2 = ((__const char *) ( ";," ))[2], __a2 == '\0') ? __strpbrk_c2 ( pt , __a0, __a1) :(((__const char *) ( ";," ))[3] == '\0' ? __strpbrk_c3 ( pt ,__a0, __a1, __a2): strpbrk ( pt , ";," ))))) : strpbrk ( pt , ";," )); }) ;
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ kde_cv_opt_noinline_match=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ kde_cv_opt_noinline_match=no
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+
+ CFLAGS="$ac_cflags_save"
+ fi
+
+fi
+{ echo "$as_me:$LINENO: result: $kde_cv_opt_noinline_match" >&5
+echo "${ECHO_T}$kde_cv_opt_noinline_match" >&6; }
+
+ if test "x$kde_cv_opt_noinline_match" = "xno" ; then
+ CFLAGS="`echo "$CFLAGS" | sed "s/ -fno-inline//"`"
+ fi
+ fi
+ if test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes"; then
+ unsermake_enable_pch_TRUE=
+ unsermake_enable_pch_FALSE='#'
+else
+ unsermake_enable_pch_TRUE='#'
+ unsermake_enable_pch_FALSE=
+fi
+
+ if test "$CXX" = "KCC"; then
+
+ if test "$kde_use_pch" = "yes"; then
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports --pch" >&5
+echo $ECHO_N "checking whether $CXX supports --pch... $ECHO_C" >&6; }
+kde_cache=`echo -pch | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS --pch"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ CXXFLAGS="$CXXFLAGS --pch"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+ fi
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_keyword_space_time=6" >&5
+echo $ECHO_N "checking whether $CXX supports --inline_keyword_space_time=6... $ECHO_C" >&6; }
+kde_cache=`echo -inline_keyword_space_time=6 | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ CXXFLAGS="$CXXFLAGS --inline_keyword_space_time=6"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_auto_space_time=2" >&5
+echo $ECHO_N "checking whether $CXX supports --inline_auto_space_time=2... $ECHO_C" >&6; }
+kde_cache=`echo -inline_auto_space_time=2 | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ CXXFLAGS="$CXXFLAGS --inline_auto_space_time=2"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_implicit_space_time=2.0" >&5
+echo $ECHO_N "checking whether $CXX supports --inline_implicit_space_time=2.0... $ECHO_C" >&6; }
+kde_cache=`echo -inline_implicit_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ CXXFLAGS="$CXXFLAGS --inline_implicit_space_time=2.0"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports --inline_generated_space_time=2.0" >&5
+echo $ECHO_N "checking whether $CXX supports --inline_generated_space_time=2.0... $ECHO_C" >&6; }
+kde_cache=`echo -inline_generated_space_time=2.0 | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ CXXFLAGS="$CXXFLAGS --inline_generated_space_time=2.0"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports --one_per" >&5
+echo $ECHO_N "checking whether $CXX supports --one_per... $ECHO_C" >&6; }
+kde_cache=`echo -one_per | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS --one_per"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ CXXFLAGS="$CXXFLAGS --one_per"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+ fi
+
+ USE_RTTI=
+
+
+ case "$host" in
+ *-*-irix*) test "$GXX" = yes && CXXFLAGS="-D_LANGUAGE_C_PLUS_PLUS -D__LANGUAGE_C_PLUS_PLUS $CXXFLAGS" ;;
+ *-*-sysv4.2uw*) CXXFLAGS="-D_UNIXWARE $CXXFLAGS";;
+ *-*-sysv5uw7*) CXXFLAGS="-D_UNIXWARE7 $CXXFLAGS";;
+ *-*-solaris*)
+ if test "$GXX" = yes; then
+ libstdcpp=`$CXX -print-file-name=libstdc++.so`
+ if test ! -f $libstdcpp; then
+ { { echo "$as_me:$LINENO: error: You've compiled gcc without --enable-shared. This doesn't work with KDE. Please recompile gcc with --enable-shared to receive a libstdc++.so" >&5
+echo "$as_me: error: You've compiled gcc without --enable-shared. This doesn't work with KDE. Please recompile gcc with --enable-shared to receive a libstdc++.so" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ fi
+ ;;
+ esac
+
+ if test "x$kde_use_qt_emb" != "xyes"; then
+ __val=$CXX
+ __forbid=" -fno-rtti -rpath "
+ if test -n "$__val"; then
+ __new=""
+ ac_save_IFS=$IFS
+ IFS=" "
+ for i in $__val; do
+ case "$__forbid" in
+ *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
+echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
+ *) # Careful to not add spaces, where there were none, because otherwise
+ # libtool gets confused, if we change e.g. CXX
+ if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
+ esac
+ done
+ IFS=$ac_save_IFS
+ CXX=$__new
+ fi
+
+ __val=$CXXFLAGS
+ __forbid=" -fno-rtti -rpath "
+ if test -n "$__val"; then
+ __new=""
+ ac_save_IFS=$IFS
+ IFS=" "
+ for i in $__val; do
+ case "$__forbid" in
+ *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
+echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
+ *) # Careful to not add spaces, where there were none, because otherwise
+ # libtool gets confused, if we change e.g. CXX
+ if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
+ esac
+ done
+ IFS=$ac_save_IFS
+ CXXFLAGS=$__new
+ fi
+
+else
+ __val=$CXX
+ __forbid=" -rpath "
+ if test -n "$__val"; then
+ __new=""
+ ac_save_IFS=$IFS
+ IFS=" "
+ for i in $__val; do
+ case "$__forbid" in
+ *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXX, removing it" >&5
+echo "$as_me: WARNING: found forbidden $i in CXX, removing it" >&2;} ;;
+ *) # Careful to not add spaces, where there were none, because otherwise
+ # libtool gets confused, if we change e.g. CXX
+ if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
+ esac
+ done
+ IFS=$ac_save_IFS
+ CXX=$__new
+ fi
+
+ __val=$CXXFLAGS
+ __forbid=" -rpath "
+ if test -n "$__val"; then
+ __new=""
+ ac_save_IFS=$IFS
+ IFS=" "
+ for i in $__val; do
+ case "$__forbid" in
+ *" $i "*) { echo "$as_me:$LINENO: WARNING: found forbidden $i in CXXFLAGS, removing it" >&5
+echo "$as_me: WARNING: found forbidden $i in CXXFLAGS, removing it" >&2;} ;;
+ *) # Careful to not add spaces, where there were none, because otherwise
+ # libtool gets confused, if we change e.g. CXX
+ if test -z "$__new" ; then __new=$i ; else __new="$__new $i" ; fi ;;
+ esac
+ done
+ IFS=$ac_save_IFS
+ CXXFLAGS=$__new
+ fi
+
+fi
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
+echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
+if test -z "$CXXCPP"; then
+ if test "${ac_cv_prog_CXXCPP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ # Double quotes because CXXCPP needs to be expanded
+ for CXXCPP in "$CXX -E" "/lib/cpp"
+ do
+ ac_preproc_ok=false
+for ac_cxx_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ :
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Broken: fails on valid input.
+continue
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ # Broken: success on invalid input.
+continue
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+ break
+fi
+
+ done
+ ac_cv_prog_CXXCPP=$CXXCPP
+
+fi
+ CXXCPP=$ac_cv_prog_CXXCPP
+else
+ ac_cv_prog_CXXCPP=$CXXCPP
+fi
+{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
+echo "${ECHO_T}$CXXCPP" >&6; }
+ac_preproc_ok=false
+for ac_cxx_preproc_warn_flag in '' yes
+do
+ # Use a header file that comes with gcc, so configuring glibc
+ # with a fresh cross-compiler works.
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ # <limits.h> exists even on freestanding compilers.
+ # On the NeXT, cc -E runs the code through the compiler's parser,
+ # not just through cpp. "Syntax error" is here to catch this case.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+ Syntax error
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ :
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Broken: fails on valid input.
+continue
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+ # OK, works on sane cases. Now check whether nonexistent headers
+ # can be detected and how.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <ac_nonexistent.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ # Broken: success on invalid input.
+continue
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Passes both tests.
+ac_preproc_ok=:
+break
+fi
+
+rm -f conftest.err conftest.$ac_ext
+
+done
+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
+rm -f conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then
+ :
+else
+ { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
+See \`config.log' for more details." >&5
+echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+ if test "$GCC" = yes; then
+ NOOPT_CFLAGS=-O0
+ fi
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -O0" >&5
+echo $ECHO_N "checking whether $CXX supports -O0... $ECHO_C" >&6; }
+kde_cache=`echo O0 | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -O0"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ NOOPT_CXXFLAGS=-O0
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+
+ # Check whether --enable-coverage was given.
+if test "${enable_coverage+set}" = set; then
+ enableval=$enable_coverage;
+ if test "$am_cv_CC_dependencies_compiler_type" = "gcc3"; then
+ ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
+ ac_coverage_linker="-lgcc"
+ elif test "$am_cv_CC_dependencies_compiler_type" = "gcc"; then
+ ac_coverage_compiler="-fprofile-arcs -ftest-coverage"
+ ac_coverage_linker=""
+ else
+ { { echo "$as_me:$LINENO: error: coverage with your compiler is not supported" >&5
+echo "$as_me: error: coverage with your compiler is not supported" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ CFLAGS="$CFLAGS $ac_coverage_compiler"
+ CXXFLAGS="$CXXFLAGS $ac_coverage_compiler"
+ LDFLAGS="$LDFLAGS $ac_coverage_linker"
+
+fi
+
+
+
+
+
+
+
+ # Check whether --enable-new_ldflags was given.
+if test "${enable_new_ldflags+set}" = set; then
+ enableval=$enable_new_ldflags; kde_use_new_ldflags=$enableval
+else
+ kde_use_new_ldflags=no
+fi
+
+
+ LDFLAGS_AS_NEEDED=""
+ LDFLAGS_NEW_DTAGS=""
+ if test "x$kde_use_new_ldflags" = "xyes"; then
+ LDFLAGS_NEW_DTAGS=""
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--enable-new-dtags" >&5
+echo $ECHO_N "checking whether $CXX supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
+kde_cache=`echo Wl,--enable-new-dtags | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -Wl,--enable-new-dtags"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ LDFLAGS_NEW_DTAGS="-Wl,--enable-new-dtags"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--as-needed" >&5
+echo $ECHO_N "checking whether $CXX supports -Wl,--as-needed... $ECHO_C" >&6; }
+kde_cache=`echo Wl,--as-needed | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -Wl,--as-needed"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ LDFLAGS_AS_NEEDED="-Wl,--as-needed"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+ fi
+
+
+
+
+ # Check whether --enable-final was given.
+if test "${enable_final+set}" = set; then
+ enableval=$enable_final; kde_use_final=$enableval
+else
+ kde_use_final=no
+fi
+
+
+ if test "x$kde_use_final" = "xyes"; then
+ KDE_USE_FINAL_TRUE=""
+ KDE_USE_FINAL_FALSE="#"
+ else
+ KDE_USE_FINAL_TRUE="#"
+ KDE_USE_FINAL_FALSE=""
+ fi
+
+
+
+
+ # Check whether --enable-closure was given.
+if test "${enable_closure+set}" = set; then
+ enableval=$enable_closure; kde_use_closure=$enableval
+else
+ kde_use_closure=no
+fi
+
+
+ KDE_NO_UNDEFINED=""
+ if test "x$kde_use_closure" = "xyes"; then
+ KDE_USE_CLOSURE_TRUE=""
+ KDE_USE_CLOSURE_FALSE="#"
+# CXXFLAGS="$CXXFLAGS $REPO"
+ else
+ KDE_USE_CLOSURE_TRUE="#"
+ KDE_USE_CLOSURE_FALSE=""
+ KDE_NO_UNDEFINED=""
+ case $host in
+ *-*-linux-gnu)
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--no-undefined" >&5
+echo $ECHO_N "checking whether $CXX supports -Wl,--no-undefined... $ECHO_C" >&6; }
+kde_cache=`echo Wl,--no-undefined | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -Wl,--no-undefined"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -Wl,--allow-shlib-undefined" >&5
+echo $ECHO_N "checking whether $CXX supports -Wl,--allow-shlib-undefined... $ECHO_C" >&6; }
+kde_cache=`echo Wl,--allow-shlib-undefined | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -Wl,--allow-shlib-undefined"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ KDE_NO_UNDEFINED="-Wl,--no-undefined -Wl,--allow-shlib-undefined"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+ KDE_NO_UNDEFINED=""
+fi
+
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+ KDE_NO_UNDEFINED=""
+fi
+
+ ;;
+ esac
+ fi
+
+
+
+
+
+ # Check whether --enable-nmcheck was given.
+if test "${enable_nmcheck+set}" = set; then
+ enableval=$enable_nmcheck; kde_use_nmcheck=$enableval
+else
+ kde_use_nmcheck=no
+fi
+
+
+ if test "$kde_use_nmcheck" = "yes"; then
+ KDE_USE_NMCHECK_TRUE=""
+ KDE_USE_NMCHECK_FALSE="#"
+ else
+ KDE_USE_NMCHECK_TRUE="#"
+ KDE_USE_NMCHECK_FALSE=""
+ fi
+
+
+
+
+
+
+# Check whether --enable-shared was given.
+if test "${enable_shared+set}" = set; then
+ enableval=$enable_shared; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_shared=yes ;;
+ no) enable_shared=no ;;
+ *)
+ enable_shared=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_shared=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac
+else
+ enable_shared=yes
+fi
+
+
+# Check whether --enable-static was given.
+if test "${enable_static+set}" = set; then
+ enableval=$enable_static; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_static=yes ;;
+ no) enable_static=no ;;
+ *)
+ enable_static=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_static=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac
+else
+ enable_static=no
+fi
+
+
+
+
+
+ # Check whether --enable-libsuffix was given.
+if test "${enable_libsuffix+set}" = set; then
+ enableval=$enable_libsuffix; kdelibsuff=$enableval
+else
+ kdelibsuff="auto"
+fi
+
+
+ if test "$kdelibsuff" = "auto"; then
+
+cat > conftest.c << EOF
+#include <stdio.h>
+int main() {
+ return 0;
+}
+EOF
+ kdelibsuff=`$CC conftest.c -o conftest.out; ldd conftest.out |sed -ne '/libc.so/{
+ s,.*/lib\([^\/]*\)/.*,\1,
+ p
+}'`
+ rm -rf conftest.*
+ fi
+
+ if test "$kdelibsuff" = "no" || test "$kdelibsuff" = "none"; then
+ kdelibsuff=
+ fi
+ if test -z "$kdelibsuff"; then
+ { echo "$as_me:$LINENO: result: not using lib directory suffix" >&5
+echo "${ECHO_T}not using lib directory suffix" >&6; }
+
+cat >>confdefs.h <<\_ACEOF
+#define KDELIBSUFF ""
+_ACEOF
+
+ else
+ if test "$libdir" = '${exec_prefix}/lib'; then
+ libdir="$libdir${kdelibsuff}"
+ libdir="$libdir"
+ fi
+
+cat >>confdefs.h <<_ACEOF
+#define KDELIBSUFF "${kdelibsuff}"
+_ACEOF
+
+ { echo "$as_me:$LINENO: result: using lib directory suffix $kdelibsuff" >&5
+echo "${ECHO_T}using lib directory suffix $kdelibsuff" >&6; }
+ fi
+
+# Check whether --enable-fast-install was given.
+if test "${enable_fast_install+set}" = set; then
+ enableval=$enable_fast_install; p=${PACKAGE-default}
+ case $enableval in
+ yes) enable_fast_install=yes ;;
+ no) enable_fast_install=no ;;
+ *)
+ enable_fast_install=no
+ # Look at the argument we got. We use all the common list separators.
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for pkg in $enableval; do
+ IFS="$lt_save_ifs"
+ if test "X$pkg" = "X$p"; then
+ enable_fast_install=yes
+ fi
+ done
+ IFS="$lt_save_ifs"
+ ;;
+ esac
+else
+ enable_fast_install=yes
+fi
+
+
+{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
+echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
+if test "${lt_cv_path_SED+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ # Loop through the user's path and test for sed and gsed.
+# Then use that list of sed's as ones to test for truncation.
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for lt_ac_prog in sed gsed; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
+ lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
+ fi
+ done
+ done
+done
+lt_ac_max=0
+lt_ac_count=0
+# Add /usr/xpg4/bin/sed as it is typically found on Solaris
+# along with /bin/sed that truncates output.
+for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
+ test ! -f $lt_ac_sed && break
+ cat /dev/null > conftest.in
+ lt_ac_count=0
+ echo $ECHO_N "0123456789$ECHO_C" >conftest.in
+ # Check for GNU sed and select it if it is found.
+ if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
+ lt_cv_path_SED=$lt_ac_sed
+ break
+ fi
+ while true; do
+ cat conftest.in conftest.in >conftest.tmp
+ mv conftest.tmp conftest.in
+ cp conftest.in conftest.nl
+ echo >>conftest.nl
+ $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
+ cmp -s conftest.out conftest.nl || break
+ # 10000 chars as input seems more than enough
+ test $lt_ac_count -gt 10 && break
+ lt_ac_count=`expr $lt_ac_count + 1`
+ if test $lt_ac_count -gt $lt_ac_max; then
+ lt_ac_max=$lt_ac_count
+ lt_cv_path_SED=$lt_ac_sed
+ fi
+ done
+done
+
+fi
+
+SED=$lt_cv_path_SED
+{ echo "$as_me:$LINENO: result: $SED" >&5
+echo "${ECHO_T}$SED" >&6; }
+
+{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
+echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
+if test "${ac_cv_path_GREP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ # Extract the first word of "grep ggrep" to use in msg output
+if test -z "$GREP"; then
+set dummy grep ggrep; ac_prog_name=$2
+if test "${ac_cv_path_GREP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_path_GREP_found=false
+# Loop through the user's path and test for each of PROGNAME-LIST
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in grep ggrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+ { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+ # Check for GNU ac_path_GREP and select it if it is found.
+ # Check for GNU $ac_path_GREP
+case `"$ac_path_GREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
+*)
+ ac_count=0
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ echo 'GREP' >> "conftest.nl"
+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ ac_count=`expr $ac_count + 1`
+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_GREP="$ac_path_GREP"
+ ac_path_GREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+
+ $ac_path_GREP_found && break 3
+ done
+done
+
+done
+IFS=$as_save_IFS
+
+
+fi
+
+GREP="$ac_cv_path_GREP"
+if test -z "$GREP"; then
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+else
+ ac_cv_path_GREP=$GREP
+fi
+
+
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
+echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
+ GREP="$ac_cv_path_GREP"
+
+
+{ echo "$as_me:$LINENO: checking for egrep" >&5
+echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
+if test "${ac_cv_path_EGREP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
+ then ac_cv_path_EGREP="$GREP -E"
+ else
+ # Extract the first word of "egrep" to use in msg output
+if test -z "$EGREP"; then
+set dummy egrep; ac_prog_name=$2
+if test "${ac_cv_path_EGREP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_path_EGREP_found=false
+# Loop through the user's path and test for each of PROGNAME-LIST
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_prog in egrep; do
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+ { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
+ # Check for GNU ac_path_EGREP and select it if it is found.
+ # Check for GNU $ac_path_EGREP
+case `"$ac_path_EGREP" --version 2>&1` in
+*GNU*)
+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
+*)
+ ac_count=0
+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
+ while :
+ do
+ cat "conftest.in" "conftest.in" >"conftest.tmp"
+ mv "conftest.tmp" "conftest.in"
+ cp "conftest.in" "conftest.nl"
+ echo 'EGREP' >> "conftest.nl"
+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
+ ac_count=`expr $ac_count + 1`
+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
+ # Best one so far, save it but keep looking for a better one
+ ac_cv_path_EGREP="$ac_path_EGREP"
+ ac_path_EGREP_max=$ac_count
+ fi
+ # 10*(2^10) chars as input seems more than enough
+ test $ac_count -gt 10 && break
+ done
+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
+esac
+
+
+ $ac_path_EGREP_found && break 3
+ done
+done
+
+done
+IFS=$as_save_IFS
+
+
+fi
+
+EGREP="$ac_cv_path_EGREP"
+if test -z "$EGREP"; then
+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+else
+ ac_cv_path_EGREP=$EGREP
+fi
+
+
+ fi
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
+echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
+ EGREP="$ac_cv_path_EGREP"
+
+
+
+# Check whether --with-gnu-ld was given.
+if test "${with_gnu_ld+set}" = set; then
+ withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
+else
+ with_gnu_ld=no
+fi
+
+ac_prog=ld
+if test "$GCC" = yes; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
+echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [\\/]* | ?:[\\/]*)
+ re_direlt='/[^/][^/]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
+ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD="$ac_prog"
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test "$with_gnu_ld" = yes; then
+ { echo "$as_me:$LINENO: checking for GNU ld" >&5
+echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
+else
+ { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
+echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
+fi
+if test "${lt_cv_path_LD+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -z "$LD"; then
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD="$ac_dir/$ac_prog"
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some GNU ld's only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test "$with_gnu_ld" != no && break
+ ;;
+ *)
+ test "$with_gnu_ld" != yes && break
+ ;;
+ esac
+ fi
+ done
+ IFS="$lt_save_ifs"
+else
+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
+fi
+fi
+
+LD="$lt_cv_path_LD"
+if test -n "$LD"; then
+ { echo "$as_me:$LINENO: result: $LD" >&5
+echo "${ECHO_T}$LD" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
+echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
+ { (exit 1); exit 1; }; }
+{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
+echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
+if test "${lt_cv_prog_gnu_ld+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ # I'd rather use --version here, but apparently some GNU ld's only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
+echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+
+{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
+echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
+if test "${lt_cv_ld_reload_flag+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ lt_cv_ld_reload_flag='-r'
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
+echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
+reload_flag=$lt_cv_ld_reload_flag
+case $reload_flag in
+"" | " "*) ;;
+*) reload_flag=" $reload_flag" ;;
+esac
+reload_cmds='$LD$reload_flag -o $output$reload_objs'
+
+{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
+echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
+if test "${lt_cv_path_NM+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$NM"; then
+ # Let the user override the test.
+ lt_cv_path_NM="$NM"
+else
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ tmp_nm="$ac_dir/${ac_tool_prefix}nm"
+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
+ # Check to see if the nm accepts a BSD-compat flag.
+ # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+ # nm: unknown option "B" ignored
+ # Tru64's nm complains that /dev/null is an invalid object file
+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
+ */dev/null* | *'Invalid file or object type'*)
+ lt_cv_path_NM="$tmp_nm -B"
+ break
+ ;;
+ *)
+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
+ */dev/null*)
+ lt_cv_path_NM="$tmp_nm -p"
+ break
+ ;;
+ *)
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
+ continue # so that we can try to find one that supports BSD flags
+ ;;
+ esac
+ esac
+ fi
+ done
+ IFS="$lt_save_ifs"
+ test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
+fi
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
+echo "${ECHO_T}$lt_cv_path_NM" >&6; }
+NM="$lt_cv_path_NM"
+
+{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
+echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
+LN_S=$as_ln_s
+if test "$LN_S" = "ln -s"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
+echo "${ECHO_T}no, using $LN_S" >&6; }
+fi
+
+{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
+echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
+if test "${lt_cv_deplibs_check_method+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ lt_cv_file_magic_cmd='$MAGIC_CMD'
+lt_cv_file_magic_test_file=
+lt_cv_deplibs_check_method='unknown'
+# Need to set the preceding variable on all platforms that support
+# interlibrary dependencies.
+# 'none' -- dependencies not supported.
+# `unknown' -- same as none, but documents that we really don't know.
+# 'pass_all' -- all dependencies passed with no checks.
+# 'test_compile' -- check by making test program.
+# 'file_magic [[regex]]' -- check by looking for files in library path
+# which responds to the $file_magic_cmd with a given extended regex.
+# If you have `file' or equivalent on your system and you're not sure
+# whether `pass_all' will *always* work, you probably want this one.
+
+case $host_os in
+aix4* | aix5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+beos*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+bsdi4*)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ ;;
+
+cygwin*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+mingw* | pw32*)
+ # win32_libid is a shell function defined in ltmain.sh
+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
+ lt_cv_file_magic_cmd='win32_libid'
+ ;;
+
+darwin* | rhapsody*)
+ # this will be overwritten by pass_all, but leave it in just in case
+ lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ case "$host_os" in
+ rhapsody* | darwin1.[012])
+ lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
+ ;;
+ *) # Darwin 1.3 on
+ lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
+ ;;
+ esac
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+freebsd* | kfreebsd*-gnu)
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+ # Not sure whether the presence of OpenBSD here was a mistake.
+ # Let's accept both of them until this is cleared up.
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ ;;
+ esac
+ else
+ lt_cv_deplibs_check_method=pass_all
+ fi
+ ;;
+
+gnu*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+hpux10.20* | hpux11*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ case "$host_cpu" in
+ ia64*)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
+ ;;
+ hppa*64*)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
+ ;;
+ *)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
+ lt_cv_file_magic_test_file=/usr/lib/libc.sl
+ ;;
+ esac
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ irix5* | nonstopux*)
+ # this will be overridden with pass_all, but let us keep it just in case
+ lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
+ ;;
+ *)
+ case $LD in
+ *-32|*"-32 ") libmagic=32-bit;;
+ *-n32|*"-n32 ") libmagic=N32;;
+ *-64|*"-64 ") libmagic=64-bit;;
+ *) libmagic=never-match;;
+ esac
+ # this will be overridden with pass_all, but let us keep it just in case
+ lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
+ ;;
+ esac
+ lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+# This must be Linux ELF.
+linux*)
+ case $host_cpu in
+ alpha* | hppa* | i*86 | ia64* | m68* | mips* | powerpc* | sparc* | s390* | sh* | x86_64* )
+ lt_cv_deplibs_check_method=pass_all ;;
+ # the debian people say, arm and glibc 2.3.1 works for them with pass_all
+ arm* )
+ lt_cv_deplibs_check_method=pass_all ;;
+ *)
+ # glibc up to 2.1.1 does not perform some relocations on ARM
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+ esac
+ lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
+ ;;
+
+netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
+ else
+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
+ fi
+ ;;
+
+newos6*)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
+ ;;
+
+nto-qnx*)
+ lt_cv_deplibs_check_method=unknown
+ ;;
+
+openbsd*)
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+ else
+ lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
+ fi
+ ;;
+
+osf3* | osf4* | osf5*)
+ # this will be overridden with pass_all, but let us keep it just in case
+ lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
+ lt_cv_file_magic_test_file=/shlib/libc.so
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+sco3.2v5*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+solaris*)
+ lt_cv_deplibs_check_method=pass_all
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ case $host_vendor in
+ motorola)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ ;;
+ ncr)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ sequent)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
+ ;;
+ sni)
+ lt_cv_file_magic_cmd='/bin/file'
+ lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
+ lt_cv_file_magic_test_file=/lib/libc.so
+ ;;
+ siemens)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+ esac
+ ;;
+
+sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+esac
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
+echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
+file_magic_cmd=$lt_cv_file_magic_cmd
+deplibs_check_method=$lt_cv_deplibs_check_method
+test -z "$deplibs_check_method" && deplibs_check_method=unknown
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+# Check whether --enable-libtool-lock was given.
+if test "${enable_libtool_lock+set}" = set; then
+ enableval=$enable_libtool_lock;
+fi
+
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+
+# Some flags need to be propagated to the compiler or linker for good
+# libtool support.
+case $host in
+ia64-*-hpux*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *ELF-32*)
+ HPUX_IA64_MODE="32"
+ ;;
+ *ELF-64*)
+ HPUX_IA64_MODE="64"
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+*-*-irix6*)
+ # Find out which ABI we are using.
+ echo '#line 8473 "configure"' > conftest.$ac_ext
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ if test "$lt_cv_prog_gnu_ld" = yes; then
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -melf32bsmip"
+ ;;
+ *N32*)
+ LD="${LD-ld} -melf32bmipn32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -melf64bmip"
+ ;;
+ esac
+ else
+ case `/usr/bin/file conftest.$ac_objext` in
+ *32-bit*)
+ LD="${LD-ld} -32"
+ ;;
+ *N32*)
+ LD="${LD-ld} -n32"
+ ;;
+ *64-bit*)
+ LD="${LD-ld} -64"
+ ;;
+ esac
+ fi
+ fi
+ rm -rf conftest*
+ ;;
+
+x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
+ # Find out which ABI we are using.
+ echo 'int i;' > conftest.$ac_ext
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ case "`/usr/bin/file conftest.o`" in
+ *32-bit*)
+ LINUX_64_MODE="32"
+ case $host in
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_i386"
+ ;;
+ ppc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+ ;;
+ s390x-*linux*)
+ LD="${LD-ld} -m elf_s390"
+ ;;
+ sparc64-*linux*)
+ LD="${LD-ld} -m elf32_sparc"
+ ;;
+ esac
+ ;;
+ *64-bit*)
+ LINUX_64_MODE="64"
+ case $host in
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+ ppc*-*linux*|powerpc*-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
+ s390*-*linux*)
+ LD="${LD-ld} -m elf64_s390"
+ ;;
+ sparc*-*linux*)
+ LD="${LD-ld} -m elf64_sparc"
+ ;;
+ esac
+ ;;
+ esac
+ fi
+ rm -rf conftest*
+ ;;
+
+*-*-sco3.2v5*)
+ # On SCO OpenServer 5, we need -belf to get full-featured binaries.
+ SAVE_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -belf"
+ { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
+echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
+if test "${lt_cv_cc_needs_belf+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ lt_cv_cc_needs_belf=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ lt_cv_cc_needs_belf=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
+echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then
+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
+ CFLAGS="$SAVE_CFLAGS"
+ fi
+ ;;
+
+esac
+
+need_locks="$enable_libtool_lock"
+
+
+
+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
+if test "${ac_cv_header_stdc+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdlib.h>
+#include <stdarg.h>
+#include <string.h>
+#include <float.h>
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_header_stdc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_header_stdc=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+if test $ac_cv_header_stdc = yes; then
+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <string.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "memchr" >/dev/null 2>&1; then
+ :
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdlib.h>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "free" >/dev/null 2>&1; then
+ :
+else
+ ac_cv_header_stdc=no
+fi
+rm -f conftest*
+
+fi
+
+if test $ac_cv_header_stdc = yes; then
+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
+ if test "$cross_compiling" = yes; then
+ :
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <ctype.h>
+#include <stdlib.h>
+#if ((' ' & 0x0FF) == 0x020)
+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+#else
+# define ISLOWER(c) \
+ (('a' <= (c) && (c) <= 'i') \
+ || ('j' <= (c) && (c) <= 'r') \
+ || ('s' <= (c) && (c) <= 'z'))
+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
+#endif
+
+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
+int
+main ()
+{
+ int i;
+ for (i = 0; i < 256; i++)
+ if (XOR (islower (i), ISLOWER (i))
+ || toupper (i) != TOUPPER (i))
+ return 2;
+ return 0;
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ :
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+ac_cv_header_stdc=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+fi
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
+if test $ac_cv_header_stdc = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define STDC_HEADERS 1
+_ACEOF
+
+fi
+
+# On IRIX 5.3, sys/types and inttypes.h are conflicting.
+
+
+
+
+
+
+
+
+
+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
+ inttypes.h stdint.h unistd.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ eval "$as_ac_Header=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_Header=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+
+for ac_header in dlfcn.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+ac_ext=f
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_F77+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$F77"; then
+ ac_cv_prog_F77="$F77" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+F77=$ac_cv_prog_F77
+if test -n "$F77"; then
+ { echo "$as_me:$LINENO: result: $F77" >&5
+echo "${ECHO_T}$F77" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ test -n "$F77" && break
+ done
+fi
+if test -z "$F77"; then
+ ac_ct_F77=$F77
+ for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_F77"; then
+ ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_F77="$ac_prog"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_F77=$ac_cv_prog_ac_ct_F77
+if test -n "$ac_ct_F77"; then
+ { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
+echo "${ECHO_T}$ac_ct_F77" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ test -n "$ac_ct_F77" && break
+done
+
+ if test "x$ac_ct_F77" = x; then
+ F77=""
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&2;}
+ac_tool_warned=yes ;;
+esac
+ F77=$ac_ct_F77
+ fi
+fi
+
+
+# Provide some information about the compiler.
+echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
+ac_compiler=`set X $ac_compile; echo $2`
+{ (ac_try="$ac_compiler --version >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler --version >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -v >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler -v >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (ac_try="$ac_compiler -V >&5"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compiler -V >&5") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+rm -f a.out
+
+# If we don't use `.F' as extension, the preprocessor is not run on the
+# input file. (Note that this only needs to work for GNU compilers.)
+ac_save_ext=$ac_ext
+ac_ext=F
+{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
+echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
+if test "${ac_cv_f77_compiler_gnu+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+ program main
+#ifndef __GNUC__
+ choke me
+#endif
+
+ end
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_f77_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_compiler_gnu=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_compiler_gnu=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_f77_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
+echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
+ac_ext=$ac_save_ext
+ac_test_FFLAGS=${FFLAGS+set}
+ac_save_FFLAGS=$FFLAGS
+FFLAGS=
+{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
+echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
+if test "${ac_cv_prog_f77_g+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ FFLAGS=-g
+cat >conftest.$ac_ext <<_ACEOF
+ program main
+
+ end
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_f77_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_prog_f77_g=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_prog_f77_g=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
+echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
+if test "$ac_test_FFLAGS" = set; then
+ FFLAGS=$ac_save_FFLAGS
+elif test $ac_cv_prog_f77_g = yes; then
+ if test "x$ac_cv_f77_compiler_gnu" = xyes; then
+ FFLAGS="-g -O2"
+ else
+ FFLAGS="-g"
+ fi
+else
+ if test "x$ac_cv_f77_compiler_gnu" = xyes; then
+ FFLAGS="-O2"
+ else
+ FFLAGS=
+ fi
+fi
+
+G77=`test $ac_compiler_gnu = yes && echo yes`
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
+
+# find the maximum length of command line arguments
+{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
+echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
+if test "${lt_cv_sys_max_cmd_len+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ i=0
+ testring="ABCD"
+
+ case $build_os in
+ msdosdjgpp*)
+ # On DJGPP, this test can blow up pretty badly due to problems in libc
+ # (any single argument exceeding 2000 bytes causes a buffer overrun
+ # during glob expansion). Even if it were fixed, the result of this
+ # check would be larger than it should be.
+ lt_cv_sys_max_cmd_len=12288; # 12K is about right
+ ;;
+
+ gnu*)
+ # Under GNU Hurd, this test is not required because there is
+ # no limit to the length of command line arguments.
+ # Libtool will interpret -1 as no limit whatsoever
+ lt_cv_sys_max_cmd_len=-1;
+ ;;
+
+ cygwin* | mingw*)
+ # On Win9x/ME, this test blows up -- it succeeds, but takes
+ # about 5 minutes as the teststring grows exponentially.
+ # Worse, since 9x/ME are not pre-emptively multitasking,
+ # you end up with a "frozen" computer, even though with patience
+ # the test eventually succeeds (with a max line length of 256k).
+ # Instead, let's just punt: use the minimum linelength reported by
+ # all of the supported platforms: 8192 (on NT/2K/XP).
+ lt_cv_sys_max_cmd_len=8192;
+ ;;
+
+ *)
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+ while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
+ = "XX$testring") >/dev/null 2>&1 &&
+ new_result=`expr "X$testring" : ".*" 2>&1` &&
+ lt_cv_sys_max_cmd_len=$new_result &&
+ test $i != 17 # 1/2 MB should be enough
+ do
+ i=`expr $i + 1`
+ testring=$testring$testring
+ done
+ testring=
+ # Add a significant safety factor because C++ compilers can tack on massive
+ # amounts of additional arguments before passing them to the linker.
+ # It appears as though 1/2 is a usable value.
+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
+ ;;
+ esac
+
+fi
+
+if test -n $lt_cv_sys_max_cmd_len ; then
+ { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
+echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
+else
+ { echo "$as_me:$LINENO: result: none" >&5
+echo "${ECHO_T}none" >&6; }
+fi
+
+
+
+
+# Check for command to grab the raw symbol name followed by C symbol from nm.
+{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
+echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
+if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+# These are sane defaults that work on at least a few old systems.
+# [They come from Ultrix. What could be older than Ultrix?!! ;)]
+
+# Character class describing NM global symbol codes.
+symcode='[BCDEGRST]'
+
+# Regexp to match symbols that can be accessed directly from C.
+sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
+
+# Transform the above into a raw symbol and a C symbol.
+symxfrm='\1 \2\3 \3'
+
+# Transform an extracted symbol line into a proper C declaration
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
+
+# Transform an extracted symbol line into symbol name and symbol address
+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
+
+# Define system-specific variables.
+case $host_os in
+aix*)
+ symcode='[BCDT]'
+ ;;
+cygwin* | mingw* | pw32*)
+ symcode='[ABCDGISTW]'
+ ;;
+hpux*) # Its linker distinguishes data from code symbols
+ if test "$host_cpu" = ia64; then
+ symcode='[ABCDEGRST]'
+ fi
+ lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
+ lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
+ ;;
+irix* | nonstopux*)
+ symcode='[BCDEGRST]'
+ ;;
+osf*)
+ symcode='[BCDEGQRST]'
+ ;;
+solaris* | sysv5*)
+ symcode='[BDT]'
+ ;;
+sysv4)
+ symcode='[DFNSTU]'
+ ;;
+esac
+
+# Handle CRLF in mingw tool chain
+opt_cr=
+case $build_os in
+mingw*)
+ opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
+ ;;
+esac
+
+# If we're using GNU nm, then use its standard symbol codes.
+case `$NM -V 2>&1` in
+*GNU* | *'with BFD'*)
+ symcode='[ABCDGISTW]' ;;
+esac
+
+# Try without a prefix undercore, then with it.
+for ac_symprfx in "" "_"; do
+
+ # Write the raw and C identifiers.
+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
+
+ # Check to see that the pipe works correctly.
+ pipe_works=no
+
+ rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#ifdef __cplusplus
+extern "C" {
+#endif
+char nm_test_var;
+void nm_test_func(){}
+#ifdef __cplusplus
+}
+#endif
+int main(){nm_test_var='a';nm_test_func();return(0);}
+EOF
+
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ # Now try to grab the symbols.
+ nlist=conftest.nm
+ if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
+ (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && test -s "$nlist"; then
+ # Try sorting and uniquifying the output.
+ if sort "$nlist" | uniq > "$nlist"T; then
+ mv -f "$nlist"T "$nlist"
+ else
+ rm -f "$nlist"T
+ fi
+
+ # Make sure that we snagged all the symbols we need.
+ if grep ' nm_test_var$' "$nlist" >/dev/null; then
+ if grep ' nm_test_func$' "$nlist" >/dev/null; then
+ cat <<EOF > conftest.$ac_ext
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+EOF
+ # Now generate the symbol file.
+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
+
+ cat <<EOF >> conftest.$ac_ext
+#if defined (__STDC__) && __STDC__
+# define lt_ptr_t void *
+#else
+# define lt_ptr_t char *
+# define const
+#endif
+
+/* The mapping between symbol names and symbols. */
+const struct {
+ const char *name;
+ lt_ptr_t address;
+}
+lt_preloaded_symbols[] =
+{
+EOF
+ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
+ cat <<\EOF >> conftest.$ac_ext
+ {0, (lt_ptr_t) 0}
+};
+
+#ifdef __cplusplus
+}
+#endif
+EOF
+ # Now try linking the two files.
+ mv conftest.$ac_objext conftstm.$ac_objext
+ lt_save_LIBS="$LIBS"
+ lt_save_CFLAGS="$CFLAGS"
+ LIBS="conftstm.$ac_objext"
+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && test -s conftest${ac_exeext}; then
+ pipe_works=yes
+ fi
+ LIBS="$lt_save_LIBS"
+ CFLAGS="$lt_save_CFLAGS"
+ else
+ echo "cannot find nm_test_func in $nlist" >&5
+ fi
+ else
+ echo "cannot find nm_test_var in $nlist" >&5
+ fi
+ else
+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
+ fi
+ else
+ echo "$progname: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ fi
+ rm -f conftest* conftst*
+
+ # Do not use the global_symbol_pipe unless it works.
+ if test "$pipe_works" = yes; then
+ break
+ else
+ lt_cv_sys_global_symbol_pipe=
+ fi
+done
+
+fi
+
+if test -z "$lt_cv_sys_global_symbol_pipe"; then
+ lt_cv_sys_global_symbol_to_cdecl=
+fi
+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
+ { echo "$as_me:$LINENO: result: failed" >&5
+echo "${ECHO_T}failed" >&6; }
+else
+ { echo "$as_me:$LINENO: result: ok" >&5
+echo "${ECHO_T}ok" >&6; }
+fi
+
+{ echo "$as_me:$LINENO: checking for objdir" >&5
+echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
+if test "${lt_cv_objdir+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ rm -f .libs 2>/dev/null
+mkdir .libs 2>/dev/null
+if test -d .libs; then
+ lt_cv_objdir=.libs
+else
+ # MS-DOS does not allow filenames that begin with a dot.
+ lt_cv_objdir=_libs
+fi
+rmdir .libs 2>/dev/null
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
+echo "${ECHO_T}$lt_cv_objdir" >&6; }
+objdir=$lt_cv_objdir
+
+
+
+
+
+case $host_os in
+aix3*)
+ # AIX sometimes has problems with the GCC collect2 program. For some
+ # reason, if we set the COLLECT_NAMES environment variable, the problems
+ # vanish in a puff of smoke.
+ if test "X${COLLECT_NAMES+set}" != Xset; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+ fi
+ ;;
+esac
+
+# Sed substitution that helps us do robust quoting. It backslashifies
+# metacharacters that are still active within double-quoted strings.
+Xsed='sed -e s/^X//'
+sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
+
+# Same as above, but do not quote variable references.
+double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
+
+# Sed substitution to delay expansion of an escaped shell variable in a
+# double_quote_subst'ed string.
+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
+
+# Sed substitution to avoid accidental globbing in evaled expressions
+no_glob_subst='s/\*/\\\*/g'
+
+# Constants:
+rm="rm -f"
+
+# Global variables:
+default_ofile=libtool
+can_build_shared=yes
+
+# All known linkers require a `.a' archive for static linking (except M$VC,
+# which needs '.lib').
+libext=a
+ltmain="$ac_aux_dir/ltmain.sh"
+ofile="$default_ofile"
+with_gnu_ld="$lt_cv_prog_gnu_ld"
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ar; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_AR+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$AR"; then
+ ac_cv_prog_AR="$AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_AR="${ac_tool_prefix}ar"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+AR=$ac_cv_prog_AR
+if test -n "$AR"; then
+ { echo "$as_me:$LINENO: result: $AR" >&5
+echo "${ECHO_T}$AR" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_AR"; then
+ ac_ct_AR=$AR
+ # Extract the first word of "ar", so it can be a program name with args.
+set dummy ar; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_AR"; then
+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_AR="ar"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_AR=$ac_cv_prog_ac_ct_AR
+if test -n "$ac_ct_AR"; then
+ { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
+echo "${ECHO_T}$ac_ct_AR" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+ if test "x$ac_ct_AR" = x; then
+ AR="false"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&2;}
+ac_tool_warned=yes ;;
+esac
+ AR=$ac_ct_AR
+ fi
+else
+ AR="$ac_cv_prog_AR"
+fi
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
+set dummy ${ac_tool_prefix}ranlib; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_RANLIB+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$RANLIB"; then
+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+RANLIB=$ac_cv_prog_RANLIB
+if test -n "$RANLIB"; then
+ { echo "$as_me:$LINENO: result: $RANLIB" >&5
+echo "${ECHO_T}$RANLIB" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_RANLIB"; then
+ ac_ct_RANLIB=$RANLIB
+ # Extract the first word of "ranlib", so it can be a program name with args.
+set dummy ranlib; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_RANLIB"; then
+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_RANLIB="ranlib"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
+if test -n "$ac_ct_RANLIB"; then
+ { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
+echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+ if test "x$ac_ct_RANLIB" = x; then
+ RANLIB=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&2;}
+ac_tool_warned=yes ;;
+esac
+ RANLIB=$ac_ct_RANLIB
+ fi
+else
+ RANLIB="$ac_cv_prog_RANLIB"
+fi
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_STRIP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$STRIP"; then
+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+ { echo "$as_me:$LINENO: result: $STRIP" >&5
+echo "${ECHO_T}$STRIP" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+ ac_ct_STRIP=$STRIP
+ # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_STRIP"; then
+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_prog_ac_ct_STRIP="strip"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+ { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
+echo "${ECHO_T}$ac_ct_STRIP" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+ if test "x$ac_ct_STRIP" = x; then
+ STRIP=":"
+ else
+ case $cross_compiling:$ac_tool_warned in
+yes:)
+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&5
+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+whose name does not start with the host triplet. If you think this
+configuration is useful to you, please write to autoconf at gnu.org." >&2;}
+ac_tool_warned=yes ;;
+esac
+ STRIP=$ac_ct_STRIP
+ fi
+else
+ STRIP="$ac_cv_prog_STRIP"
+fi
+
+
+old_CC="$CC"
+old_CFLAGS="$CFLAGS"
+
+# Set sane defaults for various variables
+test -z "$AR" && AR=ar
+test -z "$AR_FLAGS" && AR_FLAGS=cru
+test -z "$AS" && AS=as
+test -z "$CC" && CC=cc
+test -z "$LTCC" && LTCC=$CC
+test -z "$DLLTOOL" && DLLTOOL=dlltool
+test -z "$LD" && LD=ld
+test -z "$LN_S" && LN_S="ln -s"
+test -z "$MAGIC_CMD" && MAGIC_CMD=file
+test -z "$NM" && NM=nm
+test -z "$SED" && SED=sed
+test -z "$OBJDUMP" && OBJDUMP=objdump
+test -z "$RANLIB" && RANLIB=:
+test -z "$STRIP" && STRIP=:
+test -z "$ac_objext" && ac_objext=o
+
+# Determine commands to create old-style static archives.
+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
+old_postinstall_cmds='chmod 644 $oldlib'
+old_postuninstall_cmds=
+
+if test -n "$RANLIB"; then
+ case $host_os in
+ openbsd*)
+ old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
+ ;;
+ *)
+ old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
+ ;;
+ esac
+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
+fi
+
+# Only perform the check for file, if the check method requires it
+case $deplibs_check_method in
+file_magic*)
+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then
+ { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
+echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $MAGIC_CMD in
+[\\/*] | ?:[\\/]*)
+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD="$MAGIC_CMD"
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
+ for ac_dir in $ac_dummy; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/${ac_tool_prefix}file; then
+ lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool at gnu.org
+
+EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS="$lt_save_ifs"
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
+ ;;
+esac
+fi
+
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+if test -n "$MAGIC_CMD"; then
+ { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
+echo "${ECHO_T}$MAGIC_CMD" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+if test -z "$lt_cv_path_MAGIC_CMD"; then
+ if test -n "$ac_tool_prefix"; then
+ { echo "$as_me:$LINENO: checking for file" >&5
+echo $ECHO_N "checking for file... $ECHO_C" >&6; }
+if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $MAGIC_CMD in
+[\\/*] | ?:[\\/]*)
+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
+ ;;
+*)
+ lt_save_MAGIC_CMD="$MAGIC_CMD"
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
+ for ac_dir in $ac_dummy; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/file; then
+ lt_cv_path_MAGIC_CMD="$ac_dir/file"
+ if test -n "$file_magic_test_file"; then
+ case $deplibs_check_method in
+ "file_magic "*)
+ file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
+ $EGREP "$file_magic_regex" > /dev/null; then
+ :
+ else
+ cat <<EOF 1>&2
+
+*** Warning: the command libtool uses to detect shared libraries,
+*** $file_magic_cmd, produces output that libtool cannot recognize.
+*** The result is that libtool may fail to recognize shared libraries
+*** as such. This will affect the creation of libtool libraries that
+*** depend on shared libraries, but programs linked with such libtool
+*** libraries will work regardless of this problem. Nevertheless, you
+*** may want to report the problem to your system manager and/or to
+*** bug-libtool at gnu.org
+
+EOF
+ fi ;;
+ esac
+ fi
+ break
+ fi
+ done
+ IFS="$lt_save_ifs"
+ MAGIC_CMD="$lt_save_MAGIC_CMD"
+ ;;
+esac
+fi
+
+MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
+if test -n "$MAGIC_CMD"; then
+ { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
+echo "${ECHO_T}$MAGIC_CMD" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+ else
+ MAGIC_CMD=:
+ fi
+fi
+
+ fi
+ ;;
+esac
+
+enable_dlopen=yes
+enable_win32_dll=no
+
+# Check whether --enable-libtool-lock was given.
+if test "${enable_libtool_lock+set}" = set; then
+ enableval=$enable_libtool_lock;
+fi
+
+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
+
+
+# Check whether --with-pic was given.
+if test "${with_pic+set}" = set; then
+ withval=$with_pic; pic_mode="$withval"
+else
+ pic_mode=default
+fi
+
+test -z "$pic_mode" && pic_mode=default
+
+# Use C for the default configuration in the libtool script
+tagname=
+lt_save_CC="$CC"
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+# Source file extension for C test sources.
+ac_ext=c
+
+# Object file extension for compiled C test sources.
+objext=o
+objext=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;\n"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(){return(0);}\n'
+
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+
+#
+# Check for any special shared library compilation flags.
+#
+lt_prog_cc_shlib=
+if test "$GCC" = no; then
+ case $host_os in
+ sco3.2v5*)
+ lt_prog_cc_shlib='-belf'
+ ;;
+ esac
+fi
+if test -n "$lt_prog_cc_shlib"; then
+ { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
+echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
+ if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
+ else
+ { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
+echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
+ lt_cv_prog_cc_can_build_shared=no
+ fi
+fi
+
+
+#
+# Check to make sure the static flag actually works.
+#
+{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
+echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; }
+if test "${lt_prog_compiler_static_works+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ lt_prog_compiler_static_works=no
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
+ printf "$lt_simple_link_test_code" > conftest.$ac_ext
+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test -s conftest.err; then
+ # Append any errors to the config.log.
+ cat conftest.err 1>&5
+ else
+ lt_prog_compiler_static_works=yes
+ fi
+ fi
+ $rm conftest*
+ LDFLAGS="$save_LDFLAGS"
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
+echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
+
+if test x"$lt_prog_compiler_static_works" = xyes; then
+ :
+else
+ lt_prog_compiler_static=
+fi
+
+
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+
+lt_prog_compiler_no_builtin_flag=
+
+if test "$GCC" = yes; then
+ lt_prog_compiler_no_builtin_flag=' -fno-builtin'
+
+
+{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
+echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
+if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ lt_cv_prog_compiler_rtti_exceptions=no
+ ac_outfile=conftest.$ac_objext
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="-fno-rtti -fno-exceptions"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:10214: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:10218: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test ! -s conftest.err; then
+ lt_cv_prog_compiler_rtti_exceptions=yes
+ fi
+ fi
+ $rm conftest*
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
+echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
+
+if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
+ lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
+else
+ :
+fi
+
+fi
+
+lt_prog_compiler_wl=
+lt_prog_compiler_pic=
+lt_prog_compiler_static=
+
+{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
+
+ if test "$GCC" = yes; then
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_static='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static='-Bstatic'
+ fi
+ ;;
+
+ amigaos*)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the `-m68020' flag to GCC prevents building anything better,
+ # like `-m68040'.
+ lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
+ ;;
+
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+
+ mingw* | pw32* | os2*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic='-DDLL_EXPORT'
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic='-fno-common'
+ ;;
+
+ msdosdjgpp*)
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
+ # on systems that don't support them.
+ lt_prog_compiler_can_build_shared=no
+ enable_shared=no
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic=-Kconform_pic
+ fi
+ ;;
+
+ hpux*)
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ esac
+ ;;
+
+ *)
+ lt_prog_compiler_pic='-fPIC'
+ ;;
+ esac
+ else
+ # PORTME Check for flag to pass linker flags through the system compiler.
+ case $host_os in
+ aix*)
+ lt_prog_compiler_wl='-Wl,'
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static='-Bstatic'
+ else
+ lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+
+ mingw* | pw32* | os2*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic='-DDLL_EXPORT'
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ lt_prog_compiler_wl='-Wl,'
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic='+Z'
+ ;;
+ esac
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
+ lt_prog_compiler_static='${wl}-a ${wl}archive'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ lt_prog_compiler_wl='-Wl,'
+ # PIC (with -KPIC) is the default.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ newsos6)
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ linux*)
+ case $CC in
+ icc* | ecc*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-static'
+ ;;
+ ccc*)
+ lt_prog_compiler_wl='-Wl,'
+ # All Alpha code is PIC.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+ esac
+ ;;
+
+ osf3* | osf4* | osf5*)
+ lt_prog_compiler_wl='-Wl,'
+ # All OSF/1 code is PIC.
+ lt_prog_compiler_static='-non_shared'
+ ;;
+
+ sco3.2v5*)
+ lt_prog_compiler_pic='-Kpic'
+ lt_prog_compiler_static='-dn'
+ ;;
+
+ solaris*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ sunos4*)
+ lt_prog_compiler_wl='-Qoption ld '
+ lt_prog_compiler_pic='-PIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ lt_prog_compiler_wl='-Wl,'
+ lt_prog_compiler_pic='-KPIC'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec ;then
+ lt_prog_compiler_pic='-Kconform_pic'
+ lt_prog_compiler_static='-Bstatic'
+ fi
+ ;;
+
+ uts4*)
+ lt_prog_compiler_pic='-pic'
+ lt_prog_compiler_static='-Bstatic'
+ ;;
+
+ *)
+ lt_prog_compiler_can_build_shared=no
+ ;;
+ esac
+ fi
+
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
+echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$lt_prog_compiler_pic"; then
+
+{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
+if test "${lt_prog_compiler_pic_works+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ lt_prog_compiler_pic_works=no
+ ac_outfile=conftest.$ac_objext
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:10447: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:10451: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test ! -s conftest.err; then
+ lt_prog_compiler_pic_works=yes
+ fi
+ fi
+ $rm conftest*
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
+echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
+
+if test x"$lt_prog_compiler_pic_works" = xyes; then
+ case $lt_prog_compiler_pic in
+ "" | " "*) ;;
+ *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
+ esac
+else
+ lt_prog_compiler_pic=
+ lt_prog_compiler_can_build_shared=no
+fi
+
+fi
+case "$host_os" in
+ # For platforms which do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ lt_prog_compiler_pic=
+ ;;
+ *)
+ lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
+ ;;
+esac
+
+{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
+if test "${lt_cv_prog_compiler_c_o+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ lt_cv_prog_compiler_c_o=no
+ $rm -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
+ # that will create temporary files in the current directory regardless of
+ # the output directory. Thus, making CWD read-only will cause this test
+ # to fail, enabling locking or at least warning the user not to do parallel
+ # builds.
+ chmod -w .
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:10514: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:10518: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test ! -s out/conftest.err; then
+ lt_cv_prog_compiler_c_o=yes
+ fi
+ fi
+ chmod u+w .
+ $rm conftest* out/*
+ rmdir out
+ cd ..
+ rmdir conftest
+ $rm conftest*
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
+
+
+hard_links="nottested"
+if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
+ # do not overwrite the value of need_locks provided by the user
+ { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
+ hard_links=yes
+ $rm conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ { echo "$as_me:$LINENO: result: $hard_links" >&5
+echo "${ECHO_T}$hard_links" >&6; }
+ if test "$hard_links" = no; then
+ { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
+echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
+
+ runpath_var=
+ allow_undefined_flag=
+ enable_shared_with_static_runtimes=no
+ archive_cmds=
+ archive_expsym_cmds=
+ old_archive_From_new_cmds=
+ old_archive_from_expsyms_cmds=
+ export_dynamic_flag_spec=
+ whole_archive_flag_spec=
+ thread_safe_flag_spec=
+ hardcode_libdir_flag_spec=
+ hardcode_libdir_flag_spec_ld=
+ hardcode_libdir_separator=
+ hardcode_direct=no
+ hardcode_minus_L=no
+ hardcode_shlibpath_var=unsupported
+ link_all_deplibs=unknown
+ hardcode_automatic=no
+ module_cmds=
+ module_expsym_cmds=
+ always_export_symbols=no
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ # include_expsyms should be a list of space-separated symbols to be *always*
+ # included in the symbol list
+ include_expsyms=
+ # exclude_expsyms can be an extended regexp of symbols to exclude
+ # it will be wrapped by ` (' and `)$', so one must not match beginning or
+ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
+ # as well as any symbol that contains `d'.
+ exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+ # platforms (ab)use it in PIC code, but their linkers get confused if
+ # the symbol is explicitly referenced. Since portable code cannot
+ # rely on this symbol name, it's probably fine to never include it in
+ # preloaded symbol tables.
+ extract_expsyms_cmds=
+
+ case $host_os in
+ cygwin* | mingw* | pw32*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test "$GCC" != yes; then
+ with_gnu_ld=no
+ fi
+ ;;
+ openbsd*)
+ with_gnu_ld=no
+ ;;
+ esac
+
+ ld_shlibs=yes
+ if test "$with_gnu_ld" = yes; then
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ wlarc='${wl}'
+
+ # See if GNU ld supports shared libraries.
+ case $host_os in
+ aix3* | aix4* | aix5*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test "$host_cpu" != ia64; then
+ ld_shlibs=no
+ cat <<EOF 1>&2
+
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
+*** to be unable to reliably create shared libraries on AIX.
+*** Therefore, libtool is disabling shared libraries support. If you
+*** really care for shared libraries, you may want to modify your PATH
+*** so that a non-GNU linker is found, and then restart.
+
+EOF
+ fi
+ ;;
+
+ amigaos*)
+ archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+
+ # Samuel A. Falvo II <kc5tja at dolphin.openprojects.net> reports
+ # that the semantics of dynamic libraries on AmigaOS, at least up
+ # to version 4, is to share data among multiple programs linked
+ # with the same dynamic library. Since this doesn't match the
+ # behavior of shared libraries on other platforms, we can't use
+ # them.
+ ld_shlibs=no
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ allow_undefined_flag=unsupported
+ # Joseph Beckenbach <jrb3 at best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ archive_cmds='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32*)
+ # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
+ # as there is no search path for DLLs.
+ hardcode_libdir_flag_spec='-L$libdir'
+ allow_undefined_flag=no
+ always_export_symbols=no
+ enable_shared_with_static_runtimes=yes
+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
+
+ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
+ archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ # If the export-symbols file already is a .def file (1st line
+ # is EXPORTS), use it as is; otherwise, prepend...
+ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+ archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+ solaris* | sysv5*)
+ if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
+ ld_shlibs=no
+ cat <<EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** create shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+EOF
+ elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ sunos4*)
+ archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ wlarc=
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ *)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+ esac
+
+ if test "$ld_shlibs" = yes; then
+ runpath_var=LD_RUN_PATH
+ hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
+ export_dynamic_flag_spec='${wl}--export-dynamic'
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
+ whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ else
+ whole_archive_flag_spec=
+ fi
+ fi
+ else
+ # PORTME fill in a description of your system's linker (not GNU ld)
+ case $host_os in
+ aix3*)
+ allow_undefined_flag=unsupported
+ always_export_symbols=yes
+ archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ hardcode_minus_L=yes
+ if test "$GCC" = yes && test -z "$link_static_flag"; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ hardcode_direct=unsupported
+ fi
+ ;;
+
+ aix4* | aix5*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
+ if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
+ export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
+ else
+ export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
+ fi
+
+ # KDE requires run time linking. Make it the default.
+ aix_use_runtimelinking=yes
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ archive_cmds=''
+ hardcode_direct=yes
+ hardcode_libdir_separator=':'
+ link_all_deplibs=yes
+
+ if test "$GCC" = yes; then
+ case $host_os in aix4.012|aix4.012.*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" && \
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ hardcode_direct=yes
+ else
+ # We have old collect2
+ hardcode_direct=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L=yes
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_libdir_separator=
+ fi
+ esac
+ shared_flag='-shared'
+ else
+ # not using gcc
+ if test "$host_cpu" = ia64; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='-qmkshrobj ${wl}-G'
+ else
+ shared_flag='-qmkshrobj'
+ fi
+ fi
+ fi
+
+ # Let the compiler handle the export list.
+ always_export_symbols=no
+ if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ allow_undefined_flag='-berok'
+ # Determine the default libpath from the value encoded in an empty executable.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`
+# Check for a 64-bit object if we didn't find anything.
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`; fi
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+ archive_cmds="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
+ archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+ else
+ if test "$host_cpu" = ia64; then
+ hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag="-z nodefs"
+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an empty executable.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`
+# Check for a 64-bit object if we didn't find anything.
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`; fi
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ no_undefined_flag=' ${wl}-bernotok'
+ allow_undefined_flag=' ${wl}-berok'
+ # -bexpall does not export symbols beginning with underscore (_)
+ always_export_symbols=yes
+ # Exported symbols can be pulled into shared objects from archives
+ whole_archive_flag_spec=' '
+ archive_cmds_need_lc=yes
+ # This is similar to how AIX traditionally builds it's shared libraries.
+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ fi
+ fi
+ ;;
+
+ amigaos*)
+ archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ # see comment about different semantics on the GNU ld section
+ ld_shlibs=no
+ ;;
+
+ bsdi4*)
+ export_dynamic_flag_spec=-rdynamic
+ ;;
+
+ cygwin* | mingw* | pw32*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ hardcode_libdir_flag_spec=' '
+ allow_undefined_flag=no
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext=".dll"
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
+ # The linker will automatically build a .lib file if we build a DLL.
+ old_archive_From_new_cmds='true'
+ # FIXME: Should let the user specify the lib program.
+ old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
+ fix_srcfile_path='`cygpath -w "$srcfile"`'
+ enable_shared_with_static_runtimes=yes
+ ;;
+
+ darwin* | rhapsody*)
+ if test "$GXX" = yes ; then
+ archive_cmds_need_lc=no
+ case "$host_os" in
+ rhapsody* | darwin1.[012])
+ allow_undefined_flag='-Wl,-undefined -Wl,suppress'
+ ;;
+ *) # Darwin 1.3 on
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
+ allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ else
+ case ${MACOSX_DEPLOYMENT_TARGET} in
+ 10.012)
+ allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ ;;
+ 10.*)
+ allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ lt_int_apple_cc_single_mod=no
+ output_verbose_link_cmd='echo'
+ if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
+ lt_int_apple_cc_single_mod=yes
+ fi
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+ archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
+ else
+ archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
+ fi
+ module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+ archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ else
+ archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ fi
+ module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ hardcode_direct=no
+ hardcode_automatic=yes
+ hardcode_shlibpath_var=unsupported
+ whole_archive_flag_spec='-all_load $convenience'
+ link_all_deplibs=yes
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ dgux*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_shlibpath_var=no
+ ;;
+
+ freebsd1*)
+ ld_shlibs=no
+ ;;
+
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+ # support. Future versions do this automatically, but an explicit c++rt0.o
+ # does not break anything, and helps significantly (at the cost of a little
+ # extra space).
+ freebsd2.2*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+ freebsd2*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | kfreebsd*-gnu)
+ archive_cmds='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ hpux9*)
+ if test "$GCC" = yes; then
+ archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ fi
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ export_dynamic_flag_spec='${wl}-E'
+ ;;
+
+ hpux10* | hpux11*)
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ ;;
+ *)
+ archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
+ ;;
+ esac
+ else
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
+ ;;
+ *)
+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ ;;
+ esac
+ fi
+ if test "$with_gnu_ld" = no; then
+ case "$host_cpu" in
+ hppa*64*)
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+ hardcode_libdir_flag_spec_ld='+b $libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=no
+ hardcode_shlibpath_var=no
+ ;;
+ ia64*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_direct=no
+ hardcode_shlibpath_var=no
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ ;;
+ *)
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator=:
+ hardcode_direct=yes
+ export_dynamic_flag_spec='${wl}-E'
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L=yes
+ ;;
+ esac
+ fi
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ if test "$GCC" = yes; then
+ archive_cmds='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ hardcode_libdir_flag_spec_ld='-rpath $libdir'
+ fi
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator=:
+ link_all_deplibs=yes
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
+ else
+ archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
+ fi
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ newsos6)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator=:
+ hardcode_shlibpath_var=no
+ ;;
+
+ openbsd*)
+ hardcode_direct=yes
+ hardcode_shlibpath_var=no
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ export_dynamic_flag_spec='${wl}-E'
+ else
+ case $host_os in
+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ ;;
+ *)
+ archive_cmds='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ ;;
+ esac
+ fi
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_minus_L=yes
+ allow_undefined_flag=unsupported
+ archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
+ old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+ ;;
+
+ osf3*)
+ if test "$GCC" = yes; then
+ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+ archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+ archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ fi
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator=:
+ ;;
+
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test "$GCC" = yes; then
+ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+ archive_cmds='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
+ else
+ allow_undefined_flag=' -expect_unresolved \*'
+ archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
+ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
+
+ # Both c and cxx compiler support -rpath directly
+ hardcode_libdir_flag_spec='-rpath $libdir'
+ fi
+ hardcode_libdir_separator=:
+ ;;
+
+ sco3.2v5*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var=no
+ export_dynamic_flag_spec='${wl}-Bexport'
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ ;;
+
+ solaris*)
+ no_undefined_flag=' -z text'
+ if test "$GCC" = yes; then
+ archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
+ else
+ archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+ fi
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_shlibpath_var=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *) # Supported since Solaris 2.6 (maybe 2.5.1?)
+ whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
+ esac
+ link_all_deplibs=yes
+ ;;
+
+ sunos4*)
+ if test "x$host_vendor" = xsequent; then
+ # Use $CC to link under sequent, because it throws in some extra .o
+ # files that make .init and .fini sections work.
+ archive_cmds='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
+ else
+ archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+ hardcode_shlibpath_var=no
+ ;;
+
+ sysv4)
+ case $host_vendor in
+ sni)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes # is this really true???
+ ;;
+ siemens)
+ ## LD is ld it makes a PLAMLIB
+ ## CC just makes a GrossModule.
+ archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ reload_cmds='$CC -r -o $output$reload_objs'
+ hardcode_direct=no
+ ;;
+ motorola)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ runpath_var='LD_RUN_PATH'
+ hardcode_shlibpath_var=no
+ ;;
+
+ sysv4.3*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var=no
+ export_dynamic_flag_spec='-Bexport'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var=no
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ ld_shlibs=yes
+ fi
+ ;;
+
+ sysv4.2uw2*)
+ archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes
+ hardcode_minus_L=no
+ hardcode_shlibpath_var=no
+ hardcode_runpath_var=yes
+ runpath_var=LD_RUN_PATH
+ ;;
+
+ sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
+ no_undefined_flag='${wl}-z ${wl}text'
+ if test "$GCC" = yes; then
+ archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ else
+ archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ fi
+ runpath_var='LD_RUN_PATH'
+ hardcode_shlibpath_var=no
+ ;;
+
+ sysv5*)
+ no_undefined_flag=' -z text'
+ # $CC -shared without GNU ld will not create a library from C++
+ # object files and a static libstdc++, better avoid it by now
+ archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+ hardcode_libdir_flag_spec=
+ hardcode_shlibpath_var=no
+ runpath_var='LD_RUN_PATH'
+ ;;
+
+ uts4*)
+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-L$libdir'
+ hardcode_shlibpath_var=no
+ ;;
+
+ *)
+ ld_shlibs=no
+ ;;
+ esac
+ fi
+
+{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
+echo "${ECHO_T}$ld_shlibs" >&6; }
+test "$ld_shlibs" = no && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test "$GCC" = yes; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$archive_cmds_need_lc" in
+x|xyes)
+ # Assume -lc should be added
+ archive_cmds_need_lc=yes
+
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
+ case $archive_cmds in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
+ $rm conftest*
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$lt_prog_compiler_wl
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$allow_undefined_flag
+ allow_undefined_flag=
+ if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
+ (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+ then
+ archive_cmds_need_lc=no
+ else
+ archive_cmds_need_lc=yes
+ fi
+ allow_undefined_flag=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $rm conftest*
+ { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
+echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext=".so"
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+
+aix4* | aix5*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test "$host_cpu" = ia64; then
+ # AIX 5 supports IA64
+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line `#! .'. This would cause the generated library to
+ # depend on `.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[01] | aix4.[01].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ if test "$aix_use_runtimelinking" = yes; then
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ else
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='${libname}${release}.a $libname.a'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ fi
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+ ;;
+
+beos*)
+ library_names_spec='${libname}${shared_ext}'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi4*)
+ version_type=linux
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32*)
+ version_type=windows
+ shrext=".dll"
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$host_os in
+ yes,cygwin* | yes,mingw* | yes,pw32*)
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $rm \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
+ ;;
+ mingw*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
+ if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
+ # It is most probably a Windows format PATH printed by
+ # mingw gcc, but we are running on Cygwin. Gcc prints its search
+ # path with ; separators, and with drive letters. We can handle the
+ # drive letters (cygwin fileutils understands them), so leave them,
+ # especially as we might pass files found there to a mingw objdump,
+ # which wouldn't understand a cygwinified path. Ahh.
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
+ ;;
+ esac
+ ;;
+
+ *)
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
+ soname_spec='${libname}${release}${major}$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext='$(test .$module = .yes && echo .so || echo .dylib)'
+ # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
+ if test "$GCC" = yes; then
+ sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
+ else
+ sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
+ fi
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd1*)
+ dynamic_linker=no
+ ;;
+
+kfreebsd*-gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='GNU ld.so'
+ ;;
+
+freebsd*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.01* | freebsdelf3.01*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ *) # from 3.2 on
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case "$host_cpu" in
+ ia64*)
+ shrext='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ if test "X$HPUX_IA64_MODE" = X32; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
+ postinstall_cmds='chmod 555 $lib'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test "$lt_cv_prog_gnu_ld" = yes; then
+ version_type=linux
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+# This must be Linux ELF.
+linux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ libsuff=
+ if test "x$LINUX_64_MODE" = x64; then
+ # Some platforms are per default 64-bit, so there's no /lib64
+ if test -d /lib64 -a ! -h /lib64; then
+ libsuff=64
+ fi
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+nto-qnx*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+openbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ case $host_os in
+ openbsd2.[89] | openbsd2.[89].*)
+ shlibpath_overrides_runpath=no
+ ;;
+ *)
+ shlibpath_overrides_runpath=yes
+ ;;
+ esac
+ else
+ shlibpath_overrides_runpath=yes
+ fi
+ ;;
+
+os2*)
+ libname_spec='$name'
+ shrext=".dll"
+ need_lib_prefix=no
+ library_names_spec='$libname${shared_ext} $libname.a'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=LIBPATH
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+ ;;
+
+sco3.2v5*)
+ version_type=osf
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+solaris*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test "$with_gnu_ld" = yes; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec ;then
+ version_type=linux
+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
+ soname_spec='$libname${shared_ext}.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+uts4*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
+echo "${ECHO_T}$dynamic_linker" >&6; }
+test "$dynamic_linker" = no && can_build_shared=no
+
+{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
+hardcode_action=
+if test -n "$hardcode_libdir_flag_spec" || \
+ test -n "$runpath_var " || \
+ test "X$hardcode_automatic"="Xyes" ; then
+
+ # We can hardcode non-existant directories.
+ if test "$hardcode_direct" != no &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
+ test "$hardcode_minus_L" != no; then
+ # Linking always hardcodes the temporary library directory.
+ hardcode_action=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ hardcode_action=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ hardcode_action=unsupported
+fi
+{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
+echo "${ECHO_T}$hardcode_action" >&6; }
+
+if test "$hardcode_action" = relink; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test "$shlibpath_overrides_runpath" = yes ||
+ test "$enable_shared" = no; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+
+striplib=
+old_striplib=
+{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
+echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
+if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP" ; then
+ striplib="$STRIP -x"
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+ ;;
+ *)
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ ;;
+ esac
+fi
+
+if test "x$enable_dlopen" != xyes; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen="load_add_on"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32*)
+ lt_cv_dlopen="LoadLibrary"
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen="dlopen"
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dl_dlopen=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dl_dlopen=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
+if test $ac_cv_lib_dl_dlopen = yes; then
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+else
+
+ lt_cv_dlopen="dyld"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+
+fi
+
+ ;;
+
+ *)
+ { echo "$as_me:$LINENO: checking for shl_load" >&5
+echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
+if test "${ac_cv_func_shl_load+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define shl_load innocuous_shl_load
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char shl_load (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef shl_load
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shl_load ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_shl_load || defined __stub___shl_load
+choke me
+#endif
+
+int
+main ()
+{
+return shl_load ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_func_shl_load=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_func_shl_load=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
+echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
+if test $ac_cv_func_shl_load = yes; then
+ lt_cv_dlopen="shl_load"
+else
+ { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
+echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dld_shl_load+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shl_load ();
+int
+main ()
+{
+return shl_load ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dld_shl_load=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dld_shl_load=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
+echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
+if test $ac_cv_lib_dld_shl_load = yes; then
+ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
+else
+ { echo "$as_me:$LINENO: checking for dlopen" >&5
+echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
+if test "${ac_cv_func_dlopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define dlopen innocuous_dlopen
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char dlopen (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef dlopen
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_dlopen || defined __stub___dlopen
+choke me
+#endif
+
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_func_dlopen=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_func_dlopen=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
+echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
+if test $ac_cv_func_dlopen = yes; then
+ lt_cv_dlopen="dlopen"
+else
+ { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dl_dlopen=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dl_dlopen=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
+if test $ac_cv_lib_dl_dlopen = yes; then
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+else
+ { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
+echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
+if test "${ac_cv_lib_svld_dlopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsvld $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_svld_dlopen=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_svld_dlopen=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
+echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
+if test $ac_cv_lib_svld_dlopen = yes; then
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
+else
+ { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
+echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dld_dld_link+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dld_link ();
+int
+main ()
+{
+return dld_link ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dld_dld_link=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dld_dld_link=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
+echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
+if test $ac_cv_lib_dld_dld_link = yes; then
+ lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+ ;;
+ esac
+
+ if test "x$lt_cv_dlopen" != xno; then
+ enable_dlopen=yes
+ else
+ enable_dlopen=no
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS="$CPPFLAGS"
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS="$LDFLAGS"
+ eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS="$LIBS"
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
+echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
+if test "${lt_cv_dlopen_self+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test "$cross_compiling" = yes; then :
+ lt_cv_dlopen_self=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<EOF
+#line 12600 "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+#ifdef __cplusplus
+extern "C" void exit (int);
+#endif
+
+void fnord() { int i=42;}
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ /* dlclose (self); */
+ }
+
+ exit (status);
+}
+EOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
+ (./conftest; exit; ) 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
+echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
+
+ if test "x$lt_cv_dlopen_self" = xyes; then
+ LDFLAGS="$LDFLAGS $link_static_flag"
+ { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
+echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
+if test "${lt_cv_dlopen_self_static+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test "$cross_compiling" = yes; then :
+ lt_cv_dlopen_self_static=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<EOF
+#line 12698 "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+#ifdef __cplusplus
+extern "C" void exit (int);
+#endif
+
+void fnord() { int i=42;}
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ /* dlclose (self); */
+ }
+
+ exit (status);
+}
+EOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
+ (./conftest; exit; ) 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self_static=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
+echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
+ fi
+
+ CPPFLAGS="$save_CPPFLAGS"
+ LDFLAGS="$save_LDFLAGS"
+ LIBS="$save_LIBS"
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+
+
+# Report which librarie types wil actually be built
+{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
+echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
+echo "${ECHO_T}$can_build_shared" >&6; }
+
+{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
+echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
+test "$can_build_shared" = "no" && enable_shared=no
+
+# On AIX, shared libraries and static libraries use the same namespace, and
+# are all built from PIC.
+case "$host_os" in
+aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+
+aix4*)
+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
+ test "$enable_shared" = yes && enable_static=no
+ fi
+ ;;
+ darwin* | rhapsody*)
+ if test "$GCC" = yes; then
+ archive_cmds_need_lc=no
+ case "$host_os" in
+ rhapsody* | darwin1.[012])
+ allow_undefined_flag='-Wl,-undefined -Wl,suppress'
+ ;;
+ *) # Darwin 1.3 on
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
+ allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ else
+ case ${MACOSX_DEPLOYMENT_TARGET} in
+ 10.012)
+ allow_undefined_flag='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ ;;
+ 10.*)
+ allow_undefined_flag='-Wl,-undefined -Wl,dynamic_lookup'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ output_verbose_link_cmd='echo'
+ archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
+ module_cmds='$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
+ archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ hardcode_direct=no
+ hardcode_automatic=yes
+ hardcode_shlibpath_var=unsupported
+ whole_archive_flag_spec='-all_load $convenience'
+ link_all_deplibs=yes
+ else
+ ld_shlibs=no
+ fi
+ ;;
+esac
+{ echo "$as_me:$LINENO: result: $enable_shared" >&5
+echo "${ECHO_T}$enable_shared" >&6; }
+
+{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
+echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
+# Make sure either enable_shared or enable_static is yes.
+test "$enable_shared" = yes || enable_static=yes
+{ echo "$as_me:$LINENO: result: $enable_static" >&5
+echo "${ECHO_T}$enable_static" >&6; }
+
+# The else clause should only fire when bootstrapping the
+# libtool distribution, otherwise you forgot to ship ltmain.sh
+# with your package, and you will get complaints that there are
+# no rules to generate ltmain.sh.
+if test -f "$ltmain"; then
+ # See if we are running on zsh, and set the options which allow our commands through
+ # without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}" ; then
+ setopt NO_GLOB_SUBST
+ fi
+ # Now quote all the things that may contain metacharacters while being
+ # careful not to overquote the AC_SUBSTed values. We take copies of the
+ # variables and quote the copies for generation of the libtool script.
+ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
+ libname_spec library_names_spec soname_spec extract_expsyms_cmds \
+ old_striplib striplib file_magic_cmd finish_cmds finish_eval \
+ deplibs_check_method reload_flag reload_cmds need_locks \
+ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+ lt_cv_sys_global_symbol_to_c_name_address \
+ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+ old_postinstall_cmds old_postuninstall_cmds \
+ compiler \
+ CC \
+ LD \
+ lt_prog_compiler_wl \
+ lt_prog_compiler_pic \
+ lt_prog_compiler_static \
+ lt_prog_compiler_no_builtin_flag \
+ export_dynamic_flag_spec \
+ thread_safe_flag_spec \
+ whole_archive_flag_spec \
+ enable_shared_with_static_runtimes \
+ old_archive_cmds \
+ old_archive_from_new_cmds \
+ predep_objects \
+ postdep_objects \
+ predeps \
+ postdeps \
+ compiler_lib_search_path \
+ archive_cmds \
+ archive_expsym_cmds \
+ postinstall_cmds \
+ postuninstall_cmds \
+ old_archive_from_expsyms_cmds \
+ allow_undefined_flag \
+ no_undefined_flag \
+ export_symbols_cmds \
+ hardcode_libdir_flag_spec \
+ hardcode_libdir_flag_spec_ld \
+ hardcode_libdir_separator \
+ hardcode_automatic \
+ module_cmds \
+ module_expsym_cmds \
+ lt_cv_prog_compiler_c_o \
+ exclude_expsyms \
+ include_expsyms; do
+
+ case $var in
+ old_archive_cmds | \
+ old_archive_from_new_cmds | \
+ archive_cmds | \
+ archive_expsym_cmds | \
+ module_cmds | \
+ module_expsym_cmds | \
+ old_archive_from_expsyms_cmds | \
+ export_symbols_cmds | \
+ extract_expsyms_cmds | reload_cmds | finish_cmds | \
+ postinstall_cmds | postuninstall_cmds | \
+ old_postinstall_cmds | old_postuninstall_cmds | \
+ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
+ # Double-quote double-evaled strings.
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
+ ;;
+ *)
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
+ ;;
+ esac
+ done
+
+ case $lt_echo in
+ *'\$0 --fallback-echo"')
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
+ ;;
+ esac
+
+cfgfile="${ofile}T"
+ trap "$rm \"$cfgfile\"; exit 1" 1 2 15
+ $rm -f "$cfgfile"
+ { echo "$as_me:$LINENO: creating $ofile" >&5
+echo "$as_me: creating $ofile" >&6;}
+
+ cat <<__EOF__ >> "$cfgfile"
+#! $SHELL
+
+# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
+# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
+# NOTE: Changes made to this file will be lost: look at ltmain.sh.
+#
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
+# Free Software Foundation, Inc.
+#
+# This file is part of GNU Libtool:
+# Originally by Gordon Matzigkeit <gord at gnu.ai.mit.edu>, 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 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# 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.
+
+# A sed program that does not truncate output.
+SED=$lt_SED
+
+# Sed that helps us avoid accidentally triggering echo(1) options like -n.
+Xsed="$SED -e s/^X//"
+
+# The HP-UX ksh and POSIX shell print the target directory to stdout
+# if CDPATH is set.
+if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+
+# The names of the tagged configurations supported by this script.
+available_tags=
+
+# ### BEGIN LIBTOOL CONFIG
+
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# Whether or not to build shared libraries.
+build_libtool_libs=$enable_shared
+
+# Whether or not to build static libraries.
+build_old_libs=$enable_static
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc
+
+# Whether or not to disallow shared libs when runtime libs are static
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
+
+# Whether or not to optimize for fast installation.
+fast_install=$enable_fast_install
+
+# The host system.
+host_alias=$host_alias
+host=$host
+
+# An echo program that does not interpret backslashes.
+echo=$lt_echo
+
+# The archiver.
+AR=$lt_AR
+AR_FLAGS=$lt_AR_FLAGS
+
+# A C compiler.
+LTCC=$lt_LTCC
+
+# A language-specific compiler.
+CC=$lt_compiler
+
+# Is the compiler the GNU C compiler?
+with_gcc=$GCC
+
+# An ERE matcher.
+EGREP=$lt_EGREP
+
+# The linker used to build libraries.
+LD=$lt_LD
+
+# Whether we need hard or soft links.
+LN_S=$lt_LN_S
+
+# A BSD-compatible nm program.
+NM=$lt_NM
+
+# A symbol stripping program
+STRIP=$STRIP
+
+# Used to examine libraries when file_magic_cmd begins "file"
+MAGIC_CMD=$MAGIC_CMD
+
+# Used on cygwin: DLL creation program.
+DLLTOOL="$DLLTOOL"
+
+# Used on cygwin: object dumper.
+OBJDUMP="$OBJDUMP"
+
+# Used on cygwin: assembler.
+AS="$AS"
+
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl
+
+# Object file suffix (normally "o").
+objext="$ac_objext"
+
+# Old archive suffix (normally "a").
+libext="$libext"
+
+# Shared library suffix (normally ".so").
+shrext='$shrext'
+
+# Executable file suffix (normally "").
+exeext="$exeext"
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic
+pic_mode=$pic_mode
+
+# What is the maximum length of a command?
+max_cmd_len=$lt_cv_sys_max_cmd_len
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o
+
+# Must we lock files when doing compilation ?
+need_locks=$lt_need_locks
+
+# Do we need the lib prefix for modules?
+need_lib_prefix=$need_lib_prefix
+
+# Do we need a version for libraries?
+need_version=$need_version
+
+# Whether dlopen is supported.
+dlopen_support=$enable_dlopen
+
+# Whether dlopen of programs is supported.
+dlopen_self=$enable_dlopen_self
+
+# Whether dlopen of statically linked programs is supported.
+dlopen_self_static=$enable_dlopen_self_static
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec
+
+# Compiler flag to generate thread-safe objects.
+thread_safe_flag_spec=$lt_thread_safe_flag_spec
+
+# Library versioning type.
+version_type=$version_type
+
+# Format of library name prefix.
+libname_spec=$lt_libname_spec
+
+# List of archive names. First name is the real one, the rest are links.
+# The last name is the one that the linker finds with -lNAME.
+library_names_spec=$lt_library_names_spec
+
+# The coded name of the library, if different from the real name.
+soname_spec=$lt_soname_spec
+
+# Commands used to build and install an old-style archive.
+RANLIB=$lt_RANLIB
+old_archive_cmds=$lt_old_archive_cmds
+old_postinstall_cmds=$lt_old_postinstall_cmds
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
+
+# Commands used to build and install a shared archive.
+archive_cmds=$lt_archive_cmds
+archive_expsym_cmds=$lt_archive_expsym_cmds
+postinstall_cmds=$lt_postinstall_cmds
+postuninstall_cmds=$lt_postuninstall_cmds
+
+# Commands used to build a loadable module (assumed same as above if empty)
+module_cmds=$lt_module_cmds
+module_expsym_cmds=$lt_module_expsym_cmds
+
+# Commands to strip libraries.
+old_striplib=$lt_old_striplib
+striplib=$lt_striplib
+
+# Dependencies to place before the objects being linked to create a
+# shared library.
+predep_objects=$lt_predep_objects
+
+# Dependencies to place after the objects being linked to create a
+# shared library.
+postdep_objects=$lt_postdep_objects
+
+# Dependencies to place before the objects being linked to create a
+# shared library.
+predeps=$lt_predeps
+
+# Dependencies to place after the objects being linked to create a
+# shared library.
+postdeps=$lt_postdeps
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path
+
+# Method to check whether dependent libraries are shared objects.
+deplibs_check_method=$lt_deplibs_check_method
+
+# Command to use when deplibs_check_method == file_magic.
+file_magic_cmd=$lt_file_magic_cmd
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag
+
+# Flag that forces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag
+
+# Commands used to finish a libtool library installation in a directory.
+finish_cmds=$lt_finish_cmds
+
+# Same as above, but a single script fragment to be evaled but not shown.
+finish_eval=$lt_finish_eval
+
+# Take the output of nm and produce a listing of raw symbols and C names.
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
+
+# Transform the output of nm in a proper C declaration
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
+
+# Transform the output of nm in a C name address pair
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+
+# This is the shared library runtime path variable.
+runpath_var=$runpath_var
+
+# This is the shared library path variable.
+shlibpath_var=$shlibpath_var
+
+# Is shlibpath searched before the hard-coded library search path?
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action
+
+# Whether we should hardcode library paths into libraries.
+hardcode_into_libs=$hardcode_into_libs
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist.
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
+
+# If ld is used when linking, flag to hardcode \$libdir into
+# a binary during linking. This must work even if \$libdir does
+# not exist.
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
+
+# Whether we need a single -rpath flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator
+
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
+# resulting binary.
+hardcode_direct=$hardcode_direct
+
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
+# resulting binary.
+hardcode_minus_L=$hardcode_minus_L
+
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
+# the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var
+
+# Set to yes if building a shared library automatically hardcodes DIR into the library
+# and all subsequent libraries and executables linked against it.
+hardcode_automatic=$hardcode_automatic
+
+# Variables whose values should be saved in libtool wrapper scripts and
+# restored at relink time.
+variables_saved_for_relink="$variables_saved_for_relink"
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs
+
+# Compile-time system search path for libraries
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+
+# Run-time system search path for libraries
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+
+# Fix the shell variable \$srcfile for the compiler.
+fix_srcfile_path="$fix_srcfile_path"
+
+# Set to yes if exported symbols are required.
+always_export_symbols=$always_export_symbols
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds
+
+# The commands to extract the exported symbol list from a shared archive.
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms
+
+# ### END LIBTOOL CONFIG
+
+__EOF__
+
+
+ case $host_os in
+ aix3*)
+ cat <<\EOF >> "$cfgfile"
+
+# AIX sometimes has problems with the GCC collect2 program. For some
+# reason, if we set the COLLECT_NAMES environment variable, the problems
+# vanish in a puff of smoke.
+if test "X${COLLECT_NAMES+set}" != Xset; then
+ COLLECT_NAMES=
+ export COLLECT_NAMES
+fi
+EOF
+ ;;
+ esac
+
+ # We use sed instead of cat because bash on DJGPP gets confused if
+ # if finds mixed CR/LF and LF-only lines. Since sed operates in
+ # text mode, it properly converts lines to CR/LF. This bash problem
+ # is reportedly fixed, but why not run on old versions too?
+ sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
+
+ mv -f "$cfgfile" "$ofile" || \
+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
+ chmod +x "$ofile"
+
+else
+ # If there is no Makefile yet, we rely on a make rule to execute
+ # `config.status --recheck' to rerun these tests and create the
+ # libtool script then.
+ test -f Makefile && make "$ltmain"
+fi
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+CC="$lt_save_CC"
+
+
+# Check whether --with-tags was given.
+if test "${with_tags+set}" = set; then
+ withval=$with_tags; tagnames="$withval"
+fi
+
+
+if test -f "$ltmain" && test -n "$tagnames"; then
+ if test ! -f "${ofile}"; then
+ { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
+echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
+ fi
+
+ if test -z "$LTCC"; then
+ eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
+ if test -z "$LTCC"; then
+ { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
+echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
+ else
+ { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
+echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
+ fi
+ fi
+
+ # Extract list of available tagged configurations in $ofile.
+ # Note that this assumes the entire list is on one line.
+ available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
+
+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
+ for tagname in $tagnames; do
+ IFS="$lt_save_ifs"
+ # Check whether tagname contains only valid characters
+ case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
+ "") ;;
+ *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
+echo "$as_me: error: invalid tag name: $tagname" >&2;}
+ { (exit 1); exit 1; }; }
+ ;;
+ esac
+
+ if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
+ then
+ { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
+echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+
+ # Update the list of available tags.
+ if test -n "$tagname"; then
+ echo appending configuration tag \"$tagname\" to $ofile
+
+ case $tagname in
+ CXX)
+ if test -n "$CXX" && test "X$CXX" != "Xno"; then
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+
+
+
+archive_cmds_need_lc_CXX=no
+allow_undefined_flag_CXX=
+always_export_symbols_CXX=no
+archive_expsym_cmds_CXX=
+export_dynamic_flag_spec_CXX=
+hardcode_direct_CXX=no
+hardcode_libdir_flag_spec_CXX=
+hardcode_libdir_flag_spec_ld_CXX=
+hardcode_libdir_separator_CXX=
+hardcode_minus_L_CXX=no
+hardcode_automatic_CXX=no
+module_cmds_CXX=
+module_expsym_cmds_CXX=
+link_all_deplibs_CXX=unknown
+old_archive_cmds_CXX=$old_archive_cmds
+no_undefined_flag_CXX=
+whole_archive_flag_spec_CXX=
+enable_shared_with_static_runtimes_CXX=no
+
+# Dependencies to place before and after the object being linked:
+predep_objects_CXX=
+postdep_objects_CXX=
+predeps_CXX=
+postdeps_CXX=
+compiler_lib_search_path_CXX=
+
+# Source file extension for C++ test sources.
+ac_ext=cc
+
+# Object file extension for compiled C++ test sources.
+objext=o
+objext_CXX=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="int some_variable = 0;\n"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+
+# Allow CC to be a program name with arguments.
+lt_save_CC=$CC
+lt_save_LD=$LD
+lt_save_GCC=$GCC
+GCC=$GXX
+lt_save_with_gnu_ld=$with_gnu_ld
+lt_save_path_LD=$lt_cv_path_LD
+if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
+ lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
+else
+ unset lt_cv_prog_gnu_ld
+fi
+if test -n "${lt_cv_path_LDCXX+set}"; then
+ lt_cv_path_LD=$lt_cv_path_LDCXX
+else
+ unset lt_cv_path_LD
+fi
+test -z "${LDCXX+set}" || LD=$LDCXX
+CC=${CXX-"c++"}
+compiler=$CC
+compiler_CXX=$CC
+cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
+
+# We don't want -fno-exception wen compiling C++ code, so set the
+# no_builtin_flag separately
+if test "$GXX" = yes; then
+ lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
+else
+ lt_prog_compiler_no_builtin_flag_CXX=
+fi
+
+if test "$GXX" = yes; then
+ # Set up default GNU C++ configuration
+
+
+# Check whether --with-gnu-ld was given.
+if test "${with_gnu_ld+set}" = set; then
+ withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
+else
+ with_gnu_ld=no
+fi
+
+ac_prog=ld
+if test "$GCC" = yes; then
+ # Check if gcc -print-prog-name=ld gives a path.
+ { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
+echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
+ case $host in
+ *-*-mingw*)
+ # gcc leaves a trailing carriage return which upsets mingw
+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
+ *)
+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
+ esac
+ case $ac_prog in
+ # Accept absolute paths.
+ [\\/]* | ?:[\\/]*)
+ re_direlt='/[^/][^/]*/\.\./'
+ # Canonicalize the pathname of ld
+ ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
+ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
+ ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
+ done
+ test -z "$LD" && LD="$ac_prog"
+ ;;
+ "")
+ # If it fails, then pretend we aren't using GCC.
+ ac_prog=ld
+ ;;
+ *)
+ # If it is relative, then search for the first ld in PATH.
+ with_gnu_ld=unknown
+ ;;
+ esac
+elif test "$with_gnu_ld" = yes; then
+ { echo "$as_me:$LINENO: checking for GNU ld" >&5
+echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
+else
+ { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
+echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
+fi
+if test "${lt_cv_path_LD+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -z "$LD"; then
+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
+ for ac_dir in $PATH; do
+ IFS="$lt_save_ifs"
+ test -z "$ac_dir" && ac_dir=.
+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
+ lt_cv_path_LD="$ac_dir/$ac_prog"
+ # Check to see if the program is GNU ld. I'd rather use --version,
+ # but apparently some GNU ld's only accept -v.
+ # Break only if it was the GNU/non-GNU ld that we prefer.
+ case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
+ *GNU* | *'with BFD'*)
+ test "$with_gnu_ld" != no && break
+ ;;
+ *)
+ test "$with_gnu_ld" != yes && break
+ ;;
+ esac
+ fi
+ done
+ IFS="$lt_save_ifs"
+else
+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
+fi
+fi
+
+LD="$lt_cv_path_LD"
+if test -n "$LD"; then
+ { echo "$as_me:$LINENO: result: $LD" >&5
+echo "${ECHO_T}$LD" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
+echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
+ { (exit 1); exit 1; }; }
+{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
+echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
+if test "${lt_cv_prog_gnu_ld+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ # I'd rather use --version here, but apparently some GNU ld's only accept -v.
+case `$LD -v 2>&1 </dev/null` in
+*GNU* | *'with BFD'*)
+ lt_cv_prog_gnu_ld=yes
+ ;;
+*)
+ lt_cv_prog_gnu_ld=no
+ ;;
+esac
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
+echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
+with_gnu_ld=$lt_cv_prog_gnu_ld
+
+
+
+ # Check if GNU C++ uses GNU ld as the underlying linker, since the
+ # archiving commands below assume that GNU ld is being used.
+ if test "$with_gnu_ld" = yes; then
+ archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+
+ hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
+ export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
+
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
+ # investigate it a little bit more. (MM)
+ wlarc='${wl}'
+
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
+ grep 'no-whole-archive' > /dev/null; then
+ whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ else
+ whole_archive_flag_spec_CXX=
+ fi
+ else
+ with_gnu_ld=no
+ wlarc=
+
+ # A generic and very simple default shared library creation
+ # command for GNU C++ for the case where it uses the native
+ # linker, instead of GNU ld. If possible, this setting should
+ # overridden to take advantage of the native linker features on
+ # the platform it is being used on.
+ archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $lib'
+ fi
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
+
+else
+ GXX=no
+ with_gnu_ld=no
+ wlarc=
+fi
+
+# PORTME: fill in a description of your system's C++ link characteristics
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
+ld_shlibs_CXX=yes
+case $host_os in
+ aix3*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aix4* | aix5*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ # KDE requires run time linking. Make it the default.
+ aix_use_runtimelinking=yes
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ archive_cmds_CXX=''
+ hardcode_direct_CXX=yes
+ hardcode_libdir_separator_CXX=':'
+ link_all_deplibs_CXX=yes
+
+ if test "$GXX" = yes; then
+ case $host_os in aix4.012|aix4.012.*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" && \
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ hardcode_direct_CXX=yes
+ else
+ # We have old collect2
+ hardcode_direct_CXX=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L_CXX=yes
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ hardcode_libdir_separator_CXX=
+ fi
+ esac
+ shared_flag='-shared'
+ else
+ # not using gcc
+ if test "$host_cpu" = ia64; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='-qmkshrobj ${wl}-G'
+ else
+ shared_flag='-qmkshrobj'
+ fi
+ fi
+ fi
+
+ # Let the compiler handle the export list.
+ always_export_symbols_CXX=no
+ if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ allow_undefined_flag_CXX='-berok'
+ # Determine the default libpath from the value encoded in an empty executable.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`
+# Check for a 64-bit object if we didn't find anything.
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`; fi
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
+
+ archive_cmds_CXX="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
+ archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+ else
+ if test "$host_cpu" = ia64; then
+ hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag_CXX="-z nodefs"
+ archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an empty executable.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`
+# Check for a 64-bit object if we didn't find anything.
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`; fi
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ no_undefined_flag_CXX=' ${wl}-bernotok'
+ allow_undefined_flag_CXX=' ${wl}-berok'
+ # -bexpall does not export symbols beginning with underscore (_)
+ always_export_symbols_CXX=yes
+ # Exported symbols can be pulled into shared objects from archives
+ whole_archive_flag_spec_CXX=' '
+ archive_cmds_need_lc_CXX=yes
+ # This is similar to how AIX traditionally builds it's shared libraries.
+ archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ fi
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+
+ cygwin* | mingw* | pw32*)
+ # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
+ # as there is no search path for DLLs.
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ allow_undefined_flag_CXX=no
+ always_export_symbols_CXX=no
+ enable_shared_with_static_runtimes_CXX=yes
+
+ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
+ archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ # If the export-symbols file already is a .def file (1st line
+ # is EXPORTS), use it as is; otherwise, prepend...
+ archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared -nostdlib $output_objdir/$soname.def $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+
+ darwin* | rhapsody*)
+ if test "$GXX" = yes; then
+ archive_cmds_need_lc_CXX=no
+ case "$host_os" in
+ rhapsody* | darwin1.[012])
+ allow_undefined_flag_CXX='-Wl,-undefined -Wl,suppress'
+ ;;
+ *) # Darwin 1.3 on
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
+ allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ else
+ case ${MACOSX_DEPLOYMENT_TARGET} in
+ 10.012)
+ allow_undefined_flag_CXX='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ ;;
+ 10.*)
+ allow_undefined_flag_CXX='-Wl,-undefined -Wl,dynamic_lookup'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ lt_int_apple_cc_single_mod=no
+ output_verbose_link_cmd='echo'
+ if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
+ lt_int_apple_cc_single_mod=yes
+ fi
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+ archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
+ else
+ archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
+ fi
+ module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
+
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+ archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ else
+ archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ fi
+ module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ hardcode_direct_CXX=no
+ hardcode_automatic_CXX=yes
+ hardcode_shlibpath_var_CXX=unsupported
+ whole_archive_flag_spec_CXX='-all_load $convenience'
+ link_all_deplibs_CXX=yes
+ else
+ ld_shlibs_CXX=no
+ fi
+ ;;
+
+ dgux*)
+ case $cc_basename in
+ ec++)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ ghcx)
+ # Green Hills C++ Compiler
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+ freebsd12*)
+ # C++ shared libraries reported to be fairly broken before switch to ELF
+ ld_shlibs_CXX=no
+ ;;
+ freebsd-elf*)
+ archive_cmds_need_lc_CXX=no
+ ;;
+ freebsd* | kfreebsd*-gnu)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ ld_shlibs_CXX=yes
+ ;;
+ gnu*)
+ ;;
+ hpux9*)
+ hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator_CXX=:
+ export_dynamic_flag_spec_CXX='${wl}-E'
+ hardcode_direct_CXX=yes
+ hardcode_minus_L_CXX=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+
+ case $cc_basename in
+ CC)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aCC)
+ archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+ hpux10*|hpux11*)
+ if test $with_gnu_ld = no; then
+ case "$host_cpu" in
+ hppa*64*)
+ hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
+ hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
+ hardcode_libdir_separator_CXX=:
+ ;;
+ ia64*)
+ hardcode_libdir_flag_spec_CXX='-L$libdir'
+ ;;
+ *)
+ hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator_CXX=:
+ export_dynamic_flag_spec_CXX='${wl}-E'
+ ;;
+ esac
+ fi
+ case "$host_cpu" in
+ hppa*64*)
+ hardcode_direct_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ ;;
+ ia64*)
+ hardcode_direct_CXX=no
+ hardcode_shlibpath_var_CXX=no
+ hardcode_minus_L_CXX=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+ ;;
+ *)
+ hardcode_direct_CXX=yes
+ hardcode_minus_L_CXX=yes # Not in the search PATH,
+ # but as the default
+ # location of the library.
+ ;;
+ esac
+
+ case $cc_basename in
+ CC)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ aCC)
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
+ ;;
+ esac
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ if test $with_gnu_ld = no; then
+ case "$host_cpu" in
+ ia64*|hppa*64*)
+ archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
+ ;;
+ *)
+ archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
+ ;;
+ esac
+ fi
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+ irix5* | irix6*)
+ case $cc_basename in
+ CC)
+ # SGI C++
+ archive_cmds_CXX='$CC -shared -all -multigot $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+
+ # Archives containing C++ object files must be created using
+ # "CC -ar", where "CC" is the IRIX C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
+ ;;
+ *)
+ if test "$GXX" = yes; then
+ if test "$with_gnu_ld" = no; then
+ archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+ else
+ archive_cmds_CXX='$CC -shared -nostdlib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
+ fi
+ fi
+ link_all_deplibs_CXX=yes
+ ;;
+ esac
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator_CXX=:
+ ;;
+ linux*)
+ case $cc_basename in
+ KCC)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
+ archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+
+ hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
+ export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
+ ;;
+ icpc)
+ # Intel C++
+ with_gnu_ld=yes
+ archive_cmds_need_lc_CXX=no
+ archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
+ export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
+ whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
+ ;;
+ cxx)
+ # Compaq C++
+ archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
+
+ runpath_var=LD_RUN_PATH
+ hardcode_libdir_flag_spec_CXX='-rpath $libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ esac
+ ;;
+ lynxos*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ m88k*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+ netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
+ wlarc=
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ hardcode_direct_CXX=yes
+ hardcode_shlibpath_var_CXX=no
+ fi
+ # Workaround some broken pre-1.5 toolchains
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
+ ;;
+ osf3*)
+ case $cc_basename in
+ KCC)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
+
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Archives containing C++ object files must be created using
+ # "CC -Bstatic", where "CC" is the KAI C++ compiler.
+ old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
+
+ ;;
+ RCC)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ cxx)
+ allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
+ archive_cmds_CXX='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ *)
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
+ archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+ osf4* | osf5*)
+ case $cc_basename in
+ KCC)
+ # Kuck and Associates, Inc. (KAI) C++ Compiler
+
+ # KCC will only create a shared library if the output file
+ # ends with ".so" (or ".sl" for HP-UX), so rename the library
+ # to its proper name (with version) after linking.
+ archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects --soname $soname -o \$templib; mv \$templib $lib'
+
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Archives containing C++ object files must be created using
+ # the KAI C++ compiler.
+ old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
+ ;;
+ RCC)
+ # Rational C++ 2.4.1
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ cxx)
+ allow_undefined_flag_CXX=' -expect_unresolved \*'
+ archive_cmds_CXX='$CC -shared${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+ archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
+ echo "-hidden">> $lib.exp~
+ $CC -shared$allow_undefined_flag $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
+ $rm $lib.exp'
+
+ hardcode_libdir_flag_spec_CXX='-rpath $libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+ ;;
+ *)
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
+ archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
+
+ hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator_CXX=:
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
+
+ else
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ fi
+ ;;
+ esac
+ ;;
+ psos*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ sco*)
+ archive_cmds_need_lc_CXX=no
+ case $cc_basename in
+ CC)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC)
+ # Sun C++ 4.x
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ lcc)
+ # Lucid
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ no_undefined_flag_CXX=' -zdefs'
+ archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects'
+ archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
+
+ hardcode_libdir_flag_spec_CXX='-R$libdir'
+ hardcode_shlibpath_var_CXX=no
+ case $host_os in
+ solaris2.0-5 | solaris2.0-5.*) ;;
+ *)
+ # The C++ compiler is used as linker so we must use $wl
+ # flag to pass the commands to the underlying system
+ # linker.
+ # Supported since Solaris 2.6 (maybe 2.5.1?)
+ whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
+ ;;
+ esac
+ link_all_deplibs_CXX=yes
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ #
+ # There doesn't appear to be a way to prevent this compiler from
+ # explicitly linking system object files so we need to strip them
+ # from the output so that they don't get included in the library
+ # dependencies.
+ output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
+
+ # Archives containing C++ object files must be created using
+ # "CC -xar", where "CC" is the Sun C++ compiler. This is
+ # necessary to make sure instantiated templates are included
+ # in the archive.
+ old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
+ ;;
+ gcx)
+ # Green Hills C++ Compiler
+ archive_cmds_CXX='$CC -shared $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
+
+ # The C++ compiler must be used to create the archive.
+ old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
+ ;;
+ *)
+ # GNU C++ compiler with Solaris linker
+ if test "$GXX" = yes && test "$with_gnu_ld" = no; then
+ no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
+ if $CC --version | grep -v '^2\.7' > /dev/null; then
+ archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
+ else
+ # g++ 2.7 appears to require `-G' NOT `-shared' on this
+ # platform.
+ archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects ${wl}-h $wl$soname -o $lib'
+ archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $compiler_flags $predep_objects $libobjs $deplibs $postdep_objects~$rm $lib.exp'
+
+ # Commands to make compiler produce verbose output that lists
+ # what "hidden" libraries, object files and flags are used when
+ # linking a shared library.
+ output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
+ fi
+
+ hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
+ fi
+ ;;
+ esac
+ ;;
+ sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
+ archive_cmds_need_lc_CXX=no
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC)
+ # NonStop-UX NCC 3.20
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ esac
+ ;;
+ vxworks*)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+ *)
+ # FIXME: insert proper C++ library support
+ ld_shlibs_CXX=no
+ ;;
+esac
+{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
+echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
+test "$ld_shlibs_CXX" = no && can_build_shared=no
+
+GCC_CXX="$GXX"
+LD_CXX="$LD"
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+
+cat > conftest.$ac_ext <<EOF
+class Foo
+{
+public:
+ Foo (void) { a = 0; }
+private:
+ int a;
+};
+EOF
+
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ # Parse the compiler output and extract the necessary
+ # objects, libraries and library flags.
+
+ # Sentinel used to keep track of whether or not we are before
+ # the conftest object file.
+ pre_test_object_deps_done=no
+
+ # The `*' in the case matches for architectures that use `case' in
+ # $output_verbose_cmd can trigger glob expansion during the loop
+ # eval without this substitution.
+ output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
+
+ for p in `eval $output_verbose_link_cmd`; do
+ case $p in
+
+ -L* | -R* | -l*)
+ # Some compilers place space between "-{L,R}" and the path.
+ # Remove the space.
+ if test $p = "-L" \
+ || test $p = "-R"; then
+ prev=$p
+ continue
+ else
+ prev=
+ fi
+
+ if test "$pre_test_object_deps_done" = no; then
+ case $p in
+ -L* | -R*)
+ # Internal compiler library paths should come after those
+ # provided the user. The postdeps already come after the
+ # user supplied libs so there is no need to process them.
+ if test -z "$compiler_lib_search_path_CXX"; then
+ compiler_lib_search_path_CXX="${prev}${p}"
+ else
+ compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
+ fi
+ ;;
+ # The "-l" case would never come before the object being
+ # linked, so don't bother handling this case.
+ esac
+ else
+ if test -z "$postdeps_CXX"; then
+ postdeps_CXX="${prev}${p}"
+ else
+ postdeps_CXX="${postdeps_CXX} ${prev}${p}"
+ fi
+ fi
+ ;;
+
+ *.$objext|*.$libext)
+ # This assumes that the test object file only shows up
+ # once in the compiler output.
+ if test "$p" = "conftest.$objext"; then
+ pre_test_object_deps_done=yes
+ continue
+ fi
+
+ if test "$pre_test_object_deps_done" = no; then
+ if test -z "$predep_objects_CXX"; then
+ predep_objects_CXX="$p"
+ else
+ predep_objects_CXX="$predep_objects_CXX $p"
+ fi
+ else
+ if test -z "$postdep_objects_CXX"; then
+ postdep_objects_CXX="$p"
+ else
+ postdep_objects_CXX="$postdep_objects_CXX $p"
+ fi
+ fi
+ ;;
+
+ *) ;; # Ignore the rest.
+
+ esac
+ done
+
+ # Clean up.
+ rm -f a.out a.exe
+else
+ echo "libtool.m4: error: problem compiling CXX test program"
+fi
+
+$rm -f confest.$objext
+
+case " $postdeps_CXX " in
+*" -lc "*) archive_cmds_need_lc_CXX=no ;;
+esac
+
+lt_prog_compiler_wl_CXX=
+lt_prog_compiler_pic_CXX=
+lt_prog_compiler_static_CXX=
+
+{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
+
+ # C++ specific cases for pic, static, wl, etc.
+ if test "$GXX" = yes; then
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_CXX='-Bstatic'
+ fi
+ ;;
+ amigaos*)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the `-m68020' flag to GCC prevents building anything better,
+ # like `-m68040'.
+ lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
+ ;;
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+ mingw* | os2* | pw32*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
+ ;;
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic_CXX='-fno-common'
+ ;;
+ *djgpp*)
+ # DJGPP does not support shared libraries at all
+ lt_prog_compiler_pic_CXX=
+ ;;
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic_CXX=-Kconform_pic
+ fi
+ ;;
+ hpux*)
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ esac
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ esac
+ else
+ case $host_os in
+ aix4* | aix5*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_CXX='-Bstatic'
+ else
+ lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+ chorus*)
+ case $cc_basename in
+ cxch68)
+ # Green Hills C++ Compiler
+ # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
+ ;;
+ esac
+ ;;
+ dgux*)
+ case $cc_basename in
+ ec++)
+ lt_prog_compiler_pic_CXX='-KPIC'
+ ;;
+ ghcx)
+ # Green Hills C++ Compiler
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ freebsd* | kfreebsd*-gnu)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+ case $cc_basename in
+ CC)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
+ if test "$host_cpu" != ia64; then
+ lt_prog_compiler_pic_CXX='+Z'
+ fi
+ ;;
+ aCC)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX='+Z'
+ ;;
+ esac
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ irix5* | irix6* | nonstopux*)
+ case $cc_basename in
+ CC)
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_static_CXX='-non_shared'
+ # CC pic flag -KPIC is the default.
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ linux*)
+ case $cc_basename in
+ KCC)
+ # KAI C++ Compiler
+ lt_prog_compiler_wl_CXX='--backend -Wl,'
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ icpc)
+ # Intel C++
+ lt_prog_compiler_wl_CXX='-Wl,'
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-static'
+ ;;
+ cxx)
+ # Compaq C++
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_static_CXX='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ lynxos*)
+ ;;
+ m88k*)
+ ;;
+ mvs*)
+ case $cc_basename in
+ cxx)
+ lt_prog_compiler_pic_CXX='-W c,exportall'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ netbsd*)
+ ;;
+ osf3* | osf4* | osf5*)
+ case $cc_basename in
+ KCC)
+ lt_prog_compiler_wl_CXX='--backend -Wl,'
+ ;;
+ RCC)
+ # Rational C++ 2.4.1
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ cxx)
+ # Digital/Compaq C++
+ lt_prog_compiler_wl_CXX='-Wl,'
+ # Make sure the PIC flag is empty. It appears that all Alpha
+ # Linux and Compaq Tru64 Unix objects are PIC.
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_static_CXX='-non_shared'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ psos*)
+ ;;
+ sco*)
+ case $cc_basename in
+ CC)
+ lt_prog_compiler_pic_CXX='-fPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ solaris*)
+ case $cc_basename in
+ CC)
+ # Sun C++ 4.2, 5.x and Centerline C++
+ lt_prog_compiler_pic_CXX='-KPIC'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ lt_prog_compiler_wl_CXX='-Qoption ld '
+ ;;
+ gcx)
+ # Green Hills C++ Compiler
+ lt_prog_compiler_pic_CXX='-PIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ sunos4*)
+ case $cc_basename in
+ CC)
+ # Sun C++ 4.x
+ lt_prog_compiler_pic_CXX='-pic'
+ lt_prog_compiler_static_CXX='-Bstatic'
+ ;;
+ lcc)
+ # Lucid
+ lt_prog_compiler_pic_CXX='-pic'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ tandem*)
+ case $cc_basename in
+ NCC)
+ # NonStop-UX NCC 3.20
+ lt_prog_compiler_pic_CXX='-KPIC'
+ ;;
+ *)
+ ;;
+ esac
+ ;;
+ unixware*)
+ ;;
+ vxworks*)
+ ;;
+ *)
+ lt_prog_compiler_can_build_shared_CXX=no
+ ;;
+ esac
+ fi
+
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
+echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$lt_prog_compiler_pic_CXX"; then
+
+{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
+if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ lt_prog_compiler_pic_works_CXX=no
+ ac_outfile=conftest.$ac_objext
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:14859: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:14863: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test ! -s conftest.err; then
+ lt_prog_compiler_pic_works_CXX=yes
+ fi
+ fi
+ $rm conftest*
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
+echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
+
+if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
+ case $lt_prog_compiler_pic_CXX in
+ "" | " "*) ;;
+ *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
+ esac
+else
+ lt_prog_compiler_pic_CXX=
+ lt_prog_compiler_can_build_shared_CXX=no
+fi
+
+fi
+case "$host_os" in
+ # For platforms which do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ lt_prog_compiler_pic_CXX=
+ ;;
+ *)
+ lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
+ ;;
+esac
+
+{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
+if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ lt_cv_prog_compiler_c_o_CXX=no
+ $rm -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
+ # that will create temporary files in the current directory regardless of
+ # the output directory. Thus, making CWD read-only will cause this test
+ # to fail, enabling locking or at least warning the user not to do parallel
+ # builds.
+ chmod -w .
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:14926: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:14930: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test ! -s out/conftest.err; then
+ lt_cv_prog_compiler_c_o_CXX=yes
+ fi
+ fi
+ chmod u+w .
+ $rm conftest* out/*
+ rmdir out
+ cd ..
+ rmdir conftest
+ $rm conftest*
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
+
+
+hard_links="nottested"
+if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
+ # do not overwrite the value of need_locks provided by the user
+ { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
+ hard_links=yes
+ $rm conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ { echo "$as_me:$LINENO: result: $hard_links" >&5
+echo "${ECHO_T}$hard_links" >&6; }
+ if test "$hard_links" = no; then
+ { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
+echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
+
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ case $host_os in
+ aix4* | aix5*)
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
+ if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
+ export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
+ else
+ export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
+ fi
+ ;;
+ pw32*)
+ export_symbols_cmds_CXX="$ltdll_cmds"
+ ;;
+ cygwin* | mingw*)
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
+ ;;
+ *)
+ export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ ;;
+ esac
+
+{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
+echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
+test "$ld_shlibs_CXX" = no && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test "$GCC" = yes; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$archive_cmds_need_lc_CXX" in
+x|xyes)
+ # Assume -lc should be added
+ archive_cmds_need_lc_CXX=yes
+
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
+ case $archive_cmds_CXX in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
+ $rm conftest*
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$lt_prog_compiler_wl_CXX
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
+ allow_undefined_flag_CXX=
+ if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
+ (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+ then
+ archive_cmds_need_lc_CXX=no
+ else
+ archive_cmds_need_lc_CXX=yes
+ fi
+ allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $rm conftest*
+ { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
+echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext=".so"
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+
+aix4* | aix5*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test "$host_cpu" = ia64; then
+ # AIX 5 supports IA64
+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line `#! .'. This would cause the generated library to
+ # depend on `.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[01] | aix4.[01].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ if test "$aix_use_runtimelinking" = yes; then
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ else
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='${libname}${release}.a $libname.a'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ fi
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+ ;;
+
+beos*)
+ library_names_spec='${libname}${shared_ext}'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi4*)
+ version_type=linux
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32*)
+ version_type=windows
+ shrext=".dll"
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$host_os in
+ yes,cygwin* | yes,mingw* | yes,pw32*)
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $rm \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
+ ;;
+ mingw*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
+ if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
+ # It is most probably a Windows format PATH printed by
+ # mingw gcc, but we are running on Cygwin. Gcc prints its search
+ # path with ; separators, and with drive letters. We can handle the
+ # drive letters (cygwin fileutils understands them), so leave them,
+ # especially as we might pass files found there to a mingw objdump,
+ # which wouldn't understand a cygwinified path. Ahh.
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
+ ;;
+ esac
+ ;;
+
+ *)
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
+ soname_spec='${libname}${release}${major}$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext='$(test .$module = .yes && echo .so || echo .dylib)'
+ # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
+ if test "$GCC" = yes; then
+ sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
+ else
+ sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
+ fi
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd1*)
+ dynamic_linker=no
+ ;;
+
+kfreebsd*-gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='GNU ld.so'
+ ;;
+
+freebsd*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.01* | freebsdelf3.01*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ *) # from 3.2 on
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case "$host_cpu" in
+ ia64*)
+ shrext='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ if test "X$HPUX_IA64_MODE" = X32; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
+ postinstall_cmds='chmod 555 $lib'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test "$lt_cv_prog_gnu_ld" = yes; then
+ version_type=linux
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+# This must be Linux ELF.
+linux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ libsuff=
+ if test "x$LINUX_64_MODE" = x64; then
+ # Some platforms are per default 64-bit, so there's no /lib64
+ if test -d /lib64 -a ! -h /lib64; then
+ libsuff=64
+ fi
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+nto-qnx*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+openbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ case $host_os in
+ openbsd2.[89] | openbsd2.[89].*)
+ shlibpath_overrides_runpath=no
+ ;;
+ *)
+ shlibpath_overrides_runpath=yes
+ ;;
+ esac
+ else
+ shlibpath_overrides_runpath=yes
+ fi
+ ;;
+
+os2*)
+ libname_spec='$name'
+ shrext=".dll"
+ need_lib_prefix=no
+ library_names_spec='$libname${shared_ext} $libname.a'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=LIBPATH
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+ ;;
+
+sco3.2v5*)
+ version_type=osf
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+solaris*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test "$with_gnu_ld" = yes; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec ;then
+ version_type=linux
+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
+ soname_spec='$libname${shared_ext}.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+uts4*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
+echo "${ECHO_T}$dynamic_linker" >&6; }
+test "$dynamic_linker" = no && can_build_shared=no
+
+{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
+hardcode_action_CXX=
+if test -n "$hardcode_libdir_flag_spec_CXX" || \
+ test -n "$runpath_var CXX" || \
+ test "X$hardcode_automatic_CXX"="Xyes" ; then
+
+ # We can hardcode non-existant directories.
+ if test "$hardcode_direct_CXX" != no &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
+ test "$hardcode_minus_L_CXX" != no; then
+ # Linking always hardcodes the temporary library directory.
+ hardcode_action_CXX=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ hardcode_action_CXX=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ hardcode_action_CXX=unsupported
+fi
+{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
+echo "${ECHO_T}$hardcode_action_CXX" >&6; }
+
+if test "$hardcode_action_CXX" = relink; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test "$shlibpath_overrides_runpath" = yes ||
+ test "$enable_shared" = no; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+
+striplib=
+old_striplib=
+{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
+echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
+if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP" ; then
+ striplib="$STRIP -x"
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+ ;;
+ *)
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ ;;
+ esac
+fi
+
+if test "x$enable_dlopen" != xyes; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen="load_add_on"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32*)
+ lt_cv_dlopen="LoadLibrary"
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen="dlopen"
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dl_dlopen=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dl_dlopen=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
+if test $ac_cv_lib_dl_dlopen = yes; then
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+else
+
+ lt_cv_dlopen="dyld"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+
+fi
+
+ ;;
+
+ *)
+ { echo "$as_me:$LINENO: checking for shl_load" >&5
+echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
+if test "${ac_cv_func_shl_load+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define shl_load innocuous_shl_load
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char shl_load (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef shl_load
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shl_load ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_shl_load || defined __stub___shl_load
+choke me
+#endif
+
+int
+main ()
+{
+return shl_load ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_func_shl_load=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_func_shl_load=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
+echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
+if test $ac_cv_func_shl_load = yes; then
+ lt_cv_dlopen="shl_load"
+else
+ { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
+echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dld_shl_load+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shl_load ();
+int
+main ()
+{
+return shl_load ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dld_shl_load=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dld_shl_load=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
+echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
+if test $ac_cv_lib_dld_shl_load = yes; then
+ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
+else
+ { echo "$as_me:$LINENO: checking for dlopen" >&5
+echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
+if test "${ac_cv_func_dlopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define dlopen innocuous_dlopen
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char dlopen (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef dlopen
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_dlopen || defined __stub___dlopen
+choke me
+#endif
+
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_func_dlopen=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_func_dlopen=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
+echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
+if test $ac_cv_func_dlopen = yes; then
+ lt_cv_dlopen="dlopen"
+else
+ { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dl_dlopen=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dl_dlopen=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
+if test $ac_cv_lib_dl_dlopen = yes; then
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+else
+ { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
+echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
+if test "${ac_cv_lib_svld_dlopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsvld $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_svld_dlopen=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_svld_dlopen=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
+echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
+if test $ac_cv_lib_svld_dlopen = yes; then
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
+else
+ { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
+echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dld_dld_link+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dld_link ();
+int
+main ()
+{
+return dld_link ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dld_dld_link=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dld_dld_link=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
+echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
+if test $ac_cv_lib_dld_dld_link = yes; then
+ lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+ ;;
+ esac
+
+ if test "x$lt_cv_dlopen" != xno; then
+ enable_dlopen=yes
+ else
+ enable_dlopen=no
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS="$CPPFLAGS"
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS="$LDFLAGS"
+ eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS="$LIBS"
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
+echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
+if test "${lt_cv_dlopen_self+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test "$cross_compiling" = yes; then :
+ lt_cv_dlopen_self=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<EOF
+#line 16229 "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+#ifdef __cplusplus
+extern "C" void exit (int);
+#endif
+
+void fnord() { int i=42;}
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ /* dlclose (self); */
+ }
+
+ exit (status);
+}
+EOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
+ (./conftest; exit; ) 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
+echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
+
+ if test "x$lt_cv_dlopen_self" = xyes; then
+ LDFLAGS="$LDFLAGS $link_static_flag"
+ { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
+echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
+if test "${lt_cv_dlopen_self_static+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test "$cross_compiling" = yes; then :
+ lt_cv_dlopen_self_static=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<EOF
+#line 16327 "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+#ifdef __cplusplus
+extern "C" void exit (int);
+#endif
+
+void fnord() { int i=42;}
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ /* dlclose (self); */
+ }
+
+ exit (status);
+}
+EOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
+ (./conftest; exit; ) 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self_static=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
+echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
+ fi
+
+ CPPFLAGS="$save_CPPFLAGS"
+ LDFLAGS="$save_LDFLAGS"
+ LIBS="$save_LIBS"
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+
+
+# The else clause should only fire when bootstrapping the
+# libtool distribution, otherwise you forgot to ship ltmain.sh
+# with your package, and you will get complaints that there are
+# no rules to generate ltmain.sh.
+if test -f "$ltmain"; then
+ # See if we are running on zsh, and set the options which allow our commands through
+ # without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}" ; then
+ setopt NO_GLOB_SUBST
+ fi
+ # Now quote all the things that may contain metacharacters while being
+ # careful not to overquote the AC_SUBSTed values. We take copies of the
+ # variables and quote the copies for generation of the libtool script.
+ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
+ libname_spec library_names_spec soname_spec extract_expsyms_cmds \
+ old_striplib striplib file_magic_cmd finish_cmds finish_eval \
+ deplibs_check_method reload_flag reload_cmds need_locks \
+ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+ lt_cv_sys_global_symbol_to_c_name_address \
+ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+ old_postinstall_cmds old_postuninstall_cmds \
+ compiler_CXX \
+ CC_CXX \
+ LD_CXX \
+ lt_prog_compiler_wl_CXX \
+ lt_prog_compiler_pic_CXX \
+ lt_prog_compiler_static_CXX \
+ lt_prog_compiler_no_builtin_flag_CXX \
+ export_dynamic_flag_spec_CXX \
+ thread_safe_flag_spec_CXX \
+ whole_archive_flag_spec_CXX \
+ enable_shared_with_static_runtimes_CXX \
+ old_archive_cmds_CXX \
+ old_archive_from_new_cmds_CXX \
+ predep_objects_CXX \
+ postdep_objects_CXX \
+ predeps_CXX \
+ postdeps_CXX \
+ compiler_lib_search_path_CXX \
+ archive_cmds_CXX \
+ archive_expsym_cmds_CXX \
+ postinstall_cmds_CXX \
+ postuninstall_cmds_CXX \
+ old_archive_from_expsyms_cmds_CXX \
+ allow_undefined_flag_CXX \
+ no_undefined_flag_CXX \
+ export_symbols_cmds_CXX \
+ hardcode_libdir_flag_spec_CXX \
+ hardcode_libdir_flag_spec_ld_CXX \
+ hardcode_libdir_separator_CXX \
+ hardcode_automatic_CXX \
+ module_cmds_CXX \
+ module_expsym_cmds_CXX \
+ lt_cv_prog_compiler_c_o_CXX \
+ exclude_expsyms_CXX \
+ include_expsyms_CXX; do
+
+ case $var in
+ old_archive_cmds_CXX | \
+ old_archive_from_new_cmds_CXX | \
+ archive_cmds_CXX | \
+ archive_expsym_cmds_CXX | \
+ module_cmds_CXX | \
+ module_expsym_cmds_CXX | \
+ old_archive_from_expsyms_cmds_CXX | \
+ export_symbols_cmds_CXX | \
+ extract_expsyms_cmds | reload_cmds | finish_cmds | \
+ postinstall_cmds | postuninstall_cmds | \
+ old_postinstall_cmds | old_postuninstall_cmds | \
+ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
+ # Double-quote double-evaled strings.
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
+ ;;
+ *)
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
+ ;;
+ esac
+ done
+
+ case $lt_echo in
+ *'\$0 --fallback-echo"')
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
+ ;;
+ esac
+
+cfgfile="$ofile"
+
+ cat <<__EOF__ >> "$cfgfile"
+# ### BEGIN LIBTOOL TAG CONFIG: $tagname
+
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# Whether or not to build shared libraries.
+build_libtool_libs=$enable_shared
+
+# Whether or not to build static libraries.
+build_old_libs=$enable_static
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc_CXX
+
+# Whether or not to disallow shared libs when runtime libs are static
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
+
+# Whether or not to optimize for fast installation.
+fast_install=$enable_fast_install
+
+# The host system.
+host_alias=$host_alias
+host=$host
+
+# An echo program that does not interpret backslashes.
+echo=$lt_echo
+
+# The archiver.
+AR=$lt_AR
+AR_FLAGS=$lt_AR_FLAGS
+
+# A C compiler.
+LTCC=$lt_LTCC
+
+# A language-specific compiler.
+CC=$lt_compiler_CXX
+
+# Is the compiler the GNU C compiler?
+with_gcc=$GCC_CXX
+
+# An ERE matcher.
+EGREP=$lt_EGREP
+
+# The linker used to build libraries.
+LD=$lt_LD_CXX
+
+# Whether we need hard or soft links.
+LN_S=$lt_LN_S
+
+# A BSD-compatible nm program.
+NM=$lt_NM
+
+# A symbol stripping program
+STRIP=$STRIP
+
+# Used to examine libraries when file_magic_cmd begins "file"
+MAGIC_CMD=$MAGIC_CMD
+
+# Used on cygwin: DLL creation program.
+DLLTOOL="$DLLTOOL"
+
+# Used on cygwin: object dumper.
+OBJDUMP="$OBJDUMP"
+
+# Used on cygwin: assembler.
+AS="$AS"
+
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl_CXX
+
+# Object file suffix (normally "o").
+objext="$ac_objext"
+
+# Old archive suffix (normally "a").
+libext="$libext"
+
+# Shared library suffix (normally ".so").
+shrext='$shrext'
+
+# Executable file suffix (normally "").
+exeext="$exeext"
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic_CXX
+pic_mode=$pic_mode
+
+# What is the maximum length of a command?
+max_cmd_len=$lt_cv_sys_max_cmd_len
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
+
+# Must we lock files when doing compilation ?
+need_locks=$lt_need_locks
+
+# Do we need the lib prefix for modules?
+need_lib_prefix=$need_lib_prefix
+
+# Do we need a version for libraries?
+need_version=$need_version
+
+# Whether dlopen is supported.
+dlopen_support=$enable_dlopen
+
+# Whether dlopen of programs is supported.
+dlopen_self=$enable_dlopen_self
+
+# Whether dlopen of statically linked programs is supported.
+dlopen_self_static=$enable_dlopen_self_static
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static_CXX
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
+
+# Compiler flag to generate thread-safe objects.
+thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
+
+# Library versioning type.
+version_type=$version_type
+
+# Format of library name prefix.
+libname_spec=$lt_libname_spec
+
+# List of archive names. First name is the real one, the rest are links.
+# The last name is the one that the linker finds with -lNAME.
+library_names_spec=$lt_library_names_spec
+
+# The coded name of the library, if different from the real name.
+soname_spec=$lt_soname_spec
+
+# Commands used to build and install an old-style archive.
+RANLIB=$lt_RANLIB
+old_archive_cmds=$lt_old_archive_cmds_CXX
+old_postinstall_cmds=$lt_old_postinstall_cmds
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
+
+# Commands used to build and install a shared archive.
+archive_cmds=$lt_archive_cmds_CXX
+archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
+postinstall_cmds=$lt_postinstall_cmds
+postuninstall_cmds=$lt_postuninstall_cmds
+
+# Commands used to build a loadable module (assumed same as above if empty)
+module_cmds=$lt_module_cmds_CXX
+module_expsym_cmds=$lt_module_expsym_cmds_CXX
+
+# Commands to strip libraries.
+old_striplib=$lt_old_striplib
+striplib=$lt_striplib
+
+# Dependencies to place before the objects being linked to create a
+# shared library.
+predep_objects=$lt_predep_objects_CXX
+
+# Dependencies to place after the objects being linked to create a
+# shared library.
+postdep_objects=$lt_postdep_objects_CXX
+
+# Dependencies to place before the objects being linked to create a
+# shared library.
+predeps=$lt_predeps_CXX
+
+# Dependencies to place after the objects being linked to create a
+# shared library.
+postdeps=$lt_postdeps_CXX
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
+
+# Method to check whether dependent libraries are shared objects.
+deplibs_check_method=$lt_deplibs_check_method
+
+# Command to use when deplibs_check_method == file_magic.
+file_magic_cmd=$lt_file_magic_cmd
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag_CXX
+
+# Flag that forces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag_CXX
+
+# Commands used to finish a libtool library installation in a directory.
+finish_cmds=$lt_finish_cmds
+
+# Same as above, but a single script fragment to be evaled but not shown.
+finish_eval=$lt_finish_eval
+
+# Take the output of nm and produce a listing of raw symbols and C names.
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
+
+# Transform the output of nm in a proper C declaration
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
+
+# Transform the output of nm in a C name address pair
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+
+# This is the shared library runtime path variable.
+runpath_var=$runpath_var
+
+# This is the shared library path variable.
+shlibpath_var=$shlibpath_var
+
+# Is shlibpath searched before the hard-coded library search path?
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action_CXX
+
+# Whether we should hardcode library paths into libraries.
+hardcode_into_libs=$hardcode_into_libs
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist.
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
+
+# If ld is used when linking, flag to hardcode \$libdir into
+# a binary during linking. This must work even if \$libdir does
+# not exist.
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
+
+# Whether we need a single -rpath flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
+
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
+# resulting binary.
+hardcode_direct=$hardcode_direct_CXX
+
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
+# resulting binary.
+hardcode_minus_L=$hardcode_minus_L_CXX
+
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
+# the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
+
+# Set to yes if building a shared library automatically hardcodes DIR into the library
+# and all subsequent libraries and executables linked against it.
+hardcode_automatic=$hardcode_automatic_CXX
+
+# Variables whose values should be saved in libtool wrapper scripts and
+# restored at relink time.
+variables_saved_for_relink="$variables_saved_for_relink"
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs_CXX
+
+# Compile-time system search path for libraries
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+
+# Run-time system search path for libraries
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+
+# Fix the shell variable \$srcfile for the compiler.
+fix_srcfile_path="$fix_srcfile_path_CXX"
+
+# Set to yes if exported symbols are required.
+always_export_symbols=$always_export_symbols_CXX
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds_CXX
+
+# The commands to extract the exported symbol list from a shared archive.
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms_CXX
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms_CXX
+
+# ### END LIBTOOL TAG CONFIG: $tagname
+
+__EOF__
+
+
+else
+ # If there is no Makefile yet, we rely on a make rule to execute
+ # `config.status --recheck' to rerun these tests and create the
+ # libtool script then.
+ test -f Makefile && make "$ltmain"
+fi
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+CC=$lt_save_CC
+LDCXX=$LD
+LD=$lt_save_LD
+GCC=$lt_save_GCC
+with_gnu_ldcxx=$with_gnu_ld
+with_gnu_ld=$lt_save_with_gnu_ld
+lt_cv_path_LDCXX=$lt_cv_path_LD
+lt_cv_path_LD=$lt_save_path_LD
+lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
+lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
+
+ else
+ tagname=""
+ fi
+ ;;
+
+ F77)
+ if test -n "$F77" && test "X$F77" != "Xno"; then
+
+ac_ext=f
+ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
+ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_f77_compiler_gnu
+
+
+archive_cmds_need_lc_F77=no
+allow_undefined_flag_F77=
+always_export_symbols_F77=no
+archive_expsym_cmds_F77=
+export_dynamic_flag_spec_F77=
+hardcode_direct_F77=no
+hardcode_libdir_flag_spec_F77=
+hardcode_libdir_flag_spec_ld_F77=
+hardcode_libdir_separator_F77=
+hardcode_minus_L_F77=no
+hardcode_automatic_F77=no
+module_cmds_F77=
+module_expsym_cmds_F77=
+link_all_deplibs_F77=unknown
+old_archive_cmds_F77=$old_archive_cmds
+no_undefined_flag_F77=
+whole_archive_flag_spec_F77=
+enable_shared_with_static_runtimes_F77=no
+
+# Source file extension for f77 test sources.
+ac_ext=f
+
+# Object file extension for compiled f77 test sources.
+objext=o
+objext_F77=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code=" subroutine t\n return\n end\n"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code=" program t\n end\n"
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+
+# Allow CC to be a program name with arguments.
+lt_save_CC="$CC"
+CC=${F77-"f77"}
+compiler=$CC
+compiler_F77=$CC
+cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
+
+{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
+echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
+echo "${ECHO_T}$can_build_shared" >&6; }
+
+{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
+echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
+test "$can_build_shared" = "no" && enable_shared=no
+
+# On AIX, shared libraries and static libraries use the same namespace, and
+# are all built from PIC.
+case "$host_os" in
+aix3*)
+ test "$enable_shared" = yes && enable_static=no
+ if test -n "$RANLIB"; then
+ archive_cmds="$archive_cmds~\$RANLIB \$lib"
+ postinstall_cmds='$RANLIB $lib'
+ fi
+ ;;
+aix4*)
+ test "$enable_shared" = yes && enable_static=no
+ ;;
+esac
+{ echo "$as_me:$LINENO: result: $enable_shared" >&5
+echo "${ECHO_T}$enable_shared" >&6; }
+
+{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
+echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
+# Make sure either enable_shared or enable_static is yes.
+test "$enable_shared" = yes || enable_static=yes
+{ echo "$as_me:$LINENO: result: $enable_static" >&5
+echo "${ECHO_T}$enable_static" >&6; }
+
+test "$ld_shlibs_F77" = no && can_build_shared=no
+
+GCC_F77="$G77"
+LD_F77="$LD"
+
+lt_prog_compiler_wl_F77=
+lt_prog_compiler_pic_F77=
+lt_prog_compiler_static_F77=
+
+{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
+
+ if test "$GCC" = yes; then
+ lt_prog_compiler_wl_F77='-Wl,'
+ lt_prog_compiler_static_F77='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_F77='-Bstatic'
+ fi
+ ;;
+
+ amigaos*)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the `-m68020' flag to GCC prevents building anything better,
+ # like `-m68040'.
+ lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
+ ;;
+
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+
+ mingw* | pw32* | os2*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic_F77='-DDLL_EXPORT'
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic_F77='-fno-common'
+ ;;
+
+ msdosdjgpp*)
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
+ # on systems that don't support them.
+ lt_prog_compiler_can_build_shared_F77=no
+ enable_shared=no
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic_F77=-Kconform_pic
+ fi
+ ;;
+
+ hpux*)
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic_F77='-fPIC'
+ ;;
+ esac
+ ;;
+
+ *)
+ lt_prog_compiler_pic_F77='-fPIC'
+ ;;
+ esac
+ else
+ # PORTME Check for flag to pass linker flags through the system compiler.
+ case $host_os in
+ aix*)
+ lt_prog_compiler_wl_F77='-Wl,'
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_F77='-Bstatic'
+ else
+ lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+
+ mingw* | pw32* | os2*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic_F77='-DDLL_EXPORT'
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ lt_prog_compiler_wl_F77='-Wl,'
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic_F77='+Z'
+ ;;
+ esac
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
+ lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ lt_prog_compiler_wl_F77='-Wl,'
+ # PIC (with -KPIC) is the default.
+ lt_prog_compiler_static_F77='-non_shared'
+ ;;
+
+ newsos6)
+ lt_prog_compiler_pic_F77='-KPIC'
+ lt_prog_compiler_static_F77='-Bstatic'
+ ;;
+
+ linux*)
+ case $CC in
+ icc* | ecc*)
+ lt_prog_compiler_wl_F77='-Wl,'
+ lt_prog_compiler_pic_F77='-KPIC'
+ lt_prog_compiler_static_F77='-static'
+ ;;
+ ccc*)
+ lt_prog_compiler_wl_F77='-Wl,'
+ # All Alpha code is PIC.
+ lt_prog_compiler_static_F77='-non_shared'
+ ;;
+ esac
+ ;;
+
+ osf3* | osf4* | osf5*)
+ lt_prog_compiler_wl_F77='-Wl,'
+ # All OSF/1 code is PIC.
+ lt_prog_compiler_static_F77='-non_shared'
+ ;;
+
+ sco3.2v5*)
+ lt_prog_compiler_pic_F77='-Kpic'
+ lt_prog_compiler_static_F77='-dn'
+ ;;
+
+ solaris*)
+ lt_prog_compiler_wl_F77='-Wl,'
+ lt_prog_compiler_pic_F77='-KPIC'
+ lt_prog_compiler_static_F77='-Bstatic'
+ ;;
+
+ sunos4*)
+ lt_prog_compiler_wl_F77='-Qoption ld '
+ lt_prog_compiler_pic_F77='-PIC'
+ lt_prog_compiler_static_F77='-Bstatic'
+ ;;
+
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ lt_prog_compiler_wl_F77='-Wl,'
+ lt_prog_compiler_pic_F77='-KPIC'
+ lt_prog_compiler_static_F77='-Bstatic'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec ;then
+ lt_prog_compiler_pic_F77='-Kconform_pic'
+ lt_prog_compiler_static_F77='-Bstatic'
+ fi
+ ;;
+
+ uts4*)
+ lt_prog_compiler_pic_F77='-pic'
+ lt_prog_compiler_static_F77='-Bstatic'
+ ;;
+
+ *)
+ lt_prog_compiler_can_build_shared_F77=no
+ ;;
+ esac
+ fi
+
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
+echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$lt_prog_compiler_pic_F77"; then
+
+{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
+if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ lt_prog_compiler_pic_works_F77=no
+ ac_outfile=conftest.$ac_objext
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$lt_prog_compiler_pic_F77"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:17150: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:17154: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test ! -s conftest.err; then
+ lt_prog_compiler_pic_works_F77=yes
+ fi
+ fi
+ $rm conftest*
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
+echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
+
+if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
+ case $lt_prog_compiler_pic_F77 in
+ "" | " "*) ;;
+ *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
+ esac
+else
+ lt_prog_compiler_pic_F77=
+ lt_prog_compiler_can_build_shared_F77=no
+fi
+
+fi
+case "$host_os" in
+ # For platforms which do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ lt_prog_compiler_pic_F77=
+ ;;
+ *)
+ lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
+ ;;
+esac
+
+{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
+if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ lt_cv_prog_compiler_c_o_F77=no
+ $rm -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
+ # that will create temporary files in the current directory regardless of
+ # the output directory. Thus, making CWD read-only will cause this test
+ # to fail, enabling locking or at least warning the user not to do parallel
+ # builds.
+ chmod -w .
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:17217: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:17221: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test ! -s out/conftest.err; then
+ lt_cv_prog_compiler_c_o_F77=yes
+ fi
+ fi
+ chmod u+w .
+ $rm conftest* out/*
+ rmdir out
+ cd ..
+ rmdir conftest
+ $rm conftest*
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
+
+
+hard_links="nottested"
+if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
+ # do not overwrite the value of need_locks provided by the user
+ { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
+ hard_links=yes
+ $rm conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ { echo "$as_me:$LINENO: result: $hard_links" >&5
+echo "${ECHO_T}$hard_links" >&6; }
+ if test "$hard_links" = no; then
+ { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
+echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
+
+ runpath_var=
+ allow_undefined_flag_F77=
+ enable_shared_with_static_runtimes_F77=no
+ archive_cmds_F77=
+ archive_expsym_cmds_F77=
+ old_archive_From_new_cmds_F77=
+ old_archive_from_expsyms_cmds_F77=
+ export_dynamic_flag_spec_F77=
+ whole_archive_flag_spec_F77=
+ thread_safe_flag_spec_F77=
+ hardcode_libdir_flag_spec_F77=
+ hardcode_libdir_flag_spec_ld_F77=
+ hardcode_libdir_separator_F77=
+ hardcode_direct_F77=no
+ hardcode_minus_L_F77=no
+ hardcode_shlibpath_var_F77=unsupported
+ link_all_deplibs_F77=unknown
+ hardcode_automatic_F77=no
+ module_cmds_F77=
+ module_expsym_cmds_F77=
+ always_export_symbols_F77=no
+ export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ # include_expsyms should be a list of space-separated symbols to be *always*
+ # included in the symbol list
+ include_expsyms_F77=
+ # exclude_expsyms can be an extended regexp of symbols to exclude
+ # it will be wrapped by ` (' and `)$', so one must not match beginning or
+ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
+ # as well as any symbol that contains `d'.
+ exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+ # platforms (ab)use it in PIC code, but their linkers get confused if
+ # the symbol is explicitly referenced. Since portable code cannot
+ # rely on this symbol name, it's probably fine to never include it in
+ # preloaded symbol tables.
+ extract_expsyms_cmds=
+
+ case $host_os in
+ cygwin* | mingw* | pw32*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test "$GCC" != yes; then
+ with_gnu_ld=no
+ fi
+ ;;
+ openbsd*)
+ with_gnu_ld=no
+ ;;
+ esac
+
+ ld_shlibs_F77=yes
+ if test "$with_gnu_ld" = yes; then
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ wlarc='${wl}'
+
+ # See if GNU ld supports shared libraries.
+ case $host_os in
+ aix3* | aix4* | aix5*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test "$host_cpu" != ia64; then
+ ld_shlibs_F77=no
+ cat <<EOF 1>&2
+
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
+*** to be unable to reliably create shared libraries on AIX.
+*** Therefore, libtool is disabling shared libraries support. If you
+*** really care for shared libraries, you may want to modify your PATH
+*** so that a non-GNU linker is found, and then restart.
+
+EOF
+ fi
+ ;;
+
+ amigaos*)
+ archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec_F77='-L$libdir'
+ hardcode_minus_L_F77=yes
+
+ # Samuel A. Falvo II <kc5tja at dolphin.openprojects.net> reports
+ # that the semantics of dynamic libraries on AmigaOS, at least up
+ # to version 4, is to share data among multiple programs linked
+ # with the same dynamic library. Since this doesn't match the
+ # behavior of shared libraries on other platforms, we can't use
+ # them.
+ ld_shlibs_F77=no
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ allow_undefined_flag_F77=unsupported
+ # Joseph Beckenbach <jrb3 at best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ archive_cmds_F77='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ else
+ ld_shlibs_F77=no
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32*)
+ # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
+ # as there is no search path for DLLs.
+ hardcode_libdir_flag_spec_F77='-L$libdir'
+ allow_undefined_flag_F77=no
+ always_export_symbols_F77=no
+ enable_shared_with_static_runtimes_F77=yes
+ export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
+
+ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
+ archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ # If the export-symbols file already is a .def file (1st line
+ # is EXPORTS), use it as is; otherwise, prepend...
+ archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+ archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+ solaris* | sysv5*)
+ if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
+ ld_shlibs_F77=no
+ cat <<EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** create shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+EOF
+ elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs_F77=no
+ fi
+ ;;
+
+ sunos4*)
+ archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ wlarc=
+ hardcode_direct_F77=yes
+ hardcode_shlibpath_var_F77=no
+ ;;
+
+ *)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs_F77=no
+ fi
+ ;;
+ esac
+
+ if test "$ld_shlibs_F77" = yes; then
+ runpath_var=LD_RUN_PATH
+ hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
+ export_dynamic_flag_spec_F77='${wl}--export-dynamic'
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
+ whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ else
+ whole_archive_flag_spec_F77=
+ fi
+ fi
+ else
+ # PORTME fill in a description of your system's linker (not GNU ld)
+ case $host_os in
+ aix3*)
+ allow_undefined_flag_F77=unsupported
+ always_export_symbols_F77=yes
+ archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ hardcode_minus_L_F77=yes
+ if test "$GCC" = yes && test -z "$link_static_flag"; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ hardcode_direct_F77=unsupported
+ fi
+ ;;
+
+ aix4* | aix5*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
+ if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
+ export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
+ else
+ export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
+ fi
+
+ # KDE requires run time linking. Make it the default.
+ aix_use_runtimelinking=yes
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ archive_cmds_F77=''
+ hardcode_direct_F77=yes
+ hardcode_libdir_separator_F77=':'
+ link_all_deplibs_F77=yes
+
+ if test "$GCC" = yes; then
+ case $host_os in aix4.012|aix4.012.*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" && \
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ hardcode_direct_F77=yes
+ else
+ # We have old collect2
+ hardcode_direct_F77=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L_F77=yes
+ hardcode_libdir_flag_spec_F77='-L$libdir'
+ hardcode_libdir_separator_F77=
+ fi
+ esac
+ shared_flag='-shared'
+ else
+ # not using gcc
+ if test "$host_cpu" = ia64; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='-qmkshrobj ${wl}-G'
+ else
+ shared_flag='-qmkshrobj'
+ fi
+ fi
+ fi
+
+ # Let the compiler handle the export list.
+ always_export_symbols_F77=no
+ if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ allow_undefined_flag_F77='-berok'
+ # Determine the default libpath from the value encoded in an empty executable.
+ cat >conftest.$ac_ext <<_ACEOF
+ program main
+
+ end
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_f77_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`
+# Check for a 64-bit object if we didn't find anything.
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`; fi
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
+ archive_cmds_F77="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
+ archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+ else
+ if test "$host_cpu" = ia64; then
+ hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag_F77="-z nodefs"
+ archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an empty executable.
+ cat >conftest.$ac_ext <<_ACEOF
+ program main
+
+ end
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_f77_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`
+# Check for a 64-bit object if we didn't find anything.
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`; fi
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ no_undefined_flag_F77=' ${wl}-bernotok'
+ allow_undefined_flag_F77=' ${wl}-berok'
+ # -bexpall does not export symbols beginning with underscore (_)
+ always_export_symbols_F77=yes
+ # Exported symbols can be pulled into shared objects from archives
+ whole_archive_flag_spec_F77=' '
+ archive_cmds_need_lc_F77=yes
+ # This is similar to how AIX traditionally builds it's shared libraries.
+ archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ fi
+ fi
+ ;;
+
+ amigaos*)
+ archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec_F77='-L$libdir'
+ hardcode_minus_L_F77=yes
+ # see comment about different semantics on the GNU ld section
+ ld_shlibs_F77=no
+ ;;
+
+ bsdi4*)
+ export_dynamic_flag_spec_F77=-rdynamic
+ ;;
+
+ cygwin* | mingw* | pw32*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ hardcode_libdir_flag_spec_F77=' '
+ allow_undefined_flag_F77=no
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext=".dll"
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds_F77='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
+ # The linker will automatically build a .lib file if we build a DLL.
+ old_archive_From_new_cmds_F77='true'
+ # FIXME: Should let the user specify the lib program.
+ old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
+ fix_srcfile_path='`cygpath -w "$srcfile"`'
+ enable_shared_with_static_runtimes_F77=yes
+ ;;
+
+ darwin* | rhapsody*)
+ if test "$GXX" = yes ; then
+ archive_cmds_need_lc_F77=no
+ case "$host_os" in
+ rhapsody* | darwin1.[012])
+ allow_undefined_flag_F77='-Wl,-undefined -Wl,suppress'
+ ;;
+ *) # Darwin 1.3 on
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
+ allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ else
+ case ${MACOSX_DEPLOYMENT_TARGET} in
+ 10.012)
+ allow_undefined_flag_F77='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ ;;
+ 10.*)
+ allow_undefined_flag_F77='-Wl,-undefined -Wl,dynamic_lookup'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ lt_int_apple_cc_single_mod=no
+ output_verbose_link_cmd='echo'
+ if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
+ lt_int_apple_cc_single_mod=yes
+ fi
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+ archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
+ else
+ archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
+ fi
+ module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+ archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ else
+ archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ fi
+ module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ hardcode_direct_F77=no
+ hardcode_automatic_F77=yes
+ hardcode_shlibpath_var_F77=unsupported
+ whole_archive_flag_spec_F77='-all_load $convenience'
+ link_all_deplibs_F77=yes
+ else
+ ld_shlibs_F77=no
+ fi
+ ;;
+
+ dgux*)
+ archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec_F77='-L$libdir'
+ hardcode_shlibpath_var_F77=no
+ ;;
+
+ freebsd1*)
+ ld_shlibs_F77=no
+ ;;
+
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+ # support. Future versions do this automatically, but an explicit c++rt0.o
+ # does not break anything, and helps significantly (at the cost of a little
+ # extra space).
+ freebsd2.2*)
+ archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+ hardcode_libdir_flag_spec_F77='-R$libdir'
+ hardcode_direct_F77=yes
+ hardcode_shlibpath_var_F77=no
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+ freebsd2*)
+ archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct_F77=yes
+ hardcode_minus_L_F77=yes
+ hardcode_shlibpath_var_F77=no
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | kfreebsd*-gnu)
+ archive_cmds_F77='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
+ hardcode_libdir_flag_spec_F77='-R$libdir'
+ hardcode_direct_F77=yes
+ hardcode_shlibpath_var_F77=no
+ ;;
+
+ hpux9*)
+ if test "$GCC" = yes; then
+ archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ fi
+ hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator_F77=:
+ hardcode_direct_F77=yes
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L_F77=yes
+ export_dynamic_flag_spec_F77='${wl}-E'
+ ;;
+
+ hpux10* | hpux11*)
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ ;;
+ *)
+ archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
+ ;;
+ esac
+ else
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
+ ;;
+ *)
+ archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ ;;
+ esac
+ fi
+ if test "$with_gnu_ld" = no; then
+ case "$host_cpu" in
+ hppa*64*)
+ hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
+ hardcode_libdir_flag_spec_ld_F77='+b $libdir'
+ hardcode_libdir_separator_F77=:
+ hardcode_direct_F77=no
+ hardcode_shlibpath_var_F77=no
+ ;;
+ ia64*)
+ hardcode_libdir_flag_spec_F77='-L$libdir'
+ hardcode_direct_F77=no
+ hardcode_shlibpath_var_F77=no
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L_F77=yes
+ ;;
+ *)
+ hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator_F77=:
+ hardcode_direct_F77=yes
+ export_dynamic_flag_spec_F77='${wl}-E'
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L_F77=yes
+ ;;
+ esac
+ fi
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ if test "$GCC" = yes; then
+ archive_cmds_F77='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
+ fi
+ hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator_F77=:
+ link_all_deplibs_F77=yes
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
+ else
+ archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
+ fi
+ hardcode_libdir_flag_spec_F77='-R$libdir'
+ hardcode_direct_F77=yes
+ hardcode_shlibpath_var_F77=no
+ ;;
+
+ newsos6)
+ archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct_F77=yes
+ hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator_F77=:
+ hardcode_shlibpath_var_F77=no
+ ;;
+
+ openbsd*)
+ hardcode_direct_F77=yes
+ hardcode_shlibpath_var_F77=no
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
+ hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
+ export_dynamic_flag_spec_F77='${wl}-E'
+ else
+ case $host_os in
+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
+ archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec_F77='-R$libdir'
+ ;;
+ *)
+ archive_cmds_F77='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
+ hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
+ ;;
+ esac
+ fi
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec_F77='-L$libdir'
+ hardcode_minus_L_F77=yes
+ allow_undefined_flag_F77=unsupported
+ archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
+ old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+ ;;
+
+ osf3*)
+ if test "$GCC" = yes; then
+ allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
+ archive_cmds_F77='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ allow_undefined_flag_F77=' -expect_unresolved \*'
+ archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ fi
+ hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator_F77=:
+ ;;
+
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test "$GCC" = yes; then
+ allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
+ archive_cmds_F77='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
+ else
+ allow_undefined_flag_F77=' -expect_unresolved \*'
+ archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
+ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
+
+ # Both c and cxx compiler support -rpath directly
+ hardcode_libdir_flag_spec_F77='-rpath $libdir'
+ fi
+ hardcode_libdir_separator_F77=:
+ ;;
+
+ sco3.2v5*)
+ archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var_F77=no
+ export_dynamic_flag_spec_F77='${wl}-Bexport'
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ ;;
+
+ solaris*)
+ no_undefined_flag_F77=' -z text'
+ if test "$GCC" = yes; then
+ archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
+ else
+ archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+ fi
+ hardcode_libdir_flag_spec_F77='-R$libdir'
+ hardcode_shlibpath_var_F77=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *) # Supported since Solaris 2.6 (maybe 2.5.1?)
+ whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
+ esac
+ link_all_deplibs_F77=yes
+ ;;
+
+ sunos4*)
+ if test "x$host_vendor" = xsequent; then
+ # Use $CC to link under sequent, because it throws in some extra .o
+ # files that make .init and .fini sections work.
+ archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
+ else
+ archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ hardcode_libdir_flag_spec_F77='-L$libdir'
+ hardcode_direct_F77=yes
+ hardcode_minus_L_F77=yes
+ hardcode_shlibpath_var_F77=no
+ ;;
+
+ sysv4)
+ case $host_vendor in
+ sni)
+ archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct_F77=yes # is this really true???
+ ;;
+ siemens)
+ ## LD is ld it makes a PLAMLIB
+ ## CC just makes a GrossModule.
+ archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ reload_cmds_F77='$CC -r -o $output$reload_objs'
+ hardcode_direct_F77=no
+ ;;
+ motorola)
+ archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ runpath_var='LD_RUN_PATH'
+ hardcode_shlibpath_var_F77=no
+ ;;
+
+ sysv4.3*)
+ archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var_F77=no
+ export_dynamic_flag_spec_F77='-Bexport'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var_F77=no
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ ld_shlibs_F77=yes
+ fi
+ ;;
+
+ sysv4.2uw2*)
+ archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct_F77=yes
+ hardcode_minus_L_F77=no
+ hardcode_shlibpath_var_F77=no
+ hardcode_runpath_var=yes
+ runpath_var=LD_RUN_PATH
+ ;;
+
+ sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
+ no_undefined_flag_F77='${wl}-z ${wl}text'
+ if test "$GCC" = yes; then
+ archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ else
+ archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ fi
+ runpath_var='LD_RUN_PATH'
+ hardcode_shlibpath_var_F77=no
+ ;;
+
+ sysv5*)
+ no_undefined_flag_F77=' -z text'
+ # $CC -shared without GNU ld will not create a library from C++
+ # object files and a static libstdc++, better avoid it by now
+ archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+ hardcode_libdir_flag_spec_F77=
+ hardcode_shlibpath_var_F77=no
+ runpath_var='LD_RUN_PATH'
+ ;;
+
+ uts4*)
+ archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec_F77='-L$libdir'
+ hardcode_shlibpath_var_F77=no
+ ;;
+
+ *)
+ ld_shlibs_F77=no
+ ;;
+ esac
+ fi
+
+{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
+echo "${ECHO_T}$ld_shlibs_F77" >&6; }
+test "$ld_shlibs_F77" = no && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test "$GCC" = yes; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$archive_cmds_need_lc_F77" in
+x|xyes)
+ # Assume -lc should be added
+ archive_cmds_need_lc_F77=yes
+
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
+ case $archive_cmds_F77 in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
+ $rm conftest*
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$lt_prog_compiler_wl_F77
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$allow_undefined_flag_F77
+ allow_undefined_flag_F77=
+ if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
+ (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+ then
+ archive_cmds_need_lc_F77=no
+ else
+ archive_cmds_need_lc_F77=yes
+ fi
+ allow_undefined_flag_F77=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $rm conftest*
+ { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
+echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext=".so"
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+
+aix4* | aix5*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test "$host_cpu" = ia64; then
+ # AIX 5 supports IA64
+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line `#! .'. This would cause the generated library to
+ # depend on `.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[01] | aix4.[01].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ if test "$aix_use_runtimelinking" = yes; then
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ else
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='${libname}${release}.a $libname.a'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ fi
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+ ;;
+
+beos*)
+ library_names_spec='${libname}${shared_ext}'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi4*)
+ version_type=linux
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32*)
+ version_type=windows
+ shrext=".dll"
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$host_os in
+ yes,cygwin* | yes,mingw* | yes,pw32*)
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $rm \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
+ ;;
+ mingw*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
+ if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
+ # It is most probably a Windows format PATH printed by
+ # mingw gcc, but we are running on Cygwin. Gcc prints its search
+ # path with ; separators, and with drive letters. We can handle the
+ # drive letters (cygwin fileutils understands them), so leave them,
+ # especially as we might pass files found there to a mingw objdump,
+ # which wouldn't understand a cygwinified path. Ahh.
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
+ ;;
+ esac
+ ;;
+
+ *)
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
+ soname_spec='${libname}${release}${major}$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext='$(test .$module = .yes && echo .so || echo .dylib)'
+ # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
+ if test "$GCC" = yes; then
+ sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
+ else
+ sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
+ fi
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd1*)
+ dynamic_linker=no
+ ;;
+
+kfreebsd*-gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='GNU ld.so'
+ ;;
+
+freebsd*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.01* | freebsdelf3.01*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ *) # from 3.2 on
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case "$host_cpu" in
+ ia64*)
+ shrext='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ if test "X$HPUX_IA64_MODE" = X32; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
+ postinstall_cmds='chmod 555 $lib'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test "$lt_cv_prog_gnu_ld" = yes; then
+ version_type=linux
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+# This must be Linux ELF.
+linux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ libsuff=
+ if test "x$LINUX_64_MODE" = x64; then
+ # Some platforms are per default 64-bit, so there's no /lib64
+ if test -d /lib64 -a ! -h /lib64; then
+ libsuff=64
+ fi
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+nto-qnx*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+openbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ case $host_os in
+ openbsd2.[89] | openbsd2.[89].*)
+ shlibpath_overrides_runpath=no
+ ;;
+ *)
+ shlibpath_overrides_runpath=yes
+ ;;
+ esac
+ else
+ shlibpath_overrides_runpath=yes
+ fi
+ ;;
+
+os2*)
+ libname_spec='$name'
+ shrext=".dll"
+ need_lib_prefix=no
+ library_names_spec='$libname${shared_ext} $libname.a'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=LIBPATH
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+ ;;
+
+sco3.2v5*)
+ version_type=osf
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+solaris*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test "$with_gnu_ld" = yes; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec ;then
+ version_type=linux
+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
+ soname_spec='$libname${shared_ext}.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+uts4*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
+echo "${ECHO_T}$dynamic_linker" >&6; }
+test "$dynamic_linker" = no && can_build_shared=no
+
+{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
+hardcode_action_F77=
+if test -n "$hardcode_libdir_flag_spec_F77" || \
+ test -n "$runpath_var F77" || \
+ test "X$hardcode_automatic_F77"="Xyes" ; then
+
+ # We can hardcode non-existant directories.
+ if test "$hardcode_direct_F77" != no &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
+ test "$hardcode_minus_L_F77" != no; then
+ # Linking always hardcodes the temporary library directory.
+ hardcode_action_F77=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ hardcode_action_F77=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ hardcode_action_F77=unsupported
+fi
+{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
+echo "${ECHO_T}$hardcode_action_F77" >&6; }
+
+if test "$hardcode_action_F77" = relink; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test "$shlibpath_overrides_runpath" = yes ||
+ test "$enable_shared" = no; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+
+striplib=
+old_striplib=
+{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
+echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
+if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP" ; then
+ striplib="$STRIP -x"
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+ ;;
+ *)
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ ;;
+ esac
+fi
+
+
+
+# The else clause should only fire when bootstrapping the
+# libtool distribution, otherwise you forgot to ship ltmain.sh
+# with your package, and you will get complaints that there are
+# no rules to generate ltmain.sh.
+if test -f "$ltmain"; then
+ # See if we are running on zsh, and set the options which allow our commands through
+ # without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}" ; then
+ setopt NO_GLOB_SUBST
+ fi
+ # Now quote all the things that may contain metacharacters while being
+ # careful not to overquote the AC_SUBSTed values. We take copies of the
+ # variables and quote the copies for generation of the libtool script.
+ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
+ libname_spec library_names_spec soname_spec extract_expsyms_cmds \
+ old_striplib striplib file_magic_cmd finish_cmds finish_eval \
+ deplibs_check_method reload_flag reload_cmds need_locks \
+ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+ lt_cv_sys_global_symbol_to_c_name_address \
+ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+ old_postinstall_cmds old_postuninstall_cmds \
+ compiler_F77 \
+ CC_F77 \
+ LD_F77 \
+ lt_prog_compiler_wl_F77 \
+ lt_prog_compiler_pic_F77 \
+ lt_prog_compiler_static_F77 \
+ lt_prog_compiler_no_builtin_flag_F77 \
+ export_dynamic_flag_spec_F77 \
+ thread_safe_flag_spec_F77 \
+ whole_archive_flag_spec_F77 \
+ enable_shared_with_static_runtimes_F77 \
+ old_archive_cmds_F77 \
+ old_archive_from_new_cmds_F77 \
+ predep_objects_F77 \
+ postdep_objects_F77 \
+ predeps_F77 \
+ postdeps_F77 \
+ compiler_lib_search_path_F77 \
+ archive_cmds_F77 \
+ archive_expsym_cmds_F77 \
+ postinstall_cmds_F77 \
+ postuninstall_cmds_F77 \
+ old_archive_from_expsyms_cmds_F77 \
+ allow_undefined_flag_F77 \
+ no_undefined_flag_F77 \
+ export_symbols_cmds_F77 \
+ hardcode_libdir_flag_spec_F77 \
+ hardcode_libdir_flag_spec_ld_F77 \
+ hardcode_libdir_separator_F77 \
+ hardcode_automatic_F77 \
+ module_cmds_F77 \
+ module_expsym_cmds_F77 \
+ lt_cv_prog_compiler_c_o_F77 \
+ exclude_expsyms_F77 \
+ include_expsyms_F77; do
+
+ case $var in
+ old_archive_cmds_F77 | \
+ old_archive_from_new_cmds_F77 | \
+ archive_cmds_F77 | \
+ archive_expsym_cmds_F77 | \
+ module_cmds_F77 | \
+ module_expsym_cmds_F77 | \
+ old_archive_from_expsyms_cmds_F77 | \
+ export_symbols_cmds_F77 | \
+ extract_expsyms_cmds | reload_cmds | finish_cmds | \
+ postinstall_cmds | postuninstall_cmds | \
+ old_postinstall_cmds | old_postuninstall_cmds | \
+ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
+ # Double-quote double-evaled strings.
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
+ ;;
+ *)
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
+ ;;
+ esac
+ done
+
+ case $lt_echo in
+ *'\$0 --fallback-echo"')
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
+ ;;
+ esac
+
+cfgfile="$ofile"
+
+ cat <<__EOF__ >> "$cfgfile"
+# ### BEGIN LIBTOOL TAG CONFIG: $tagname
+
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# Whether or not to build shared libraries.
+build_libtool_libs=$enable_shared
+
+# Whether or not to build static libraries.
+build_old_libs=$enable_static
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc_F77
+
+# Whether or not to disallow shared libs when runtime libs are static
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
+
+# Whether or not to optimize for fast installation.
+fast_install=$enable_fast_install
+
+# The host system.
+host_alias=$host_alias
+host=$host
+
+# An echo program that does not interpret backslashes.
+echo=$lt_echo
+
+# The archiver.
+AR=$lt_AR
+AR_FLAGS=$lt_AR_FLAGS
+
+# A C compiler.
+LTCC=$lt_LTCC
+
+# A language-specific compiler.
+CC=$lt_compiler_F77
+
+# Is the compiler the GNU C compiler?
+with_gcc=$GCC_F77
+
+# An ERE matcher.
+EGREP=$lt_EGREP
+
+# The linker used to build libraries.
+LD=$lt_LD_F77
+
+# Whether we need hard or soft links.
+LN_S=$lt_LN_S
+
+# A BSD-compatible nm program.
+NM=$lt_NM
+
+# A symbol stripping program
+STRIP=$STRIP
+
+# Used to examine libraries when file_magic_cmd begins "file"
+MAGIC_CMD=$MAGIC_CMD
+
+# Used on cygwin: DLL creation program.
+DLLTOOL="$DLLTOOL"
+
+# Used on cygwin: object dumper.
+OBJDUMP="$OBJDUMP"
+
+# Used on cygwin: assembler.
+AS="$AS"
+
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl_F77
+
+# Object file suffix (normally "o").
+objext="$ac_objext"
+
+# Old archive suffix (normally "a").
+libext="$libext"
+
+# Shared library suffix (normally ".so").
+shrext='$shrext'
+
+# Executable file suffix (normally "").
+exeext="$exeext"
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic_F77
+pic_mode=$pic_mode
+
+# What is the maximum length of a command?
+max_cmd_len=$lt_cv_sys_max_cmd_len
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
+
+# Must we lock files when doing compilation ?
+need_locks=$lt_need_locks
+
+# Do we need the lib prefix for modules?
+need_lib_prefix=$need_lib_prefix
+
+# Do we need a version for libraries?
+need_version=$need_version
+
+# Whether dlopen is supported.
+dlopen_support=$enable_dlopen
+
+# Whether dlopen of programs is supported.
+dlopen_self=$enable_dlopen_self
+
+# Whether dlopen of statically linked programs is supported.
+dlopen_self_static=$enable_dlopen_self_static
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static_F77
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
+
+# Compiler flag to generate thread-safe objects.
+thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
+
+# Library versioning type.
+version_type=$version_type
+
+# Format of library name prefix.
+libname_spec=$lt_libname_spec
+
+# List of archive names. First name is the real one, the rest are links.
+# The last name is the one that the linker finds with -lNAME.
+library_names_spec=$lt_library_names_spec
+
+# The coded name of the library, if different from the real name.
+soname_spec=$lt_soname_spec
+
+# Commands used to build and install an old-style archive.
+RANLIB=$lt_RANLIB
+old_archive_cmds=$lt_old_archive_cmds_F77
+old_postinstall_cmds=$lt_old_postinstall_cmds
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
+
+# Commands used to build and install a shared archive.
+archive_cmds=$lt_archive_cmds_F77
+archive_expsym_cmds=$lt_archive_expsym_cmds_F77
+postinstall_cmds=$lt_postinstall_cmds
+postuninstall_cmds=$lt_postuninstall_cmds
+
+# Commands used to build a loadable module (assumed same as above if empty)
+module_cmds=$lt_module_cmds_F77
+module_expsym_cmds=$lt_module_expsym_cmds_F77
+
+# Commands to strip libraries.
+old_striplib=$lt_old_striplib
+striplib=$lt_striplib
+
+# Dependencies to place before the objects being linked to create a
+# shared library.
+predep_objects=$lt_predep_objects_F77
+
+# Dependencies to place after the objects being linked to create a
+# shared library.
+postdep_objects=$lt_postdep_objects_F77
+
+# Dependencies to place before the objects being linked to create a
+# shared library.
+predeps=$lt_predeps_F77
+
+# Dependencies to place after the objects being linked to create a
+# shared library.
+postdeps=$lt_postdeps_F77
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path_F77
+
+# Method to check whether dependent libraries are shared objects.
+deplibs_check_method=$lt_deplibs_check_method
+
+# Command to use when deplibs_check_method == file_magic.
+file_magic_cmd=$lt_file_magic_cmd
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag_F77
+
+# Flag that forces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag_F77
+
+# Commands used to finish a libtool library installation in a directory.
+finish_cmds=$lt_finish_cmds
+
+# Same as above, but a single script fragment to be evaled but not shown.
+finish_eval=$lt_finish_eval
+
+# Take the output of nm and produce a listing of raw symbols and C names.
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
+
+# Transform the output of nm in a proper C declaration
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
+
+# Transform the output of nm in a C name address pair
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+
+# This is the shared library runtime path variable.
+runpath_var=$runpath_var
+
+# This is the shared library path variable.
+shlibpath_var=$shlibpath_var
+
+# Is shlibpath searched before the hard-coded library search path?
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action_F77
+
+# Whether we should hardcode library paths into libraries.
+hardcode_into_libs=$hardcode_into_libs
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist.
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
+
+# If ld is used when linking, flag to hardcode \$libdir into
+# a binary during linking. This must work even if \$libdir does
+# not exist.
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
+
+# Whether we need a single -rpath flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
+
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
+# resulting binary.
+hardcode_direct=$hardcode_direct_F77
+
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
+# resulting binary.
+hardcode_minus_L=$hardcode_minus_L_F77
+
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
+# the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
+
+# Set to yes if building a shared library automatically hardcodes DIR into the library
+# and all subsequent libraries and executables linked against it.
+hardcode_automatic=$hardcode_automatic_F77
+
+# Variables whose values should be saved in libtool wrapper scripts and
+# restored at relink time.
+variables_saved_for_relink="$variables_saved_for_relink"
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs_F77
+
+# Compile-time system search path for libraries
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+
+# Run-time system search path for libraries
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+
+# Fix the shell variable \$srcfile for the compiler.
+fix_srcfile_path="$fix_srcfile_path_F77"
+
+# Set to yes if exported symbols are required.
+always_export_symbols=$always_export_symbols_F77
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds_F77
+
+# The commands to extract the exported symbol list from a shared archive.
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms_F77
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms_F77
+
+# ### END LIBTOOL TAG CONFIG: $tagname
+
+__EOF__
+
+
+else
+ # If there is no Makefile yet, we rely on a make rule to execute
+ # `config.status --recheck' to rerun these tests and create the
+ # libtool script then.
+ test -f Makefile && make "$ltmain"
+fi
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+CC="$lt_save_CC"
+
+ else
+ tagname=""
+ fi
+ ;;
+
+ GCJ)
+ if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
+
+
+# Source file extension for Java test sources.
+ac_ext=java
+
+# Object file extension for compiled Java test sources.
+objext=o
+objext_GCJ=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code="class foo {}\n"
+
+# Code to be used in simple link tests
+lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+
+# Allow CC to be a program name with arguments.
+lt_save_CC="$CC"
+CC=${GCJ-"gcj"}
+compiler=$CC
+compiler_GCJ=$CC
+
+# GCJ did not exist at the time GCC didn't implicitly link libc in.
+archive_cmds_need_lc_GCJ=no
+
+## CAVEAT EMPTOR:
+## There is no encapsulation within the following macros, do not change
+## the running order or otherwise move them around unless you know exactly
+## what you are doing...
+
+lt_prog_compiler_no_builtin_flag_GCJ=
+
+if test "$GCC" = yes; then
+ lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
+
+
+{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
+echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
+if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ lt_cv_prog_compiler_rtti_exceptions=no
+ ac_outfile=conftest.$ac_objext
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="-fno-rtti -fno-exceptions"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:19185: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:19189: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test ! -s conftest.err; then
+ lt_cv_prog_compiler_rtti_exceptions=yes
+ fi
+ fi
+ $rm conftest*
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
+echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
+
+if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
+ lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
+else
+ :
+fi
+
+fi
+
+lt_prog_compiler_wl_GCJ=
+lt_prog_compiler_pic_GCJ=
+lt_prog_compiler_static_GCJ=
+
+{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
+echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
+
+ if test "$GCC" = yes; then
+ lt_prog_compiler_wl_GCJ='-Wl,'
+ lt_prog_compiler_static_GCJ='-static'
+
+ case $host_os in
+ aix*)
+ # All AIX code is PIC.
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_GCJ='-Bstatic'
+ fi
+ ;;
+
+ amigaos*)
+ # FIXME: we need at least 68020 code to build shared libraries, but
+ # adding the `-m68020' flag to GCC prevents building anything better,
+ # like `-m68040'.
+ lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
+ ;;
+
+ beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ # PIC is the default for these OSes.
+ ;;
+
+ mingw* | pw32* | os2*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
+ ;;
+
+ darwin* | rhapsody*)
+ # PIC is the default on this platform
+ # Common symbols not allowed in MH_DYLIB files
+ lt_prog_compiler_pic_GCJ='-fno-common'
+ ;;
+
+ msdosdjgpp*)
+ # Just because we use GCC doesn't mean we suddenly get shared libraries
+ # on systems that don't support them.
+ lt_prog_compiler_can_build_shared_GCJ=no
+ enable_shared=no
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ lt_prog_compiler_pic_GCJ=-Kconform_pic
+ fi
+ ;;
+
+ hpux*)
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic_GCJ='-fPIC'
+ ;;
+ esac
+ ;;
+
+ *)
+ lt_prog_compiler_pic_GCJ='-fPIC'
+ ;;
+ esac
+ else
+ # PORTME Check for flag to pass linker flags through the system compiler.
+ case $host_os in
+ aix*)
+ lt_prog_compiler_wl_GCJ='-Wl,'
+ if test "$host_cpu" = ia64; then
+ # AIX 5 now supports IA64 processor
+ lt_prog_compiler_static_GCJ='-Bstatic'
+ else
+ lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
+ fi
+ ;;
+
+ mingw* | pw32* | os2*)
+ # This hack is so that the source file can tell whether it is being
+ # built for inclusion in a dll (and should export symbols for example).
+ lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
+ ;;
+
+ hpux9* | hpux10* | hpux11*)
+ lt_prog_compiler_wl_GCJ='-Wl,'
+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
+ # not for PA HP-UX.
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ # +Z the default
+ ;;
+ *)
+ lt_prog_compiler_pic_GCJ='+Z'
+ ;;
+ esac
+ # Is there a better lt_prog_compiler_static that works with the bundled CC?
+ lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ lt_prog_compiler_wl_GCJ='-Wl,'
+ # PIC (with -KPIC) is the default.
+ lt_prog_compiler_static_GCJ='-non_shared'
+ ;;
+
+ newsos6)
+ lt_prog_compiler_pic_GCJ='-KPIC'
+ lt_prog_compiler_static_GCJ='-Bstatic'
+ ;;
+
+ linux*)
+ case $CC in
+ icc* | ecc*)
+ lt_prog_compiler_wl_GCJ='-Wl,'
+ lt_prog_compiler_pic_GCJ='-KPIC'
+ lt_prog_compiler_static_GCJ='-static'
+ ;;
+ ccc*)
+ lt_prog_compiler_wl_GCJ='-Wl,'
+ # All Alpha code is PIC.
+ lt_prog_compiler_static_GCJ='-non_shared'
+ ;;
+ esac
+ ;;
+
+ osf3* | osf4* | osf5*)
+ lt_prog_compiler_wl_GCJ='-Wl,'
+ # All OSF/1 code is PIC.
+ lt_prog_compiler_static_GCJ='-non_shared'
+ ;;
+
+ sco3.2v5*)
+ lt_prog_compiler_pic_GCJ='-Kpic'
+ lt_prog_compiler_static_GCJ='-dn'
+ ;;
+
+ solaris*)
+ lt_prog_compiler_wl_GCJ='-Wl,'
+ lt_prog_compiler_pic_GCJ='-KPIC'
+ lt_prog_compiler_static_GCJ='-Bstatic'
+ ;;
+
+ sunos4*)
+ lt_prog_compiler_wl_GCJ='-Qoption ld '
+ lt_prog_compiler_pic_GCJ='-PIC'
+ lt_prog_compiler_static_GCJ='-Bstatic'
+ ;;
+
+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ lt_prog_compiler_wl_GCJ='-Wl,'
+ lt_prog_compiler_pic_GCJ='-KPIC'
+ lt_prog_compiler_static_GCJ='-Bstatic'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec ;then
+ lt_prog_compiler_pic_GCJ='-Kconform_pic'
+ lt_prog_compiler_static_GCJ='-Bstatic'
+ fi
+ ;;
+
+ uts4*)
+ lt_prog_compiler_pic_GCJ='-pic'
+ lt_prog_compiler_static_GCJ='-Bstatic'
+ ;;
+
+ *)
+ lt_prog_compiler_can_build_shared_GCJ=no
+ ;;
+ esac
+ fi
+
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
+echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
+
+#
+# Check to make sure the PIC flag actually works.
+#
+if test -n "$lt_prog_compiler_pic_GCJ"; then
+
+{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
+echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
+if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ lt_prog_compiler_pic_works_GCJ=no
+ ac_outfile=conftest.$ac_objext
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+ lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ # The option is referenced via a variable to avoid confusing sed.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:19418: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>conftest.err)
+ ac_status=$?
+ cat conftest.err >&5
+ echo "$as_me:19422: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s "$ac_outfile"; then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test ! -s conftest.err; then
+ lt_prog_compiler_pic_works_GCJ=yes
+ fi
+ fi
+ $rm conftest*
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
+echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
+
+if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
+ case $lt_prog_compiler_pic_GCJ in
+ "" | " "*) ;;
+ *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
+ esac
+else
+ lt_prog_compiler_pic_GCJ=
+ lt_prog_compiler_can_build_shared_GCJ=no
+fi
+
+fi
+case "$host_os" in
+ # For platforms which do not support PIC, -DPIC is meaningless:
+ *djgpp*)
+ lt_prog_compiler_pic_GCJ=
+ ;;
+ *)
+ lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
+ ;;
+esac
+
+{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
+echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
+if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ lt_cv_prog_compiler_c_o_GCJ=no
+ $rm -r conftest 2>/dev/null
+ mkdir conftest
+ cd conftest
+ mkdir out
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
+ # that will create temporary files in the current directory regardless of
+ # the output directory. Thus, making CWD read-only will cause this test
+ # to fail, enabling locking or at least warning the user not to do parallel
+ # builds.
+ chmod -w .
+
+ lt_compiler_flag="-o out/conftest2.$ac_objext"
+ # Insert the option either (1) after the last *FLAGS variable, or
+ # (2) before a word containing "conftest.", or (3) at the end.
+ # Note that $ac_compile itself does not contain backslashes and begins
+ # with a dollar sign (not a hyphen), so the echo should work correctly.
+ lt_compile=`echo "$ac_compile" | $SED \
+ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
+ -e 's:$: $lt_compiler_flag:'`
+ (eval echo "\"\$as_me:19485: $lt_compile\"" >&5)
+ (eval "$lt_compile" 2>out/conftest.err)
+ ac_status=$?
+ cat out/conftest.err >&5
+ echo "$as_me:19489: \$? = $ac_status" >&5
+ if (exit $ac_status) && test -s out/conftest2.$ac_objext
+ then
+ # The compiler can only warn and ignore the option if not recognized
+ # So say no if there are warnings
+ if test ! -s out/conftest.err; then
+ lt_cv_prog_compiler_c_o_GCJ=yes
+ fi
+ fi
+ chmod u+w .
+ $rm conftest* out/*
+ rmdir out
+ cd ..
+ rmdir conftest
+ $rm conftest*
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
+echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
+
+
+hard_links="nottested"
+if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
+ # do not overwrite the value of need_locks provided by the user
+ { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
+echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
+ hard_links=yes
+ $rm conftest*
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ touch conftest.a
+ ln conftest.a conftest.b 2>&5 || hard_links=no
+ ln conftest.a conftest.b 2>/dev/null && hard_links=no
+ { echo "$as_me:$LINENO: result: $hard_links" >&5
+echo "${ECHO_T}$hard_links" >&6; }
+ if test "$hard_links" = no; then
+ { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
+echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
+ need_locks=warn
+ fi
+else
+ need_locks=no
+fi
+
+{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
+echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
+
+ runpath_var=
+ allow_undefined_flag_GCJ=
+ enable_shared_with_static_runtimes_GCJ=no
+ archive_cmds_GCJ=
+ archive_expsym_cmds_GCJ=
+ old_archive_From_new_cmds_GCJ=
+ old_archive_from_expsyms_cmds_GCJ=
+ export_dynamic_flag_spec_GCJ=
+ whole_archive_flag_spec_GCJ=
+ thread_safe_flag_spec_GCJ=
+ hardcode_libdir_flag_spec_GCJ=
+ hardcode_libdir_flag_spec_ld_GCJ=
+ hardcode_libdir_separator_GCJ=
+ hardcode_direct_GCJ=no
+ hardcode_minus_L_GCJ=no
+ hardcode_shlibpath_var_GCJ=unsupported
+ link_all_deplibs_GCJ=unknown
+ hardcode_automatic_GCJ=no
+ module_cmds_GCJ=
+ module_expsym_cmds_GCJ=
+ always_export_symbols_GCJ=no
+ export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+ # include_expsyms should be a list of space-separated symbols to be *always*
+ # included in the symbol list
+ include_expsyms_GCJ=
+ # exclude_expsyms can be an extended regexp of symbols to exclude
+ # it will be wrapped by ` (' and `)$', so one must not match beginning or
+ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
+ # as well as any symbol that contains `d'.
+ exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
+ # platforms (ab)use it in PIC code, but their linkers get confused if
+ # the symbol is explicitly referenced. Since portable code cannot
+ # rely on this symbol name, it's probably fine to never include it in
+ # preloaded symbol tables.
+ extract_expsyms_cmds=
+
+ case $host_os in
+ cygwin* | mingw* | pw32*)
+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ if test "$GCC" != yes; then
+ with_gnu_ld=no
+ fi
+ ;;
+ openbsd*)
+ with_gnu_ld=no
+ ;;
+ esac
+
+ ld_shlibs_GCJ=yes
+ if test "$with_gnu_ld" = yes; then
+ # If archive_cmds runs LD, not CC, wlarc should be empty
+ wlarc='${wl}'
+
+ # See if GNU ld supports shared libraries.
+ case $host_os in
+ aix3* | aix4* | aix5*)
+ # On AIX/PPC, the GNU linker is very broken
+ if test "$host_cpu" != ia64; then
+ ld_shlibs_GCJ=no
+ cat <<EOF 1>&2
+
+*** Warning: the GNU linker, at least up to release 2.9.1, is reported
+*** to be unable to reliably create shared libraries on AIX.
+*** Therefore, libtool is disabling shared libraries support. If you
+*** really care for shared libraries, you may want to modify your PATH
+*** so that a non-GNU linker is found, and then restart.
+
+EOF
+ fi
+ ;;
+
+ amigaos*)
+ archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec_GCJ='-L$libdir'
+ hardcode_minus_L_GCJ=yes
+
+ # Samuel A. Falvo II <kc5tja at dolphin.openprojects.net> reports
+ # that the semantics of dynamic libraries on AmigaOS, at least up
+ # to version 4, is to share data among multiple programs linked
+ # with the same dynamic library. Since this doesn't match the
+ # behavior of shared libraries on other platforms, we can't use
+ # them.
+ ld_shlibs_GCJ=no
+ ;;
+
+ beos*)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ allow_undefined_flag_GCJ=unsupported
+ # Joseph Beckenbach <jrb3 at best.com> says some releases of gcc
+ # support --undefined. This deserves some investigation. FIXME
+ archive_cmds_GCJ='$CC -nostart $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ else
+ ld_shlibs_GCJ=no
+ fi
+ ;;
+
+ cygwin* | mingw* | pw32*)
+ # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
+ # as there is no search path for DLLs.
+ hardcode_libdir_flag_spec_GCJ='-L$libdir'
+ allow_undefined_flag_GCJ=no
+ always_export_symbols_GCJ=no
+ enable_shared_with_static_runtimes_GCJ=yes
+ export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
+
+ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
+ archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ # If the export-symbols file already is a .def file (1st line
+ # is EXPORTS), use it as is; otherwise, prepend...
+ archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
+ cp $export_symbols $output_objdir/$soname.def;
+ else
+ echo EXPORTS > $output_objdir/$soname.def;
+ cat $export_symbols >> $output_objdir/$soname.def;
+ fi~
+ $CC -shared $output_objdir/$soname.def $compiler_flags $libobjs $deplibs -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
+ else
+ ld_shlibs=no
+ fi
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
+ wlarc=
+ else
+ archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ fi
+ ;;
+
+ solaris* | sysv5*)
+ if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
+ ld_shlibs_GCJ=no
+ cat <<EOF 1>&2
+
+*** Warning: The releases 2.8.* of the GNU linker cannot reliably
+*** create shared libraries on Solaris systems. Therefore, libtool
+*** is disabling shared libraries support. We urge you to upgrade GNU
+*** binutils to release 2.9.1 or newer. Another option is to modify
+*** your PATH or compiler configuration so that the native linker is
+*** used, and then restart.
+
+EOF
+ elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs_GCJ=no
+ fi
+ ;;
+
+ sunos4*)
+ archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ wlarc=
+ hardcode_direct_GCJ=yes
+ hardcode_shlibpath_var_GCJ=no
+ ;;
+
+ *)
+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
+ archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname -o $lib'
+ archive_expsym_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
+ else
+ ld_shlibs_GCJ=no
+ fi
+ ;;
+ esac
+
+ if test "$ld_shlibs_GCJ" = yes; then
+ runpath_var=LD_RUN_PATH
+ hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
+ export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
+ # ancient GNU ld didn't support --whole-archive et. al.
+ if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
+ whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
+ else
+ whole_archive_flag_spec_GCJ=
+ fi
+ fi
+ else
+ # PORTME fill in a description of your system's linker (not GNU ld)
+ case $host_os in
+ aix3*)
+ allow_undefined_flag_GCJ=unsupported
+ always_export_symbols_GCJ=yes
+ archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
+ # Note: this linker hardcodes the directories in LIBPATH if there
+ # are no directories specified by -L.
+ hardcode_minus_L_GCJ=yes
+ if test "$GCC" = yes && test -z "$link_static_flag"; then
+ # Neither direct hardcoding nor static linking is supported with a
+ # broken collect2.
+ hardcode_direct_GCJ=unsupported
+ fi
+ ;;
+
+ aix4* | aix5*)
+ if test "$host_cpu" = ia64; then
+ # On IA64, the linker does run time linking by default, so we don't
+ # have to do anything special.
+ aix_use_runtimelinking=no
+ exp_sym_flag='-Bexport'
+ no_entry_flag=""
+ else
+ # If we're using GNU nm, then we don't want the "-C" option.
+ # -C means demangle to AIX nm, but means don't demangle with GNU nm
+ if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
+ export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
+ else
+ export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
+ fi
+
+ # KDE requires run time linking. Make it the default.
+ aix_use_runtimelinking=yes
+ exp_sym_flag='-bexport'
+ no_entry_flag='-bnoentry'
+ fi
+
+ # When large executables or shared objects are built, AIX ld can
+ # have problems creating the table of contents. If linking a library
+ # or program results in "error TOC overflow" add -mminimal-toc to
+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
+
+ archive_cmds_GCJ=''
+ hardcode_direct_GCJ=yes
+ hardcode_libdir_separator_GCJ=':'
+ link_all_deplibs_GCJ=yes
+
+ if test "$GCC" = yes; then
+ case $host_os in aix4.012|aix4.012.*)
+ # We only want to do this on AIX 4.2 and lower, the check
+ # below for broken collect2 doesn't work under 4.3+
+ collect2name=`${CC} -print-prog-name=collect2`
+ if test -f "$collect2name" && \
+ strings "$collect2name" | grep resolve_lib_name >/dev/null
+ then
+ # We have reworked collect2
+ hardcode_direct_GCJ=yes
+ else
+ # We have old collect2
+ hardcode_direct_GCJ=unsupported
+ # It fails to find uninstalled libraries when the uninstalled
+ # path is not listed in the libpath. Setting hardcode_minus_L
+ # to unsupported forces relinking
+ hardcode_minus_L_GCJ=yes
+ hardcode_libdir_flag_spec_GCJ='-L$libdir'
+ hardcode_libdir_separator_GCJ=
+ fi
+ esac
+ shared_flag='-shared'
+ else
+ # not using gcc
+ if test "$host_cpu" = ia64; then
+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
+ # chokes on -Wl,-G. The following line is correct:
+ shared_flag='-G'
+ else
+ if test "$aix_use_runtimelinking" = yes; then
+ shared_flag='-qmkshrobj ${wl}-G'
+ else
+ shared_flag='-qmkshrobj'
+ fi
+ fi
+ fi
+
+ # Let the compiler handle the export list.
+ always_export_symbols_GCJ=no
+ if test "$aix_use_runtimelinking" = yes; then
+ # Warning - without using the other runtime loading flags (-brtl),
+ # -berok will link without error, but may produce a broken library.
+ allow_undefined_flag_GCJ='-berok'
+ # Determine the default libpath from the value encoded in an empty executable.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`
+# Check for a 64-bit object if we didn't find anything.
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`; fi
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
+ archive_cmds_GCJ="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '" $shared_flag"
+ archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
+ else
+ if test "$host_cpu" = ia64; then
+ hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
+ allow_undefined_flag_GCJ="-z nodefs"
+ archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
+ else
+ # Determine the default libpath from the value encoded in an empty executable.
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+
+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`
+# Check for a 64-bit object if we didn't find anything.
+if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
+}'`; fi
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
+
+ hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
+ # Warning - without using the other run time loading flags,
+ # -berok will link without error, but may produce a broken library.
+ no_undefined_flag_GCJ=' ${wl}-bernotok'
+ allow_undefined_flag_GCJ=' ${wl}-berok'
+ # -bexpall does not export symbols beginning with underscore (_)
+ always_export_symbols_GCJ=yes
+ # Exported symbols can be pulled into shared objects from archives
+ whole_archive_flag_spec_GCJ=' '
+ archive_cmds_need_lc_GCJ=yes
+ # This is similar to how AIX traditionally builds it's shared libraries.
+ archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $compiler_flags $libobjs $deplibs ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
+ fi
+ fi
+ ;;
+
+ amigaos*)
+ archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
+ hardcode_libdir_flag_spec_GCJ='-L$libdir'
+ hardcode_minus_L_GCJ=yes
+ # see comment about different semantics on the GNU ld section
+ ld_shlibs_GCJ=no
+ ;;
+
+ bsdi4*)
+ export_dynamic_flag_spec_GCJ=-rdynamic
+ ;;
+
+ cygwin* | mingw* | pw32*)
+ # When not using gcc, we currently assume that we are using
+ # Microsoft Visual C++.
+ # hardcode_libdir_flag_spec is actually meaningless, as there is
+ # no search path for DLLs.
+ hardcode_libdir_flag_spec_GCJ=' '
+ allow_undefined_flag_GCJ=no
+ # Tell ltmain to make .lib files, not .a files.
+ libext=lib
+ # Tell ltmain to make .dll files, not .so files.
+ shrext=".dll"
+ # FIXME: Setting linknames here is a bad hack.
+ archive_cmds_GCJ='$CC -o $lib $compiler_flags $libobjs `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
+ # The linker will automatically build a .lib file if we build a DLL.
+ old_archive_From_new_cmds_GCJ='true'
+ # FIXME: Should let the user specify the lib program.
+ old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
+ fix_srcfile_path='`cygpath -w "$srcfile"`'
+ enable_shared_with_static_runtimes_GCJ=yes
+ ;;
+
+ darwin* | rhapsody*)
+ if test "$GXX" = yes ; then
+ archive_cmds_need_lc_GCJ=no
+ case "$host_os" in
+ rhapsody* | darwin1.[012])
+ allow_undefined_flag_GCJ='-Wl,-undefined -Wl,suppress'
+ ;;
+ *) # Darwin 1.3 on
+ if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
+ allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ else
+ case ${MACOSX_DEPLOYMENT_TARGET} in
+ 10.012)
+ allow_undefined_flag_GCJ='-Wl,-flat_namespace -Wl,-undefined -Wl,suppress'
+ ;;
+ 10.*)
+ allow_undefined_flag_GCJ='-Wl,-undefined -Wl,dynamic_lookup'
+ ;;
+ esac
+ fi
+ ;;
+ esac
+ lt_int_apple_cc_single_mod=no
+ output_verbose_link_cmd='echo'
+ if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
+ lt_int_apple_cc_single_mod=yes
+ fi
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+ archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring'
+ else
+ archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring'
+ fi
+ module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs'
+ # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
+ if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
+ archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $compiler_flags $libobjs $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ else
+ archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $compiler_flags $deplibs -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ fi
+ module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $compiler_flags $libobjs $deplibs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
+ hardcode_direct_GCJ=no
+ hardcode_automatic_GCJ=yes
+ hardcode_shlibpath_var_GCJ=unsupported
+ whole_archive_flag_spec_GCJ='-all_load $convenience'
+ link_all_deplibs_GCJ=yes
+ else
+ ld_shlibs_GCJ=no
+ fi
+ ;;
+
+ dgux*)
+ archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec_GCJ='-L$libdir'
+ hardcode_shlibpath_var_GCJ=no
+ ;;
+
+ freebsd1*)
+ ld_shlibs_GCJ=no
+ ;;
+
+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
+ # support. Future versions do this automatically, but an explicit c++rt0.o
+ # does not break anything, and helps significantly (at the cost of a little
+ # extra space).
+ freebsd2.2*)
+ archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
+ hardcode_libdir_flag_spec_GCJ='-R$libdir'
+ hardcode_direct_GCJ=yes
+ hardcode_shlibpath_var_GCJ=no
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+ freebsd2*)
+ archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct_GCJ=yes
+ hardcode_minus_L_GCJ=yes
+ hardcode_shlibpath_var_GCJ=no
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+ freebsd* | kfreebsd*-gnu)
+ archive_cmds_GCJ='$CC -shared -o $lib $compiler_flags $libobjs $deplibs'
+ hardcode_libdir_flag_spec_GCJ='-R$libdir'
+ hardcode_direct_GCJ=yes
+ hardcode_shlibpath_var_GCJ=no
+ ;;
+
+ hpux9*)
+ if test "$GCC" = yes; then
+ archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $compiler_flags $libobjs $deplibs~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ else
+ archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
+ fi
+ hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator_GCJ=:
+ hardcode_direct_GCJ=yes
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L_GCJ=yes
+ export_dynamic_flag_spec_GCJ='${wl}-E'
+ ;;
+
+ hpux10* | hpux11*)
+ if test "$GCC" = yes -a "$with_gnu_ld" = no; then
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ ;;
+ *)
+ archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $compiler_flags $libobjs $deplibs'
+ ;;
+ esac
+ else
+ case "$host_cpu" in
+ hppa*64*|ia64*)
+ archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
+ ;;
+ *)
+ archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
+ ;;
+ esac
+ fi
+ if test "$with_gnu_ld" = no; then
+ case "$host_cpu" in
+ hppa*64*)
+ hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
+ hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
+ hardcode_libdir_separator_GCJ=:
+ hardcode_direct_GCJ=no
+ hardcode_shlibpath_var_GCJ=no
+ ;;
+ ia64*)
+ hardcode_libdir_flag_spec_GCJ='-L$libdir'
+ hardcode_direct_GCJ=no
+ hardcode_shlibpath_var_GCJ=no
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L_GCJ=yes
+ ;;
+ *)
+ hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator_GCJ=:
+ hardcode_direct_GCJ=yes
+ export_dynamic_flag_spec_GCJ='${wl}-E'
+
+ # hardcode_minus_L: Not really in the search PATH,
+ # but as the default location of the library.
+ hardcode_minus_L_GCJ=yes
+ ;;
+ esac
+ fi
+ ;;
+
+ irix5* | irix6* | nonstopux*)
+ if test "$GCC" = yes; then
+ archive_cmds_GCJ='$CC -shared $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
+ fi
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator_GCJ=:
+ link_all_deplibs_GCJ=yes
+ ;;
+
+ netbsd*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
+ else
+ archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
+ fi
+ hardcode_libdir_flag_spec_GCJ='-R$libdir'
+ hardcode_direct_GCJ=yes
+ hardcode_shlibpath_var_GCJ=no
+ ;;
+
+ newsos6)
+ archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct_GCJ=yes
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator_GCJ=:
+ hardcode_shlibpath_var_GCJ=no
+ ;;
+
+ openbsd*)
+ hardcode_direct_GCJ=yes
+ hardcode_shlibpath_var_GCJ=no
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
+ export_dynamic_flag_spec_GCJ='${wl}-E'
+ else
+ case $host_os in
+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
+ archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec_GCJ='-R$libdir'
+ ;;
+ *)
+ archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $compiler_flags $libobjs $deplibs'
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
+ ;;
+ esac
+ fi
+ ;;
+
+ os2*)
+ hardcode_libdir_flag_spec_GCJ='-L$libdir'
+ hardcode_minus_L_GCJ=yes
+ allow_undefined_flag_GCJ=unsupported
+ archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $compiler_flags $libobjs $deplibs$output_objdir/$libname.def'
+ old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
+ ;;
+
+ osf3*)
+ if test "$GCC" = yes; then
+ allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
+ archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ else
+ allow_undefined_flag_GCJ=' -expect_unresolved \*'
+ archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ fi
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
+ hardcode_libdir_separator_GCJ=:
+ ;;
+
+ osf4* | osf5*) # as osf3* with the addition of -msym flag
+ if test "$GCC" = yes; then
+ allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
+ archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $compiler_flags $libobjs $deplibs ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
+ hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
+ else
+ allow_undefined_flag_GCJ=' -expect_unresolved \*'
+ archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
+ archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
+ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
+
+ # Both c and cxx compiler support -rpath directly
+ hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
+ fi
+ hardcode_libdir_separator_GCJ=:
+ ;;
+
+ sco3.2v5*)
+ archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var_GCJ=no
+ export_dynamic_flag_spec_GCJ='${wl}-Bexport'
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ ;;
+
+ solaris*)
+ no_undefined_flag_GCJ=' -z text'
+ if test "$GCC" = yes; then
+ archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs~$rm $lib.exp'
+ else
+ archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+ fi
+ hardcode_libdir_flag_spec_GCJ='-R$libdir'
+ hardcode_shlibpath_var_GCJ=no
+ case $host_os in
+ solaris2.[0-5] | solaris2.[0-5].*) ;;
+ *) # Supported since Solaris 2.6 (maybe 2.5.1?)
+ whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
+ esac
+ link_all_deplibs_GCJ=yes
+ ;;
+
+ sunos4*)
+ if test "x$host_vendor" = xsequent; then
+ # Use $CC to link under sequent, because it throws in some extra .o
+ # files that make .init and .fini sections work.
+ archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $compiler_flags $libobjs $deplibs'
+ else
+ archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
+ fi
+ hardcode_libdir_flag_spec_GCJ='-L$libdir'
+ hardcode_direct_GCJ=yes
+ hardcode_minus_L_GCJ=yes
+ hardcode_shlibpath_var_GCJ=no
+ ;;
+
+ sysv4)
+ case $host_vendor in
+ sni)
+ archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct_GCJ=yes # is this really true???
+ ;;
+ siemens)
+ ## LD is ld it makes a PLAMLIB
+ ## CC just makes a GrossModule.
+ archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ reload_cmds_GCJ='$CC -r -o $output$reload_objs'
+ hardcode_direct_GCJ=no
+ ;;
+ motorola)
+ archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
+ ;;
+ esac
+ runpath_var='LD_RUN_PATH'
+ hardcode_shlibpath_var_GCJ=no
+ ;;
+
+ sysv4.3*)
+ archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var_GCJ=no
+ export_dynamic_flag_spec_GCJ='-Bexport'
+ ;;
+
+ sysv4*MP*)
+ if test -d /usr/nec; then
+ archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_shlibpath_var_GCJ=no
+ runpath_var=LD_RUN_PATH
+ hardcode_runpath_var=yes
+ ld_shlibs_GCJ=yes
+ fi
+ ;;
+
+ sysv4.2uw2*)
+ archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct_GCJ=yes
+ hardcode_minus_L_GCJ=no
+ hardcode_shlibpath_var_GCJ=no
+ hardcode_runpath_var=yes
+ runpath_var=LD_RUN_PATH
+ ;;
+
+ sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
+ no_undefined_flag_GCJ='${wl}-z ${wl}text'
+ if test "$GCC" = yes; then
+ archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ else
+ archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $compiler_flags $libobjs $deplibs'
+ fi
+ runpath_var='LD_RUN_PATH'
+ hardcode_shlibpath_var_GCJ=no
+ ;;
+
+ sysv5*)
+ no_undefined_flag_GCJ=' -z text'
+ # $CC -shared without GNU ld will not create a library from C++
+ # object files and a static libstdc++, better avoid it by now
+ archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
+ hardcode_libdir_flag_spec_GCJ=
+ hardcode_shlibpath_var_GCJ=no
+ runpath_var='LD_RUN_PATH'
+ ;;
+
+ uts4*)
+ archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec_GCJ='-L$libdir'
+ hardcode_shlibpath_var_GCJ=no
+ ;;
+
+ *)
+ ld_shlibs_GCJ=no
+ ;;
+ esac
+ fi
+
+{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
+echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
+test "$ld_shlibs_GCJ" = no && can_build_shared=no
+
+variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
+if test "$GCC" = yes; then
+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
+fi
+
+#
+# Do we need to explicitly link libc?
+#
+case "x$archive_cmds_need_lc_GCJ" in
+x|xyes)
+ # Assume -lc should be added
+ archive_cmds_need_lc_GCJ=yes
+
+ if test "$enable_shared" = yes && test "$GCC" = yes; then
+ case $archive_cmds_GCJ in
+ *'~'*)
+ # FIXME: we may have to deal with multi-command sequences.
+ ;;
+ '$CC '*)
+ # Test whether the compiler implicitly links with -lc since on some
+ # systems, -lgcc has to come before -lc. If gcc already passes -lc
+ # to ld, don't add -lc before -lgcc.
+ { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
+echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
+ $rm conftest*
+ printf "$lt_simple_compile_test_code" > conftest.$ac_ext
+
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } 2>conftest.err; then
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$lt_prog_compiler_wl_GCJ
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
+ allow_undefined_flag_GCJ=
+ if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
+ (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+ then
+ archive_cmds_need_lc_GCJ=no
+ else
+ archive_cmds_need_lc_GCJ=yes
+ fi
+ allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $rm conftest*
+ { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
+echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
+ ;;
+ esac
+ fi
+ ;;
+esac
+
+{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
+echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
+library_names_spec=
+libname_spec='lib$name'
+soname_spec=
+shrext=".so"
+postinstall_cmds=
+postuninstall_cmds=
+finish_cmds=
+finish_eval=
+shlibpath_var=
+shlibpath_overrides_runpath=unknown
+version_type=none
+dynamic_linker="$host_os ld.so"
+sys_lib_dlsearch_path_spec="/lib /usr/lib"
+sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
+need_lib_prefix=unknown
+hardcode_into_libs=no
+
+# when you set need_version to no, make sure it does not cause -set_version
+# flags to be left without arguments
+need_version=unknown
+
+case $host_os in
+aix3*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
+ shlibpath_var=LIBPATH
+
+ # AIX 3 has no versioning support, so we append a major version to the name.
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+
+aix4* | aix5*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ hardcode_into_libs=yes
+ if test "$host_cpu" = ia64; then
+ # AIX 5 supports IA64
+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ else
+ # With GCC up to 2.95.x, collect2 would create an import file
+ # for dependence libraries. The import file would start with
+ # the line `#! .'. This would cause the generated library to
+ # depend on `.', always an invalid library. This was fixed in
+ # development snapshots of GCC prior to 3.0.
+ case $host_os in
+ aix4 | aix4.[01] | aix4.[01].*)
+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
+ echo ' yes '
+ echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
+ :
+ else
+ can_build_shared=no
+ fi
+ ;;
+ esac
+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
+ # soname into executable. Probably we can add versioning support to
+ # collect2, so additional links can be useful in future.
+ if test "$aix_use_runtimelinking" = yes; then
+ # If using run time linking (on AIX 4.2 or later) use lib<name>.so
+ # instead of lib<name>.a to let people know that these are not
+ # typical AIX shared libraries.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ else
+ # We preserve .a as extension for shared libraries through AIX4.2
+ # and later when we are not doing run time linking.
+ library_names_spec='${libname}${release}.a $libname.a'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ fi
+ shlibpath_var=LIBPATH
+ fi
+ ;;
+
+amigaos*)
+ library_names_spec='$libname.ixlibrary $libname.a'
+ # Create ${libname}_ixlibrary.a entries in /sys/libs.
+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
+ ;;
+
+beos*)
+ library_names_spec='${libname}${shared_ext}'
+ dynamic_linker="$host_os ld.so"
+ shlibpath_var=LIBRARY_PATH
+ ;;
+
+bsdi4*)
+ version_type=linux
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
+ # the default ld.so.conf also contains /usr/contrib/lib and
+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
+ # libtool to hard-code these into programs
+ ;;
+
+cygwin* | mingw* | pw32*)
+ version_type=windows
+ shrext=".dll"
+ need_version=no
+ need_lib_prefix=no
+
+ case $GCC,$host_os in
+ yes,cygwin* | yes,mingw* | yes,pw32*)
+ library_names_spec='$libname.dll.a'
+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
+ postinstall_cmds='base_file=`basename \${file}`~
+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
+ dldir=$destdir/`dirname \$dlpath`~
+ test -d \$dldir || mkdir -p \$dldir~
+ $install_prog $dir/$dlname \$dldir/$dlname'
+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
+ dlpath=$dir/\$dldll~
+ $rm \$dlpath'
+ shlibpath_overrides_runpath=yes
+
+ case $host_os in
+ cygwin*)
+ # Cygwin DLLs use 'cyg' prefix rather than 'lib'
+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
+ ;;
+ mingw*)
+ # MinGW DLLs use traditional 'lib' prefix
+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
+ sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
+ if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
+ # It is most probably a Windows format PATH printed by
+ # mingw gcc, but we are running on Cygwin. Gcc prints its search
+ # path with ; separators, and with drive letters. We can handle the
+ # drive letters (cygwin fileutils understands them), so leave them,
+ # especially as we might pass files found there to a mingw objdump,
+ # which wouldn't understand a cygwinified path. Ahh.
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
+ else
+ sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
+ fi
+ ;;
+ pw32*)
+ # pw32 DLLs use 'pw' prefix rather than 'lib'
+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
+ ;;
+ esac
+ ;;
+
+ *)
+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
+ ;;
+ esac
+ dynamic_linker='Win32 ld.exe'
+ # FIXME: first we should search . and the directory the executable is in
+ shlibpath_var=PATH
+ ;;
+
+darwin* | rhapsody*)
+ dynamic_linker="$host_os dyld"
+ version_type=darwin
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
+ soname_spec='${libname}${release}${major}$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ shrext='$(test .$module = .yes && echo .so || echo .dylib)'
+ # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
+ if test "$GCC" = yes; then
+ sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
+ else
+ sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
+ fi
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+
+dgux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd1*)
+ dynamic_linker=no
+ ;;
+
+kfreebsd*-gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ dynamic_linker='GNU ld.so'
+ ;;
+
+freebsd*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
+ need_version=no
+ need_lib_prefix=no
+ ;;
+ freebsd-*)
+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
+ need_version=yes
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+ freebsd2*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.01* | freebsdelf3.01*)
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+ *) # from 3.2 on
+ shlibpath_overrides_runpath=no
+ hardcode_into_libs=yes
+ ;;
+ esac
+ ;;
+
+gnu*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ hardcode_into_libs=yes
+ ;;
+
+hpux9* | hpux10* | hpux11*)
+ # Give a soname corresponding to the major version so that dld.sl refuses to
+ # link against other versions.
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ case "$host_cpu" in
+ ia64*)
+ shrext='.so'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.so"
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ if test "X$HPUX_IA64_MODE" = X32; then
+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
+ else
+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
+ fi
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ hppa*64*)
+ shrext='.sl'
+ hardcode_into_libs=yes
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
+ ;;
+ *)
+ shrext='.sl'
+ dynamic_linker="$host_os dld.sl"
+ shlibpath_var=SHLIB_PATH
+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ ;;
+ esac
+ # HP-UX runs *really* slowly unless shared libraries are mode 555.
+ postinstall_cmds='chmod 555 $lib'
+ ;;
+
+irix5* | irix6* | nonstopux*)
+ case $host_os in
+ nonstopux*) version_type=nonstopux ;;
+ *)
+ if test "$lt_cv_prog_gnu_ld" = yes; then
+ version_type=linux
+ else
+ version_type=irix
+ fi ;;
+ esac
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
+ case $host_os in
+ irix5* | nonstopux*)
+ libsuff= shlibsuff=
+ ;;
+ *)
+ case $LD in # libtool.m4 will add one of these switches to LD
+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
+ libsuff= shlibsuff= libmagic=32-bit;;
+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
+ libsuff=32 shlibsuff=N32 libmagic=N32;;
+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
+ libsuff=64 shlibsuff=64 libmagic=64-bit;;
+ *) libsuff= shlibsuff= libmagic=never-match;;
+ esac
+ ;;
+ esac
+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
+ hardcode_into_libs=yes
+ ;;
+
+# No shared lib support for Linux oldld, aout, or coff.
+linux*oldld* | linux*aout* | linux*coff*)
+ dynamic_linker=no
+ ;;
+
+# This must be Linux ELF.
+linux*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
+ libsuff=
+ if test "x$LINUX_64_MODE" = x64; then
+ # Some platforms are per default 64-bit, so there's no /lib64
+ if test -d /lib64 -a ! -h /lib64; then
+ libsuff=64
+ fi
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+ sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
+ sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+
+ # We used to test for /lib/ld.so.1 and disable shared libraries on
+ # powerpc, because MkLinux only supported shared libraries with the
+ # GNU dynamic linker. Since this was broken with cross compilers,
+ # most powerpc-linux boxes support dynamic linking these days and
+ # people can always --disable-shared, the test was removed, and we
+ # assume the GNU/Linux dynamic linker is in use.
+ dynamic_linker='GNU/Linux ld.so'
+ ;;
+
+netbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ dynamic_linker='NetBSD (a.out) ld.so'
+ else
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ dynamic_linker='NetBSD ld.elf_so'
+ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ ;;
+
+newsos6)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+nto-qnx*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ ;;
+
+openbsd*)
+ version_type=sunos
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
+ case $host_os in
+ openbsd2.[89] | openbsd2.[89].*)
+ shlibpath_overrides_runpath=no
+ ;;
+ *)
+ shlibpath_overrides_runpath=yes
+ ;;
+ esac
+ else
+ shlibpath_overrides_runpath=yes
+ fi
+ ;;
+
+os2*)
+ libname_spec='$name'
+ shrext=".dll"
+ need_lib_prefix=no
+ library_names_spec='$libname${shared_ext} $libname.a'
+ dynamic_linker='OS/2 ld.exe'
+ shlibpath_var=LIBPATH
+ ;;
+
+osf3* | osf4* | osf5*)
+ version_type=osf
+ need_lib_prefix=no
+ need_version=no
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
+ ;;
+
+sco3.2v5*)
+ version_type=osf
+ soname_spec='${libname}${release}${shared_ext}$major'
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+solaris*)
+ version_type=linux
+ need_lib_prefix=no
+ need_version=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ hardcode_into_libs=yes
+ # ldd complains unless libraries are executable
+ postinstall_cmds='chmod +x $lib'
+ ;;
+
+sunos4*)
+ version_type=sunos
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=yes
+ if test "$with_gnu_ld" = yes; then
+ need_lib_prefix=no
+ fi
+ need_version=yes
+ ;;
+
+sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_vendor in
+ sni)
+ shlibpath_overrides_runpath=no
+ need_lib_prefix=no
+ export_dynamic_flag_spec='${wl}-Blargedynsym'
+ runpath_var=LD_RUN_PATH
+ ;;
+ siemens)
+ need_lib_prefix=no
+ ;;
+ motorola)
+ need_lib_prefix=no
+ need_version=no
+ shlibpath_overrides_runpath=no
+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
+ ;;
+ esac
+ ;;
+
+sysv4*MP*)
+ if test -d /usr/nec ;then
+ version_type=linux
+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
+ soname_spec='$libname${shared_ext}.$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ fi
+ ;;
+
+uts4*)
+ version_type=linux
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+*)
+ dynamic_linker=no
+ ;;
+esac
+{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
+echo "${ECHO_T}$dynamic_linker" >&6; }
+test "$dynamic_linker" = no && can_build_shared=no
+
+{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
+echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
+hardcode_action_GCJ=
+if test -n "$hardcode_libdir_flag_spec_GCJ" || \
+ test -n "$runpath_var GCJ" || \
+ test "X$hardcode_automatic_GCJ"="Xyes" ; then
+
+ # We can hardcode non-existant directories.
+ if test "$hardcode_direct_GCJ" != no &&
+ # If the only mechanism to avoid hardcoding is shlibpath_var, we
+ # have to relink, otherwise we might link with an installed library
+ # when we should be linking with a yet-to-be-installed one
+ ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
+ test "$hardcode_minus_L_GCJ" != no; then
+ # Linking always hardcodes the temporary library directory.
+ hardcode_action_GCJ=relink
+ else
+ # We can link without hardcoding, and we can hardcode nonexisting dirs.
+ hardcode_action_GCJ=immediate
+ fi
+else
+ # We cannot hardcode anything, or else we can only hardcode existing
+ # directories.
+ hardcode_action_GCJ=unsupported
+fi
+{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
+echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
+
+if test "$hardcode_action_GCJ" = relink; then
+ # Fast installation is not supported
+ enable_fast_install=no
+elif test "$shlibpath_overrides_runpath" = yes ||
+ test "$enable_shared" = no; then
+ # Fast installation is not necessary
+ enable_fast_install=needless
+fi
+
+striplib=
+old_striplib=
+{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
+echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
+if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+else
+# FIXME - insert some real tests, host_os isn't really good enough
+ case $host_os in
+ darwin*)
+ if test -n "$STRIP" ; then
+ striplib="$STRIP -x"
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+ ;;
+ *)
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ ;;
+ esac
+fi
+
+if test "x$enable_dlopen" != xyes; then
+ enable_dlopen=unknown
+ enable_dlopen_self=unknown
+ enable_dlopen_self_static=unknown
+else
+ lt_cv_dlopen=no
+ lt_cv_dlopen_libs=
+
+ case $host_os in
+ beos*)
+ lt_cv_dlopen="load_add_on"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+ ;;
+
+ mingw* | pw32*)
+ lt_cv_dlopen="LoadLibrary"
+ lt_cv_dlopen_libs=
+ ;;
+
+ cygwin*)
+ lt_cv_dlopen="dlopen"
+ lt_cv_dlopen_libs=
+ ;;
+
+ darwin*)
+ # if libdl is installed we need to link against it
+ { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dl_dlopen=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dl_dlopen=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
+if test $ac_cv_lib_dl_dlopen = yes; then
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+else
+
+ lt_cv_dlopen="dyld"
+ lt_cv_dlopen_libs=
+ lt_cv_dlopen_self=yes
+
+fi
+
+ ;;
+
+ *)
+ { echo "$as_me:$LINENO: checking for shl_load" >&5
+echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
+if test "${ac_cv_func_shl_load+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define shl_load innocuous_shl_load
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char shl_load (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef shl_load
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shl_load ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_shl_load || defined __stub___shl_load
+choke me
+#endif
+
+int
+main ()
+{
+return shl_load ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_func_shl_load=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_func_shl_load=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
+echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
+if test $ac_cv_func_shl_load = yes; then
+ lt_cv_dlopen="shl_load"
+else
+ { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
+echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dld_shl_load+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shl_load ();
+int
+main ()
+{
+return shl_load ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dld_shl_load=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dld_shl_load=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
+echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
+if test $ac_cv_lib_dld_shl_load = yes; then
+ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
+else
+ { echo "$as_me:$LINENO: checking for dlopen" >&5
+echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
+if test "${ac_cv_func_dlopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define dlopen innocuous_dlopen
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char dlopen (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef dlopen
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_dlopen || defined __stub___dlopen
+choke me
+#endif
+
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_func_dlopen=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_func_dlopen=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
+echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
+if test $ac_cv_func_dlopen = yes; then
+ lt_cv_dlopen="dlopen"
+else
+ { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dl_dlopen=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dl_dlopen=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
+if test $ac_cv_lib_dl_dlopen = yes; then
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
+else
+ { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
+echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
+if test "${ac_cv_lib_svld_dlopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsvld $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_svld_dlopen=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_svld_dlopen=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
+echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
+if test $ac_cv_lib_svld_dlopen = yes; then
+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
+else
+ { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
+echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dld_dld_link+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dld_link ();
+int
+main ()
+{
+return dld_link ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dld_dld_link=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dld_dld_link=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
+echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
+if test $ac_cv_lib_dld_dld_link = yes; then
+ lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+
+fi
+
+ ;;
+ esac
+
+ if test "x$lt_cv_dlopen" != xno; then
+ enable_dlopen=yes
+ else
+ enable_dlopen=no
+ fi
+
+ case $lt_cv_dlopen in
+ dlopen)
+ save_CPPFLAGS="$CPPFLAGS"
+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
+
+ save_LDFLAGS="$LDFLAGS"
+ eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
+
+ save_LIBS="$LIBS"
+ LIBS="$lt_cv_dlopen_libs $LIBS"
+
+ { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
+echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
+if test "${lt_cv_dlopen_self+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test "$cross_compiling" = yes; then :
+ lt_cv_dlopen_self=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<EOF
+#line 21571 "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+#ifdef __cplusplus
+extern "C" void exit (int);
+#endif
+
+void fnord() { int i=42;}
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ /* dlclose (self); */
+ }
+
+ exit (status);
+}
+EOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
+ (./conftest; exit; ) 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
+ x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
+echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
+
+ if test "x$lt_cv_dlopen_self" = xyes; then
+ LDFLAGS="$LDFLAGS $link_static_flag"
+ { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
+echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
+if test "${lt_cv_dlopen_self_static+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test "$cross_compiling" = yes; then :
+ lt_cv_dlopen_self_static=cross
+else
+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
+ lt_status=$lt_dlunknown
+ cat > conftest.$ac_ext <<EOF
+#line 21669 "configure"
+#include "confdefs.h"
+
+#if HAVE_DLFCN_H
+#include <dlfcn.h>
+#endif
+
+#include <stdio.h>
+
+#ifdef RTLD_GLOBAL
+# define LT_DLGLOBAL RTLD_GLOBAL
+#else
+# ifdef DL_GLOBAL
+# define LT_DLGLOBAL DL_GLOBAL
+# else
+# define LT_DLGLOBAL 0
+# endif
+#endif
+
+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
+ find out it does not work in some platform. */
+#ifndef LT_DLLAZY_OR_NOW
+# ifdef RTLD_LAZY
+# define LT_DLLAZY_OR_NOW RTLD_LAZY
+# else
+# ifdef DL_LAZY
+# define LT_DLLAZY_OR_NOW DL_LAZY
+# else
+# ifdef RTLD_NOW
+# define LT_DLLAZY_OR_NOW RTLD_NOW
+# else
+# ifdef DL_NOW
+# define LT_DLLAZY_OR_NOW DL_NOW
+# else
+# define LT_DLLAZY_OR_NOW 0
+# endif
+# endif
+# endif
+# endif
+#endif
+
+#ifdef __cplusplus
+extern "C" void exit (int);
+#endif
+
+void fnord() { int i=42;}
+int main ()
+{
+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
+ int status = $lt_dlunknown;
+
+ if (self)
+ {
+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
+ else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
+ /* dlclose (self); */
+ }
+
+ exit (status);
+}
+EOF
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
+ (./conftest; exit; ) 2>/dev/null
+ lt_status=$?
+ case x$lt_status in
+ x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
+ x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
+ esac
+ else :
+ # compilation failed
+ lt_cv_dlopen_self_static=no
+ fi
+fi
+rm -fr conftest*
+
+
+fi
+{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
+echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
+ fi
+
+ CPPFLAGS="$save_CPPFLAGS"
+ LDFLAGS="$save_LDFLAGS"
+ LIBS="$save_LIBS"
+ ;;
+ esac
+
+ case $lt_cv_dlopen_self in
+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
+ *) enable_dlopen_self=unknown ;;
+ esac
+
+ case $lt_cv_dlopen_self_static in
+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
+ *) enable_dlopen_self_static=unknown ;;
+ esac
+fi
+
+
+# The else clause should only fire when bootstrapping the
+# libtool distribution, otherwise you forgot to ship ltmain.sh
+# with your package, and you will get complaints that there are
+# no rules to generate ltmain.sh.
+if test -f "$ltmain"; then
+ # See if we are running on zsh, and set the options which allow our commands through
+ # without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}" ; then
+ setopt NO_GLOB_SUBST
+ fi
+ # Now quote all the things that may contain metacharacters while being
+ # careful not to overquote the AC_SUBSTed values. We take copies of the
+ # variables and quote the copies for generation of the libtool script.
+ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
+ libname_spec library_names_spec soname_spec extract_expsyms_cmds \
+ old_striplib striplib file_magic_cmd finish_cmds finish_eval \
+ deplibs_check_method reload_flag reload_cmds need_locks \
+ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+ lt_cv_sys_global_symbol_to_c_name_address \
+ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+ old_postinstall_cmds old_postuninstall_cmds \
+ compiler_GCJ \
+ CC_GCJ \
+ LD_GCJ \
+ lt_prog_compiler_wl_GCJ \
+ lt_prog_compiler_pic_GCJ \
+ lt_prog_compiler_static_GCJ \
+ lt_prog_compiler_no_builtin_flag_GCJ \
+ export_dynamic_flag_spec_GCJ \
+ thread_safe_flag_spec_GCJ \
+ whole_archive_flag_spec_GCJ \
+ enable_shared_with_static_runtimes_GCJ \
+ old_archive_cmds_GCJ \
+ old_archive_from_new_cmds_GCJ \
+ predep_objects_GCJ \
+ postdep_objects_GCJ \
+ predeps_GCJ \
+ postdeps_GCJ \
+ compiler_lib_search_path_GCJ \
+ archive_cmds_GCJ \
+ archive_expsym_cmds_GCJ \
+ postinstall_cmds_GCJ \
+ postuninstall_cmds_GCJ \
+ old_archive_from_expsyms_cmds_GCJ \
+ allow_undefined_flag_GCJ \
+ no_undefined_flag_GCJ \
+ export_symbols_cmds_GCJ \
+ hardcode_libdir_flag_spec_GCJ \
+ hardcode_libdir_flag_spec_ld_GCJ \
+ hardcode_libdir_separator_GCJ \
+ hardcode_automatic_GCJ \
+ module_cmds_GCJ \
+ module_expsym_cmds_GCJ \
+ lt_cv_prog_compiler_c_o_GCJ \
+ exclude_expsyms_GCJ \
+ include_expsyms_GCJ; do
+
+ case $var in
+ old_archive_cmds_GCJ | \
+ old_archive_from_new_cmds_GCJ | \
+ archive_cmds_GCJ | \
+ archive_expsym_cmds_GCJ | \
+ module_cmds_GCJ | \
+ module_expsym_cmds_GCJ | \
+ old_archive_from_expsyms_cmds_GCJ | \
+ export_symbols_cmds_GCJ | \
+ extract_expsyms_cmds | reload_cmds | finish_cmds | \
+ postinstall_cmds | postuninstall_cmds | \
+ old_postinstall_cmds | old_postuninstall_cmds | \
+ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
+ # Double-quote double-evaled strings.
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
+ ;;
+ *)
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
+ ;;
+ esac
+ done
+
+ case $lt_echo in
+ *'\$0 --fallback-echo"')
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
+ ;;
+ esac
+
+cfgfile="$ofile"
+
+ cat <<__EOF__ >> "$cfgfile"
+# ### BEGIN LIBTOOL TAG CONFIG: $tagname
+
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# Whether or not to build shared libraries.
+build_libtool_libs=$enable_shared
+
+# Whether or not to build static libraries.
+build_old_libs=$enable_static
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc_GCJ
+
+# Whether or not to disallow shared libs when runtime libs are static
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
+
+# Whether or not to optimize for fast installation.
+fast_install=$enable_fast_install
+
+# The host system.
+host_alias=$host_alias
+host=$host
+
+# An echo program that does not interpret backslashes.
+echo=$lt_echo
+
+# The archiver.
+AR=$lt_AR
+AR_FLAGS=$lt_AR_FLAGS
+
+# A C compiler.
+LTCC=$lt_LTCC
+
+# A language-specific compiler.
+CC=$lt_compiler_GCJ
+
+# Is the compiler the GNU C compiler?
+with_gcc=$GCC_GCJ
+
+# An ERE matcher.
+EGREP=$lt_EGREP
+
+# The linker used to build libraries.
+LD=$lt_LD_GCJ
+
+# Whether we need hard or soft links.
+LN_S=$lt_LN_S
+
+# A BSD-compatible nm program.
+NM=$lt_NM
+
+# A symbol stripping program
+STRIP=$STRIP
+
+# Used to examine libraries when file_magic_cmd begins "file"
+MAGIC_CMD=$MAGIC_CMD
+
+# Used on cygwin: DLL creation program.
+DLLTOOL="$DLLTOOL"
+
+# Used on cygwin: object dumper.
+OBJDUMP="$OBJDUMP"
+
+# Used on cygwin: assembler.
+AS="$AS"
+
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl_GCJ
+
+# Object file suffix (normally "o").
+objext="$ac_objext"
+
+# Old archive suffix (normally "a").
+libext="$libext"
+
+# Shared library suffix (normally ".so").
+shrext='$shrext'
+
+# Executable file suffix (normally "").
+exeext="$exeext"
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic_GCJ
+pic_mode=$pic_mode
+
+# What is the maximum length of a command?
+max_cmd_len=$lt_cv_sys_max_cmd_len
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
+
+# Must we lock files when doing compilation ?
+need_locks=$lt_need_locks
+
+# Do we need the lib prefix for modules?
+need_lib_prefix=$need_lib_prefix
+
+# Do we need a version for libraries?
+need_version=$need_version
+
+# Whether dlopen is supported.
+dlopen_support=$enable_dlopen
+
+# Whether dlopen of programs is supported.
+dlopen_self=$enable_dlopen_self
+
+# Whether dlopen of statically linked programs is supported.
+dlopen_self_static=$enable_dlopen_self_static
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static_GCJ
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
+
+# Compiler flag to generate thread-safe objects.
+thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
+
+# Library versioning type.
+version_type=$version_type
+
+# Format of library name prefix.
+libname_spec=$lt_libname_spec
+
+# List of archive names. First name is the real one, the rest are links.
+# The last name is the one that the linker finds with -lNAME.
+library_names_spec=$lt_library_names_spec
+
+# The coded name of the library, if different from the real name.
+soname_spec=$lt_soname_spec
+
+# Commands used to build and install an old-style archive.
+RANLIB=$lt_RANLIB
+old_archive_cmds=$lt_old_archive_cmds_GCJ
+old_postinstall_cmds=$lt_old_postinstall_cmds
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
+
+# Commands used to build and install a shared archive.
+archive_cmds=$lt_archive_cmds_GCJ
+archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
+postinstall_cmds=$lt_postinstall_cmds
+postuninstall_cmds=$lt_postuninstall_cmds
+
+# Commands used to build a loadable module (assumed same as above if empty)
+module_cmds=$lt_module_cmds_GCJ
+module_expsym_cmds=$lt_module_expsym_cmds_GCJ
+
+# Commands to strip libraries.
+old_striplib=$lt_old_striplib
+striplib=$lt_striplib
+
+# Dependencies to place before the objects being linked to create a
+# shared library.
+predep_objects=$lt_predep_objects_GCJ
+
+# Dependencies to place after the objects being linked to create a
+# shared library.
+postdep_objects=$lt_postdep_objects_GCJ
+
+# Dependencies to place before the objects being linked to create a
+# shared library.
+predeps=$lt_predeps_GCJ
+
+# Dependencies to place after the objects being linked to create a
+# shared library.
+postdeps=$lt_postdeps_GCJ
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
+
+# Method to check whether dependent libraries are shared objects.
+deplibs_check_method=$lt_deplibs_check_method
+
+# Command to use when deplibs_check_method == file_magic.
+file_magic_cmd=$lt_file_magic_cmd
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag_GCJ
+
+# Flag that forces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag_GCJ
+
+# Commands used to finish a libtool library installation in a directory.
+finish_cmds=$lt_finish_cmds
+
+# Same as above, but a single script fragment to be evaled but not shown.
+finish_eval=$lt_finish_eval
+
+# Take the output of nm and produce a listing of raw symbols and C names.
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
+
+# Transform the output of nm in a proper C declaration
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
+
+# Transform the output of nm in a C name address pair
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+
+# This is the shared library runtime path variable.
+runpath_var=$runpath_var
+
+# This is the shared library path variable.
+shlibpath_var=$shlibpath_var
+
+# Is shlibpath searched before the hard-coded library search path?
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action_GCJ
+
+# Whether we should hardcode library paths into libraries.
+hardcode_into_libs=$hardcode_into_libs
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist.
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
+
+# If ld is used when linking, flag to hardcode \$libdir into
+# a binary during linking. This must work even if \$libdir does
+# not exist.
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
+
+# Whether we need a single -rpath flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
+
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
+# resulting binary.
+hardcode_direct=$hardcode_direct_GCJ
+
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
+# resulting binary.
+hardcode_minus_L=$hardcode_minus_L_GCJ
+
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
+# the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
+
+# Set to yes if building a shared library automatically hardcodes DIR into the library
+# and all subsequent libraries and executables linked against it.
+hardcode_automatic=$hardcode_automatic_GCJ
+
+# Variables whose values should be saved in libtool wrapper scripts and
+# restored at relink time.
+variables_saved_for_relink="$variables_saved_for_relink"
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs_GCJ
+
+# Compile-time system search path for libraries
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+
+# Run-time system search path for libraries
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+
+# Fix the shell variable \$srcfile for the compiler.
+fix_srcfile_path="$fix_srcfile_path_GCJ"
+
+# Set to yes if exported symbols are required.
+always_export_symbols=$always_export_symbols_GCJ
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds_GCJ
+
+# The commands to extract the exported symbol list from a shared archive.
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms_GCJ
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms_GCJ
+
+# ### END LIBTOOL TAG CONFIG: $tagname
+
+__EOF__
+
+
+else
+ # If there is no Makefile yet, we rely on a make rule to execute
+ # `config.status --recheck' to rerun these tests and create the
+ # libtool script then.
+ test -f Makefile && make "$ltmain"
+fi
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+CC="$lt_save_CC"
+
+ else
+ tagname=""
+ fi
+ ;;
+
+ RC)
+
+
+# Source file extension for RC test sources.
+ac_ext=rc
+
+# Object file extension for compiled RC test sources.
+objext=o
+objext_RC=$objext
+
+# Code to be used in simple compile tests
+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
+
+# Code to be used in simple link tests
+lt_simple_link_test_code="$lt_simple_compile_test_code"
+
+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
+
+# If no C compiler was specified, use CC.
+LTCC=${LTCC-"$CC"}
+
+# Allow CC to be a program name with arguments.
+compiler=$CC
+
+
+# Allow CC to be a program name with arguments.
+lt_save_CC="$CC"
+CC=${RC-"windres"}
+compiler=$CC
+compiler_RC=$CC
+lt_cv_prog_compiler_c_o_RC=yes
+
+# The else clause should only fire when bootstrapping the
+# libtool distribution, otherwise you forgot to ship ltmain.sh
+# with your package, and you will get complaints that there are
+# no rules to generate ltmain.sh.
+if test -f "$ltmain"; then
+ # See if we are running on zsh, and set the options which allow our commands through
+ # without removal of \ escapes.
+ if test -n "${ZSH_VERSION+set}" ; then
+ setopt NO_GLOB_SUBST
+ fi
+ # Now quote all the things that may contain metacharacters while being
+ # careful not to overquote the AC_SUBSTed values. We take copies of the
+ # variables and quote the copies for generation of the libtool script.
+ for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
+ libname_spec library_names_spec soname_spec extract_expsyms_cmds \
+ old_striplib striplib file_magic_cmd finish_cmds finish_eval \
+ deplibs_check_method reload_flag reload_cmds need_locks \
+ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
+ lt_cv_sys_global_symbol_to_c_name_address \
+ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
+ old_postinstall_cmds old_postuninstall_cmds \
+ compiler_RC \
+ CC_RC \
+ LD_RC \
+ lt_prog_compiler_wl_RC \
+ lt_prog_compiler_pic_RC \
+ lt_prog_compiler_static_RC \
+ lt_prog_compiler_no_builtin_flag_RC \
+ export_dynamic_flag_spec_RC \
+ thread_safe_flag_spec_RC \
+ whole_archive_flag_spec_RC \
+ enable_shared_with_static_runtimes_RC \
+ old_archive_cmds_RC \
+ old_archive_from_new_cmds_RC \
+ predep_objects_RC \
+ postdep_objects_RC \
+ predeps_RC \
+ postdeps_RC \
+ compiler_lib_search_path_RC \
+ archive_cmds_RC \
+ archive_expsym_cmds_RC \
+ postinstall_cmds_RC \
+ postuninstall_cmds_RC \
+ old_archive_from_expsyms_cmds_RC \
+ allow_undefined_flag_RC \
+ no_undefined_flag_RC \
+ export_symbols_cmds_RC \
+ hardcode_libdir_flag_spec_RC \
+ hardcode_libdir_flag_spec_ld_RC \
+ hardcode_libdir_separator_RC \
+ hardcode_automatic_RC \
+ module_cmds_RC \
+ module_expsym_cmds_RC \
+ lt_cv_prog_compiler_c_o_RC \
+ exclude_expsyms_RC \
+ include_expsyms_RC; do
+
+ case $var in
+ old_archive_cmds_RC | \
+ old_archive_from_new_cmds_RC | \
+ archive_cmds_RC | \
+ archive_expsym_cmds_RC | \
+ module_cmds_RC | \
+ module_expsym_cmds_RC | \
+ old_archive_from_expsyms_cmds_RC | \
+ export_symbols_cmds_RC | \
+ extract_expsyms_cmds | reload_cmds | finish_cmds | \
+ postinstall_cmds | postuninstall_cmds | \
+ old_postinstall_cmds | old_postuninstall_cmds | \
+ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
+ # Double-quote double-evaled strings.
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
+ ;;
+ *)
+ eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
+ ;;
+ esac
+ done
+
+ case $lt_echo in
+ *'\$0 --fallback-echo"')
+ lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
+ ;;
+ esac
+
+cfgfile="$ofile"
+
+ cat <<__EOF__ >> "$cfgfile"
+# ### BEGIN LIBTOOL TAG CONFIG: $tagname
+
+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+
+# Shell to use when invoking shell scripts.
+SHELL=$lt_SHELL
+
+# Whether or not to build shared libraries.
+build_libtool_libs=$enable_shared
+
+# Whether or not to build static libraries.
+build_old_libs=$enable_static
+
+# Whether or not to add -lc for building shared libraries.
+build_libtool_need_lc=$archive_cmds_need_lc_RC
+
+# Whether or not to disallow shared libs when runtime libs are static
+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
+
+# Whether or not to optimize for fast installation.
+fast_install=$enable_fast_install
+
+# The host system.
+host_alias=$host_alias
+host=$host
+
+# An echo program that does not interpret backslashes.
+echo=$lt_echo
+
+# The archiver.
+AR=$lt_AR
+AR_FLAGS=$lt_AR_FLAGS
+
+# A C compiler.
+LTCC=$lt_LTCC
+
+# A language-specific compiler.
+CC=$lt_compiler_RC
+
+# Is the compiler the GNU C compiler?
+with_gcc=$GCC_RC
+
+# An ERE matcher.
+EGREP=$lt_EGREP
+
+# The linker used to build libraries.
+LD=$lt_LD_RC
+
+# Whether we need hard or soft links.
+LN_S=$lt_LN_S
+
+# A BSD-compatible nm program.
+NM=$lt_NM
+
+# A symbol stripping program
+STRIP=$STRIP
+
+# Used to examine libraries when file_magic_cmd begins "file"
+MAGIC_CMD=$MAGIC_CMD
+
+# Used on cygwin: DLL creation program.
+DLLTOOL="$DLLTOOL"
+
+# Used on cygwin: object dumper.
+OBJDUMP="$OBJDUMP"
+
+# Used on cygwin: assembler.
+AS="$AS"
+
+# The name of the directory that contains temporary libtool files.
+objdir=$objdir
+
+# How to create reloadable object files.
+reload_flag=$lt_reload_flag
+reload_cmds=$lt_reload_cmds
+
+# How to pass a linker flag through the compiler.
+wl=$lt_lt_prog_compiler_wl_RC
+
+# Object file suffix (normally "o").
+objext="$ac_objext"
+
+# Old archive suffix (normally "a").
+libext="$libext"
+
+# Shared library suffix (normally ".so").
+shrext='$shrext'
+
+# Executable file suffix (normally "").
+exeext="$exeext"
+
+# Additional compiler flags for building library objects.
+pic_flag=$lt_lt_prog_compiler_pic_RC
+pic_mode=$pic_mode
+
+# What is the maximum length of a command?
+max_cmd_len=$lt_cv_sys_max_cmd_len
+
+# Does compiler simultaneously support -c and -o options?
+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
+
+# Must we lock files when doing compilation ?
+need_locks=$lt_need_locks
+
+# Do we need the lib prefix for modules?
+need_lib_prefix=$need_lib_prefix
+
+# Do we need a version for libraries?
+need_version=$need_version
+
+# Whether dlopen is supported.
+dlopen_support=$enable_dlopen
+
+# Whether dlopen of programs is supported.
+dlopen_self=$enable_dlopen_self
+
+# Whether dlopen of statically linked programs is supported.
+dlopen_self_static=$enable_dlopen_self_static
+
+# Compiler flag to prevent dynamic linking.
+link_static_flag=$lt_lt_prog_compiler_static_RC
+
+# Compiler flag to turn off builtin functions.
+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
+
+# Compiler flag to allow reflexive dlopens.
+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
+
+# Compiler flag to generate shared objects directly from archives.
+whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
+
+# Compiler flag to generate thread-safe objects.
+thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
+
+# Library versioning type.
+version_type=$version_type
+
+# Format of library name prefix.
+libname_spec=$lt_libname_spec
+
+# List of archive names. First name is the real one, the rest are links.
+# The last name is the one that the linker finds with -lNAME.
+library_names_spec=$lt_library_names_spec
+
+# The coded name of the library, if different from the real name.
+soname_spec=$lt_soname_spec
+
+# Commands used to build and install an old-style archive.
+RANLIB=$lt_RANLIB
+old_archive_cmds=$lt_old_archive_cmds_RC
+old_postinstall_cmds=$lt_old_postinstall_cmds
+old_postuninstall_cmds=$lt_old_postuninstall_cmds
+
+# Create an old-style archive from a shared archive.
+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
+
+# Create a temporary old-style archive to link instead of a shared archive.
+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
+
+# Commands used to build and install a shared archive.
+archive_cmds=$lt_archive_cmds_RC
+archive_expsym_cmds=$lt_archive_expsym_cmds_RC
+postinstall_cmds=$lt_postinstall_cmds
+postuninstall_cmds=$lt_postuninstall_cmds
+
+# Commands used to build a loadable module (assumed same as above if empty)
+module_cmds=$lt_module_cmds_RC
+module_expsym_cmds=$lt_module_expsym_cmds_RC
+
+# Commands to strip libraries.
+old_striplib=$lt_old_striplib
+striplib=$lt_striplib
+
+# Dependencies to place before the objects being linked to create a
+# shared library.
+predep_objects=$lt_predep_objects_RC
+
+# Dependencies to place after the objects being linked to create a
+# shared library.
+postdep_objects=$lt_postdep_objects_RC
+
+# Dependencies to place before the objects being linked to create a
+# shared library.
+predeps=$lt_predeps_RC
+
+# Dependencies to place after the objects being linked to create a
+# shared library.
+postdeps=$lt_postdeps_RC
+
+# The library search path used internally by the compiler when linking
+# a shared library.
+compiler_lib_search_path=$lt_compiler_lib_search_path_RC
+
+# Method to check whether dependent libraries are shared objects.
+deplibs_check_method=$lt_deplibs_check_method
+
+# Command to use when deplibs_check_method == file_magic.
+file_magic_cmd=$lt_file_magic_cmd
+
+# Flag that allows shared libraries with undefined symbols to be built.
+allow_undefined_flag=$lt_allow_undefined_flag_RC
+
+# Flag that forces no undefined symbols.
+no_undefined_flag=$lt_no_undefined_flag_RC
+
+# Commands used to finish a libtool library installation in a directory.
+finish_cmds=$lt_finish_cmds
+
+# Same as above, but a single script fragment to be evaled but not shown.
+finish_eval=$lt_finish_eval
+
+# Take the output of nm and produce a listing of raw symbols and C names.
+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
+
+# Transform the output of nm in a proper C declaration
+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
+
+# Transform the output of nm in a C name address pair
+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
+
+# This is the shared library runtime path variable.
+runpath_var=$runpath_var
+
+# This is the shared library path variable.
+shlibpath_var=$shlibpath_var
+
+# Is shlibpath searched before the hard-coded library search path?
+shlibpath_overrides_runpath=$shlibpath_overrides_runpath
+
+# How to hardcode a shared library path into an executable.
+hardcode_action=$hardcode_action_RC
+
+# Whether we should hardcode library paths into libraries.
+hardcode_into_libs=$hardcode_into_libs
+
+# Flag to hardcode \$libdir into a binary during linking.
+# This must work even if \$libdir does not exist.
+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
+
+# If ld is used when linking, flag to hardcode \$libdir into
+# a binary during linking. This must work even if \$libdir does
+# not exist.
+hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
+
+# Whether we need a single -rpath flag with a separated argument.
+hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
+
+# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
+# resulting binary.
+hardcode_direct=$hardcode_direct_RC
+
+# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
+# resulting binary.
+hardcode_minus_L=$hardcode_minus_L_RC
+
+# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
+# the resulting binary.
+hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
+
+# Set to yes if building a shared library automatically hardcodes DIR into the library
+# and all subsequent libraries and executables linked against it.
+hardcode_automatic=$hardcode_automatic_RC
+
+# Variables whose values should be saved in libtool wrapper scripts and
+# restored at relink time.
+variables_saved_for_relink="$variables_saved_for_relink"
+
+# Whether libtool must link a program against all its dependency libraries.
+link_all_deplibs=$link_all_deplibs_RC
+
+# Compile-time system search path for libraries
+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+
+# Run-time system search path for libraries
+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
+
+# Fix the shell variable \$srcfile for the compiler.
+fix_srcfile_path="$fix_srcfile_path_RC"
+
+# Set to yes if exported symbols are required.
+always_export_symbols=$always_export_symbols_RC
+
+# The commands to list exported symbols.
+export_symbols_cmds=$lt_export_symbols_cmds_RC
+
+# The commands to extract the exported symbol list from a shared archive.
+extract_expsyms_cmds=$lt_extract_expsyms_cmds
+
+# Symbols that should not be listed in the preloaded symbols.
+exclude_expsyms=$lt_exclude_expsyms_RC
+
+# Symbols that must always be exported.
+include_expsyms=$lt_include_expsyms_RC
+
+# ### END LIBTOOL TAG CONFIG: $tagname
+
+__EOF__
+
+
+else
+ # If there is no Makefile yet, we rely on a make rule to execute
+ # `config.status --recheck' to rerun these tests and create the
+ # libtool script then.
+ test -f Makefile && make "$ltmain"
+fi
+
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+CC="$lt_save_CC"
+
+ ;;
+
+ *)
+ { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
+echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
+ { (exit 1); exit 1; }; }
+ ;;
+ esac
+
+ # Append the new tag name to the list of available tags.
+ if test -n "$tagname" ; then
+ available_tags="$available_tags $tagname"
+ fi
+ fi
+ done
+ IFS="$lt_save_ifs"
+
+ # Now substitute the updated list of available tags.
+ if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
+ mv "${ofile}T" "$ofile"
+ chmod +x "$ofile"
+ else
+ rm -f "${ofile}T"
+ { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
+echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+fi
+
+
+
+# This can be used to rebuild libtool when needed
+LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+
+# Always use our own libtool.
+LIBTOOL='$(SHELL) $(top_builddir)/libtool --silent'
+
+# Prevent multiple expansion
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+LIBTOOL_SHELL="/bin/sh ./libtool"
+# LIBTOOL="$LIBTOOL --silent"
+KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
+
+
+# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs.
+KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)"
+
+
+# we patch configure quite some so we better keep that consistent for incremental runs
+AUTOCONF='$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch configure'
+
+
+
+
+
+ # Extract the first word of "msgfmt", so it can be a program name with args.
+set dummy msgfmt; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_path_MSGFMT+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case "$MSGFMT" in
+ /*)
+ ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
+ ;;
+ *)
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ if test -n "`$ac_dir/$ac_word --version 2>&1 | grep 'GNU gettext'`"; then
+ ac_cv_path_MSGFMT="$ac_dir/$ac_word"
+ break
+ fi
+ fi
+ done
+ IFS="$ac_save_ifs"
+ test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
+ ;;
+esac
+fi
+MSGFMT="$ac_cv_path_MSGFMT"
+if test -n "$MSGFMT"; then
+ { echo "$as_me:$LINENO: result: $MSGFMT" >&5
+echo "${ECHO_T}$MSGFMT" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+ # Extract the first word of "gmsgfmt", so it can be a program name with args.
+set dummy gmsgfmt; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_path_GMSGFMT+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $GMSGFMT in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
+ ;;
+esac
+fi
+GMSGFMT=$ac_cv_path_GMSGFMT
+if test -n "$GMSGFMT"; then
+ { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
+echo "${ECHO_T}$GMSGFMT" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+
+ if test -z "`$GMSGFMT --version 2>&1 | grep 'GNU gettext'`"; then
+ { echo "$as_me:$LINENO: result: found msgfmt program is not GNU msgfmt; ignore it" >&5
+echo "${ECHO_T}found msgfmt program is not GNU msgfmt; ignore it" >&6; }
+ GMSGFMT=":"
+ fi
+ MSGFMT=$GMSGFMT
+
+
+
+ # Extract the first word of "xgettext", so it can be a program name with args.
+set dummy xgettext; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_path_XGETTEXT+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case "$XGETTEXT" in
+ /*)
+ ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
+ ;;
+ *)
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
+ ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
+ break
+ fi
+ fi
+ done
+ IFS="$ac_save_ifs"
+ test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
+ ;;
+esac
+fi
+XGETTEXT="$ac_cv_path_XGETTEXT"
+if test -n "$XGETTEXT"; then
+ { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
+echo "${ECHO_T}$XGETTEXT" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ if test "$XGETTEXT" != ":"; then
+ if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
+ : ;
+ else
+ { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
+echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
+ XGETTEXT=":"
+ fi
+ fi
+
+
+
+
+
+if test -z "3.2"; then
+ # Current default Qt version: 3.3
+ kde_qtver=3
+ kde_qtsubver=3
+else
+ kde_qtsubver=`echo "3.2" | sed -e 's#[0-9][0-9]*\.\([0-9][0-9]*\).*#\1#'`
+ # following is the check if subversion isnt found in passed argument
+ if test "$kde_qtsubver" = "3.2"; then
+ kde_qtsubver=1
+ fi
+ kde_qtver=`echo "3.2" | sed -e 's#^\([0-9][0-9]*\)\..*#\1#'`
+ if test "$kde_qtver" = "1"; then
+ kde_qtsubver=42
+ fi
+fi
+
+if test -z ""; then
+ if test "$kde_qtver" = "2"; then
+ if test $kde_qtsubver -gt 0; then
+ kde_qt_minversion=">= Qt 2.2.2"
+ else
+ kde_qt_minversion=">= Qt 2.0.2"
+ fi
+ fi
+ if test "$kde_qtver" = "3"; then
+ if test $kde_qtsubver -gt 0; then
+ if test $kde_qtsubver -gt 1; then
+ if test $kde_qtsubver -gt 2; then
+ kde_qt_minversion=">= Qt 3.3 and < 4.0"
+ else
+ kde_qt_minversion=">= Qt 3.2 and < 4.0"
+ fi
+ else
+ kde_qt_minversion=">= Qt 3.1 (20021021) and < 4.0"
+ fi
+ else
+ kde_qt_minversion=">= Qt 3.0 and < 4.0"
+ fi
+ fi
+ if test "$kde_qtver" = "1"; then
+ kde_qt_minversion=">= 1.42 and < 2.0"
+ fi
+else
+ kde_qt_minversion=""
+fi
+
+if test -z ""; then
+ if test $kde_qtver = 3; then
+ if test $kde_qtsubver -gt 0; then
+ kde_qt_verstring="QT_VERSION >= 0x03 at VER@00 && QT_VERSION < 0x040000"
+ qtsubver=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
+ kde_qt_verstring=`echo $kde_qt_verstring | sed -e "s, at VER@,$qtsubver,"`
+ else
+ kde_qt_verstring="QT_VERSION >= 300 && QT_VERSION < 0x040000"
+ fi
+ fi
+ if test $kde_qtver = 2; then
+ if test $kde_qtsubver -gt 0; then
+ kde_qt_verstring="QT_VERSION >= 222"
+ else
+ kde_qt_verstring="QT_VERSION >= 200"
+ fi
+ fi
+ if test $kde_qtver = 1; then
+ kde_qt_verstring="QT_VERSION >= 142 && QT_VERSION < 200"
+ fi
+else
+ kde_qt_verstring=""
+fi
+
+if test $kde_qtver = 4; then
+ kde_qt_dirs="$QTDIR /usr/lib/qt4 /usr/lib/qt /usr/share/qt4"
+fi
+if test $kde_qtver = 3; then
+ kde_qt_dirs="$QTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3"
+fi
+if test $kde_qtver = 2; then
+ kde_qt_dirs="$QTDIR /usr/lib/qt2 /usr/lib/qt"
+fi
+if test $kde_qtver = 1; then
+ kde_qt_dirs="$QTDIR /usr/lib/qt"
+fi
+
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ ac_save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="`echo $CXXFLAGS | sed s/-fno-exceptions//`"
+
+ { echo "$as_me:$LINENO: checking if C++ programs can be compiled" >&5
+echo $ECHO_N "checking if C++ programs can be compiled... $ECHO_C" >&6; }
+ if test "${kde_cv_stl_works+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#include <string>
+using namespace std;
+
+int
+main ()
+{
+
+ string astring="Hallo Welt.";
+ astring.erase(0, 6); // now astring is "Welt"
+ return 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ kde_cv_stl_works=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ kde_cv_stl_works=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+
+
+ { echo "$as_me:$LINENO: result: $kde_cv_stl_works" >&5
+echo "${ECHO_T}$kde_cv_stl_works" >&6; }
+
+ if test "$kde_cv_stl_works" = "yes"; then
+ # back compatible
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_SGI_STL 1
+_ACEOF
+
+ else
+ { { echo "$as_me:$LINENO: error: Your Installation isn't able to compile simple C++ programs.
+Check config.log for details - if you're using a Linux distribution you might miss
+a package named similar to libstdc++-dev." >&5
+echo "$as_me: error: Your Installation isn't able to compile simple C++ programs.
+Check config.log for details - if you're using a Linux distribution you might miss
+a package named similar to libstdc++-dev." >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+
+ CXXFLAGS="$ac_save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+
+{ echo "$as_me:$LINENO: checking for strlcat" >&5
+echo $ECHO_N "checking for strlcat... $ECHO_C" >&6; }
+if test "${kde_cv_func_strlcat+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+save_CXXFLAGS="$CXXFLAGS"
+kde_safe_LIBS="$LIBS"
+LIBS="$LIBS $X_EXTRA_LIBS"
+if test "$GXX" = "yes"; then
+CXXFLAGS="$CXXFLAGS -pedantic-errors"
+fi
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+
+#include <string.h>
+
+
+int
+main ()
+{
+
+ char buf[20];
+ buf[0]='\0';
+ strlcat(buf, "KDE function test", sizeof(buf));
+
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ kde_cv_func_strlcat=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ kde_cv_func_strlcat=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+CXXFLAGS="$save_CXXFLAGS"
+LIBS="$kde_safe_LIBS"
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+
+{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcat" >&5
+echo "${ECHO_T}$kde_cv_func_strlcat" >&6; }
+
+{ echo "$as_me:$LINENO: checking if strlcat needs custom prototype" >&5
+echo $ECHO_N "checking if strlcat needs custom prototype... $ECHO_C" >&6; }
+if test "${kde_cv_proto_strlcat+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+if test "x$kde_cv_func_strlcat" = xyes; then
+ kde_cv_proto_strlcat=no
+else
+ case "strlcat" in
+ setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
+ kde_cv_proto_strlcat="yes - in libkdefakes"
+ ;;
+ *)
+ kde_cv_proto_strlcat=unknown
+ ;;
+ esac
+fi
+
+if test "x$kde_cv_proto_strlcat" = xunknown; then
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ kde_safe_libs=$LIBS
+ LIBS="$LIBS $X_EXTRA_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+
+#include <string.h>
+
+
+extern "C" unsigned long strlcat(char*, const char*, unsigned long);
+
+int
+main ()
+{
+
+ char buf[20];
+ buf[0]='\0';
+ strlcat(buf, "KDE function test", sizeof(buf));
+
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ kde_cv_func_strlcat=yes
+ kde_cv_proto_strlcat=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ kde_cv_proto_strlcat="strlcat unavailable"
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$kde_safe_libs
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+fi
+
+fi
+
+{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcat" >&5
+echo "${ECHO_T}$kde_cv_proto_strlcat" >&6; }
+
+if test "x$kde_cv_func_strlcat" = xyes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_STRLCAT 1
+_ACEOF
+
+
+fi
+if test "x$kde_cv_proto_strlcat" = xno; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_STRLCAT_PROTO 1
+_ACEOF
+
+fi
+
+
+
+
+
+
+
+{ echo "$as_me:$LINENO: checking for strlcpy" >&5
+echo $ECHO_N "checking for strlcpy... $ECHO_C" >&6; }
+if test "${kde_cv_func_strlcpy+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+save_CXXFLAGS="$CXXFLAGS"
+kde_safe_LIBS="$LIBS"
+LIBS="$LIBS $X_EXTRA_LIBS"
+if test "$GXX" = "yes"; then
+CXXFLAGS="$CXXFLAGS -pedantic-errors"
+fi
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+
+#include <string.h>
+
+
+int
+main ()
+{
+
+ char buf[20];
+ strlcpy(buf, "KDE function test", sizeof(buf));
+
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ kde_cv_func_strlcpy=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ kde_cv_func_strlcpy=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+CXXFLAGS="$save_CXXFLAGS"
+LIBS="$kde_safe_LIBS"
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+
+{ echo "$as_me:$LINENO: result: $kde_cv_func_strlcpy" >&5
+echo "${ECHO_T}$kde_cv_func_strlcpy" >&6; }
+
+{ echo "$as_me:$LINENO: checking if strlcpy needs custom prototype" >&5
+echo $ECHO_N "checking if strlcpy needs custom prototype... $ECHO_C" >&6; }
+if test "${kde_cv_proto_strlcpy+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+if test "x$kde_cv_func_strlcpy" = xyes; then
+ kde_cv_proto_strlcpy=no
+else
+ case "strlcpy" in
+ setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
+ kde_cv_proto_strlcpy="yes - in libkdefakes"
+ ;;
+ *)
+ kde_cv_proto_strlcpy=unknown
+ ;;
+ esac
+fi
+
+if test "x$kde_cv_proto_strlcpy" = xunknown; then
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ kde_safe_libs=$LIBS
+ LIBS="$LIBS $X_EXTRA_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+
+#include <string.h>
+
+
+extern "C" unsigned long strlcpy(char*, const char*, unsigned long);
+
+int
+main ()
+{
+
+ char buf[20];
+ strlcpy(buf, "KDE function test", sizeof(buf));
+
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ kde_cv_func_strlcpy=yes
+ kde_cv_proto_strlcpy=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ kde_cv_proto_strlcpy="strlcpy unavailable"
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$kde_safe_libs
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+fi
+
+fi
+
+{ echo "$as_me:$LINENO: result: $kde_cv_proto_strlcpy" >&5
+echo "${ECHO_T}$kde_cv_proto_strlcpy" >&6; }
+
+if test "x$kde_cv_func_strlcpy" = xyes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_STRLCPY 1
+_ACEOF
+
+
+fi
+if test "x$kde_cv_proto_strlcpy" = xno; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_STRLCPY_PROTO 1
+_ACEOF
+
+fi
+
+
+
+
+
+
+ { echo "$as_me:$LINENO: checking for main in -lutil" >&5
+echo $ECHO_N "checking for main in -lutil... $ECHO_C" >&6; }
+if test "${ac_cv_lib_util_main+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lutil $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_util_main=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_util_main=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_util_main" >&5
+echo "${ECHO_T}$ac_cv_lib_util_main" >&6; }
+if test $ac_cv_lib_util_main = yes; then
+ LIBUTIL="-lutil"
+fi
+
+ { echo "$as_me:$LINENO: checking for main in -lcompat" >&5
+echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6; }
+if test "${ac_cv_lib_compat_main+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lcompat $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+
+int
+main ()
+{
+return main ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_compat_main=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_compat_main=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
+echo "${ECHO_T}$ac_cv_lib_compat_main" >&6; }
+if test $ac_cv_lib_compat_main = yes; then
+ LIBCOMPAT="-lcompat"
+fi
+
+ kde_have_crypt=
+ { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
+echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
+if test "${ac_cv_lib_crypt_crypt+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lcrypt $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char crypt ();
+int
+main ()
+{
+return crypt ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_crypt_crypt=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_crypt_crypt=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
+echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
+if test $ac_cv_lib_crypt_crypt = yes; then
+ LIBCRYPT="-lcrypt"; kde_have_crypt=yes
+else
+ { echo "$as_me:$LINENO: checking for crypt in -lc" >&5
+echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6; }
+if test "${ac_cv_lib_c_crypt+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lc $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char crypt ();
+int
+main ()
+{
+return crypt ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_c_crypt=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_c_crypt=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
+echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6; }
+if test $ac_cv_lib_c_crypt = yes; then
+ kde_have_crypt=yes
+else
+
+ { echo "$as_me:$LINENO: WARNING: you have no crypt in either libcrypt or libc.
+You should install libcrypt from another source or configure with PAM
+support" >&5
+echo "$as_me: WARNING: you have no crypt in either libcrypt or libc.
+You should install libcrypt from another source or configure with PAM
+support" >&2;}
+ kde_have_crypt=no
+
+fi
+
+fi
+
+
+ if test $kde_have_crypt = yes; then
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_CRYPT 1
+_ACEOF
+
+ fi
+
+ { echo "$as_me:$LINENO: checking for socklen_t" >&5
+echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
+ if test "${kde_cv_socklen_t+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ kde_cv_socklen_t=no
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+ #include <sys/types.h>
+ #include <sys/socket.h>
+
+int
+main ()
+{
+
+ socklen_t len;
+ getpeername(0,0,&len);
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+
+ kde_cv_socklen_t=yes
+ kde_cv_socklen_t_equiv=socklen_t
+
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+ { echo "$as_me:$LINENO: result: $kde_cv_socklen_t" >&5
+echo "${ECHO_T}$kde_cv_socklen_t" >&6; }
+ if test $kde_cv_socklen_t = no; then
+ { echo "$as_me:$LINENO: checking for socklen_t equivalent for socket functions" >&5
+echo $ECHO_N "checking for socklen_t equivalent for socket functions... $ECHO_C" >&6; }
+ if test "${kde_cv_socklen_t_equiv+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ kde_cv_socklen_t_equiv=int
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ for t in int size_t unsigned long "unsigned long"; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+ #include <sys/types.h>
+ #include <sys/socket.h>
+
+int
+main ()
+{
+
+ $t len;
+ getpeername(0,0,&len);
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+
+ kde_cv_socklen_t_equiv="$t"
+ break
+
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+ { echo "$as_me:$LINENO: result: $kde_cv_socklen_t_equiv" >&5
+echo "${ECHO_T}$kde_cv_socklen_t_equiv" >&6; }
+ fi
+
+cat >>confdefs.h <<_ACEOF
+#define kde_socklen_t $kde_cv_socklen_t_equiv
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define ksize_t $kde_cv_socklen_t_equiv
+_ACEOF
+
+
+ { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
+echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldnet $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dnet_ntoa ();
+int
+main ()
+{
+return dnet_ntoa ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dnet_dnet_ntoa=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dnet_dnet_ntoa=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
+echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
+if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
+fi
+
+ if test $ac_cv_lib_dnet_dnet_ntoa = no; then
+ { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
+echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldnet_stub $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dnet_ntoa ();
+int
+main ()
+{
+return dnet_ntoa ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dnet_stub_dnet_ntoa=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dnet_stub_dnet_ntoa=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
+echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
+if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
+fi
+
+ fi
+ { echo "$as_me:$LINENO: checking for inet_ntoa" >&5
+echo $ECHO_N "checking for inet_ntoa... $ECHO_C" >&6; }
+if test "${ac_cv_func_inet_ntoa+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define inet_ntoa to an innocuous variant, in case <limits.h> declares inet_ntoa.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define inet_ntoa innocuous_inet_ntoa
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char inet_ntoa (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef inet_ntoa
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char inet_ntoa ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_inet_ntoa || defined __stub___inet_ntoa
+choke me
+#endif
+
+int
+main ()
+{
+return inet_ntoa ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_func_inet_ntoa=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_func_inet_ntoa=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntoa" >&5
+echo "${ECHO_T}$ac_cv_func_inet_ntoa" >&6; }
+
+ if test $ac_cv_func_inet_ntoa = no; then
+ { echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
+echo $ECHO_N "checking for inet_ntoa in -lnsl... $ECHO_C" >&6; }
+if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lnsl $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char inet_ntoa ();
+int
+main ()
+{
+return inet_ntoa ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_nsl_inet_ntoa=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_nsl_inet_ntoa=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
+echo "${ECHO_T}$ac_cv_lib_nsl_inet_ntoa" >&6; }
+if test $ac_cv_lib_nsl_inet_ntoa = yes; then
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
+fi
+
+ fi
+ { echo "$as_me:$LINENO: checking for connect" >&5
+echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
+if test "${ac_cv_func_connect+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define connect to an innocuous variant, in case <limits.h> declares connect.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define connect innocuous_connect
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char connect (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef connect
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char connect ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_connect || defined __stub___connect
+choke me
+#endif
+
+int
+main ()
+{
+return connect ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_func_connect=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_func_connect=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
+echo "${ECHO_T}$ac_cv_func_connect" >&6; }
+
+ if test $ac_cv_func_connect = no; then
+ { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
+echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
+if test "${ac_cv_lib_socket_connect+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char connect ();
+int
+main ()
+{
+return connect ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_socket_connect=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_socket_connect=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
+echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
+if test $ac_cv_lib_socket_connect = yes; then
+ X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
+fi
+
+ fi
+
+ { echo "$as_me:$LINENO: checking for remove" >&5
+echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
+if test "${ac_cv_func_remove+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define remove to an innocuous variant, in case <limits.h> declares remove.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define remove innocuous_remove
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char remove (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef remove
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char remove ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_remove || defined __stub___remove
+choke me
+#endif
+
+int
+main ()
+{
+return remove ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_func_remove=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_func_remove=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
+echo "${ECHO_T}$ac_cv_func_remove" >&6; }
+
+ if test $ac_cv_func_remove = no; then
+ { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
+echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
+if test "${ac_cv_lib_posix_remove+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lposix $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char remove ();
+int
+main ()
+{
+return remove ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_posix_remove=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_posix_remove=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
+echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
+if test $ac_cv_lib_posix_remove = yes; then
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
+fi
+
+ fi
+
+ # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
+ { echo "$as_me:$LINENO: checking for shmat" >&5
+echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
+if test "${ac_cv_func_shmat+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define shmat innocuous_shmat
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char shmat (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef shmat
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shmat ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_shmat || defined __stub___shmat
+choke me
+#endif
+
+int
+main ()
+{
+return shmat ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_func_shmat=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_func_shmat=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
+echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
+if test $ac_cv_func_shmat = yes; then
+ :
+else
+ { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
+echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
+if test "${ac_cv_lib_ipc_shmat+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lipc $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shmat ();
+int
+main ()
+{
+return shmat ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_ipc_shmat=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_ipc_shmat=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
+echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
+if test $ac_cv_lib_ipc_shmat = yes; then
+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
+fi
+
+fi
+
+
+ # more headers that need to be explicitly included on darwin
+
+
+for ac_header in sys/types.h stdint.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+ # sys/bitypes.h is needed for uint32_t and friends on Tru64
+
+for ac_header in sys/bitypes.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+ # darwin requires a poll emulation library
+ { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
+echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
+if test "${ac_cv_lib_poll_poll+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lpoll $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char poll ();
+int
+main ()
+{
+return poll ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_poll_poll=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_poll_poll=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
+echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
+if test $ac_cv_lib_poll_poll = yes; then
+ LIB_POLL="-lpoll"
+fi
+
+
+ # for some image handling on Mac OS X
+
+for ac_header in Carbon/Carbon.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+ # CoreAudio framework
+ if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
+ { echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
+echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
+echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
+echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <CoreAudio/CoreAudio.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
+echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <CoreAudio/CoreAudio.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
+echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
+echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
+
+fi
+if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
+
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_COREAUDIO 1
+_ACEOF
+
+ FRAMEWORK_COREAUDIO="-Wl,-framework,CoreAudio"
+
+fi
+
+
+
+
+ { echo "$as_me:$LINENO: checking if res_init needs -lresolv" >&5
+echo $ECHO_N "checking if res_init needs -lresolv... $ECHO_C" >&6; }
+ kde_libs_safe="$LIBS"
+ LIBS="$LIBS $X_EXTRA_LIBS -lresolv"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+
+int
+main ()
+{
+
+ res_init();
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+
+ LIBRESOLV="-lresolv"
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_RES_INIT 1
+_ACEOF
+
+
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ LIBS=$kde_libs_safe
+
+
+
+{ echo "$as_me:$LINENO: checking for res_init" >&5
+echo $ECHO_N "checking for res_init... $ECHO_C" >&6; }
+if test "${kde_cv_func_res_init+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+save_CXXFLAGS="$CXXFLAGS"
+kde_safe_LIBS="$LIBS"
+LIBS="$LIBS $X_EXTRA_LIBS"
+if test "$GXX" = "yes"; then
+CXXFLAGS="$CXXFLAGS -pedantic-errors"
+fi
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+
+
+int
+main ()
+{
+
+res_init()
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ kde_cv_func_res_init=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ kde_cv_func_res_init=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+CXXFLAGS="$save_CXXFLAGS"
+LIBS="$kde_safe_LIBS"
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+
+{ echo "$as_me:$LINENO: result: $kde_cv_func_res_init" >&5
+echo "${ECHO_T}$kde_cv_func_res_init" >&6; }
+
+{ echo "$as_me:$LINENO: checking if res_init needs custom prototype" >&5
+echo $ECHO_N "checking if res_init needs custom prototype... $ECHO_C" >&6; }
+if test "${kde_cv_proto_res_init+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+if test "x$kde_cv_func_res_init" = xyes; then
+ kde_cv_proto_res_init=no
+else
+ case "res_init" in
+ setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
+ kde_cv_proto_res_init="yes - in libkdefakes"
+ ;;
+ *)
+ kde_cv_proto_res_init=unknown
+ ;;
+ esac
+fi
+
+if test "x$kde_cv_proto_res_init" = xunknown; then
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ kde_safe_libs=$LIBS
+ LIBS="$LIBS $X_EXTRA_LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+
+#include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
+
+
+extern "C" int res_init(void);
+
+int
+main ()
+{
+
+res_init()
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ kde_cv_func_res_init=yes
+ kde_cv_proto_res_init=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ kde_cv_proto_res_init="res_init unavailable"
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$kde_safe_libs
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+fi
+
+fi
+
+{ echo "$as_me:$LINENO: result: $kde_cv_proto_res_init" >&5
+echo "${ECHO_T}$kde_cv_proto_res_init" >&6; }
+
+if test "x$kde_cv_func_res_init" = xyes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_RES_INIT 1
+_ACEOF
+
+
+fi
+if test "x$kde_cv_proto_res_init" = xno; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_RES_INIT_PROTO 1
+_ACEOF
+
+fi
+
+
+
+
+
+
+
+ LIBSOCKET="$X_EXTRA_LIBS"
+
+
+ { echo "$as_me:$LINENO: checking for killpg in -lucb" >&5
+echo $ECHO_N "checking for killpg in -lucb... $ECHO_C" >&6; }
+if test "${ac_cv_lib_ucb_killpg+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lucb $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char killpg ();
+int
+main ()
+{
+return killpg ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_ucb_killpg=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_ucb_killpg=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_killpg" >&5
+echo "${ECHO_T}$ac_cv_lib_ucb_killpg" >&6; }
+if test $ac_cv_lib_ucb_killpg = yes; then
+ LIBUCB="-lucb"
+fi
+
+
+ case $host in *-*-lynxos* )
+ { echo "$as_me:$LINENO: checking LynxOS header file wrappers" >&5
+echo $ECHO_N "checking LynxOS header file wrappers... $ECHO_C" >&6; }
+ CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__"
+ { echo "$as_me:$LINENO: result: disabled" >&5
+echo "${ECHO_T}disabled" >&6; }
+ { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
+echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
+if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lbsd $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char gethostbyname ();
+int
+main ()
+{
+return gethostbyname ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_bsd_gethostbyname=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_bsd_gethostbyname=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
+echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
+if test $ac_cv_lib_bsd_gethostbyname = yes; then
+ LIBSOCKET="-lbsd"
+fi
+ ;;
+ esac
+
+ { echo "$as_me:$LINENO: checking for int" >&5
+echo $ECHO_N "checking for int... $ECHO_C" >&6; }
+if test "${ac_cv_type_int+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+typedef int ac__type_new_;
+int
+main ()
+{
+if ((ac__type_new_ *) 0)
+ return 0;
+if (sizeof (ac__type_new_))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_type_int=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_type_int=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
+echo "${ECHO_T}$ac_cv_type_int" >&6; }
+
+# The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ echo "$as_me:$LINENO: checking size of int" >&5
+echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
+if test "${ac_cv_sizeof_int+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef int ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef int ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid; break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr $ac_mid + 1`
+ if test $ac_lo -le $ac_mid; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid + 1`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef int ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=-1 ac_mid=-1
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef int ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=$ac_mid; break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_hi=`expr '(' $ac_mid ')' - 1`
+ if test $ac_mid -le $ac_hi; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo= ac_hi=
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef int ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr '(' $ac_mid ')' + 1`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in
+?*) ac_cv_sizeof_int=$ac_lo;;
+'') if test "$ac_cv_type_int" = yes; then
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute sizeof (int)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }
+ else
+ ac_cv_sizeof_int=0
+ fi ;;
+esac
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef int ac__type_sizeof_;
+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
+#include <stdio.h>
+#include <stdlib.h>
+int
+main ()
+{
+
+ FILE *f = fopen ("conftest.val", "w");
+ if (! f)
+ return 1;
+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
+ {
+ long int i = longval ();
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
+ return 1;
+ fprintf (f, "%ld\n", i);
+ }
+ else
+ {
+ unsigned long int i = ulongval ();
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
+ return 1;
+ fprintf (f, "%lu\n", i);
+ }
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_sizeof_int=`cat conftest.val`
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+if test "$ac_cv_type_int" = yes; then
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute sizeof (int)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }
+ else
+ ac_cv_sizeof_int=0
+ fi
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f conftest.val
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
+echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_INT $ac_cv_sizeof_int
+_ACEOF
+
+ { echo "$as_me:$LINENO: checking for short" >&5
+echo $ECHO_N "checking for short... $ECHO_C" >&6; }
+if test "${ac_cv_type_short+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+typedef short ac__type_new_;
+int
+main ()
+{
+if ((ac__type_new_ *) 0)
+ return 0;
+if (sizeof (ac__type_new_))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_type_short=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_type_short=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
+echo "${ECHO_T}$ac_cv_type_short" >&6; }
+
+# The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ echo "$as_me:$LINENO: checking size of short" >&5
+echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
+if test "${ac_cv_sizeof_short+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef short ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef short ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid; break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr $ac_mid + 1`
+ if test $ac_lo -le $ac_mid; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid + 1`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef short ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=-1 ac_mid=-1
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef short ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=$ac_mid; break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_hi=`expr '(' $ac_mid ')' - 1`
+ if test $ac_mid -le $ac_hi; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo= ac_hi=
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef short ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr '(' $ac_mid ')' + 1`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in
+?*) ac_cv_sizeof_short=$ac_lo;;
+'') if test "$ac_cv_type_short" = yes; then
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute sizeof (short)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }
+ else
+ ac_cv_sizeof_short=0
+ fi ;;
+esac
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef short ac__type_sizeof_;
+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
+#include <stdio.h>
+#include <stdlib.h>
+int
+main ()
+{
+
+ FILE *f = fopen ("conftest.val", "w");
+ if (! f)
+ return 1;
+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
+ {
+ long int i = longval ();
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
+ return 1;
+ fprintf (f, "%ld\n", i);
+ }
+ else
+ {
+ unsigned long int i = ulongval ();
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
+ return 1;
+ fprintf (f, "%lu\n", i);
+ }
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_sizeof_short=`cat conftest.val`
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+if test "$ac_cv_type_short" = yes; then
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute sizeof (short)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }
+ else
+ ac_cv_sizeof_short=0
+ fi
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f conftest.val
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
+echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_SHORT $ac_cv_sizeof_short
+_ACEOF
+
+ { echo "$as_me:$LINENO: checking for long" >&5
+echo $ECHO_N "checking for long... $ECHO_C" >&6; }
+if test "${ac_cv_type_long+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+typedef long ac__type_new_;
+int
+main ()
+{
+if ((ac__type_new_ *) 0)
+ return 0;
+if (sizeof (ac__type_new_))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_type_long=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_type_long=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
+echo "${ECHO_T}$ac_cv_type_long" >&6; }
+
+# The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ echo "$as_me:$LINENO: checking size of long" >&5
+echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
+if test "${ac_cv_sizeof_long+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef long ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef long ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid; break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr $ac_mid + 1`
+ if test $ac_lo -le $ac_mid; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid + 1`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef long ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=-1 ac_mid=-1
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef long ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=$ac_mid; break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_hi=`expr '(' $ac_mid ')' - 1`
+ if test $ac_mid -le $ac_hi; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo= ac_hi=
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef long ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr '(' $ac_mid ')' + 1`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in
+?*) ac_cv_sizeof_long=$ac_lo;;
+'') if test "$ac_cv_type_long" = yes; then
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute sizeof (long)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }
+ else
+ ac_cv_sizeof_long=0
+ fi ;;
+esac
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef long ac__type_sizeof_;
+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
+#include <stdio.h>
+#include <stdlib.h>
+int
+main ()
+{
+
+ FILE *f = fopen ("conftest.val", "w");
+ if (! f)
+ return 1;
+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
+ {
+ long int i = longval ();
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
+ return 1;
+ fprintf (f, "%ld\n", i);
+ }
+ else
+ {
+ unsigned long int i = ulongval ();
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
+ return 1;
+ fprintf (f, "%lu\n", i);
+ }
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_sizeof_long=`cat conftest.val`
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+if test "$ac_cv_type_long" = yes; then
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute sizeof (long)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }
+ else
+ ac_cv_sizeof_long=0
+ fi
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f conftest.val
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
+echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_LONG $ac_cv_sizeof_long
+_ACEOF
+
+ { echo "$as_me:$LINENO: checking for char *" >&5
+echo $ECHO_N "checking for char *... $ECHO_C" >&6; }
+if test "${ac_cv_type_char_p+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+typedef char * ac__type_new_;
+int
+main ()
+{
+if ((ac__type_new_ *) 0)
+ return 0;
+if (sizeof (ac__type_new_))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_type_char_p=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_type_char_p=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_type_char_p" >&5
+echo "${ECHO_T}$ac_cv_type_char_p" >&6; }
+
+# The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ echo "$as_me:$LINENO: checking size of char *" >&5
+echo $ECHO_N "checking size of char *... $ECHO_C" >&6; }
+if test "${ac_cv_sizeof_char_p+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef char * ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef char * ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid; break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr $ac_mid + 1`
+ if test $ac_lo -le $ac_mid; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid + 1`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef char * ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=-1 ac_mid=-1
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef char * ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=$ac_mid; break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_hi=`expr '(' $ac_mid ')' - 1`
+ if test $ac_mid -le $ac_hi; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo= ac_hi=
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef char * ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr '(' $ac_mid ')' + 1`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in
+?*) ac_cv_sizeof_char_p=$ac_lo;;
+'') if test "$ac_cv_type_char_p" = yes; then
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute sizeof (char *)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }
+ else
+ ac_cv_sizeof_char_p=0
+ fi ;;
+esac
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef char * ac__type_sizeof_;
+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
+#include <stdio.h>
+#include <stdlib.h>
+int
+main ()
+{
+
+ FILE *f = fopen ("conftest.val", "w");
+ if (! f)
+ return 1;
+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
+ {
+ long int i = longval ();
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
+ return 1;
+ fprintf (f, "%ld\n", i);
+ }
+ else
+ {
+ unsigned long int i = ulongval ();
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
+ return 1;
+ fprintf (f, "%lu\n", i);
+ }
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_sizeof_char_p=`cat conftest.val`
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+if test "$ac_cv_type_char_p" = yes; then
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (char *)
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute sizeof (char *)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }
+ else
+ ac_cv_sizeof_char_p=0
+ fi
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f conftest.val
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char_p" >&5
+echo "${ECHO_T}$ac_cv_sizeof_char_p" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_CHAR_P $ac_cv_sizeof_char_p
+_ACEOF
+
+
+
+{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
+echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldl $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char dlopen ();
+int
+main ()
+{
+return dlopen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dl_dlopen=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dl_dlopen=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
+echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
+if test $ac_cv_lib_dl_dlopen = yes; then
+
+LIBDL="-ldl"
+ac_cv_have_dlfcn=yes
+
+fi
+
+
+{ echo "$as_me:$LINENO: checking for shl_unload in -ldld" >&5
+echo $ECHO_N "checking for shl_unload in -ldld... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dld_shl_unload+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldld $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char shl_unload ();
+int
+main ()
+{
+return shl_unload ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dld_shl_unload=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dld_shl_unload=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_unload" >&5
+echo "${ECHO_T}$ac_cv_lib_dld_shl_unload" >&6; }
+if test $ac_cv_lib_dld_shl_unload = yes; then
+
+LIBDL="-ldld"
+ac_cv_have_shload=yes
+
+fi
+
+
+
+
+
+
+
+ { echo "$as_me:$LINENO: checking for size_t" >&5
+echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
+if test "${ac_cv_type_size_t+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+typedef size_t ac__type_new_;
+int
+main ()
+{
+if ((ac__type_new_ *) 0)
+ return 0;
+if (sizeof (ac__type_new_))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_type_size_t=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_type_size_t=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
+echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
+
+# The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ echo "$as_me:$LINENO: checking size of size_t" >&5
+echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
+if test "${ac_cv_sizeof_size_t+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef size_t ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef size_t ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid; break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr $ac_mid + 1`
+ if test $ac_lo -le $ac_mid; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid + 1`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef size_t ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=-1 ac_mid=-1
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef size_t ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=$ac_mid; break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_hi=`expr '(' $ac_mid ')' - 1`
+ if test $ac_mid -le $ac_hi; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo= ac_hi=
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef size_t ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr '(' $ac_mid ')' + 1`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in
+?*) ac_cv_sizeof_size_t=$ac_lo;;
+'') if test "$ac_cv_type_size_t" = yes; then
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute sizeof (size_t)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }
+ else
+ ac_cv_sizeof_size_t=0
+ fi ;;
+esac
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef size_t ac__type_sizeof_;
+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
+#include <stdio.h>
+#include <stdlib.h>
+int
+main ()
+{
+
+ FILE *f = fopen ("conftest.val", "w");
+ if (! f)
+ return 1;
+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
+ {
+ long int i = longval ();
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
+ return 1;
+ fprintf (f, "%ld\n", i);
+ }
+ else
+ {
+ unsigned long int i = ulongval ();
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
+ return 1;
+ fprintf (f, "%lu\n", i);
+ }
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_sizeof_size_t=`cat conftest.val`
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+if test "$ac_cv_type_size_t" = yes; then
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute sizeof (size_t)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }
+ else
+ ac_cv_sizeof_size_t=0
+ fi
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f conftest.val
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
+echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
+_ACEOF
+
+
+ { echo "$as_me:$LINENO: checking for unsigned long" >&5
+echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6; }
+if test "${ac_cv_type_unsigned_long+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+typedef unsigned long ac__type_new_;
+int
+main ()
+{
+if ((ac__type_new_ *) 0)
+ return 0;
+if (sizeof (ac__type_new_))
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_type_unsigned_long=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_type_unsigned_long=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
+echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6; }
+
+# The cast to long int works around a bug in the HP C Compiler
+# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
+# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
+# This bug is HP SR number 8606223364.
+{ echo "$as_me:$LINENO: checking size of unsigned long" >&5
+echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6; }
+if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test "$cross_compiling" = yes; then
+ # Depending upon the size, compute the lo and hi bounds.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef unsigned long ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=0 ac_mid=0
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef unsigned long ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid; break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr $ac_mid + 1`
+ if test $ac_lo -le $ac_mid; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid + 1`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef unsigned long ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=-1 ac_mid=-1
+ while :; do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef unsigned long ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_lo=$ac_mid; break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_hi=`expr '(' $ac_mid ')' - 1`
+ if test $ac_mid -le $ac_hi; then
+ ac_lo= ac_hi=
+ break
+ fi
+ ac_mid=`expr 2 '*' $ac_mid`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ done
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo= ac_hi=
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+# Binary search between lo and hi bounds.
+while test "x$ac_lo" != "x$ac_hi"; do
+ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef unsigned long ac__type_sizeof_;
+int
+main ()
+{
+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
+test_array [0] = 0
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_hi=$ac_mid
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_lo=`expr '(' $ac_mid ')' + 1`
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+case $ac_lo in
+?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
+'') if test "$ac_cv_type_unsigned_long" = yes; then
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute sizeof (unsigned long)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }
+ else
+ ac_cv_sizeof_unsigned_long=0
+ fi ;;
+esac
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ typedef unsigned long ac__type_sizeof_;
+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
+#include <stdio.h>
+#include <stdlib.h>
+int
+main ()
+{
+
+ FILE *f = fopen ("conftest.val", "w");
+ if (! f)
+ return 1;
+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
+ {
+ long int i = longval ();
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
+ return 1;
+ fprintf (f, "%ld\n", i);
+ }
+ else
+ {
+ unsigned long int i = ulongval ();
+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
+ return 1;
+ fprintf (f, "%lu\n", i);
+ }
+ return ferror (f) || fclose (f) != 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_sizeof_unsigned_long=`cat conftest.val`
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+if test "$ac_cv_type_unsigned_long" = yes; then
+ { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long)
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute sizeof (unsigned long)
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }
+ else
+ ac_cv_sizeof_unsigned_long=0
+ fi
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+rm -f conftest.val
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
+echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6; }
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
+_ACEOF
+
+
+
+ { echo "$as_me:$LINENO: checking sizeof size_t == sizeof unsigned long" >&5
+echo $ECHO_N "checking sizeof size_t == sizeof unsigned long... $ECHO_C" >&6; }
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ #if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_LONG
+ choke me
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ { { echo "$as_me:$LINENO: error:
+ Apparently on your system our assumption sizeof size_t == sizeof unsigned long
+ does not apply. Please mail kde-devel at kde.org with a description of your system!
+ " >&5
+echo "$as_me: error:
+ Apparently on your system our assumption sizeof size_t == sizeof unsigned long
+ does not apply. Please mail kde-devel at kde.org with a description of your system!
+ " >&2;}
+ { (exit 1); exit 1; }; }
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
+ { echo "$as_me:$LINENO: checking for PIE support" >&5
+echo $ECHO_N "checking for PIE support... $ECHO_C" >&6; }
+if test "${kde_cv_val_pie_support+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ safe_CXXFLAGS=$CXXFLAGS
+ safe_LDFLAGS=$LDFLAGS
+ CXXFLAGS="$CXXFLAGS -fPIE"
+ LDFLAGS="$LDFLAGS -pie"
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+int foo;
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ kde_cv_val_pie_support=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ kde_cv_val_pie_support=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+
+ CXXFLAGS=$safe_CXXFLAGS
+ LDFLAGS=$safe_LDFLAGS
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+{ echo "$as_me:$LINENO: result: $kde_cv_val_pie_support" >&5
+echo "${ECHO_T}$kde_cv_val_pie_support" >&6; }
+
+ { echo "$as_me:$LINENO: checking if enabling -pie/fPIE support" >&5
+echo $ECHO_N "checking if enabling -pie/fPIE support... $ECHO_C" >&6; }
+
+ # Check whether --enable-pie was given.
+if test "${enable_pie+set}" = set; then
+ enableval=$enable_pie; kde_has_pie_support=$enableval
+else
+ kde_has_pie_support=detect
+fi
+
+
+ if test "$kde_has_pie_support" = "detect"; then
+ kde_has_pie_support=$kde_cv_val_pie_support
+ fi
+
+ { echo "$as_me:$LINENO: result: $kde_has_pie_support" >&5
+echo "${ECHO_T}$kde_has_pie_support" >&6; }
+
+ KDE_USE_FPIE=""
+ KDE_USE_PIE=""
+
+
+
+
+ if test "$kde_has_pie_support" = "yes"; then
+ KDE_USE_FPIE="-fPIE"
+ KDE_USE_PIE="-pie"
+ fi
+
+
+# darwin needs this to initialize the environment
+
+for ac_header in crt_externs.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+{ echo "$as_me:$LINENO: checking for _NSGetEnviron" >&5
+echo $ECHO_N "checking for _NSGetEnviron... $ECHO_C" >&6; }
+if test "${ac_cv_func__NSGetEnviron+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define _NSGetEnviron to an innocuous variant, in case <limits.h> declares _NSGetEnviron.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define _NSGetEnviron innocuous__NSGetEnviron
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char _NSGetEnviron (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef _NSGetEnviron
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char _NSGetEnviron ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub__NSGetEnviron || defined __stub____NSGetEnviron
+choke me
+#endif
+
+int
+main ()
+{
+return _NSGetEnviron ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_func__NSGetEnviron=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_func__NSGetEnviron=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_func__NSGetEnviron" >&5
+echo "${ECHO_T}$ac_cv_func__NSGetEnviron" >&6; }
+if test $ac_cv_func__NSGetEnviron = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_NSGETENVIRON 1
+_ACEOF
+
+fi
+
+
+
+
+
+
+
+
+
+
+for ac_func in vsnprintf snprintf
+do
+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "$as_ac_var=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval echo '${'$as_ac_var'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_var'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+
+
+
+
+
+
+
+# Check whether --enable-embedded was given.
+if test "${enable_embedded+set}" = set; then
+ enableval=$enable_embedded; kde_use_qt_emb=$enableval
+else
+ kde_use_qt_emb=no
+
+fi
+
+
+# Check whether --enable-qtopia was given.
+if test "${enable_qtopia+set}" = set; then
+ enableval=$enable_qtopia; kde_use_qt_emb_palm=$enableval
+else
+ kde_use_qt_emb_palm=no
+
+fi
+
+
+# Check whether --enable-mac was given.
+if test "${enable_mac+set}" = set; then
+ enableval=$enable_mac; kde_use_qt_mac=$enableval
+else
+ kde_use_qt_mac=no
+
+fi
+
+
+# used to disable x11-specific stuff on special platforms
+ if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
+ include_x11_TRUE=
+ include_x11_FALSE='#'
+else
+ include_x11_TRUE='#'
+ include_x11_FALSE=
+fi
+
+
+if test "$kde_use_qt_emb" = "no" && test "$kde_use_qt_mac" = "no"; then
+
+{ echo "$as_me:$LINENO: checking for X" >&5
+echo $ECHO_N "checking for X... $ECHO_C" >&6; }
+
+if test "${kde_cv_have_x+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ # One or both of the vars are not set, and there is no cached value.
+if test "{$x_includes+set}" = set || test "$x_includes" = NONE; then
+ kde_x_includes=NO
+else
+ kde_x_includes=$x_includes
+fi
+if test "{$x_libraries+set}" = set || test "$x_libraries" = NONE; then
+ kde_x_libraries=NO
+else
+ kde_x_libraries=$x_libraries
+fi
+
+# below we use the standard autoconf calls
+ac_x_libraries=$kde_x_libraries
+ac_x_includes=$kde_x_includes
+
+
+
+
+if test "$ac_x_includes" = NO; then
+ # Guess where to find include files, by looking for this one X11 .h file.
+ test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
+
+ # First, try using that file with no special directory specified.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$x_direct_test_include>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ # We can compile using X headers with no special include directory.
+ac_x_includes=
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # Look for the header file in a standard set of common directories.
+# Check X11 before X11Rn because it is often a symlink to the current release.
+ for ac_dir in \
+ /usr/X11/include \
+ /usr/X11R6/include \
+ /usr/X11R5/include \
+ /usr/X11R4/include \
+ \
+ /usr/include/X11 \
+ /usr/include/X11R6 \
+ /usr/include/X11R5 \
+ /usr/include/X11R4 \
+ \
+ /usr/local/X11/include \
+ /usr/local/X11R6/include \
+ /usr/local/X11R5/include \
+ /usr/local/X11R4/include \
+ \
+ /usr/local/include/X11 \
+ /usr/local/include/X11R6 \
+ /usr/local/include/X11R5 \
+ /usr/local/include/X11R4 \
+ \
+ /usr/X386/include \
+ /usr/x386/include \
+ /usr/XFree86/include/X11 \
+ \
+ /usr/include \
+ /usr/local/include \
+ /usr/unsupported/include \
+ /usr/athena/include \
+ /usr/local/x11r5/include \
+ /usr/lpp/Xamples/include \
+ \
+ /usr/openwin/include \
+ /usr/openwin/share/include \
+ ; \
+ do
+ if test -r "$ac_dir/$x_direct_test_include"; then
+ ac_x_includes=$ac_dir
+ break
+ fi
+ done
+fi
+
+rm -f conftest.err conftest.$ac_ext
+fi # $ac_x_includes = NO
+
+if test "$ac_x_libraries" = NO; then
+ # Check for the libraries.
+
+ test -z "$x_direct_test_library" && x_direct_test_library=Xt
+ test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
+
+ # See if we find them without any special options.
+ # Don't add to $LIBS permanently.
+ ac_save_LIBS="$LIBS"
+ LIBS="-l$x_direct_test_library $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <X11/Intrinsic.h>
+int
+main ()
+{
+${x_direct_test_function}(1)
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ LIBS="$ac_save_LIBS"
+# We can link X programs with no special library path.
+ac_x_libraries=
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ LIBS="$ac_save_LIBS"
+# First see if replacing the include by lib works.
+# Check X11 before X11Rn because it is often a symlink to the current release.
+for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \
+ /usr/X11/lib${kdelibsuff} \
+ /usr/X11R6/lib${kdelibsuff} \
+ /usr/X11R5/lib${kdelibsuff} \
+ /usr/X11R4/lib${kdelibsuff} \
+ \
+ /usr/lib${kdelibsuff}/X11 \
+ /usr/lib${kdelibsuff}/X11R6 \
+ /usr/lib${kdelibsuff}/X11R5 \
+ /usr/lib${kdelibsuff}/X11R4 \
+ \
+ /usr/local/X11/lib${kdelibsuff} \
+ /usr/local/X11R6/lib${kdelibsuff} \
+ /usr/local/X11R5/lib${kdelibsuff} \
+ /usr/local/X11R4/lib${kdelibsuff} \
+ \
+ /usr/local/lib${kdelibsuff}/X11 \
+ /usr/local/lib${kdelibsuff}/X11R6 \
+ /usr/local/lib${kdelibsuff}/X11R5 \
+ /usr/local/lib${kdelibsuff}/X11R4 \
+ \
+ /usr/X386/lib${kdelibsuff} \
+ /usr/x386/lib${kdelibsuff} \
+ /usr/XFree86/lib${kdelibsuff}/X11 \
+ \
+ /usr/lib${kdelibsuff} \
+ /usr/local/lib${kdelibsuff} \
+ /usr/unsupported/lib${kdelibsuff} \
+ /usr/athena/lib${kdelibsuff} \
+ /usr/local/x11r5/lib${kdelibsuff} \
+ /usr/lpp/Xamples/lib${kdelibsuff} \
+ /lib/usr/lib${kdelibsuff}/X11 \
+ \
+ /usr/openwin/lib${kdelibsuff} \
+ /usr/openwin/share/lib${kdelibsuff} \
+ ; \
+do
+ for ac_extension in a so sl; do
+ if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then
+ ac_x_libraries=$ac_dir
+ break 2
+ fi
+ done
+done
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi # $ac_x_libraries = NO
+
+case "$host" in
+mips-sgi-irix6*)
+ ;;
+*-*-solaris*)
+ ;;
+*)
+ rm -f -r conftest.dir
+if mkdir conftest.dir; then
+ cd conftest.dir
+ cat >Imakefile <<'_ACEOF'
+incroot:
+ @echo incroot='${INCROOT}'
+usrlibdir:
+ @echo usrlibdir='${USRLIBDIR}'
+libdir:
+ @echo libdir='${LIBDIR}'
+_ACEOF
+ if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
+ # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+ for ac_var in incroot usrlibdir libdir; do
+ eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
+ done
+ # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
+ for ac_extension in a so sl; do
+ if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
+ test -f "$ac_im_libdir/libX11.$ac_extension"; then
+ ac_im_usrlibdir=$ac_im_libdir; break
+ fi
+ done
+ # Screen out bogus values from the imake configuration. They are
+ # bogus both because they are the default anyway, and because
+ # using them would break gcc on systems where it needs fixed includes.
+ case $ac_im_incroot in
+ /usr/include) ac_x_includes= ;;
+ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
+ esac
+ case $ac_im_usrlibdir in
+ /usr/lib | /lib) ;;
+ *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
+ esac
+ fi
+ cd ..
+ rm -f -r conftest.dir
+fi
+
+ if test -z "$ac_x_includes"; then
+ ac_x_includes="."
+ fi
+ if test -z "$ac_x_libraries"; then
+ ac_x_libraries="/usr/lib${kdelibsuff}"
+ fi
+esac
+#from now on we use our own again
+
+# when the user already gave --x-includes, we ignore
+# what the standard autoconf macros told us.
+if test "$kde_x_includes" = NO; then
+ kde_x_includes=$ac_x_includes
+fi
+
+# for --x-libraries too
+if test "$kde_x_libraries" = NO; then
+ kde_x_libraries=$ac_x_libraries
+fi
+
+if test "$kde_x_includes" = NO; then
+ { { echo "$as_me:$LINENO: error: Can't find X includes. Please check your installation and add the correct paths!" >&5
+echo "$as_me: error: Can't find X includes. Please check your installation and add the correct paths!" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+if test "$kde_x_libraries" = NO; then
+ { { echo "$as_me:$LINENO: error: Can't find X libraries. Please check your installation and add the correct paths!" >&5
+echo "$as_me: error: Can't find X libraries. Please check your installation and add the correct paths!" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+# Record where we found X for the cache.
+kde_cv_have_x="have_x=yes \
+ kde_x_includes=$kde_x_includes kde_x_libraries=$kde_x_libraries"
+
+fi
+
+eval "$kde_cv_have_x"
+
+if test "$have_x" != yes; then
+ { echo "$as_me:$LINENO: result: $have_x" >&5
+echo "${ECHO_T}$have_x" >&6; }
+ no_x=yes
+else
+ { echo "$as_me:$LINENO: result: libraries $kde_x_libraries, headers $kde_x_includes" >&5
+echo "${ECHO_T}libraries $kde_x_libraries, headers $kde_x_includes" >&6; }
+fi
+
+if test -z "$kde_x_includes" || test "x$kde_x_includes" = xNONE; then
+ X_INCLUDES=""
+ x_includes="."; else
+ x_includes=$kde_x_includes
+ X_INCLUDES="-I$x_includes"
+fi
+
+if test -z "$kde_x_libraries" || test "x$kde_x_libraries" = xNONE || test "$kde_x_libraries" = "/usr/lib"; then
+ X_LDFLAGS=""
+ x_libraries="/usr/lib"; else
+ x_libraries=$kde_x_libraries
+ X_LDFLAGS="-L$x_libraries"
+fi
+all_includes="$X_INCLUDES"
+all_libraries="$X_LDFLAGS $LDFLAGS_AS_NEEDED $LDFLAGS_NEW_DTAGS"
+
+# Check for libraries that X11R6 Xt/Xaw programs need.
+ac_save_LDFLAGS="$LDFLAGS"
+LDFLAGS="$LDFLAGS $X_LDFLAGS"
+# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
+# check for ICE first), but we must link in the order -lSM -lICE or
+# we get undefined symbols. So assume we have SM if we have ICE.
+# These have to be linked with before -lX11, unlike the other
+# libraries we check for below, so use a different variable.
+# --interran at uluru.Stanford.EDU, kb at cs.umb.edu.
+{ echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
+echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
+if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lICE $X_EXTRA_LIBS $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char IceConnectionNumber ();
+int
+main ()
+{
+return IceConnectionNumber ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_ICE_IceConnectionNumber=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_ICE_IceConnectionNumber=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
+echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
+if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
+ LIBSM="-lSM -lICE"
+fi
+
+LDFLAGS="$ac_save_LDFLAGS"
+
+LIB_X11='-lX11 $(LIBSOCKET)'
+
+{ echo "$as_me:$LINENO: checking for libXext" >&5
+echo $ECHO_N "checking for libXext... $ECHO_C" >&6; }
+if test "${kde_cv_have_libXext+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+kde_ldflags_safe="$LDFLAGS"
+kde_libs_safe="$LIBS"
+
+LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
+LIBS="-lXext -lX11 $LIBSOCKET"
+
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#include <stdio.h>
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+#endif
+
+int
+main ()
+{
+
+printf("hello Xext\n");
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ kde_cv_have_libXext=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ kde_cv_have_libXext=no
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+
+LDFLAGS=$kde_ldflags_safe
+LIBS=$kde_libs_safe
+
+fi
+
+
+{ echo "$as_me:$LINENO: result: $kde_cv_have_libXext" >&5
+echo "${ECHO_T}$kde_cv_have_libXext" >&6; }
+
+if test "$kde_cv_have_libXext" = "no"; then
+ { { echo "$as_me:$LINENO: error: We need a working libXext to proceed. Since configure
+can't find it itself, we stop here assuming that make wouldn't find
+them either." >&5
+echo "$as_me: error: We need a working libXext to proceed. Since configure
+can't find it itself, we stop here assuming that make wouldn't find
+them either." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+LIB_XEXT="-lXext"
+QTE_NORTTI=""
+
+elif test "$kde_use_qt_emb" = "yes"; then
+ CPPFLAGS=-DQWS
+ CXXFLAGS="$CXXFLAGS -fno-rtti"
+ QTE_NORTTI="-fno-rtti -DQWS"
+ X_PRE_LIBS=""
+ LIB_X11=""
+ LIB_XEXT=""
+ LIB_XRENDER=""
+ LIBSM=""
+ X_INCLUDES=""
+ X_LDFLAGS=""
+ x_includes=""
+ x_libraries=""
+elif test "$kde_use_qt_mac" = "yes"; then
+ CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
+ CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp"
+ X_PRE_LIBS=""
+ LIB_X11=""
+ LIB_XEXT=""
+ LIB_XRENDER=""
+ LIBSM=""
+ X_INCLUDES=""
+ X_LDFLAGS=""
+ x_includes=""
+ x_libraries=""
+fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+ LIBPTHREAD=""
+
+ if test -n "$PTHREAD_LIBS"; then
+ if test "x$PTHREAD_LIBS" = "x-pthread" ; then
+ LIBPTHREAD="PTHREAD"
+ else
+ PTHREAD_LIBS_save="$PTHREAD_LIBS"
+ PTHREAD_LIBS=`echo "$PTHREAD_LIBS_save" | sed -e 's,^-l,,g'`
+ { echo "$as_me:$LINENO: checking for pthread_create in $PTHREAD_LIBS" >&5
+echo $ECHO_N "checking for pthread_create in $PTHREAD_LIBS... $ECHO_C" >&6; }
+
+ kde_save_LDFLAGS="$LDFLAGS"
+ kde_save_LIBS="$LIBS"
+ LDFLAGS="$LDFLAGS $all_libraries"
+ case $host_os in
+ aix*) LDFLAGS="-brtl $LDFLAGS"
+ test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
+ ;;
+ esac
+ as_ac_Lib=`echo "ac_cv_lib_$PTHREAD_LIBS''_pthread_create" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for pthread_create in -l$PTHREAD_LIBS" >&5
+echo $ECHO_N "checking for pthread_create in -l$PTHREAD_LIBS... $ECHO_C" >&6; }
+if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-l$PTHREAD_LIBS $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char pthread_create ();
+int
+main ()
+{
+return pthread_create ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "$as_ac_Lib=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_Lib=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+ac_res=`eval echo '${'$as_ac_Lib'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_Lib'}'` = yes; then
+ LIBPTHREAD="$PTHREAD_LIBS_save"
+fi
+
+ LDFLAGS="$kde_save_LDFLAGS"
+ LIBS="$kde_save_LIBS"
+
+ PTHREAD_LIBS="$PTHREAD_LIBS_save"
+ fi
+ fi
+
+ if test -z "$LIBPTHREAD"; then
+ { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
+echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
+if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lpthread $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char pthread_create ();
+int
+main ()
+{
+return pthread_create ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_pthread_pthread_create=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_pthread_pthread_create=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
+echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
+if test $ac_cv_lib_pthread_pthread_create = yes; then
+ LIBPTHREAD="-lpthread"
+fi
+
+ fi
+
+ if test -z "$LIBPTHREAD" ; then
+ { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
+echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
+ kde_safe_libs=$LIBS
+ LIBS="$LIBS -lpthread"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <pthread.h>
+int
+main ()
+{
+(void)pthread_create(0,0,0,0);
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ LIBPTHREAD="-lpthread"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ LIBS=$kde_safe_libs
+ fi
+
+ if test "x$LIBPTHREAD" = "xPTHREAD" ; then
+ LIBPTHREAD=""
+ fi
+
+
+
+
+ USE_THREADS=""
+ if test -z "$LIBPTHREAD"; then
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -pthread" >&5
+echo $ECHO_N "checking whether $CXX supports -pthread... $ECHO_C" >&6; }
+kde_cache=`echo pthread | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -pthread"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ USE_THREADS="-D_THREAD_SAFE -pthread"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+ fi
+
+
+
+ case $host_os in
+ solaris*)
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -mt" >&5
+echo $ECHO_N "checking whether $CXX supports -mt... $ECHO_C" >&6; }
+kde_cache=`echo mt | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -mt"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ USE_THREADS="-mt"
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+ CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4"
+ ;;
+ freebsd*)
+ CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE $PTHREAD_CFLAGS"
+ ;;
+ aix*)
+ CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
+ LIBPTHREAD="$LIBPTHREAD -lc_r"
+ ;;
+ linux*) CPPFLAGS="$CPPFLAGS -D_REENTRANT"
+ if test "$CXX" = "KCC"; then
+ CXXFLAGS="$CXXFLAGS --thread_safe"
+ NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS --thread_safe"
+ fi
+ ;;
+ *)
+ ;;
+ esac
+
+
+
+
+{ echo "$as_me:$LINENO: checking for extra includes" >&5
+echo $ECHO_N "checking for extra includes... $ECHO_C" >&6; }
+
+# Check whether --with-extra-includes was given.
+if test "${with_extra_includes+set}" = set; then
+ withval=$with_extra_includes; kde_use_extra_includes="$withval"
+else
+ kde_use_extra_includes=NONE
+
+fi
+
+kde_extra_includes=
+if test -n "$kde_use_extra_includes" && \
+ test "$kde_use_extra_includes" != "NONE"; then
+
+ ac_save_ifs=$IFS
+ IFS=':'
+ for dir in $kde_use_extra_includes; do
+ kde_extra_includes="$kde_extra_includes $dir"
+ USER_INCLUDES="$USER_INCLUDES -I$dir"
+ done
+ IFS=$ac_save_ifs
+ kde_use_extra_includes="added"
+else
+ kde_use_extra_includes="no"
+fi
+
+
+{ echo "$as_me:$LINENO: result: $kde_use_extra_includes" >&5
+echo "${ECHO_T}$kde_use_extra_includes" >&6; }
+
+kde_extra_libs=
+{ echo "$as_me:$LINENO: checking for extra libs" >&5
+echo $ECHO_N "checking for extra libs... $ECHO_C" >&6; }
+
+# Check whether --with-extra-libs was given.
+if test "${with_extra_libs+set}" = set; then
+ withval=$with_extra_libs; kde_use_extra_libs=$withval
+else
+ kde_use_extra_libs=NONE
+
+fi
+
+if test -n "$kde_use_extra_libs" && \
+ test "$kde_use_extra_libs" != "NONE"; then
+
+ ac_save_ifs=$IFS
+ IFS=':'
+ for dir in $kde_use_extra_libs; do
+ kde_extra_libs="$kde_extra_libs $dir"
+ KDE_EXTRA_RPATH="$KDE_EXTRA_RPATH -R $dir"
+ USER_LDFLAGS="$USER_LDFLAGS -L$dir"
+ done
+ IFS=$ac_save_ifs
+ kde_use_extra_libs="added"
+else
+ kde_use_extra_libs="no"
+fi
+
+
+
+{ echo "$as_me:$LINENO: result: $kde_use_extra_libs" >&5
+echo "${ECHO_T}$kde_use_extra_libs" >&6; }
+
+
+
+
+{ echo "$as_me:$LINENO: checking for libz" >&5
+echo $ECHO_N "checking for libz... $ECHO_C" >&6; }
+if test "${ac_cv_lib_z+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+kde_save_LIBS="$LIBS"
+LIBS="$all_libraries $USER_LDFLAGS -lz $LIBSOCKET"
+kde_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#include<zlib.h>
+#include<string.h>
+
+int
+main ()
+{
+
+ char buf[42];
+ gzFile f = (gzFile) 0;
+ /* this would segfault.. but we only link, don't run */
+ (void) gzgets(f, buf, sizeof(buf));
+
+ return (strcmp(zlibVersion(), ZLIB_VERSION) == 0);
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "ac_cv_lib_z='-lz'"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "ac_cv_lib_z=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS="$kde_save_LIBS"
+CFLAGS="$kde_save_CFLAGS"
+
+fi
+if test ! "$ac_cv_lib_z" = no; then
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBZ 1
+_ACEOF
+
+ LIBZ="$ac_cv_lib_z"
+ { echo "$as_me:$LINENO: result: $ac_cv_lib_z" >&5
+echo "${ECHO_T}$ac_cv_lib_z" >&6; }
+else
+ { { echo "$as_me:$LINENO: error: not found.
+ Possibly configure picks up an outdated version
+ installed by XFree86. Remove it from your system.
+
+ Check your installation and look into config.log" >&5
+echo "$as_me: error: not found.
+ Possibly configure picks up an outdated version
+ installed by XFree86. Remove it from your system.
+
+ Check your installation and look into config.log" >&2;}
+ { (exit 1); exit 1; }; }
+ LIBZ=""
+fi
+
+
+
+
+
+{ echo "$as_me:$LINENO: checking for libpng" >&5
+echo $ECHO_N "checking for libpng... $ECHO_C" >&6; }
+if test "${ac_cv_lib_png+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+kde_save_LIBS="$LIBS"
+if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm -lX11 $LIBSOCKET"
+else
+LIBS="$LIBS $all_libraries $USER_LDFLAGS -lpng $LIBZ -lm"
+fi
+kde_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+ #include<png.h>
+
+int
+main ()
+{
+
+ png_structp png_ptr = png_create_read_struct( /* image ptr */
+ PNG_LIBPNG_VER_STRING, 0, 0, 0 );
+ return( png_ptr != 0 );
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "ac_cv_lib_png='-lpng $LIBZ -lm'"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "ac_cv_lib_png=no"
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS="$kde_save_LIBS"
+CFLAGS="$kde_save_CFLAGS"
+
+fi
+if eval "test ! \"`echo $ac_cv_lib_png`\" = no"; then
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBPNG 1
+_ACEOF
+
+ LIBPNG="$ac_cv_lib_png"
+
+ { echo "$as_me:$LINENO: result: $ac_cv_lib_png" >&5
+echo "${ECHO_T}$ac_cv_lib_png" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ LIBPNG=""
+
+fi
+
+
+
+{ echo "$as_me:$LINENO: checking for libjpeg6b" >&5
+echo $ECHO_N "checking for libjpeg6b... $ECHO_C" >&6; }
+if test "${ac_cv_lib_jpeg_6b+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ac_save_LIBS="$LIBS"
+LIBS="$all_libraries $USER_LDFLAGS -ljpeg6b -lm"
+ac_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+void jpeg_CreateDecompress();
+#ifdef __cplusplus
+}
+#endif
+
+int
+main ()
+{
+jpeg_CreateDecompress();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "ac_cv_lib_jpeg_6b=-ljpeg6b"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "ac_cv_lib_jpeg_6b=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS="$ac_save_LIBS"
+CFLAGS="$ac_save_CFLAGS"
+
+fi
+
+
+if eval "test ! \"`echo $ac_cv_lib_jpeg_6b`\" = no"; then
+ LIBJPEG="$ac_cv_lib_jpeg_6b"
+ { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_6b" >&5
+echo "${ECHO_T}$ac_cv_lib_jpeg_6b" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+
+{ echo "$as_me:$LINENO: checking for libjpeg" >&5
+echo $ECHO_N "checking for libjpeg... $ECHO_C" >&6; }
+if test "${ac_cv_lib_jpeg_normal+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ac_save_LIBS="$LIBS"
+LIBS="$all_libraries $USER_LDFLAGS -ljpeg -lm"
+ac_save_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS $all_includes $USER_INCLUDES"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+void jpeg_CreateDecompress();
+#ifdef __cplusplus
+}
+#endif
+
+int
+main ()
+{
+jpeg_CreateDecompress();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "ac_cv_lib_jpeg_normal=-ljpeg"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "ac_cv_lib_jpeg_normal=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS="$ac_save_LIBS"
+CFLAGS="$ac_save_CFLAGS"
+
+fi
+
+
+if eval "test ! \"`echo $ac_cv_lib_jpeg_normal`\" = no"; then
+ LIBJPEG="$ac_cv_lib_jpeg_normal"
+ { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_normal" >&5
+echo "${ECHO_T}$ac_cv_lib_jpeg_normal" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+
+ LIBJPEG=
+
+
+fi
+
+
+
+fi
+
+
+
+jpeg_incdirs="$includedir /usr/include /usr/local/include $kde_extra_includes"
+
+jpeg_incdir=NO
+for i in $jpeg_incdirs;
+do
+ for j in jpeglib.h;
+ do
+ echo "configure: 30158: $i/$j" >&5
+ if test -r "$i/$j"; then
+ echo "taking that" >&5
+ jpeg_incdir=$i
+ break 2
+ fi
+ done
+done
+
+test "x$jpeg_incdir" = xNO && jpeg_incdir=
+
+if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_LIBJPEG 1
+_ACEOF
+
+else
+ if test -n "$jpeg_incdir" || test -n "$LIBJPEG" ; then
+ { echo "$as_me:$LINENO: WARNING:
+There is an installation error in jpeg support. You seem to have only one
+of either the headers _or_ the libraries installed. You may need to either
+provide correct --with-extra-... options, or the development package of
+libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
+Disabling JPEG support.
+" >&5
+echo "$as_me: WARNING:
+There is an installation error in jpeg support. You seem to have only one
+of either the headers _or_ the libraries installed. You may need to either
+provide correct --with-extra-... options, or the development package of
+libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/
+Disabling JPEG support.
+" >&2;}
+ else
+ { echo "$as_me:$LINENO: WARNING: libjpeg not found. disable JPEG support." >&5
+echo "$as_me: WARNING: libjpeg not found. disable JPEG support." >&2;}
+ fi
+ jpeg_incdir=
+ LIBJPEG=
+fi
+
+
+
+
+
+
+
+ { echo "$as_me:$LINENO: checking for perl" >&5
+echo $ECHO_N "checking for perl... $ECHO_C" >&6; }
+ if test -n "$PERL"; then
+ kde_cv_path="$PERL";
+ else
+ kde_cache=`echo perl | sed 'y%./+-%__p_%'`
+
+ if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ dirs=""
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ if test -z ""; then dirs="$bindir $exec_prefix/bin $prefix/bin $dirs"
+ else dirs="$dirs $bindir $exec_prefix/bin $prefix/bin"
+ fi
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/perl"; then
+ if test -n ""
+ then
+ evalstr="$dir/perl 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/perl"
+ break
+ fi
+ else
+ kde_cv_path="$dir/perl"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+
+fi
+
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ { echo "$as_me:$LINENO: result: not found" >&5
+echo "${ECHO_T}not found" >&6; }
+
+ { { echo "$as_me:$LINENO: error: No Perl found in your $PATH.
+We need perl to generate some code." >&5
+echo "$as_me: error: No Perl found in your $PATH.
+We need perl to generate some code." >&2;}
+ { (exit 1); exit 1; }; }
+
+ else
+ { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+echo "${ECHO_T}$kde_cv_path" >&6; }
+ PERL=$kde_cv_path
+
+ fi
+
+
+
+
+
+
+
+
+
+
+# Check whether --enable-mt was given.
+if test "${enable_mt+set}" = set; then
+ enableval=$enable_mt; kde_use_qt_mt=$enableval
+else
+
+ if test $kde_qtver = 3; then
+ kde_use_qt_mt=yes
+ else
+ kde_use_qt_mt=no
+ fi
+
+
+fi
+
+
+USING_QT_MT=""
+
+
+KDE_MT_LDFLAGS=
+KDE_MT_LIBS=
+if test "x$kde_use_qt_mt" = "xyes"; then
+
+
+
+ if test -z "$LIBPTHREAD"; then
+ if test -z "$USE_THREADS"; then
+ kde_check_threading_default=no
+ else
+ kde_check_threading_default=yes
+ fi
+ else
+ kde_check_threading_default=yes
+ fi
+ # Check whether --enable-threading was given.
+if test "${enable_threading+set}" = set; then
+ enableval=$enable_threading; kde_use_threading=$enableval
+else
+ kde_use_threading=$kde_check_threading_default
+fi
+
+ if test "x$kde_use_threading" = "xyes"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LIBPTHREAD 1
+_ACEOF
+
+ fi
+
+ if test "x$kde_use_threading" = "xyes"; then
+ CPPFLAGS="$USE_THREADS -DQT_THREAD_SUPPORT $CPPFLAGS"
+ KDE_MT_LDFLAGS="$USE_THREADS"
+ KDE_MT_LIBS="$LIBPTHREAD"
+ else
+ kde_use_qt_mt=no
+ fi
+fi
+
+
+
+kde_qt_was_given=yes
+
+if test -z "$LIBQT_GLOB"; then
+ if test "x$kde_use_qt_emb" = "xyes"; then
+ LIBQT_GLOB="libqte.*"
+ else
+ LIBQT_GLOB="libqt.*"
+ fi
+fi
+
+if test "x$kde_use_qt_emb" = "xyes"; then
+ qtlib="qte"
+else
+ qtlib="qt"
+fi
+
+kde_int_qt="-l$qtlib"
+
+if test -z "$LIBQPE"; then
+ if test "x$kde_use_qt_emb" = "xyes"; then
+ if test "x$kde_use_qt_emb_palm" = "xyes"; then
+ LIB_QPE="-lqpe"
+ else
+ LIB_QPE=""
+ fi
+ else
+ LIB_QPE=""
+ fi
+fi
+
+
+if test "x$kde_use_qt_mt" = "xyes"; then
+ LIBQT="-l$qtlib-mt"
+ kde_int_qt="-l$qtlib-mt"
+ LIBQT_GLOB="lib$qtlib-mt.*"
+ USING_QT_MT="using -mt"
+else
+ LIBQT="-l$qtlib"
+fi
+
+if test $kde_qtver != 1; then
+
+
+
+ LIBQT="$LIBQT $LIBPNG $LIBJPEG"
+fi
+
+if test $kde_qtver = 3; then
+
+ LIBQT="$LIBQT $LIBDL"
+fi
+
+{ echo "$as_me:$LINENO: checking for Qt" >&5
+echo $ECHO_N "checking for Qt... $ECHO_C" >&6; }
+
+if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+LIBQT="$LIBQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
+fi
+ac_qt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
+qt_libraries=""
+qt_includes=""
+
+# Check whether --with-qt-dir was given.
+if test "${with_qt_dir+set}" = set; then
+ withval=$with_qt_dir; ac_qt_includes="$withval"/include
+ ac_qt_libraries="$withval"/lib${kdelibsuff}
+ ac_qt_bindir="$withval"/bin
+
+fi
+
+
+
+# Check whether --with-qt-includes was given.
+if test "${with_qt_includes+set}" = set; then
+ withval=$with_qt_includes;
+ ac_qt_includes="$withval"
+
+fi
+
+
+kde_qt_libs_given=no
+
+
+# Check whether --with-qt-libraries was given.
+if test "${with_qt_libraries+set}" = set; then
+ withval=$with_qt_libraries; ac_qt_libraries="$withval"
+ kde_qt_libs_given=yes
+
+fi
+
+
+if test "${ac_cv_have_qt+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ #try to guess Qt locations
+
+qt_incdirs=""
+for dir in $kde_qt_dirs; do
+ qt_incdirs="$qt_incdirs $dir/include $dir"
+done
+qt_incdirs="$QTINC $qt_incdirs /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/X11R6/include/qt2 /usr/include/qt3 $x_includes"
+if test ! "$ac_qt_includes" = "NO"; then
+ qt_incdirs="$ac_qt_includes $qt_incdirs"
+fi
+
+if test "$kde_qtver" != "1"; then
+ kde_qt_header=qstyle.h
+else
+ kde_qt_header=qglobal.h
+fi
+
+
+qt_incdir=NO
+for i in $qt_incdirs;
+do
+ for j in $kde_qt_header;
+ do
+ echo "configure: 30456: $i/$j" >&5
+ if test -r "$i/$j"; then
+ echo "taking that" >&5
+ qt_incdir=$i
+ break 2
+ fi
+ done
+done
+
+ac_qt_includes="$qt_incdir"
+
+qt_libdirs=""
+for dir in $kde_qt_dirs; do
+ qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir"
+done
+qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
+if test ! "$ac_qt_libraries" = "NO"; then
+ qt_libdir=$ac_qt_libraries
+else
+ qt_libdirs="$ac_qt_libraries $qt_libdirs"
+ # if the Qt was given, the chance is too big that libqt.* doesn't exist
+ qt_libdir=NONE
+ for dir in $qt_libdirs; do
+ try="ls -1 $dir/${LIBQT_GLOB}"
+ if test -n "`$try 2> /dev/null`"; then qt_libdir=$dir; break; else echo "tried $dir" >&5 ; fi
+ done
+fi
+for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
+ if test -e "$a"; then
+ LIBQT="$LIBQT ${kde_int_qt}_incremental"
+ break
+ fi
+done
+
+ac_qt_libraries="$qt_libdir"
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+
+ac_cxxflags_safe="$CXXFLAGS"
+ac_ldflags_safe="$LDFLAGS"
+ac_libs_safe="$LIBS"
+
+CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
+LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
+LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
+
+
+
+cat > conftest.$ac_ext <<EOF
+#include "confdefs.h"
+#include <qglobal.h>
+#include <qapplication.h>
+EOF
+if test "$kde_qtver" = "2"; then
+cat >> conftest.$ac_ext <<EOF
+#include <qevent.h>
+#include <qstring.h>
+#include <qstyle.h>
+EOF
+
+if test $kde_qtsubver -gt 0; then
+cat >> conftest.$ac_ext <<EOF
+#if QT_VERSION < 210
+#error 1
+#endif
+EOF
+fi
+fi
+
+if test "$kde_qtver" = "3"; then
+cat >> conftest.$ac_ext <<EOF
+#include <qcursor.h>
+#include <qstylefactory.h>
+#include <private/qucomextra_p.h>
+EOF
+fi
+
+echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
+cat >> conftest.$ac_ext <<EOF
+#error 1
+#endif
+
+int main() {
+EOF
+if test "$kde_qtver" = "2"; then
+cat >> conftest.$ac_ext <<EOF
+ QStringList *t = new QStringList();
+ Q_UNUSED(t);
+EOF
+if test $kde_qtsubver -gt 0; then
+cat >> conftest.$ac_ext <<EOF
+ QString s;
+ s.setLatin1("Elvis is alive", 14);
+EOF
+fi
+fi
+if test "$kde_qtver" = "3"; then
+cat >> conftest.$ac_ext <<EOF
+ (void)QStyleFactory::create(QString::null);
+ QCursor c(Qt::WhatsThisCursor);
+EOF
+fi
+cat >> conftest.$ac_ext <<EOF
+ return 0;
+}
+EOF
+
+
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && test -s conftest; then
+ rm -f conftest*
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ ac_qt_libraries="NO"
+fi
+rm -f conftest*
+CXXFLAGS="$ac_cxxflags_safe"
+LDFLAGS="$ac_ldflags_safe"
+LIBS="$ac_libs_safe"
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+if test "$ac_qt_includes" = NO || test "$ac_qt_libraries" = NO; then
+ ac_cv_have_qt="have_qt=no"
+ ac_qt_notfound=""
+ missing_qt_mt=""
+ if test "$ac_qt_includes" = NO; then
+ if test "$ac_qt_libraries" = NO; then
+ ac_qt_notfound="(headers and libraries)";
+ else
+ ac_qt_notfound="(headers)";
+ fi
+ else
+ if test "x$kde_use_qt_mt" = "xyes"; then
+ missing_qt_mt="
+Make sure that you have compiled Qt with thread support!"
+ ac_qt_notfound="(library $qtlib-mt)";
+ else
+ ac_qt_notfound="(library $qtlib)";
+ fi
+ fi
+
+ { { echo "$as_me:$LINENO: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
+For more details about this problem, look at the end of config.log.$missing_qt_mt" >&5
+echo "$as_me: error: Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
+For more details about this problem, look at the end of config.log.$missing_qt_mt" >&2;}
+ { (exit 1); exit 1; }; }
+else
+ have_qt="yes"
+fi
+
+fi
+
+
+eval "$ac_cv_have_qt"
+
+if test "$have_qt" != yes; then
+ { echo "$as_me:$LINENO: result: $have_qt" >&5
+echo "${ECHO_T}$have_qt" >&6; };
+else
+ ac_cv_have_qt="have_qt=yes \
+ ac_qt_includes=$ac_qt_includes ac_qt_libraries=$ac_qt_libraries"
+ { echo "$as_me:$LINENO: result: libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&5
+echo "${ECHO_T}libraries $ac_qt_libraries, headers $ac_qt_includes $USING_QT_MT" >&6; }
+
+ qt_libraries="$ac_qt_libraries"
+ qt_includes="$ac_qt_includes"
+fi
+
+if test ! "$kde_qt_libs_given" = "yes" && test ! "$kde_qtver" = 3; then
+
+
+{ echo "$as_me:$LINENO: checking if Qt compiles without flags" >&5
+echo $ECHO_N "checking if Qt compiles without flags... $ECHO_C" >&6; }
+if test "${kde_cv_qt_direct+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ac_LD_LIBRARY_PATH_safe=$LD_LIBRARY_PATH
+ac_LIBRARY_PATH="$LIBRARY_PATH"
+ac_cxxflags_safe="$CXXFLAGS"
+ac_ldflags_safe="$LDFLAGS"
+ac_libs_safe="$LIBS"
+
+CXXFLAGS="$CXXFLAGS -I$qt_includes"
+LDFLAGS="$LDFLAGS $X_LDFLAGS"
+if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+LIBS="$LIBQT -lXext -lX11 $LIBSOCKET"
+else
+LIBS="$LIBQT $LIBSOCKET"
+fi
+LD_LIBRARY_PATH=
+export LD_LIBRARY_PATH
+LIBRARY_PATH=
+export LIBRARY_PATH
+
+
+
+cat > conftest.$ac_ext <<EOF
+#include "confdefs.h"
+#include <qglobal.h>
+#include <qapplication.h>
+EOF
+if test "$kde_qtver" = "2"; then
+cat >> conftest.$ac_ext <<EOF
+#include <qevent.h>
+#include <qstring.h>
+#include <qstyle.h>
+EOF
+
+if test $kde_qtsubver -gt 0; then
+cat >> conftest.$ac_ext <<EOF
+#if QT_VERSION < 210
+#error 1
+#endif
+EOF
+fi
+fi
+
+if test "$kde_qtver" = "3"; then
+cat >> conftest.$ac_ext <<EOF
+#include <qcursor.h>
+#include <qstylefactory.h>
+#include <private/qucomextra_p.h>
+EOF
+fi
+
+echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext
+cat >> conftest.$ac_ext <<EOF
+#error 1
+#endif
+
+int main() {
+EOF
+if test "$kde_qtver" = "2"; then
+cat >> conftest.$ac_ext <<EOF
+ QStringList *t = new QStringList();
+ Q_UNUSED(t);
+EOF
+if test $kde_qtsubver -gt 0; then
+cat >> conftest.$ac_ext <<EOF
+ QString s;
+ s.setLatin1("Elvis is alive", 14);
+EOF
+fi
+fi
+if test "$kde_qtver" = "3"; then
+cat >> conftest.$ac_ext <<EOF
+ (void)QStyleFactory::create(QString::null);
+ QCursor c(Qt::WhatsThisCursor);
+EOF
+fi
+cat >> conftest.$ac_ext <<EOF
+ return 0;
+}
+EOF
+
+
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && test -s conftest; then
+ kde_cv_qt_direct="yes"
+else
+ kde_cv_qt_direct="no"
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+fi
+
+rm -f conftest*
+CXXFLAGS="$ac_cxxflags_safe"
+LDFLAGS="$ac_ldflags_safe"
+LIBS="$ac_libs_safe"
+
+LD_LIBRARY_PATH="$ac_LD_LIBRARY_PATH_safe"
+export LD_LIBRARY_PATH
+LIBRARY_PATH="$ac_LIBRARY_PATH"
+export LIBRARY_PATH
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+
+if test "$kde_cv_qt_direct" = "yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ qt_libraries=
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+
+fi
+
+fi
+
+
+
+
+if test "$qt_includes" = "$x_includes" || test -z "$qt_includes"; then
+ QT_INCLUDES=""
+else
+ QT_INCLUDES="-I$qt_includes"
+ all_includes="$QT_INCLUDES $all_includes"
+fi
+
+if test "$qt_libraries" = "$x_libraries" || test -z "$qt_libraries"; then
+ QT_LDFLAGS=""
+else
+ QT_LDFLAGS="-L$qt_libraries"
+ all_libraries="$QT_LDFLAGS $all_libraries"
+fi
+test -z "$KDE_MT_LDFLAGS" || all_libraries="$all_libraries $KDE_MT_LDFLAGS"
+
+
+
+
+
+ qt_bindirs=""
+ for dir in $kde_qt_dirs; do
+ qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
+ done
+ qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"
+ if test ! "$ac_qt_bindir" = "NO"; then
+ qt_bindirs="$ac_qt_bindir $qt_bindirs"
+ fi
+
+
+ { echo "$as_me:$LINENO: checking for moc" >&5
+echo $ECHO_N "checking for moc... $ECHO_C" >&6; }
+ if test -n "$MOC"; then
+ kde_cv_path="$MOC";
+ else
+ kde_cache=`echo moc | sed 'y%./+-%__p_%'`
+
+ if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ dirs=""
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ if test -z ""; then dirs="$qt_bindirs $dirs"
+ else dirs="$dirs $qt_bindirs"
+ fi
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/moc"; then
+ if test -n ""
+ then
+ evalstr="$dir/moc 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/moc"
+ break
+ fi
+ else
+ kde_cv_path="$dir/moc"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+
+fi
+
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ { echo "$as_me:$LINENO: result: not found" >&5
+echo "${ECHO_T}not found" >&6; }
+
+ { { echo "$as_me:$LINENO: error: No Qt meta object compiler (moc) found!
+Please check whether you installed Qt correctly.
+You need to have a running moc binary.
+configure tried to run $ac_cv_path_moc and the test didn't
+succeed. If configure shouldn't have tried this one, set
+the environment variable MOC to the right one before running
+configure.
+" >&5
+echo "$as_me: error: No Qt meta object compiler (moc) found!
+Please check whether you installed Qt correctly.
+You need to have a running moc binary.
+configure tried to run $ac_cv_path_moc and the test didn't
+succeed. If configure shouldn't have tried this one, set
+the environment variable MOC to the right one before running
+configure.
+" >&2;}
+ { (exit 1); exit 1; }; }
+
+ else
+ { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+echo "${ECHO_T}$kde_cv_path" >&6; }
+ MOC=$kde_cv_path
+
+ fi
+
+ if test -z "$UIC_NOT_NEEDED"; then
+
+ { echo "$as_me:$LINENO: checking for uic" >&5
+echo $ECHO_N "checking for uic... $ECHO_C" >&6; }
+ if test -n "$UIC_PATH"; then
+ kde_cv_path="$UIC_PATH";
+ else
+ kde_cache=`echo uic | sed 'y%./+-%__p_%'`
+
+ if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ dirs=""
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ if test -z ""; then dirs="$qt_bindirs $dirs"
+ else dirs="$dirs $qt_bindirs"
+ fi
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/uic"; then
+ if test -n ""
+ then
+ evalstr="$dir/uic 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/uic"
+ break
+ fi
+ else
+ kde_cv_path="$dir/uic"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+
+fi
+
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ { echo "$as_me:$LINENO: result: not found" >&5
+echo "${ECHO_T}not found" >&6; }
+ UIC_PATH=""
+ else
+ { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+echo "${ECHO_T}$kde_cv_path" >&6; }
+ UIC_PATH=$kde_cv_path
+
+ fi
+
+ if test -z "$UIC_PATH" ; then
+
+ { echo "$as_me:$LINENO: WARNING: No Qt ui compiler (uic) found!
+Please check whether you installed Qt correctly.
+You need to have a running uic binary.
+configure tried to run $ac_cv_path_uic and the test didn't
+succeed. If configure shouldn't have tried this one, set
+the environment variable UIC to the right one before running
+configure.
+" >&5
+echo "$as_me: WARNING: No Qt ui compiler (uic) found!
+Please check whether you installed Qt correctly.
+You need to have a running uic binary.
+configure tried to run $ac_cv_path_uic and the test didn't
+succeed. If configure shouldn't have tried this one, set
+the environment variable UIC to the right one before running
+configure.
+" >&2;}
+
+ exit 1
+ else
+ UIC=$UIC_PATH
+
+ if test $kde_qtver = 3; then
+
+ { echo "$as_me:$LINENO: checking whether uic supports -L " >&5
+echo $ECHO_N "checking whether uic supports -L ... $ECHO_C" >&6; }
+ kde_cache=`echo L | sed 'y% .=/+-%____p_%'`
+ if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ cat >conftest.ui <<EOT
+ <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
+EOT
+ ac_uic_testrun="$UIC_PATH -L /nonexistent conftest.ui >/dev/null"
+ if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
+ (eval $ac_uic_testrun) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ eval "kde_cv_prog_uic_$kde_cache=yes"
+ else
+ eval "kde_cv_prog_uic_$kde_cache=no"
+ fi
+ rm -f conftest*
+
+fi
+
+
+ if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ ac_uic_supports_libpath=yes
+ else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+ ac_uic_supports_libpath=no
+ fi
+
+
+ { echo "$as_me:$LINENO: checking whether uic supports -nounload " >&5
+echo $ECHO_N "checking whether uic supports -nounload ... $ECHO_C" >&6; }
+ kde_cache=`echo nounload | sed 'y% .=/+-%____p_%'`
+ if { as_var=kde_cv_prog_uic_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ cat >conftest.ui <<EOT
+ <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>
+EOT
+ ac_uic_testrun="$UIC_PATH -nounload conftest.ui >/dev/null"
+ if { (eval echo "$as_me:$LINENO: \"$ac_uic_testrun\"") >&5
+ (eval $ac_uic_testrun) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ eval "kde_cv_prog_uic_$kde_cache=yes"
+ else
+ eval "kde_cv_prog_uic_$kde_cache=no"
+ fi
+ rm -f conftest*
+
+fi
+
+
+ if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+ ac_uic_supports_nounload=yes
+ else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+ ac_uic_supports_nounload=no
+ fi
+
+
+ if test x$ac_uic_supports_libpath = xyes; then
+ UIC="$UIC -L \$(kde_widgetdir)"
+ fi
+ if test x$ac_uic_supports_nounload = xyes; then
+ UIC="$UIC -nounload"
+ fi
+ fi
+ fi
+ else
+ UIC="echo uic not available: "
+ fi
+
+
+
+
+ UIC_TR="i18n"
+ if test $kde_qtver = 3; then
+ UIC_TR="tr2i18n"
+ fi
+
+
+
+
+
+if test -n "$LIBJPEG"; then
+{ echo "$as_me:$LINENO: checking if Qt needs $LIBJPEG" >&5
+echo $ECHO_N "checking if Qt needs $LIBJPEG... $ECHO_C" >&6; }
+if test "${kde_cv_qt_jpeg+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ac_save_LIBS="$LIBS"
+LIBS="$all_libraries $USER_LDFLAGS $LIBQT"
+LIBS=`echo $LIBS | sed "s/$LIBJPEG//"`
+ac_save_CXXFLAGS="$CXXFLAGS"
+CXXFLAGS="$CXXFLAGS $all_includes $USER_INCLUDES"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <qapplication.h>
+int
+main ()
+{
+
+ int argc;
+ char** argv;
+ QApplication app(argc, argv);
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_qt_jpeg=no"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "kde_cv_qt_jpeg=yes"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS="$ac_save_LIBS"
+CXXFLAGS="$ac_save_CXXFLAGS"
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+fi
+
+fi
+
+
+if eval "test ! \"`echo $kde_cv_qt_jpeg`\" = no"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ LIBJPEG_QT='$(LIBJPEG)'
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ LIBJPEG_QT=
+fi
+
+
+
+if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
+LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM)'
+else
+LIB_QT="$kde_int_qt $LIBJPEG_QT "'$(LIBZ) $(LIBPNG)'
+fi
+test -z "$KDE_MT_LIBS" || LIB_QT="$LIB_QT $KDE_MT_LIBS"
+for a in $qt_libdir/lib`echo ${kde_int_qt} | sed 's,^-l,,'`_incremental.*; do
+ if test -e "$a"; then
+ LIB_QT="$LIB_QT ${kde_int_qt}_incremental"
+ break
+ fi
+done
+
+
+
+
+
+
+
+
+
+
+
+
+
+{ echo "$as_me:$LINENO: checking for rpath" >&5
+echo $ECHO_N "checking for rpath... $ECHO_C" >&6; }
+# Check whether --enable-rpath was given.
+if test "${enable_rpath+set}" = set; then
+ enableval=$enable_rpath; USE_RPATH=$enableval
+else
+ USE_RPATH=yes
+fi
+
+
+if test -z "$KDE_RPATH" && test "$USE_RPATH" = "yes"; then
+
+ KDE_RPATH="-R \$(libdir)"
+
+ if test "$kde_libraries" != "$libdir"; then
+ KDE_RPATH="$KDE_RPATH -R \$(kde_libraries)"
+ fi
+
+ if test -n "$qt_libraries"; then
+ KDE_RPATH="$KDE_RPATH -R \$(qt_libraries)"
+ fi
+ if test -n "$X_LDFLAGS"; then
+ X_RPATH="-R \$(x_libraries)"
+ KDE_RPATH="$KDE_RPATH $X_RPATH"
+ fi
+ if test -n "$KDE_EXTRA_RPATH"; then
+ KDE_RPATH="$KDE_RPATH \$(KDE_EXTRA_RPATH)"
+ fi
+fi
+
+
+
+{ echo "$as_me:$LINENO: result: $USE_RPATH" >&5
+echo "${ECHO_T}$USE_RPATH" >&6; }
+
+{ echo "$as_me:$LINENO: checking for KDE" >&5
+echo $ECHO_N "checking for KDE... $ECHO_C" >&6; }
+
+if test "${prefix}" != NONE; then
+ kde_includes=${includedir}
+
+savex=$exec_prefix
+test "x$exec_prefix" = xNONE && exec_prefix=$prefix
+tmp=$includedir
+while ac_kde_includes=`eval echo "$tmp"`; test "x$ac_kde_includes" != "x$tmp"; do tmp=$ac_kde_includes; done
+exec_prefix=$savex
+
+
+ kde_libraries=${libdir}
+
+savex=$exec_prefix
+test "x$exec_prefix" = xNONE && exec_prefix=$prefix
+tmp=$libdir
+while ac_kde_libraries=`eval echo "$tmp"`; test "x$ac_kde_libraries" != "x$tmp"; do tmp=$ac_kde_libraries; done
+exec_prefix=$savex
+
+
+else
+ ac_kde_includes=
+ ac_kde_libraries=
+ kde_libraries=""
+ kde_includes=""
+fi
+
+if test "${ac_cv_have_kde+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ #try to guess kde locations
+
+if test "$kde_qtver" = 1; then
+ kde_check_header="ksock.h"
+ kde_check_lib="libkdecore.la"
+else
+ kde_check_header="ksharedptr.h"
+ kde_check_lib="libkio.la"
+fi
+
+if test -z ""; then
+
+kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
+test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
+kde_incdirs="$ac_kde_includes $kde_incdirs"
+
+kde_incdir=NO
+for i in $kde_incdirs;
+do
+ for j in $kde_check_header;
+ do
+ echo "configure: 31287: $i/$j" >&5
+ if test -r "$i/$j"; then
+ echo "taking that" >&5
+ kde_incdir=$i
+ break 2
+ fi
+ done
+done
+
+ac_kde_includes="$kde_incdir"
+
+if test -n "$ac_kde_includes" && test ! -r "$ac_kde_includes/$kde_check_header"; then
+ { { echo "$as_me:$LINENO: error:
+in the prefix, you've chosen, are no KDE headers installed. This will fail.
+So, check this please and use another prefix!" >&5
+echo "$as_me: error:
+in the prefix, you've chosen, are no KDE headers installed. This will fail.
+So, check this please and use another prefix!" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}"
+test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs"
+kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
+
+kde_libdir=NO
+for i in $kde_libdirs;
+do
+ for j in $kde_check_lib;
+ do
+ echo "configure: 31317: $i/$j" >&5
+ if test -r "$i/$j"; then
+ echo "taking that" >&5
+ kde_libdir=$i
+ break 2
+ fi
+ done
+done
+
+ac_kde_libraries="$kde_libdir"
+
+kde_widgetdir=NO
+
+kde_widgetdir=NO
+for i in $kde_libdirs;
+do
+ for j in "kde3/plugins/designer/kdewidgets.la";
+ do
+ echo "configure: 31335: $i/$j" >&5
+ if test -r "$i/$j"; then
+ echo "taking that" >&5
+ kde_widgetdir=$i
+ break 2
+ fi
+ done
+done
+
+
+if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/$kde_check_lib"; then
+{ { echo "$as_me:$LINENO: error:
+in the prefix, you've chosen, are no KDE libraries installed. This will fail.
+So, check this please and use another prefix!" >&5
+echo "$as_me: error:
+in the prefix, you've chosen, are no KDE libraries installed. This will fail.
+So, check this please and use another prefix!" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
+{ { echo "$as_me:$LINENO: error:
+I can't find the designer plugins. These are required and should have been installed
+by kdelibs" >&5
+echo "$as_me: error:
+I can't find the designer plugins. These are required and should have been installed
+by kdelibs" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+if test -n "$kde_widgetdir"; then
+ kde_widgetdir="$kde_widgetdir/kde3/plugins/designer"
+fi
+
+
+if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO || test "$kde_widgetdir" = NO; then
+ ac_cv_have_kde="have_kde=no"
+else
+ ac_cv_have_kde="have_kde=yes \
+ ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
+fi
+
+else
+ ac_cv_have_kde="have_kde=no"
+
+fi
+
+fi
+
+eval "$ac_cv_have_kde"
+
+if test "$have_kde" != "yes"; then
+ if test "${prefix}" = NONE; then
+ ac_kde_prefix="$ac_default_prefix"
+ else
+ ac_kde_prefix="$prefix"
+ fi
+ if test "$exec_prefix" = NONE; then
+ ac_kde_exec_prefix="$ac_kde_prefix"
+ { echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix" >&5
+echo "${ECHO_T}will be installed in $ac_kde_prefix" >&6; }
+ else
+ ac_kde_exec_prefix="$exec_prefix"
+ { echo "$as_me:$LINENO: result: will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&5
+echo "${ECHO_T}will be installed in $ac_kde_prefix and $ac_kde_exec_prefix" >&6; }
+ fi
+
+ kde_libraries="${libdir}"
+ kde_includes="${includedir}"
+
+else
+ ac_cv_have_kde="have_kde=yes \
+ ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
+ { echo "$as_me:$LINENO: result: libraries $ac_kde_libraries, headers $ac_kde_includes" >&5
+echo "${ECHO_T}libraries $ac_kde_libraries, headers $ac_kde_includes" >&6; }
+
+ kde_libraries="$ac_kde_libraries"
+ kde_includes="$ac_kde_includes"
+fi
+
+
+
+if test "$kde_includes" = "$x_includes" || test "$kde_includes" = "$qt_includes" || test "$kde_includes" = "/usr/include"; then
+ KDE_INCLUDES=""
+else
+ KDE_INCLUDES="-I$kde_includes"
+ all_includes="$KDE_INCLUDES $all_includes"
+fi
+
+KDE_DEFAULT_CXXFLAGS="-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION"
+
+KDE_LDFLAGS="-L$kde_libraries"
+if test ! "$kde_libraries" = "$x_libraries" && test ! "$kde_libraries" = "$qt_libraries" ; then
+ all_libraries="$KDE_LDFLAGS $all_libraries"
+fi
+
+
+
+
+
+
+all_libraries="$all_libraries $USER_LDFLAGS"
+all_includes="$all_includes $USER_INCLUDES"
+
+
+
+if test -z ""; then
+
+
+
+if test x$ac_uic_supports_libpath = xyes; then
+
+{ echo "$as_me:$LINENO: checking if UIC has KDE plugins available" >&5
+echo $ECHO_N "checking if UIC has KDE plugins available... $ECHO_C" >&6; }
+if test "${kde_cv_uic_plugins+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+cat > actest.ui << EOF
+<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
+<class>NewConnectionDialog</class>
+<widget class="QDialog">
+ <widget class="KLineEdit">
+ <property name="name">
+ <cstring>testInput</cstring>
+ </property>
+ </widget>
+</widget>
+</UI>
+EOF
+
+
+
+kde_cv_uic_plugins=no
+kde_line="$UIC_PATH -L $kde_widgetdir"
+if test x$ac_uic_supports_nounload = xyes; then
+ kde_line="$kde_line -nounload"
+fi
+kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
+if { (eval echo "$as_me:$LINENO: \"$kde_line\"") >&5
+ (eval $kde_line) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ # if you're trying to debug this check and think it's incorrect,
+ # better check your installation. The check _is_ correct - your
+ # installation is not.
+ if test -f actest.cpp && grep klineedit actest.cpp > /dev/null; then
+ kde_cv_uic_plugins=yes
+ fi
+fi
+rm -f actest.ui actest.cpp
+
+fi
+
+
+{ echo "$as_me:$LINENO: result: $kde_cv_uic_plugins" >&5
+echo "${ECHO_T}$kde_cv_uic_plugins" >&6; }
+if test "$kde_cv_uic_plugins" != yes; then
+ { { echo "$as_me:$LINENO: error:
+you need to install kdelibs first.
+
+If you did install kdelibs, then the Qt version that is picked up by
+this configure is not the same version you used to compile kdelibs.
+The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
+_same Qt version_, compiled with the _same compiler_ and the same Qt
+configuration settings.
+" >&5
+echo "$as_me: error:
+you need to install kdelibs first.
+
+If you did install kdelibs, then the Qt version that is picked up by
+this configure is not the same version you used to compile kdelibs.
+The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
+_same Qt version_, compiled with the _same compiler_ and the same Qt
+configuration settings.
+" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+fi
+
+fi
+
+ac_kde_libraries="$kde_libdir"
+
+
+
+
+
+ # Check whether --enable-path-check was given.
+if test "${enable_path_check+set}" = set; then
+ enableval=$enable_path_check;
+ if test "$enableval" = "no";
+ then ac_use_path_checking="default"
+ else ac_use_path_checking=""
+ fi
+
+else
+
+ if test "$kde_qtver" = 1;
+ then ac_use_path_checking=""
+ else ac_use_path_checking="default"
+ fi
+
+
+fi
+
+
+
+
+
+{ echo "$as_me:$LINENO: checking for KDE paths" >&5
+echo $ECHO_N "checking for KDE paths... $ECHO_C" >&6; }
+kde_result=""
+kde_cached_paths=yes
+if test "${kde_cv_all_paths+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+if test "$ac_use_path_checking" = "default"; then
+
+ if test -z "$kde_htmldir"; then
+ kde_htmldir='\${datadir}/doc/HTML'
+ fi
+ if test -z "$kde_appsdir"; then
+ kde_appsdir='\${datadir}/applnk'
+ fi
+ if test -z "$kde_icondir"; then
+ kde_icondir='\${datadir}/icons'
+ fi
+ if test -z "$kde_sounddir"; then
+ kde_sounddir='\${datadir}/sounds'
+ fi
+ if test -z "$kde_datadir"; then
+ kde_datadir='\${datadir}/apps'
+ fi
+ if test -z "$kde_locale"; then
+ kde_locale='\${datadir}/locale'
+ fi
+ if test -z "$kde_cgidir"; then
+ kde_cgidir='\${exec_prefix}/cgi-bin'
+ fi
+ if test -z "$kde_confdir"; then
+ kde_confdir='\${datadir}/config'
+ fi
+ if test -z "$kde_kcfgdir"; then
+ kde_kcfgdir='\${datadir}/config.kcfg'
+ fi
+ if test -z "$kde_mimedir"; then
+ kde_mimedir='\${datadir}/mimelnk'
+ fi
+ if test -z "$kde_toolbardir"; then
+ kde_toolbardir='\${datadir}/toolbar'
+ fi
+ if test -z "$kde_wallpaperdir"; then
+ kde_wallpaperdir='\${datadir}/wallpapers'
+ fi
+ if test -z "$kde_templatesdir"; then
+ kde_templatesdir='\${datadir}/templates'
+ fi
+ if test -z "$kde_bindir"; then
+ kde_bindir='\${exec_prefix}/bin'
+ fi
+ if test -z "$kde_servicesdir"; then
+ kde_servicesdir='\${datadir}/services'
+ fi
+ if test -z "$kde_servicetypesdir"; then
+ kde_servicetypesdir='\${datadir}/servicetypes'
+ fi
+ if test -z "$kde_moduledir"; then
+ if test "$kde_qtver" = "2"; then
+ kde_moduledir='\${libdir}/kde2'
+ else
+ kde_moduledir='\${libdir}/kde3'
+ fi
+ fi
+ if test -z "$kde_styledir"; then
+ kde_styledir='\${libdir}/kde3/plugins/styles'
+ fi
+ if test -z "$kde_widgetdir"; then
+ kde_widgetdir='\${libdir}/kde3/plugins/designer'
+ fi
+ if test -z "$xdg_appsdir"; then
+ xdg_appsdir='\${datadir}/applications/kde'
+ fi
+ if test -z "$xdg_menudir"; then
+ xdg_menudir='\${sysconfdir}/xdg/menus'
+ fi
+ if test -z "$xdg_directorydir"; then
+ xdg_directorydir='\${datadir}/desktop-directories'
+ fi
+
+
+ kde_cv_all_paths="kde_have_all_paths=\"yes\" \
+ kde_htmldir=\"$kde_htmldir\" \
+ kde_appsdir=\"$kde_appsdir\" \
+ kde_icondir=\"$kde_icondir\" \
+ kde_sounddir=\"$kde_sounddir\" \
+ kde_datadir=\"$kde_datadir\" \
+ kde_locale=\"$kde_locale\" \
+ kde_cgidir=\"$kde_cgidir\" \
+ kde_confdir=\"$kde_confdir\" \
+ kde_kcfgdir=\"$kde_kcfgdir\" \
+ kde_mimedir=\"$kde_mimedir\" \
+ kde_toolbardir=\"$kde_toolbardir\" \
+ kde_wallpaperdir=\"$kde_wallpaperdir\" \
+ kde_templatesdir=\"$kde_templatesdir\" \
+ kde_bindir=\"$kde_bindir\" \
+ kde_servicesdir=\"$kde_servicesdir\" \
+ kde_servicetypesdir=\"$kde_servicetypesdir\" \
+ kde_moduledir=\"$kde_moduledir\" \
+ kde_styledir=\"$kde_styledir\" \
+ kde_widgetdir=\"$kde_widgetdir\" \
+ xdg_appsdir=\"$xdg_appsdir\" \
+ xdg_menudir=\"$xdg_menudir\" \
+ xdg_directorydir=\"$xdg_directorydir\" \
+ kde_result=defaults"
+
+
+else
+
+ if test $kde_qtver = 1; then
+ { echo "$as_me:$LINENO: result: compiling" >&5
+echo "${ECHO_T}compiling" >&6; }
+
+
+ { echo "$as_me:$LINENO: checking for KDE headers installed" >&5
+echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+cat > conftest.$ac_ext <<EOF
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+#endif
+#include <stdio.h>
+#include "confdefs.h"
+#include <kapp.h>
+
+int main() {
+ printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
+ printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
+ printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
+ printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
+ printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
+ printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
+ printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
+ printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
+ printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
+ printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
+ printf("kde_wallpaperdir=\\"%s\\"\n",
+ KApplication::kde_wallpaperdir().data());
+ printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
+ printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
+ printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
+ printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
+ printf("kde_moduledir=\\"/tmp/dummy\\"\n");
+ printf("kde_styledir=\\"/tmp/dummy\\"\n");
+ printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
+ printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
+ printf("xdg_menudir=\\"/tmp/dummy\\"\n");
+ printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
+ printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
+ return 0;
+ }
+EOF
+
+ ac_save_CPPFLAGS=$CPPFLAGS
+ CPPFLAGS="$all_includes $CPPFLAGS"
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ else
+ { { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
+Check, if you installed the KDE header files correctly.
+For more details about this problem, look at the end of config.log." >&5
+echo "$as_me: error: your system is not able to compile a small KDE application!
+Check, if you installed the KDE header files correctly.
+For more details about this problem, look at the end of config.log." >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ CPPFLAGS=$ac_save_CPPFLAGS
+
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+ KDE_TEST_RPATH=
+
+ if test -n "$USE_RPATH"; then
+
+ if test -n "$kde_libraries"; then
+ KDE_TEST_RPATH="-R $kde_libraries"
+ fi
+
+ if test -n "$qt_libraries"; then
+ KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
+ fi
+
+ if test -n "$x_libraries"; then
+ KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
+ fi
+
+ KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
+ fi
+
+{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
+echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
+ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
+
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && test -s conftest; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+else
+ { { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
+Check, if your compiler is installed correctly and if you have used the
+same compiler to compile Qt and kdelibs as you did use now.
+For more details about this problem, look at the end of config.log." >&5
+echo "$as_me: error: your system fails at linking a small KDE application!
+Check, if your compiler is installed correctly and if you have used the
+same compiler to compile Qt and kdelibs as you did use now.
+For more details about this problem, look at the end of config.log." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+if eval `KDEDIR= ./conftest 2>&5`; then
+ kde_result=done
+else
+ kde_result=problems
+fi
+
+KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
+kde_have_all_paths=yes
+
+
+ kde_cv_all_paths="kde_have_all_paths=\"yes\" \
+ kde_htmldir=\"$kde_htmldir\" \
+ kde_appsdir=\"$kde_appsdir\" \
+ kde_icondir=\"$kde_icondir\" \
+ kde_sounddir=\"$kde_sounddir\" \
+ kde_datadir=\"$kde_datadir\" \
+ kde_locale=\"$kde_locale\" \
+ kde_cgidir=\"$kde_cgidir\" \
+ kde_confdir=\"$kde_confdir\" \
+ kde_kcfgdir=\"$kde_kcfgdir\" \
+ kde_mimedir=\"$kde_mimedir\" \
+ kde_toolbardir=\"$kde_toolbardir\" \
+ kde_wallpaperdir=\"$kde_wallpaperdir\" \
+ kde_templatesdir=\"$kde_templatesdir\" \
+ kde_bindir=\"$kde_bindir\" \
+ kde_servicesdir=\"$kde_servicesdir\" \
+ kde_servicetypesdir=\"$kde_servicetypesdir\" \
+ kde_moduledir=\"$kde_moduledir\" \
+ kde_styledir=\"$kde_styledir\" \
+ kde_widgetdir=\"$kde_widgetdir\" \
+ xdg_appsdir=\"$xdg_appsdir\" \
+ xdg_menudir=\"$xdg_menudir\" \
+ xdg_directorydir=\"$xdg_directorydir\" \
+ kde_result=$kde_result"
+
+
+
+ else
+ { { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
+echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+
+fi
+
+ kde_cached_paths=no
+
+fi
+
+eval "$kde_cv_all_paths"
+ if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
+ test -z "$kde_icondir" || test -z "$kde_sounddir" ||
+ test -z "$kde_datadir" || test -z "$kde_locale" ||
+ test -z "$kde_cgidir" || test -z "$kde_confdir" ||
+ test -z "$kde_kcfgdir" ||
+ test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
+ test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
+ test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
+ test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
+ test -z "$kde_styledir" || test -z "kde_widgetdir" ||
+ test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
+ test "x$kde_have_all_paths" != "xyes"; then
+ kde_have_all_paths=no
+ fi
+
+if test "$kde_have_all_paths" = "no" && test "$kde_cached_paths" = "yes"; then
+ # wrong values were cached, may be, we can set better ones
+ kde_result=
+ kde_htmldir= kde_appsdir= kde_icondir= kde_sounddir=
+ kde_datadir= kde_locale= kde_cgidir= kde_confdir= kde_kcfgdir=
+ kde_mimedir= kde_toolbardir= kde_wallpaperdir= kde_templatesdir=
+ kde_bindir= kde_servicesdir= kde_servicetypesdir= kde_moduledir=
+ kde_have_all_paths=
+ kde_styledir=
+ kde_widgetdir=
+ xdg_appsdir = xdg_menudir= xdg_directorydir=
+
+if test "$ac_use_path_checking" = "default"; then
+
+ if test -z "$kde_htmldir"; then
+ kde_htmldir='\${datadir}/doc/HTML'
+ fi
+ if test -z "$kde_appsdir"; then
+ kde_appsdir='\${datadir}/applnk'
+ fi
+ if test -z "$kde_icondir"; then
+ kde_icondir='\${datadir}/icons'
+ fi
+ if test -z "$kde_sounddir"; then
+ kde_sounddir='\${datadir}/sounds'
+ fi
+ if test -z "$kde_datadir"; then
+ kde_datadir='\${datadir}/apps'
+ fi
+ if test -z "$kde_locale"; then
+ kde_locale='\${datadir}/locale'
+ fi
+ if test -z "$kde_cgidir"; then
+ kde_cgidir='\${exec_prefix}/cgi-bin'
+ fi
+ if test -z "$kde_confdir"; then
+ kde_confdir='\${datadir}/config'
+ fi
+ if test -z "$kde_kcfgdir"; then
+ kde_kcfgdir='\${datadir}/config.kcfg'
+ fi
+ if test -z "$kde_mimedir"; then
+ kde_mimedir='\${datadir}/mimelnk'
+ fi
+ if test -z "$kde_toolbardir"; then
+ kde_toolbardir='\${datadir}/toolbar'
+ fi
+ if test -z "$kde_wallpaperdir"; then
+ kde_wallpaperdir='\${datadir}/wallpapers'
+ fi
+ if test -z "$kde_templatesdir"; then
+ kde_templatesdir='\${datadir}/templates'
+ fi
+ if test -z "$kde_bindir"; then
+ kde_bindir='\${exec_prefix}/bin'
+ fi
+ if test -z "$kde_servicesdir"; then
+ kde_servicesdir='\${datadir}/services'
+ fi
+ if test -z "$kde_servicetypesdir"; then
+ kde_servicetypesdir='\${datadir}/servicetypes'
+ fi
+ if test -z "$kde_moduledir"; then
+ if test "$kde_qtver" = "2"; then
+ kde_moduledir='\${libdir}/kde2'
+ else
+ kde_moduledir='\${libdir}/kde3'
+ fi
+ fi
+ if test -z "$kde_styledir"; then
+ kde_styledir='\${libdir}/kde3/plugins/styles'
+ fi
+ if test -z "$kde_widgetdir"; then
+ kde_widgetdir='\${libdir}/kde3/plugins/designer'
+ fi
+ if test -z "$xdg_appsdir"; then
+ xdg_appsdir='\${datadir}/applications/kde'
+ fi
+ if test -z "$xdg_menudir"; then
+ xdg_menudir='\${sysconfdir}/xdg/menus'
+ fi
+ if test -z "$xdg_directorydir"; then
+ xdg_directorydir='\${datadir}/desktop-directories'
+ fi
+
+
+ kde_cv_all_paths="kde_have_all_paths=\"yes\" \
+ kde_htmldir=\"$kde_htmldir\" \
+ kde_appsdir=\"$kde_appsdir\" \
+ kde_icondir=\"$kde_icondir\" \
+ kde_sounddir=\"$kde_sounddir\" \
+ kde_datadir=\"$kde_datadir\" \
+ kde_locale=\"$kde_locale\" \
+ kde_cgidir=\"$kde_cgidir\" \
+ kde_confdir=\"$kde_confdir\" \
+ kde_kcfgdir=\"$kde_kcfgdir\" \
+ kde_mimedir=\"$kde_mimedir\" \
+ kde_toolbardir=\"$kde_toolbardir\" \
+ kde_wallpaperdir=\"$kde_wallpaperdir\" \
+ kde_templatesdir=\"$kde_templatesdir\" \
+ kde_bindir=\"$kde_bindir\" \
+ kde_servicesdir=\"$kde_servicesdir\" \
+ kde_servicetypesdir=\"$kde_servicetypesdir\" \
+ kde_moduledir=\"$kde_moduledir\" \
+ kde_styledir=\"$kde_styledir\" \
+ kde_widgetdir=\"$kde_widgetdir\" \
+ xdg_appsdir=\"$xdg_appsdir\" \
+ xdg_menudir=\"$xdg_menudir\" \
+ xdg_directorydir=\"$xdg_directorydir\" \
+ kde_result=defaults"
+
+
+else
+
+ if test $kde_qtver = 1; then
+ { echo "$as_me:$LINENO: result: compiling" >&5
+echo "${ECHO_T}compiling" >&6; }
+
+
+ { echo "$as_me:$LINENO: checking for KDE headers installed" >&5
+echo $ECHO_N "checking for KDE headers installed... $ECHO_C" >&6; }
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+cat > conftest.$ac_ext <<EOF
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+#endif
+#include <stdio.h>
+#include "confdefs.h"
+#include <kapp.h>
+
+int main() {
+ printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
+ printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
+ printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
+ printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
+ printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
+ printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
+ printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
+ printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
+ printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
+ printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
+ printf("kde_wallpaperdir=\\"%s\\"\n",
+ KApplication::kde_wallpaperdir().data());
+ printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
+ printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
+ printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
+ printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
+ printf("kde_moduledir=\\"/tmp/dummy\\"\n");
+ printf("kde_styledir=\\"/tmp/dummy\\"\n");
+ printf("kde_widgetdir=\\"/tmp/dummy\\"\n");
+ printf("xdg_appsdir=\\"/tmp/dummy\\"\n");
+ printf("xdg_menudir=\\"/tmp/dummy\\"\n");
+ printf("xdg_directorydir=\\"/tmp/dummy\\"\n");
+ printf("kde_kcfgdir=\\"/tmp/dummy\\"\n");
+ return 0;
+ }
+EOF
+
+ ac_save_CPPFLAGS=$CPPFLAGS
+ CPPFLAGS="$all_includes $CPPFLAGS"
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ else
+ { { echo "$as_me:$LINENO: error: your system is not able to compile a small KDE application!
+Check, if you installed the KDE header files correctly.
+For more details about this problem, look at the end of config.log." >&5
+echo "$as_me: error: your system is not able to compile a small KDE application!
+Check, if you installed the KDE header files correctly.
+For more details about this problem, look at the end of config.log." >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ CPPFLAGS=$ac_save_CPPFLAGS
+
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+ KDE_TEST_RPATH=
+
+ if test -n "$USE_RPATH"; then
+
+ if test -n "$kde_libraries"; then
+ KDE_TEST_RPATH="-R $kde_libraries"
+ fi
+
+ if test -n "$qt_libraries"; then
+ KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"
+ fi
+
+ if test -n "$x_libraries"; then
+ KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"
+ fi
+
+ KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"
+ fi
+
+{ echo "$as_me:$LINENO: checking for KDE libraries installed" >&5
+echo $ECHO_N "checking for KDE libraries installed... $ECHO_C" >&6; }
+ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'
+
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && test -s conftest; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+else
+ { { echo "$as_me:$LINENO: error: your system fails at linking a small KDE application!
+Check, if your compiler is installed correctly and if you have used the
+same compiler to compile Qt and kdelibs as you did use now.
+For more details about this problem, look at the end of config.log." >&5
+echo "$as_me: error: your system fails at linking a small KDE application!
+Check, if your compiler is installed correctly and if you have used the
+same compiler to compile Qt and kdelibs as you did use now.
+For more details about this problem, look at the end of config.log." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+if eval `KDEDIR= ./conftest 2>&5`; then
+ kde_result=done
+else
+ kde_result=problems
+fi
+
+KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
+kde_have_all_paths=yes
+
+
+ kde_cv_all_paths="kde_have_all_paths=\"yes\" \
+ kde_htmldir=\"$kde_htmldir\" \
+ kde_appsdir=\"$kde_appsdir\" \
+ kde_icondir=\"$kde_icondir\" \
+ kde_sounddir=\"$kde_sounddir\" \
+ kde_datadir=\"$kde_datadir\" \
+ kde_locale=\"$kde_locale\" \
+ kde_cgidir=\"$kde_cgidir\" \
+ kde_confdir=\"$kde_confdir\" \
+ kde_kcfgdir=\"$kde_kcfgdir\" \
+ kde_mimedir=\"$kde_mimedir\" \
+ kde_toolbardir=\"$kde_toolbardir\" \
+ kde_wallpaperdir=\"$kde_wallpaperdir\" \
+ kde_templatesdir=\"$kde_templatesdir\" \
+ kde_bindir=\"$kde_bindir\" \
+ kde_servicesdir=\"$kde_servicesdir\" \
+ kde_servicetypesdir=\"$kde_servicetypesdir\" \
+ kde_moduledir=\"$kde_moduledir\" \
+ kde_styledir=\"$kde_styledir\" \
+ kde_widgetdir=\"$kde_widgetdir\" \
+ xdg_appsdir=\"$xdg_appsdir\" \
+ xdg_menudir=\"$xdg_menudir\" \
+ xdg_directorydir=\"$xdg_directorydir\" \
+ kde_result=$kde_result"
+
+
+
+ else
+ { { echo "$as_me:$LINENO: error: path checking not yet supported for KDE 2" >&5
+echo "$as_me: error: path checking not yet supported for KDE 2" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+
+fi
+
+ eval "$kde_cv_all_paths"
+ if test -z "$kde_htmldir" || test -z "$kde_appsdir" ||
+ test -z "$kde_icondir" || test -z "$kde_sounddir" ||
+ test -z "$kde_datadir" || test -z "$kde_locale" ||
+ test -z "$kde_cgidir" || test -z "$kde_confdir" ||
+ test -z "$kde_kcfgdir" ||
+ test -z "$kde_mimedir" || test -z "$kde_toolbardir" ||
+ test -z "$kde_wallpaperdir" || test -z "$kde_templatesdir" ||
+ test -z "$kde_bindir" || test -z "$kde_servicesdir" ||
+ test -z "$kde_servicetypesdir" || test -z "$kde_moduledir" ||
+ test -z "$kde_styledir" || test -z "kde_widgetdir" ||
+ test -z "$xdg_appsdir" || test -z "$xdg_menudir" || test -z "$xdg_directorydir" ||
+ test "x$kde_have_all_paths" != "xyes"; then
+ kde_have_all_paths=no
+ fi
+
+ kde_result="$kde_result (cache overridden)"
+fi
+if test "$kde_have_all_paths" = "no"; then
+ { { echo "$as_me:$LINENO: error: configure could not run a little KDE program to test the environment.
+Since it had compiled and linked before, it must be a strange problem on your system.
+Look at config.log for details. If you are not able to fix this, look at
+http://www.kde.org/faq/installation.html or any www.kde.org mirror.
+(If you're using an egcs version on Linux, you may update binutils!)
+" >&5
+echo "$as_me: error: configure could not run a little KDE program to test the environment.
+Since it had compiled and linked before, it must be a strange problem on your system.
+Look at config.log for details. If you are not able to fix this, look at
+http://www.kde.org/faq/installation.html or any www.kde.org mirror.
+(If you're using an egcs version on Linux, you may update binutils!)
+" >&2;}
+ { (exit 1); exit 1; }; }
+else
+ rm -f conftest*
+ { echo "$as_me:$LINENO: result: $kde_result" >&5
+echo "${ECHO_T}$kde_result" >&6; }
+fi
+
+bindir=$kde_bindir
+
+
+
+# Check whether --with-arts was given.
+if test "${with_arts+set}" = set; then
+ withval=$with_arts; build_arts=$withval
+else
+ build_arts=yes
+
+fi
+
+ if test "$build_arts" '!=' "no"; then
+ include_ARTS_TRUE=
+ include_ARTS_FALSE='#'
+else
+ include_ARTS_TRUE='#'
+ include_ARTS_FALSE=
+fi
+
+ if test "$build_arts" = "no"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define WITHOUT_ARTS 1
+_ACEOF
+
+ fi
+
+
+ kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
+ test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs"
+ if test -n "$KDEDIRS"; then
+ kde_save_IFS=$IFS
+ IFS=:
+ for dir in $KDEDIRS; do
+ kde_default_bindirs="$dir/bin $kde_default_bindirs "
+ done
+ IFS=$kde_save_IFS
+ fi
+
+ kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
+
+ { echo "$as_me:$LINENO: checking for dcopidl" >&5
+echo $ECHO_N "checking for dcopidl... $ECHO_C" >&6; }
+ if test -n "$DCOPIDL"; then
+ kde_cv_path="$DCOPIDL";
+ else
+ kde_cache=`echo dcopidl | sed 'y%./+-%__p_%'`
+
+ if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ dirs=""
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ if test -z ""; then dirs="$kde_default_bindirs $dirs"
+ else dirs="$dirs $kde_default_bindirs"
+ fi
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/dcopidl"; then
+ if test -n ""
+ then
+ evalstr="$dir/dcopidl 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/dcopidl"
+ break
+ fi
+ else
+ kde_cv_path="$dir/dcopidl"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+
+fi
+
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ { echo "$as_me:$LINENO: result: not found" >&5
+echo "${ECHO_T}not found" >&6; }
+
+ { { echo "$as_me:$LINENO: error: The important program dcopidl was not found!
+Please check whether you installed KDE correctly.
+" >&5
+echo "$as_me: error: The important program dcopidl was not found!
+Please check whether you installed KDE correctly.
+" >&2;}
+ { (exit 1); exit 1; }; }
+
+ else
+ { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+echo "${ECHO_T}$kde_cv_path" >&6; }
+ DCOPIDL=$kde_cv_path
+
+ fi
+
+
+ { echo "$as_me:$LINENO: checking for dcopidl2cpp" >&5
+echo $ECHO_N "checking for dcopidl2cpp... $ECHO_C" >&6; }
+ if test -n "$DCOPIDL2CPP"; then
+ kde_cv_path="$DCOPIDL2CPP";
+ else
+ kde_cache=`echo dcopidl2cpp | sed 'y%./+-%__p_%'`
+
+ if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ dirs=""
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ if test -z ""; then dirs="$kde_default_bindirs $dirs"
+ else dirs="$dirs $kde_default_bindirs"
+ fi
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/dcopidl2cpp"; then
+ if test -n ""
+ then
+ evalstr="$dir/dcopidl2cpp 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/dcopidl2cpp"
+ break
+ fi
+ else
+ kde_cv_path="$dir/dcopidl2cpp"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+
+fi
+
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ { echo "$as_me:$LINENO: result: not found" >&5
+echo "${ECHO_T}not found" >&6; }
+
+ { { echo "$as_me:$LINENO: error: The important program dcopidl2cpp was not found!
+Please check whether you installed KDE correctly.
+" >&5
+echo "$as_me: error: The important program dcopidl2cpp was not found!
+Please check whether you installed KDE correctly.
+" >&2;}
+ { (exit 1); exit 1; }; }
+
+ else
+ { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+echo "${ECHO_T}$kde_cv_path" >&6; }
+ DCOPIDL2CPP=$kde_cv_path
+
+ fi
+
+ if test "$build_arts" '!=' "no"; then
+
+ { echo "$as_me:$LINENO: checking for mcopidl" >&5
+echo $ECHO_N "checking for mcopidl... $ECHO_C" >&6; }
+ if test -n "$MCOPIDL"; then
+ kde_cv_path="$MCOPIDL";
+ else
+ kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
+
+ if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ dirs=""
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ if test -z ""; then dirs="$kde_default_bindirs $dirs"
+ else dirs="$dirs $kde_default_bindirs"
+ fi
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/mcopidl"; then
+ if test -n ""
+ then
+ evalstr="$dir/mcopidl 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/mcopidl"
+ break
+ fi
+ else
+ kde_cv_path="$dir/mcopidl"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+
+fi
+
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ { echo "$as_me:$LINENO: result: not found" >&5
+echo "${ECHO_T}not found" >&6; }
+
+ { { echo "$as_me:$LINENO: error: The important program mcopidl was not found!
+Please check whether you installed aRts correctly or use
+--without-arts to compile without aRts support (this will remove functionality).
+" >&5
+echo "$as_me: error: The important program mcopidl was not found!
+Please check whether you installed aRts correctly or use
+--without-arts to compile without aRts support (this will remove functionality).
+" >&2;}
+ { (exit 1); exit 1; }; }
+
+ else
+ { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+echo "${ECHO_T}$kde_cv_path" >&6; }
+ MCOPIDL=$kde_cv_path
+
+ fi
+
+
+ { echo "$as_me:$LINENO: checking for artsc-config" >&5
+echo $ECHO_N "checking for artsc-config... $ECHO_C" >&6; }
+ if test -n "$ARTSCCONFIG"; then
+ kde_cv_path="$ARTSCCONFIG";
+ else
+ kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
+
+ if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ dirs=""
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ if test -z ""; then dirs="$kde_default_bindirs $dirs"
+ else dirs="$dirs $kde_default_bindirs"
+ fi
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/artsc-config"; then
+ if test -n ""
+ then
+ evalstr="$dir/artsc-config 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/artsc-config"
+ break
+ fi
+ else
+ kde_cv_path="$dir/artsc-config"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+
+fi
+
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ { echo "$as_me:$LINENO: result: not found" >&5
+echo "${ECHO_T}not found" >&6; }
+
+ { { echo "$as_me:$LINENO: error: The important program artsc-config was not found!
+Please check whether you installed aRts correctly or use
+--without-arts to compile without aRts support (this will remove functionality).
+" >&5
+echo "$as_me: error: The important program artsc-config was not found!
+Please check whether you installed aRts correctly or use
+--without-arts to compile without aRts support (this will remove functionality).
+" >&2;}
+ { (exit 1); exit 1; }; }
+
+ else
+ { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+echo "${ECHO_T}$kde_cv_path" >&6; }
+ ARTSCCONFIG=$kde_cv_path
+
+ fi
+
+ fi
+
+ { echo "$as_me:$LINENO: checking for meinproc" >&5
+echo $ECHO_N "checking for meinproc... $ECHO_C" >&6; }
+ if test -n "$MEINPROC"; then
+ kde_cv_path="$MEINPROC";
+ else
+ kde_cache=`echo meinproc | sed 'y%./+-%__p_%'`
+
+ if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ dirs=""
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ if test -z ""; then dirs="$kde_default_bindirs $dirs"
+ else dirs="$dirs $kde_default_bindirs"
+ fi
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/meinproc"; then
+ if test -n ""
+ then
+ evalstr="$dir/meinproc 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/meinproc"
+ break
+ fi
+ else
+ kde_cv_path="$dir/meinproc"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+
+fi
+
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ { echo "$as_me:$LINENO: result: not found" >&5
+echo "${ECHO_T}not found" >&6; }
+
+ else
+ { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+echo "${ECHO_T}$kde_cv_path" >&6; }
+ MEINPROC=$kde_cv_path
+
+ fi
+
+
+ kde32ornewer=1
+ kde33ornewer=1
+ if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
+ kde32ornewer=
+ kde33ornewer=
+ else
+ if test "$kde_qtver" = "3"; then
+ if test "$kde_qtsubver" -le 1; then
+ kde32ornewer=
+ fi
+ if test "$kde_qtsubver" -le 2; then
+ kde33ornewer=
+ fi
+ if test "$KDECONFIG" != "compiled"; then
+ if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then
+ kde33ornewer=
+ fi
+ fi
+ fi
+ fi
+
+ if test -n "$kde32ornewer"; then
+
+ { echo "$as_me:$LINENO: checking for kconfig_compiler" >&5
+echo $ECHO_N "checking for kconfig_compiler... $ECHO_C" >&6; }
+ if test -n "$KCONFIG_COMPILER"; then
+ kde_cv_path="$KCONFIG_COMPILER";
+ else
+ kde_cache=`echo kconfig_compiler | sed 'y%./+-%__p_%'`
+
+ if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ dirs=""
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ if test -z ""; then dirs="$kde_default_bindirs $dirs"
+ else dirs="$dirs $kde_default_bindirs"
+ fi
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/kconfig_compiler"; then
+ if test -n ""
+ then
+ evalstr="$dir/kconfig_compiler 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/kconfig_compiler"
+ break
+ fi
+ else
+ kde_cv_path="$dir/kconfig_compiler"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+
+fi
+
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ { echo "$as_me:$LINENO: result: not found" >&5
+echo "${ECHO_T}not found" >&6; }
+
+ { { echo "$as_me:$LINENO: error: The important program kconfig_compiler was not found!
+Please check whether you installed KDE correctly.
+" >&5
+echo "$as_me: error: The important program kconfig_compiler was not found!
+Please check whether you installed KDE correctly.
+" >&2;}
+ { (exit 1); exit 1; }; }
+
+ else
+ { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+echo "${ECHO_T}$kde_cv_path" >&6; }
+ KCONFIG_COMPILER=$kde_cv_path
+
+ fi
+
+
+ { echo "$as_me:$LINENO: checking for dcopidlng" >&5
+echo $ECHO_N "checking for dcopidlng... $ECHO_C" >&6; }
+ if test -n "$DCOPIDLNG"; then
+ kde_cv_path="$DCOPIDLNG";
+ else
+ kde_cache=`echo dcopidlng | sed 'y%./+-%__p_%'`
+
+ if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ dirs=""
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ if test -z ""; then dirs="$kde_default_bindirs $dirs"
+ else dirs="$dirs $kde_default_bindirs"
+ fi
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/dcopidlng"; then
+ if test -n ""
+ then
+ evalstr="$dir/dcopidlng 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/dcopidlng"
+ break
+ fi
+ else
+ kde_cv_path="$dir/dcopidlng"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+
+fi
+
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ { echo "$as_me:$LINENO: result: not found" >&5
+echo "${ECHO_T}not found" >&6; }
+
+ { { echo "$as_me:$LINENO: error: The important program dcopidlng was not found!
+Please check whether you installed KDE correctly.
+" >&5
+echo "$as_me: error: The important program dcopidlng was not found!
+Please check whether you installed KDE correctly.
+" >&2;}
+ { (exit 1); exit 1; }; }
+
+ else
+ { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+echo "${ECHO_T}$kde_cv_path" >&6; }
+ DCOPIDLNG=$kde_cv_path
+
+ fi
+
+ fi
+ if test -n "$kde33ornewer"; then
+
+ { echo "$as_me:$LINENO: checking for makekdewidgets" >&5
+echo $ECHO_N "checking for makekdewidgets... $ECHO_C" >&6; }
+ if test -n "$MAKEKDEWIDGETS"; then
+ kde_cv_path="$MAKEKDEWIDGETS";
+ else
+ kde_cache=`echo makekdewidgets | sed 'y%./+-%__p_%'`
+
+ if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ dirs=""
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ if test -z ""; then dirs="$kde_default_bindirs $dirs"
+ else dirs="$dirs $kde_default_bindirs"
+ fi
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/makekdewidgets"; then
+ if test -n ""
+ then
+ evalstr="$dir/makekdewidgets 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/makekdewidgets"
+ break
+ fi
+ else
+ kde_cv_path="$dir/makekdewidgets"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+
+fi
+
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ { echo "$as_me:$LINENO: result: not found" >&5
+echo "${ECHO_T}not found" >&6; }
+
+ { { echo "$as_me:$LINENO: error: The important program makekdewidgets was not found!
+Please check whether you installed KDE correctly.
+" >&5
+echo "$as_me: error: The important program makekdewidgets was not found!
+Please check whether you installed KDE correctly.
+" >&2;}
+ { (exit 1); exit 1; }; }
+
+ else
+ { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+echo "${ECHO_T}$kde_cv_path" >&6; }
+ MAKEKDEWIDGETS=$kde_cv_path
+
+ fi
+
+
+ fi
+
+ { echo "$as_me:$LINENO: checking for xmllint" >&5
+echo $ECHO_N "checking for xmllint... $ECHO_C" >&6; }
+ if test -n "$XMLLINT"; then
+ kde_cv_path="$XMLLINT";
+ else
+ kde_cache=`echo xmllint | sed 'y%./+-%__p_%'`
+
+ if { as_var=kde_cv_path_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ kde_cv_path="NONE"
+ kde_save_IFS=$IFS
+ IFS=':'
+ dirs=""
+ for dir in $PATH; do
+ dirs="$dirs $dir"
+ done
+ if test -z ""; then dirs="${prefix}/bin ${exec_prefix}/bin $dirs"
+ else dirs="$dirs ${prefix}/bin ${exec_prefix}/bin"
+ fi
+ IFS=$kde_save_IFS
+
+ for dir in $dirs; do
+ if test -x "$dir/xmllint"; then
+ if test -n ""
+ then
+ evalstr="$dir/xmllint 2>&1 "
+ if eval $evalstr; then
+ kde_cv_path="$dir/xmllint"
+ break
+ fi
+ else
+ kde_cv_path="$dir/xmllint"
+ break
+ fi
+ fi
+ done
+
+ eval "kde_cv_path_$kde_cache=$kde_cv_path"
+
+
+fi
+
+
+ eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+
+ fi
+
+ if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+ { echo "$as_me:$LINENO: result: not found" >&5
+echo "${ECHO_T}not found" >&6; }
+ XMLLINT=""
+ else
+ { echo "$as_me:$LINENO: result: $kde_cv_path" >&5
+echo "${ECHO_T}$kde_cv_path" >&6; }
+ XMLLINT=$kde_cv_path
+
+ fi
+
+
+ if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
+ kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
+ test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
+
+KDE_XSL_STYLESHEET=NO
+for i in $kde_sharedirs;
+do
+ for j in apps/ksgmltools2/customization/kde-chunk.xsl;
+ do
+ echo "configure: 32854: $i/$j" >&5
+ if test -r "$i/$j"; then
+ echo "taking that" >&5
+ KDE_XSL_STYLESHEET=$i
+ break 2
+ fi
+ done
+done
+
+ if test "$KDE_XSL_STYLESHEET" = "NO"; then
+ KDE_XSL_STYLESHEET=""
+ else
+ KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
+ fi
+ fi
+
+ DCOP_DEPENDENCIES='$(DCOPIDL)'
+ if test -n "$kde32ornewer"; then
+ KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)'
+ DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)'
+
+
+
+ fi
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+kdeinitdir='$(kde_moduledir)'
+
+
+
+if test "$kde_qtver" = 1; then
+ kde_minidir="$kde_icondir/mini"
+else
+# for KDE 1 - this breaks KDE2 apps using minidir, but
+# that's the plan ;-/
+ kde_minidir="/dev/null"
+fi
+
+
+
+
+
+
+if test $kde_qtver = 3; then
+ case $host in
+ *cygwin*) lib_kded="-lkdeinit_kded" ;;
+ *) lib_kded="" ;;
+ esac
+ LIB_KDED=$lib_kded
+
+ LIB_KDECORE="-lkdecore"
+
+ LIB_KDEUI="-lkdeui"
+
+ LIB_KIO="-lkio"
+
+ LIB_KJS="-lkjs"
+
+ LIB_SMB="-lsmb"
+
+ LIB_KAB="-lkab"
+
+ LIB_KABC="-lkabc"
+
+ LIB_KHTML="-lkhtml"
+
+ LIB_KSPELL="-lkspell"
+
+ LIB_KPARTS="-lkparts"
+
+ LIB_KDEPRINT="-lkdeprint"
+
+ LIB_KUTILS="-lkutils"
+
+ LIB_KDEPIM="-lkdepim"
+
+ LIB_KIMPROXY="-lkimproxy"
+
+ LIB_KNEWSTUFF="-lknewstuff"
+
+ LIB_KDNSSD="-lkdnssd"
+
+ LIB_KUNITTEST="-lkunittest"
+
+# these are for backward compatibility
+ LIB_KSYCOCA="-lkio"
+
+ LIB_KFILE="-lkio"
+
+elif test $kde_qtver = 2; then
+ LIB_KDECORE="-lkdecore"
+
+ LIB_KDEUI="-lkdeui"
+
+ LIB_KIO="-lkio"
+
+ LIB_KSYCOCA="-lksycoca"
+
+ LIB_SMB="-lsmb"
+
+ LIB_KFILE="-lkfile"
+
+ LIB_KAB="-lkab"
+
+ LIB_KHTML="-lkhtml"
+
+ LIB_KSPELL="-lkspell"
+
+ LIB_KPARTS="-lkparts"
+
+ LIB_KDEPRINT="-lkdeprint"
+
+else
+ LIB_KDECORE="-lkdecore -lXext $(LIB_QT)"
+
+ LIB_KDEUI="-lkdeui $(LIB_KDECORE)"
+
+ LIB_KFM="-lkfm $(LIB_KDECORE)"
+
+ LIB_KFILE="-lkfile $(LIB_KFM) $(LIB_KDEUI)"
+
+ LIB_KAB="-lkab $(LIB_KIMGIO) $(LIB_KDECORE)"
+
+fi
+
+
+
+#MIN_CONFIG(3.2)
+#AM_KDE_MIN_VERSION(3.4)
+
+
+for ac_header in byteswap.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
+echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
+if test "${ac_cv_c_bigendian+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ # See if sys/param.h defines the BYTE_ORDER macro.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <sys/types.h>
+#include <sys/param.h>
+
+int
+main ()
+{
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
+ && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
+ bogus endian macros
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ # It does; now see whether it defined to BIG_ENDIAN or not.
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <sys/types.h>
+#include <sys/param.h>
+
+int
+main ()
+{
+#if BYTE_ORDER != BIG_ENDIAN
+ not big endian
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_c_bigendian=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_c_bigendian=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ # It does not; compile a test program.
+if test "$cross_compiling" = yes; then
+ # try to guess the endianness by grepping values into an object file
+ ac_cv_c_bigendian=unknown
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
+short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
+void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
+short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
+short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
+void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
+int
+main ()
+{
+ _ascii (); _ebcdic ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
+ ac_cv_c_bigendian=yes
+fi
+if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
+ if test "$ac_cv_c_bigendian" = unknown; then
+ ac_cv_c_bigendian=no
+ else
+ # finding both strings is unlikely to happen, but who knows?
+ ac_cv_c_bigendian=unknown
+ fi
+fi
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+
+ /* Are we little or big endian? From Harbison&Steele. */
+ union
+ {
+ long int l;
+ char c[sizeof (long int)];
+ } u;
+ u.l = 1;
+ return u.c[sizeof (long int) - 1] == 1;
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_c_bigendian=no
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+ac_cv_c_bigendian=yes
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
+echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
+case $ac_cv_c_bigendian in
+ yes)
+
+cat >>confdefs.h <<\_ACEOF
+#define WORDS_BIGENDIAN 1
+_ACEOF
+ ;;
+ no)
+ ;;
+ *)
+ { { echo "$as_me:$LINENO: error: unknown endianness
+presetting ac_cv_c_bigendian=no (or yes) will help" >&5
+echo "$as_me: error: unknown endianness
+presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
+ { (exit 1); exit 1; }; } ;;
+esac
+
+
+
+# Check whether --with-external-libsamplerate was given.
+if test "${with_external_libsamplerate+set}" = set; then
+ withval=$with_external_libsamplerate; external_sampletrate=$withval
+else
+ external_sampletrate=yes
+
+fi
+
+
+LIBSAMPLERATE=""
+
+if test x$external_sampletrate != xno; then
+
+
+
+
+
+
+ kde_safe_cppflags=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $all_includes"
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+
+for ac_header in samplerate.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+
+ kde_save_LDFLAGS="$LDFLAGS"
+ kde_save_LIBS="$LIBS"
+ LDFLAGS="$LDFLAGS $all_libraries"
+ case $host_os in
+ aix*) LDFLAGS="-brtl $LDFLAGS"
+ test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
+ ;;
+ esac
+ { echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5
+echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6; }
+if test "${ac_cv_lib_samplerate_src_new+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lsamplerate $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char src_new ();
+int
+main ()
+{
+return src_new ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_samplerate_src_new=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_samplerate_src_new=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&5
+echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6; }
+if test $ac_cv_lib_samplerate_src_new = yes; then
+ LIBSAMPLERATE="-lsamplerate"
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LIBSAMPLERATE 1
+_ACEOF
+
+
+fi
+
+ LDFLAGS="$kde_save_LDFLAGS"
+ LIBS="$kde_save_LIBS"
+
+
+fi
+
+done
+
+ CPPFLAGS=$kde_safe_cppflags
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+fi
+
+
+ if test -z "$LIBSAMPLERATE"; then
+ compile_libsamplerate_TRUE=
+ compile_libsamplerate_FALSE='#'
+else
+ compile_libsamplerate_TRUE='#'
+ compile_libsamplerate_FALSE=
+fi
+
+
+
+ARTS_LIBS=""
+if test "x$build_arts" = "xyes"; then
+
+
+
+
+ kde_safe_cppflags=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $all_includes"
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+
+for ac_header in artsc/artsc.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+ arts_available=yes
+ ARTS_LIBS="-lartsc"
+else
+ arts_available=no
+
+fi
+
+done
+
+ CPPFLAGS=$kde_safe_cppflags
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+ if test -n "$ARTS_LIBS"; then
+ include_arts_TRUE=
+ include_arts_FALSE='#'
+else
+ include_arts_TRUE='#'
+ include_arts_FALSE=
+fi
+
+if test "x$build_arts" = "xyes" -a "x$arts_available" = "xyes"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define WITH_ARTS 1
+_ACEOF
+
+fi
+
+
+
+
+ if test -z "$LIBPTHREAD"; then
+ if test -z "$USE_THREADS"; then
+ kde_check_threading_default=no
+ else
+ kde_check_threading_default=yes
+ fi
+ else
+ kde_check_threading_default=yes
+ fi
+ # Check whether --enable-threading was given.
+if test "${enable_threading+set}" = set; then
+ enableval=$enable_threading; kde_use_threading=$enableval
+else
+ kde_use_threading=$kde_check_threading_default
+fi
+
+ if test "x$kde_use_threading" = "xyes"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LIBPTHREAD 1
+_ACEOF
+
+ fi
+
+
+compile_k3bsetup=yes
+
+# Check whether --with-k3bsetup was given.
+if test "${with_k3bsetup+set}" = set; then
+ withval=$with_k3bsetup; compile_k3bsetup=$withval
+
+fi
+
+
+if test x$compile_k3bsetup = xyes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_K3BSETUP 1
+_ACEOF
+
+fi
+
+ if test x$compile_k3bsetup = xyes; then
+ with_k3bsetup1_TRUE=
+ with_k3bsetup1_FALSE='#'
+else
+ with_k3bsetup1_TRUE='#'
+ with_k3bsetup1_FALSE=
+fi
+
+
+
+cdrecord_suid_root=yes
+
+# Check whether --with-cdrecord-suid-root was given.
+if test "${with_cdrecord_suid_root+set}" = set; then
+ withval=$with_cdrecord_suid_root; cdrecord_suid_root=$withval
+else
+ cdrecord_suid_root=yes
+
+fi
+
+if test x$cdrecord_suid_root = xyes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define CDRECORD_SUID_ROOT_CHECK 1
+_ACEOF
+
+fi
+
+
+# Extra SCSI support libs can go in CAM_LIB, and are linked into
+# libk3bdevice. For Linux, nothing is needed. FreeBSD requires -lcam
+# (which is in base, so no test is needed).
+case "$host_os" in
+freebsd* | dragonfly*)
+ CAM_LIB="-lcam"
+ ;;
+*)
+ CAM_LIB=""
+ ;;
+esac
+
+
+
+
+
+
+
+
+
+# Extract the first word of "taglib-config", so it can be a program name with args.
+set dummy taglib-config; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_path_TAGLIB_CONFIG+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $TAGLIB_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_TAGLIB_CONFIG="$TAGLIB_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_dummy="$PATH:$prefix/bin"
+for as_dir in $as_dummy
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_TAGLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_path_TAGLIB_CONFIG" && ac_cv_path_TAGLIB_CONFIG="no"
+ ;;
+esac
+fi
+TAGLIB_CONFIG=$ac_cv_path_TAGLIB_CONFIG
+if test -n "$TAGLIB_CONFIG"; then
+ { echo "$as_me:$LINENO: result: $TAGLIB_CONFIG" >&5
+echo "${ECHO_T}$TAGLIB_CONFIG" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+if test "x$TAGLIB_CONFIG" = "xno" ; then
+
+ taglib_includes=""
+ taglib_libs=""
+ have_taglib=false
+
+else
+
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_TAGLIB 1
+_ACEOF
+
+ taglib_includes=`$TAGLIB_CONFIG --cflags`
+ taglib_libs=`$TAGLIB_CONFIG --libs`
+ have_taglib=true
+
+fi
+
+
+
+
+
+
+
+
+
+# Check whether --with-musicbrainz was given.
+if test "${with_musicbrainz+set}" = set; then
+ withval=$with_musicbrainz; ac_cv_use_musicbrainz=$withval
+else
+ ac_cv_use_musicbrainz=yes
+
+fi
+
+
+have_mb=false
+MUSICBRAINZ_LIBS=""
+if test "$ac_cv_use_musicbrainz" = "yes"; then
+
+ kde_safe_cppflags=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $all_includes"
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ if test "${ac_cv_header_musicbrainz_mb_c_h+set}" = set; then
+ { echo "$as_me:$LINENO: checking for musicbrainz/mb_c.h" >&5
+echo $ECHO_N "checking for musicbrainz/mb_c.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_musicbrainz_mb_c_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_musicbrainz_mb_c_h" >&5
+echo "${ECHO_T}$ac_cv_header_musicbrainz_mb_c_h" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking musicbrainz/mb_c.h usability" >&5
+echo $ECHO_N "checking musicbrainz/mb_c.h usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <musicbrainz/mb_c.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking musicbrainz/mb_c.h presence" >&5
+echo $ECHO_N "checking musicbrainz/mb_c.h presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <musicbrainz/mb_c.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: musicbrainz/mb_c.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: musicbrainz/mb_c.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: musicbrainz/mb_c.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: musicbrainz/mb_c.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: musicbrainz/mb_c.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: musicbrainz/mb_c.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: musicbrainz/mb_c.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: musicbrainz/mb_c.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: musicbrainz/mb_c.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: musicbrainz/mb_c.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: musicbrainz/mb_c.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: musicbrainz/mb_c.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: musicbrainz/mb_c.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: musicbrainz/mb_c.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: musicbrainz/mb_c.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: musicbrainz/mb_c.h: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for musicbrainz/mb_c.h" >&5
+echo $ECHO_N "checking for musicbrainz/mb_c.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_musicbrainz_mb_c_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_musicbrainz_mb_c_h=$ac_header_preproc
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_musicbrainz_mb_c_h" >&5
+echo "${ECHO_T}$ac_cv_header_musicbrainz_mb_c_h" >&6; }
+
+fi
+if test $ac_cv_header_musicbrainz_mb_c_h = yes; then
+
+
+ kde_save_LDFLAGS="$LDFLAGS"
+ kde_save_LIBS="$LIBS"
+ LDFLAGS="$LDFLAGS $all_libraries"
+ case $host_os in
+ aix*) LDFLAGS="-brtl $LDFLAGS"
+ test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
+ ;;
+ esac
+ { echo "$as_me:$LINENO: checking for mb_New in -lmusicbrainz" >&5
+echo $ECHO_N "checking for mb_New in -lmusicbrainz... $ECHO_C" >&6; }
+if test "${ac_cv_lib_musicbrainz_mb_New+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lmusicbrainz $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char mb_New ();
+int
+main ()
+{
+return mb_New ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_musicbrainz_mb_New=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_musicbrainz_mb_New=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_musicbrainz_mb_New" >&5
+echo "${ECHO_T}$ac_cv_lib_musicbrainz_mb_New" >&6; }
+if test $ac_cv_lib_musicbrainz_mb_New = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_MUSICBRAINZ 1
+_ACEOF
+
+ MUSICBRAINZ_LIBS="-lmusicbrainz"
+ have_mb=true
+
+fi
+
+ LDFLAGS="$kde_save_LDFLAGS"
+ LIBS="$kde_save_LIBS"
+
+
+fi
+
+
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ CPPFLAGS=$kde_safe_cppflags
+
+fi
+
+
+
+
+
+
+# Check whether --with-k3b-debug was given.
+if test "${with_k3b_debug+set}" = set; then
+ withval=$with_k3b_debug; use_k3b_debug=$withval
+else
+ use_k3b_debug=no
+
+fi
+
+if test "$use_k3b_debug" = "yes"; then
+
+cat >>confdefs.h <<\_ACEOF
+#define K3B_DEBUG "1"
+_ACEOF
+
+fi
+
+
+
+
+
+
+
+for ac_header in iconv.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+
+
+#AC_DEFINE(LIBK3B_VERSION, "0.11.98", [k3b library version])
+#AC_SUBST(LIBK3B_VERSION, 0.11.98)
+#AC_CONFIG_FILES([k3b/libk3b/libk3b.pc])
+
+
+
+
+ { echo "$as_me:$LINENO: checking grepping for visibility push/pop in headers" >&5
+echo $ECHO_N "checking grepping for visibility push/pop in headers... $ECHO_C" >&6; }
+
+ if test "x$GXX" = "xyes"; then
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+ #include <exception>
+
+_ACEOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ $EGREP "GCC visibility push" >/dev/null 2>&1; then
+
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ kde_stdc_visibility_patched=yes
+else
+
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ { echo "$as_me:$LINENO: WARNING: Your libstdc++ doesn't appear to be patched for
+ visibility support. Disabling -fvisibility=hidden" >&5
+echo "$as_me: WARNING: Your libstdc++ doesn't appear to be patched for
+ visibility support. Disabling -fvisibility=hidden" >&2;}
+
+ kde_stdc_visibility_patched=no
+fi
+rm -f conftest*
+
+
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+ kde_have_gcc_visibility=no
+
+{ echo "$as_me:$LINENO: checking whether $CXX supports -fvisibility=hidden" >&5
+echo $ECHO_N "checking whether $CXX supports -fvisibility=hidden... $ECHO_C" >&6; }
+kde_cache=`echo fvisibility=hidden | sed 'y% .=/+-,%____p__%'`
+if { as_var=kde_cv_prog_cxx_$kde_cache; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ return 0;
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "kde_cv_prog_cxx_$kde_cache=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ CXXFLAGS="$save_CXXFLAGS"
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+if eval "test \"`echo '$kde_cv_prog_cxx_'$kde_cache`\" = yes"; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ :
+
+ kde_have_gcc_visibility=yes
+ # Check whether --enable-gcc-hidden-visibility was given.
+if test "${enable_gcc_hidden_visibility+set}" = set; then
+ enableval=$enable_gcc_hidden_visibility; kde_have_gcc_visibility=$enableval
+else
+ kde_have_gcc_visibility=no
+fi
+
+
+ { echo "$as_me:$LINENO: checking if Qt is patched for -fvisibility" >&5
+echo $ECHO_N "checking if Qt is patched for -fvisibility... $ECHO_C" >&6; }
+if test "${kde_cv_val_qt_gcc_visibility_patched+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+
+ safe_CXXFLAGS=$CXXFLAGS
+ CXXFLAGS="$CXXFLAGS $all_includes"
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+#include <qglobal.h>
+#if Q_EXPORT - 0 != 0
+/* if this compiles, then Q_EXPORT is undefined */
+/* if Q_EXPORT is nonempty, this will break compilation */
+#endif
+
+int
+main ()
+{
+/* elvis is alive */
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ kde_cv_val_qt_gcc_visibility_patched=no
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ kde_cv_val_qt_gcc_visibility_patched=yes
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ CXXFLAGS=$safe_CXXFLAGS
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+fi
+{ echo "$as_me:$LINENO: result: $kde_cv_val_qt_gcc_visibility_patched" >&5
+echo "${ECHO_T}$kde_cv_val_qt_gcc_visibility_patched" >&6; }
+
+ if test x$kde_have_gcc_visibility = "xyes" && test x$kde_stdc_visibility_patched = "xyes" && test x$kde_cv_val_qt_gcc_visibility_patched = "xyes"; then
+ CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
+
+ { echo "$as_me:$LINENO: checking for gcc -fvisibility-inlines-hidden bug" >&5
+echo $ECHO_N "checking for gcc -fvisibility-inlines-hidden bug... $ECHO_C" >&6; }
+if test "${kde_cv_val_gcc_visibility_bug+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+
+ safe_CXXFLAGS=$CXXFLAGS
+ safe_LDFLAGS=$LDFLAGS
+ CXXFLAGS="$CXXFLAGS -fPIC -fvisibility-inlines-hidden -O0"
+ LDFLAGS="$LDFLAGS -shared -fPIC"
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+ /* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664 */
+ #include <string>
+ int some_function( void ) __attribute__ ((visibility("default")));
+ int some_function( void )
+ {
+ std::string s("blafasel");
+ return 0;
+ }
+
+int
+main ()
+{
+/* elvis is alive */
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ kde_cv_val_gcc_visibility_bug=no
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ kde_cv_val_gcc_visibility_bug=yes
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+
+ CXXFLAGS=$safe_CXXFLAGS
+ LDFLAGS=$safe_LDFLAGS
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+fi
+{ echo "$as_me:$LINENO: result: $kde_cv_val_gcc_visibility_bug" >&5
+echo "${ECHO_T}$kde_cv_val_gcc_visibility_bug" >&6; }
+
+ if test x$kde_cv_val_gcc_visibility_bug = xno; then
+ CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
+ fi
+
+
+ HAVE_GCC_VISIBILITY=1
+
+cat >>confdefs.h <<_ACEOF
+#define __KDE_HAVE_GCC_VISIBILITY "$HAVE_GCC_VISIBILITY"
+_ACEOF
+
+ fi
+
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+ :
+
+fi
+
+ fi
+
+
+
+for ac_func in stat64
+do
+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "$as_ac_var=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval echo '${'$as_ac_var'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_var'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+for ac_header in sys/vfs.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+for ac_header in sys/statvfs.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+LIBS="-lm $all_libraries"
+
+{ echo "$as_me:$LINENO: checking whether lrint is declared" >&5
+echo $ECHO_N "checking whether lrint is declared... $ECHO_C" >&6; }
+if test "${ac_cv_have_decl_lrint+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <math.h>
+
+
+int
+main ()
+{
+#ifndef lrint
+ (void) lrint;
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_have_decl_lrint=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_have_decl_lrint=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_lrint" >&5
+echo "${ECHO_T}$ac_cv_have_decl_lrint" >&6; }
+if test $ac_cv_have_decl_lrint = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LRINT 1
+_ACEOF
+
+else
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LRINT 0
+_ACEOF
+
+fi
+
+
+{ echo "$as_me:$LINENO: checking whether lrintf is declared" >&5
+echo $ECHO_N "checking whether lrintf is declared... $ECHO_C" >&6; }
+if test "${ac_cv_have_decl_lrintf+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <math.h>
+
+
+int
+main ()
+{
+#ifndef lrintf
+ (void) lrintf;
+#endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_have_decl_lrintf=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_have_decl_lrintf=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_lrintf" >&5
+echo "${ECHO_T}$ac_cv_have_decl_lrintf" >&6; }
+if test $ac_cv_have_decl_lrintf = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LRINTF 1
+_ACEOF
+
+else
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LRINTF 0
+_ACEOF
+
+fi
+
+
+
+# Check whether --with-libdvdread was given.
+if test "${with_libdvdread+set}" = set; then
+ withval=$with_libdvdread; ac_cv_use_libdvdread=$withval
+else
+ ac_cv_use_libdvdread=yes
+
+fi
+
+
+have_libdvdread=no
+if test "$ac_cv_use_libdvdread" = "yes"; then
+
+
+
+
+ kde_safe_cppflags=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $all_includes"
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+
+for ac_header in dvdread/dvd_reader.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+ { echo "$as_me:$LINENO: checking for DVDOpen in -ldvdread" >&5
+echo $ECHO_N "checking for DVDOpen in -ldvdread... $ECHO_C" >&6; }
+if test "${ac_cv_lib_dvdread_DVDOpen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-ldvdread $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char DVDOpen ();
+int
+main ()
+{
+return DVDOpen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_dvdread_DVDOpen=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_dvdread_DVDOpen=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dvdread_DVDOpen" >&5
+echo "${ECHO_T}$ac_cv_lib_dvdread_DVDOpen" >&6; }
+if test $ac_cv_lib_dvdread_DVDOpen = yes; then
+
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LIBDVDREAD 1
+_ACEOF
+
+ have_libdvdread=yes
+
+
+fi
+
+
+fi
+
+done
+
+ CPPFLAGS=$kde_safe_cppflags
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+ if test x$have_libdvdread = xyes; then
+ include_videodvdrip_TRUE=
+ include_videodvdrip_FALSE='#'
+else
+ include_videodvdrip_TRUE='#'
+ include_videodvdrip_FALSE=
+fi
+
+
+#if test "$have_libdvdread" = "no"; then
+# AC_MSG_ERROR([Could not find libdvdread. Please install.])
+# DO_NOT_COMPILE="$DO_NOT_COMPILE k3b"
+#fi
+
+
+linux_scsi=no
+{ echo "$as_me:$LINENO: checking for linux scsi headers" >&5
+echo $ECHO_N "checking for linux scsi headers... $ECHO_C" >&6; }
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+ #include <linux/version.h>
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,50)
+ typedef unsigned char u8;
+ #endif
+ #include <sys/types.h>
+ #include <linux/../scsi/scsi.h> /* cope with silly includes */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ linux_scsi=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $linux_scsi" >&5
+echo "${ECHO_T}$linux_scsi" >&6; }
+
+case "$host_os" in
+freebsd*|dragonfly*)
+ # I'll be damned if lousy coding prevents us from running
+ # this application.
+ linux_scsi=yes
+ ;;
+esac
+
+if test "x$linux_scsi" = "xno" ; then
+ DO_NOT_COMPILE="$DO_NOT_COMPILE k3b"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+{ echo "$as_me:$LINENO: checking for cam_close_device" >&5
+echo $ECHO_N "checking for cam_close_device... $ECHO_C" >&6; }
+if test "${ac_cv_func_cam_close_device+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define cam_close_device to an innocuous variant, in case <limits.h> declares cam_close_device.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define cam_close_device innocuous_cam_close_device
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char cam_close_device (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef cam_close_device
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char cam_close_device ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_cam_close_device || defined __stub___cam_close_device
+choke me
+#endif
+
+int
+main ()
+{
+return cam_close_device ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_func_cam_close_device=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_func_cam_close_device=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_func_cam_close_device" >&5
+echo "${ECHO_T}$ac_cv_func_cam_close_device" >&6; }
+if test $ac_cv_func_cam_close_device = yes; then
+ CAM_LIB=""
+else
+ { echo "$as_me:$LINENO: checking for cam_close_device in -lcam" >&5
+echo $ECHO_N "checking for cam_close_device in -lcam... $ECHO_C" >&6; }
+if test "${ac_cv_lib_cam_cam_close_device+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lcam $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char cam_close_device ();
+int
+main ()
+{
+return cam_close_device ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_cam_cam_close_device=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_cam_cam_close_device=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_cam_cam_close_device" >&5
+echo "${ECHO_T}$ac_cv_lib_cam_cam_close_device" >&6; }
+if test $ac_cv_lib_cam_cam_close_device = yes; then
+ CAM_LIB=-lcam
+else
+ CAM_LIB=""
+fi
+
+
+fi
+
+
+
+
+
+
+# Check whether --with-resmgr was given.
+if test "${with_resmgr+set}" = set; then
+ withval=$with_resmgr; ac_cv_use_resmgr=$withval
+else
+ ac_cv_use_resmgr=yes
+
+fi
+
+
+if test "$ac_cv_use_resmgr" = "yes"; then
+ RESMGR_LIB=""
+
+
+
+
+ kde_safe_cppflags=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $all_includes"
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+
+for ac_header in resmgr.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+
+ kde_save_LDFLAGS="$LDFLAGS"
+ kde_save_LIBS="$LIBS"
+ LDFLAGS="$LDFLAGS $all_libraries"
+ case $host_os in
+ aix*) LDFLAGS="-brtl $LDFLAGS"
+ test "$GCC" = yes && LDFLAGS="-Wl,$LDFLAGS"
+ ;;
+ esac
+ { echo "$as_me:$LINENO: checking for rsm_open_device in -lresmgr" >&5
+echo $ECHO_N "checking for rsm_open_device in -lresmgr... $ECHO_C" >&6; }
+if test "${ac_cv_lib_resmgr_rsm_open_device+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lresmgr $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char rsm_open_device ();
+int
+main ()
+{
+return rsm_open_device ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_resmgr_rsm_open_device=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_resmgr_rsm_open_device=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_resmgr_rsm_open_device" >&5
+echo "${ECHO_T}$ac_cv_lib_resmgr_rsm_open_device" >&6; }
+if test $ac_cv_lib_resmgr_rsm_open_device = yes; then
+ RESMGR_LIB="-lresmgr"
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_RESMGR 1
+_ACEOF
+
+
+fi
+
+ LDFLAGS="$kde_save_LDFLAGS"
+ LIBS="$kde_save_LIBS"
+
+
+fi
+
+done
+
+ CPPFLAGS=$kde_safe_cppflags
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+fi
+
+
+
+
+
+# HAL check from kdebase/kioslave/media
+
+
+# Check whether --with-hal was given.
+if test "${with_hal+set}" = set; then
+ withval=$with_hal; ac_cv_use_hal=$withval
+else
+ ac_cv_use_hal=yes
+
+fi
+
+
+if test "x$ac_cv_use_hal" = "xyes" ; then
+
+########### Check for the HAL
+
+ { echo "$as_me:$LINENO: checking for the HAL" >&5
+echo $ECHO_N "checking for the HAL... $ECHO_C" >&6; }
+
+ hal_inc=NOTFOUND
+ hal_lib=NOTFOUND
+ hal=NOTFOUND
+
+ search_incs="$kde_includes /usr/include /usr/include/hal /usr/local/include /usr/local/include/hal"
+
+hal_incdir=NO
+for i in $search_incs;
+do
+ for j in libhal.h libhal-storage.h;
+ do
+ echo "configure: 36093: $i/$j" >&5
+ if test -r "$i/$j"; then
+ echo "taking that" >&5
+ hal_incdir=$i
+ break 2
+ fi
+ done
+done
+
+
+ if test -r $hal_incdir/libhal.h ; then
+ HAL_INCS="-I$hal_incdir"
+ hal_inc=FOUND
+ fi
+
+ if test -r $hal_incdir/libhal-storage.h ; then
+ hal_storage_version=4
+ grep LibHalVolume $hal_incdir/libhal-storage.h \
+ > /dev/null 2>&1 && hal_storage_version=5
+ if test $hal_storage_version = 4 ; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAL_0_4
+_ACEOF
+
+ fi
+ fi
+
+ search_libs="$kde_libraries /usr/lib64 /usr/lib /usr/local/lib /lib /lib64"
+
+hal_libdir=NO
+for i in $search_libs;
+do
+ for j in libhal.so;
+ do
+ echo "configure: 36128: $i/$j" >&5
+ if test -r "$i/$j"; then
+ echo "taking that" >&5
+ hal_libdir=$i
+ break 2
+ fi
+ done
+done
+
+
+ if test -r $hal_libdir/libhal.so ; then
+ HAL_LIBS="-L$hal_libdir -lhal"
+ hal_lib=FOUND
+ fi
+
+
+ if test $hal_inc = FOUND && test $hal_lib = FOUND ; then
+ { echo "$as_me:$LINENO: result: headers $hal_incdir libraries $hal_libdir" >&5
+echo "${ECHO_T}headers $hal_incdir libraries $hal_libdir" >&6; }
+ hal=FOUND
+ else
+ { echo "$as_me:$LINENO: result: searched but not found" >&5
+echo "${ECHO_T}searched but not found" >&6; }
+ fi
+
+
+
+
+
+########### Check for DBus
+
+ { echo "$as_me:$LINENO: checking for DBus" >&5
+echo $ECHO_N "checking for DBus... $ECHO_C" >&6; }
+
+ dbus_inc=NOTFOUND
+ dbus_lib=NOTFOUND
+ dbus=NOTFOUND
+
+ search_incs="$kde_includes /usr/include /usr/include/dbus-1.0 /usr/local/include /usr/local/include/dbus-1.0"
+
+dbus_incdir=NO
+for i in $search_incs;
+do
+ for j in dbus/dbus.h;
+ do
+ echo "configure: 36173: $i/$j" >&5
+ if test -r "$i/$j"; then
+ echo "taking that" >&5
+ dbus_incdir=$i
+ break 2
+ fi
+ done
+done
+
+
+ search_incs_arch_deps="$kde_includes /usr/lib64/dbus-1.0/include /usr/lib/dbus-1.0/include /usr/local/lib/dbus-1.0/include"
+
+dbus_incdir_arch_deps=NO
+for i in $search_incs_arch_deps;
+do
+ for j in dbus/dbus-arch-deps.h;
+ do
+ echo "configure: 36190: $i/$j" >&5
+ if test -r "$i/$j"; then
+ echo "taking that" >&5
+ dbus_incdir_arch_deps=$i
+ break 2
+ fi
+ done
+done
+
+
+ if test -r $dbus_incdir/dbus/dbus.h && test -r $dbus_incdir_arch_deps/dbus/dbus-arch-deps.h ; then
+ DBUS_INCS="-I$dbus_incdir -I$dbus_incdir_arch_deps"
+ dbus_inc=FOUND
+ fi
+
+ search_libs="$kde_libraries /usr/lib64 /usr/lib /usr/local/lib /lib /lib64"
+
+dbus_libdir=NO
+for i in $search_libs;
+do
+ for j in libdbus-1.so;
+ do
+ echo "configure: 36212: $i/$j" >&5
+ if test -r "$i/$j"; then
+ echo "taking that" >&5
+ dbus_libdir=$i
+ break 2
+ fi
+ done
+done
+
+
+ if test -r $dbus_libdir/libdbus-1.so ; then
+ DBUS_LIBS="-L$dbus_libdir -ldbus-1"
+ dbus_lib=FOUND
+ fi
+
+ if test $dbus_inc = FOUND && test $dbus_lib = FOUND ; then
+ { echo "$as_me:$LINENO: result: headers $dbus_incdir $dbus_incdir_arch_deps libraries $dbus_libdir" >&5
+echo "${ECHO_T}headers $dbus_incdir $dbus_incdir_arch_deps libraries $dbus_libdir" >&6; }
+ dbus=FOUND
+ else
+ { echo "$as_me:$LINENO: result: searched but not found" >&5
+echo "${ECHO_T}searched but not found" >&6; }
+ fi
+
+
+
+
+########### Check for DBus-Qt bindings
+
+ { echo "$as_me:$LINENO: checking for DBus-Qt bindings" >&5
+echo $ECHO_N "checking for DBus-Qt bindings... $ECHO_C" >&6; }
+
+ dbusqt_inc=NOTFOUND
+ dbusqt_lib=NOTFOUND
+ dbusqt=NOTFOUND
+
+ search_incs="$kde_includes /usr/include /usr/include/dbus-1.0 /usr/local/include /usr/local/include/dbus-1.0"
+
+dbusqt_incdir=NO
+for i in $search_incs;
+do
+ for j in dbus/connection.h;
+ do
+ echo "configure: 36255: $i/$j" >&5
+ if test -r "$i/$j"; then
+ echo "taking that" >&5
+ dbusqt_incdir=$i
+ break 2
+ fi
+ done
+done
+
+
+ if test -r $dbusqt_incdir/dbus/connection.h ; then
+ have_qt_patch=0
+ grep dbus_connection_setup_with_qt_main $dbusqt_incdir/dbus/connection.h \
+ > /dev/null 2>&1 && have_qt_patch=1
+ if test $have_qt_patch = 1 ; then
+ DBUSQT_INCS="-I$dbusqt_incdir"
+ dbusqt_inc=FOUND
+ fi
+ fi
+
+ search_libs="$kde_libraries /usr/lib /usr/lib64 /usr/local/lib"
+
+dbusqt_libdir=NO
+for i in $search_libs;
+do
+ for j in libdbus-qt-1.so;
+ do
+ echo "configure: 36282: $i/$j" >&5
+ if test -r "$i/$j"; then
+ echo "taking that" >&5
+ dbusqt_libdir=$i
+ break 2
+ fi
+ done
+done
+
+
+ if test -r $dbusqt_libdir/libdbus-qt-1.so ; then
+ DBUSQT_LIBS="-L$dbusqt_libdir -ldbus-qt-1"
+ dbusqt_lib=FOUND
+ fi
+
+ if test $dbusqt_inc = FOUND && test $dbusqt_lib = FOUND ; then
+ { echo "$as_me:$LINENO: result: headers $dbusqt_incdir libraries $dbusqt_libdir" >&5
+echo "${ECHO_T}headers $dbusqt_incdir libraries $dbusqt_libdir" >&6; }
+ dbusqt=FOUND
+ else
+ { echo "$as_me:$LINENO: result: searched but not found" >&5
+echo "${ECHO_T}searched but not found" >&6; }
+ fi
+
+
+
+fi
+
+########### Check if media HAL backend sould be compiled
+
+have_hal=no
+HAL_DBUS_LIBS=""
+if test "x$hal" = "xFOUND" && test "x$dbus" = "xFOUND" && test "x$dbusqt" = "xFOUND" && test $hal_storage_version = 5 ; then
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_HAL
+_ACEOF
+
+ have_hal=yes
+ HAL_DBUS_LIBS="$HAL_LIBS $DBUS_LIBS $DBUSQT_LIBS"
+fi
+
+ if test x$have_hal = xyes; then
+ include_HAL_TRUE=
+ include_HAL_FALSE='#'
+else
+ include_HAL_TRUE='#'
+ include_HAL_FALSE=
+fi
+
+
+
+
+
+
+
+
+# Check whether --with-alsa was given.
+if test "${with_alsa+set}" = set; then
+ withval=$with_alsa;
+else
+ with_alsa=check
+fi
+
+
+have_alsa=no
+if test "x$with_alsa" != xno; then
+
+
+ succeeded=no
+
+ if test -z "$PKG_CONFIG"; then
+ # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
+ ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+ { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
+echo "${ECHO_T}$PKG_CONFIG" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+ fi
+
+ if test "$PKG_CONFIG" = "no" ; then
+ echo "*** The pkg-config script could not be found. Make sure it is"
+ echo "*** in your path, or set the PKG_CONFIG environment variable"
+ echo "*** to the full path to pkg-config."
+ echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
+ else
+ PKG_CONFIG_MIN_VERSION=0.9.0
+ if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
+ { echo "$as_me:$LINENO: checking for alsa >= 0.9" >&5
+echo $ECHO_N "checking for alsa >= 0.9... $ECHO_C" >&6; }
+
+ if $PKG_CONFIG --exists "alsa >= 0.9" ; then
+ { echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6; }
+ succeeded=yes
+
+ { echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5
+echo $ECHO_N "checking ALSA_CFLAGS... $ECHO_C" >&6; }
+ ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 0.9"`
+ { echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5
+echo "${ECHO_T}$ALSA_CFLAGS" >&6; }
+
+ { echo "$as_me:$LINENO: checking ALSA_LIBS" >&5
+echo $ECHO_N "checking ALSA_LIBS... $ECHO_C" >&6; }
+ ALSA_LIBS=`$PKG_CONFIG --libs "alsa >= 0.9"`
+ { echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5
+echo "${ECHO_T}$ALSA_LIBS" >&6; }
+ else
+ ALSA_CFLAGS=""
+ ALSA_LIBS=""
+ ## If we have a custom action on failure, don't print errors, but
+ ## do set a variable so people can do so.
+ ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa >= 0.9"`
+
+ fi
+
+
+
+ else
+ echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
+ echo "*** See http://www.freedesktop.org/software/pkgconfig"
+ fi
+ fi
+
+ if test $succeeded = yes; then
+ have_alsa=yes
+ else
+ have_alsa=no
+ fi
+
+
+
+
+
+ if test "x$with_alsa" != xcheck && test "x$have_alsa" != xyes; then
+ { { echo "$as_me:$LINENO: error: --with-alsa was given, but test for ALSA failed
+See \`config.log' for more details." >&5
+echo "$as_me: error: --with-alsa was given, but test for ALSA failed
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+fi
+
+ if test "x$have_alsa" = "xyes"; then
+ include_ALSA_TRUE=
+ include_ALSA_FALSE='#'
+else
+ include_ALSA_TRUE='#'
+ include_ALSA_FALSE=
+fi
+
+
+
+
+
+# Check whether --with-ffmpeg was given.
+if test "${with_ffmpeg+set}" = set; then
+ withval=$with_ffmpeg; ac_cv_use_ffmpeg=$withval
+else
+ ac_cv_use_ffmpeg=yes
+
+fi
+
+
+#
+# The ffmpeg decoder plugin needs ffmpeg 0.4.9 or higher
+#
+have_ffmpeg=no
+if test "$ac_cv_use_ffmpeg" = "yes"; then
+ k3b_cxxflags_save="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS"
+ { echo "$as_me:$LINENO: checking for ffmpeg >= 0.4.9" >&5
+echo $ECHO_N "checking for ffmpeg >= 0.4.9... $ECHO_C" >&6; }
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ cat >conftest.$ac_ext <<_ACEOF
+extern "C" {
+ #include <ffmpeg/avformat.h>
+ #include <ffmpeg/avcodec.h>
+ }
+
+ int main() {
+ AVFormatContext* fc = 0;
+ AVPacket* p = 0;
+ av_register_all();
+ return av_read_frame( fc, p );
+ }
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ffmpeg_compiles=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ffmpeg_compiles=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ OLD_LIBS=$LIBS
+ LIBS="-lavformat -lavcodec $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+extern "C" {
+ #include <ffmpeg/avformat.h>
+ #include <ffmpeg/avcodec.h>
+ }
+
+ int main() {
+ AVFormatContext* fc = 0;
+ AVPacket* p = 0;
+ av_register_all();
+ return av_read_frame( fc, p );
+ }
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ffmpeg_links=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ffmpeg_links=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ LIBS=$OLD_LIBS
+ have_ffmpeg=$ffmpeg_links
+ { echo "$as_me:$LINENO: result: $have_ffmpeg" >&5
+echo "${ECHO_T}$have_ffmpeg" >&6; }
+ CXXFLAGS=$k3b_cxxflags_save
+fi
+ if test x$have_ffmpeg = xyes; then
+ include_FFMPEG_TRUE=
+ include_FFMPEG_FALSE='#'
+else
+ include_FFMPEG_TRUE='#'
+ include_FFMPEG_FALSE=
+fi
+
+
+
+# Check whether --enable-ffmpeg-all-codecs was given.
+if test "${enable_ffmpeg_all_codecs+set}" = set; then
+ enableval=$enable_ffmpeg_all_codecs;
+cat >>confdefs.h <<\_ACEOF
+#define K3B_FFMPEG_ALL_CODECS 1
+_ACEOF
+
+ enable_ffmpeg_all_codecs=yes
+else
+ enable_ffmpeg_all_codecs=no
+
+fi
+
+
+
+# Check whether --with-flac was given.
+if test "${with_flac+set}" = set; then
+ withval=$with_flac; ac_cv_use_flac=$withval
+else
+ ac_cv_use_flac=yes
+
+fi
+
+
+have_flac=no
+if test "$ac_cv_use_flac" = "yes"; then
+
+
+
+
+ kde_safe_cppflags=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $all_includes"
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+
+for ac_header in FLAC++/decoder.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+ { echo "$as_me:$LINENO: checking for FLAC__stream_decoder_process_single in -lFLAC" >&5
+echo $ECHO_N "checking for FLAC__stream_decoder_process_single in -lFLAC... $ECHO_C" >&6; }
+if test "${ac_cv_lib_FLAC_FLAC__stream_decoder_process_single+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lFLAC $all_libraries $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char FLAC__stream_decoder_process_single ();
+int
+main ()
+{
+return FLAC__stream_decoder_process_single ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_FLAC_FLAC__stream_decoder_process_single=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_FLAC_FLAC__stream_decoder_process_single=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_FLAC_FLAC__stream_decoder_process_single" >&5
+echo "${ECHO_T}$ac_cv_lib_FLAC_FLAC__stream_decoder_process_single" >&6; }
+if test $ac_cv_lib_FLAC_FLAC__stream_decoder_process_single = yes; then
+ have_flac=yes
+fi
+
+fi
+
+done
+
+ CPPFLAGS=$kde_safe_cppflags
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+ { echo "$as_me:$LINENO: checking for libFLAC newer than 1.1.1" >&5
+echo $ECHO_N "checking for libFLAC newer than 1.1.1... $ECHO_C" >&6; }
+ if test "${k3b_flac_new+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+ #include <FLAC++/metadata.h>
+
+int
+main ()
+{
+
+ FLAC::Metadata::VorbisComment* vc;
+ vc->get_vendor_string().get_field();
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ k3b_flac_new=no
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ k3b_flac_new=yes
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+ { echo "$as_me:$LINENO: result: $k3b_flac_new" >&5
+echo "${ECHO_T}$k3b_flac_new" >&6; }
+ if test $k3b_flac_new = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define FLAC_NEWER_THAN_1_1_1 1
+_ACEOF
+
+ fi
+else
+ have_flac=no
+fi
+
+ if test x$have_flac = xyes; then
+ include_FLAC_TRUE=
+ include_FLAC_FALSE='#'
+else
+ include_FLAC_TRUE='#'
+ include_FLAC_FALSE=
+fi
+
+
+if test -z "$PKG_CONFIG"; then
+ # Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ case $PKG_CONFIG in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
+ ;;
+esac
+fi
+PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+ { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
+echo "${ECHO_T}$PKG_CONFIG" >&6; }
+else
+ { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
+fi
+
+
+# Check whether --with-sndfile was given.
+if test "${with_sndfile+set}" = set; then
+ withval=$with_sndfile; ac_cv_use_sndfile=$withval
+else
+ ac_cv_use_sndfile=yes
+
+fi
+
+
+if test "$ac_cv_use_sndfile" = "yes"; then
+ SNDFILE_CFLAGS=""
+ SNDFILE_LIBS=""
+ if test "$PKG_CONFIG" = "no" ; then
+ ac_cv_sndfile=0
+ echo "*** The pkg-config script could not be found. Make sure it is"
+ echo "*** in your path, or set the PKG_CONFIG environment variable"
+ echo "*** to the full path to pkg-config."
+ echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
+ else
+ if !(`$PKG_CONFIG --exists sndfile`) ; then
+ echo "*** sndfile is not installed."
+ ac_cv_sndfile=0
+ else
+ if !(`$PKG_CONFIG --atleast-version="1.0.2" sndfile`) ; then
+ echo "*** You need at least version 1.0.2 of sndfile."
+ ac_cv_sndfile=0
+ else
+ ac_cv_sndfile=1
+ SNDFILE_CFLAGS=`$PKG_CONFIG --cflags sndfile`
+ SNDFILE_LIBS=`$PKG_CONFIG --libs sndfile`
+ fi
+ fi
+ fi
+
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_SNDFILE ${ac_cv_sndfile}
+_ACEOF
+
+
+
+fi
+
+ if test x$ac_cv_sndfile = x1; then
+ include_AIFF_TRUE=
+ include_AIFF_FALSE='#'
+else
+ include_AIFF_TRUE='#'
+ include_AIFF_FALSE=
+fi
+
+
+
+# Check whether --with-libmad was given.
+if test "${with_libmad+set}" = set; then
+ withval=$with_libmad; ac_cv_use_libmad=$withval
+else
+ ac_cv_use_libmad=yes
+
+fi
+
+
+if test "$ac_cv_use_libmad" = "yes"; then
+ MAD_LIB=""
+
+ kde_safe_cppflags=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $all_includes"
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+ if test "${ac_cv_header_mad_h+set}" = set; then
+ { echo "$as_me:$LINENO: checking for mad.h" >&5
+echo $ECHO_N "checking for mad.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_mad_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_mad_h" >&5
+echo "${ECHO_T}$ac_cv_header_mad_h" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking mad.h usability" >&5
+echo $ECHO_N "checking mad.h usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <mad.h>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking mad.h presence" >&5
+echo $ECHO_N "checking mad.h presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <mad.h>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: mad.h: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: mad.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: mad.h: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: mad.h: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: mad.h: present but cannot be compiled" >&5
+echo "$as_me: WARNING: mad.h: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: mad.h: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: mad.h: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: mad.h: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: mad.h: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: mad.h: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: mad.h: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: mad.h: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: mad.h: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: mad.h: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: mad.h: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for mad.h" >&5
+echo $ECHO_N "checking for mad.h... $ECHO_C" >&6; }
+if test "${ac_cv_header_mad_h+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_header_mad_h=$ac_header_preproc
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_header_mad_h" >&5
+echo "${ECHO_T}$ac_cv_header_mad_h" >&6; }
+
+fi
+if test $ac_cv_header_mad_h = yes; then
+
+ { echo "$as_me:$LINENO: checking for mad_synth_frame in -lmad" >&5
+echo $ECHO_N "checking for mad_synth_frame in -lmad... $ECHO_C" >&6; }
+if test "${ac_cv_lib_mad_mad_synth_frame+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lmad $all_libraries
+ $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char mad_synth_frame ();
+int
+main ()
+{
+return mad_synth_frame ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_mad_mad_synth_frame=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_mad_mad_synth_frame=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_mad_mad_synth_frame" >&5
+echo "${ECHO_T}$ac_cv_lib_mad_mad_synth_frame" >&6; }
+if test $ac_cv_lib_mad_mad_synth_frame = yes; then
+
+ MAD_LIB="-lmad"
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LIBMAD 1
+_ACEOF
+
+fi
+
+
+fi
+
+
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ CPPFLAGS=$kde_safe_cppflags
+
+
+
+fi
+
+ if test -n "$MAD_LIB"; then
+ include_MP3_TRUE=
+ include_MP3_FALSE='#'
+else
+ include_MP3_TRUE='#'
+ include_MP3_FALSE=
+fi
+
+
+
+
+# Check whether --with-musepack was given.
+if test "${with_musepack+set}" = set; then
+ withval=$with_musepack; ac_cv_use_mpc=$withval
+else
+ ac_cv_use_mpc=yes
+
+fi
+
+
+have_mpc=no
+if test "$ac_cv_use_mpc" = "yes"; then
+
+
+
+
+
+
+ kde_safe_cppflags=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $all_includes"
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+
+for ac_header in mpcdec/mpcdec.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+ { echo "$as_me:$LINENO: checking for mpc_decoder_setup in -lmpcdec" >&5
+echo $ECHO_N "checking for mpc_decoder_setup in -lmpcdec... $ECHO_C" >&6; }
+if test "${ac_cv_lib_mpcdec_mpc_decoder_setup+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lmpcdec $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char mpc_decoder_setup ();
+int
+main ()
+{
+return mpc_decoder_setup ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_mpcdec_mpc_decoder_setup=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_mpcdec_mpc_decoder_setup=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_mpcdec_mpc_decoder_setup" >&5
+echo "${ECHO_T}$ac_cv_lib_mpcdec_mpc_decoder_setup" >&6; }
+if test $ac_cv_lib_mpcdec_mpc_decoder_setup = yes; then
+
+ have_mpc=yes
+ MPC_LIBS="-lmpcdec"
+
+cat >>confdefs.h <<\_ACEOF
+#define MPC_HEADER_FILE <mpcdec/mpcdec.h>
+_ACEOF
+
+
+fi
+
+
+fi
+
+done
+
+ CPPFLAGS=$kde_safe_cppflags
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+ if test "$have_mpc" = "no"; then
+
+
+
+
+ kde_safe_cppflags=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $all_includes"
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+
+for ac_header in musepack/musepack.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+ { echo "$as_me:$LINENO: checking for mpc_decoder_setup in -lmusepack" >&5
+echo $ECHO_N "checking for mpc_decoder_setup in -lmusepack... $ECHO_C" >&6; }
+if test "${ac_cv_lib_musepack_mpc_decoder_setup+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lmusepack $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char mpc_decoder_setup ();
+int
+main ()
+{
+return mpc_decoder_setup ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_musepack_mpc_decoder_setup=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_musepack_mpc_decoder_setup=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_musepack_mpc_decoder_setup" >&5
+echo "${ECHO_T}$ac_cv_lib_musepack_mpc_decoder_setup" >&6; }
+if test $ac_cv_lib_musepack_mpc_decoder_setup = yes; then
+
+ have_mpc=yes
+ MPC_LIBS="-lmusepack"
+
+cat >>confdefs.h <<\_ACEOF
+#define MPC_HEADER_FILE <musepack/musepack.h>
+_ACEOF
+
+
+cat >>confdefs.h <<\_ACEOF
+#define mpc_bool_t BOOL
+_ACEOF
+
+
+fi
+
+
+fi
+
+done
+
+ CPPFLAGS=$kde_safe_cppflags
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+ fi
+fi
+
+
+ if test x$have_mpc = xyes; then
+ include_MPC_TRUE=
+ include_MPC_FALSE='#'
+else
+ include_MPC_TRUE='#'
+ include_MPC_FALSE=
+fi
+
+
+
+
+# Check whether --with-oggvorbis was given.
+if test "${with_oggvorbis+set}" = set; then
+ withval=$with_oggvorbis; ac_cv_use_oggvorbis=$withval
+else
+ ac_cv_use_oggvorbis=yes
+
+fi
+
+
+if test "$ac_cv_use_oggvorbis" = "yes"; then
+
+ { echo "$as_me:$LINENO: checking for ogg/vorbis headers" >&5
+echo $ECHO_N "checking for ogg/vorbis headers... $ECHO_C" >&6; }
+ ogg_vorbis=no
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+ #include <vorbis/codec.h>
+ #include <vorbis/vorbisfile.h>
+
+int
+main ()
+{
+
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+
+ ogg_vorbis=yes
+
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ { echo "$as_me:$LINENO: result: $ogg_vorbis" >&5
+echo "${ECHO_T}$ogg_vorbis" >&6; }
+ if test x$ogg_vorbis = xyes; then
+ { echo "$as_me:$LINENO: checking for ov_open in -lvorbisfile" >&5
+echo $ECHO_N "checking for ov_open in -lvorbisfile... $ECHO_C" >&6; }
+if test "${ac_cv_lib_vorbisfile_ov_open+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lvorbisfile $all_libraries -lvorbisfile -lvorbis -logg $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char ov_open ();
+int
+main ()
+{
+return ov_open ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_vorbisfile_ov_open=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_vorbisfile_ov_open=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_vorbisfile_ov_open" >&5
+echo "${ECHO_T}$ac_cv_lib_vorbisfile_ov_open" >&6; }
+if test $ac_cv_lib_vorbisfile_ov_open = yes; then
+ ogg_vorbis_lib=yes
+else
+ ogg_vorbis=no
+fi
+
+ fi
+ if test x$ogg_vorbis = xyes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define OGG_VORBIS 1
+_ACEOF
+
+ fi
+fi
+
+ if test x$ogg_vorbis = xyes; then
+ include_OGG_TRUE=
+ include_OGG_FALSE='#'
+else
+ include_OGG_TRUE='#'
+ include_OGG_FALSE=
+fi
+
+
+
+# Check whether --with-lame was given.
+if test "${with_lame+set}" = set; then
+ withval=$with_lame; ac_cv_use_lame=$withval
+else
+ ac_cv_use_lame=yes
+
+fi
+
+
+have_lame=no
+if test "$ac_cv_use_lame" = "yes"; then
+
+
+
+
+ kde_safe_cppflags=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $all_includes"
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ac_link='rm -rf SunWS_cache; ${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+
+
+
+for ac_header in lame/lame.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+ { echo "$as_me:$LINENO: checking for lame_init in -lmp3lame" >&5
+echo $ECHO_N "checking for lame_init in -lmp3lame... $ECHO_C" >&6; }
+if test "${ac_cv_lib_mp3lame_lame_init+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lmp3lame $all_libraries -lm $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char lame_init ();
+int
+main ()
+{
+return lame_init ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_mp3lame_lame_init=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_mp3lame_lame_init=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_mp3lame_lame_init" >&5
+echo "${ECHO_T}$ac_cv_lib_mp3lame_lame_init" >&6; }
+if test $ac_cv_lib_mp3lame_lame_init = yes; then
+
+ have_lame=yes
+
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LAME 1
+_ACEOF
+
+
+fi
+
+
+fi
+
+done
+
+ CPPFLAGS=$kde_safe_cppflags
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+ if test x$have_lame = xyes; then
+ include_LAME_TRUE=
+ include_LAME_FALSE='#'
+else
+ include_LAME_TRUE='#'
+ include_LAME_FALSE=
+fi
+
+
+#
+# Imlib/Mosfet scaling
+#
+# By default we simply use the C compiler to build assembly code.
+
+test "${CCAS+set}" = set || CCAS=$CC
+test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
+
+
+
+depcc="$CCAS" am_compiler_list=
+
+{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
+echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
+if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
+ # We make a subdir and do the tests there. Otherwise we can end up
+ # making bogus files that we don't know about and never remove. For
+ # instance it was reported that on HP-UX the gcc test will end up
+ # making a dummy file named `D' -- because `-MD' means `put the output
+ # in D'.
+ mkdir conftest.dir
+ # Copy depcomp to subdir because otherwise we won't find it if we're
+ # using a relative directory.
+ cp "$am_depcomp" conftest.dir
+ cd conftest.dir
+ # We will build objects and dependencies in a subdirectory because
+ # it helps to detect inapplicable dependency modes. For instance
+ # both Tru64's cc and ICC support -MD to output dependencies as a
+ # side effect of compilation, but ICC will put the dependencies in
+ # the current directory while Tru64 will put them in the object
+ # directory.
+ mkdir sub
+
+ am_cv_CCAS_dependencies_compiler_type=none
+ if test "$am_compiler_list" = ""; then
+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
+ fi
+ for depmode in $am_compiler_list; do
+ # Setup a source with many dependencies, because some compilers
+ # like to wrap large dependency lists on column 80 (with \), and
+ # we should not choose a depcomp mode which is confused by this.
+ #
+ # We need to recreate these files for each test, as the compiler may
+ # overwrite some of them when testing with obscure command lines.
+ # This happens at least with the AIX C compiler.
+ : > sub/conftest.c
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+ # Solaris 8's {/usr,}/bin/sh.
+ touch sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+
+ case $depmode in
+ nosideeffect)
+ # after this tag, mechanisms are not by side-effect, so they'll
+ # only be used when explicitly requested
+ if test "x$enable_dependency_tracking" = xyes; then
+ continue
+ else
+ break
+ fi
+ ;;
+ none) break ;;
+ esac
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
+ # mode. It turns out that the SunPro C++ compiler does not properly
+ # handle `-M -o', and we need to detect this.
+ if depmode=$depmode \
+ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
+ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
+ >/dev/null 2>conftest.err &&
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
+ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
+ # icc doesn't choke on unknown options, it will just issue warnings
+ # or remarks (even with -Werror). So we grep stderr for any message
+ # that says an option was ignored or not supported.
+ # When given -MP, icc 7.0 and 7.1 complain thusly:
+ # icc: Command line warning: ignoring option '-M'; no argument required
+ # The diagnosis changed in icc 8.0:
+ # icc: Command line remark: option '-MP' not supported
+ if (grep 'ignoring option' conftest.err ||
+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
+ am_cv_CCAS_dependencies_compiler_type=$depmode
+ break
+ fi
+ fi
+ done
+
+ cd ..
+ rm -rf conftest.dir
+else
+ am_cv_CCAS_dependencies_compiler_type=none
+fi
+
+fi
+{ echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
+echo "${ECHO_T}$am_cv_CCAS_dependencies_compiler_type" >&6; }
+CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
+
+ if
+ test "x$enable_dependency_tracking" != xno \
+ && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
+ am__fastdepCCAS_TRUE=
+ am__fastdepCCAS_FALSE='#'
+else
+ am__fastdepCCAS_TRUE='#'
+ am__fastdepCCAS_FALSE=
+fi
+
+
+
+# MMX test duped from kdelibs/kdefx - it should be probably moved to admin/
+
+gv_asm_defs=
+case $host_cpu in
+ i*86 )
+ { echo "$as_me:$LINENO: checking for assembler support for IA32 extensions" >&5
+echo $ECHO_N "checking for assembler support for IA32 extensions... $ECHO_C" >&6; }
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ __asm__("pxor %mm0, %mm0")
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+
+ echo $ECHO_N "MMX yes$ECHO_C"
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_X86_MMX 1
+_ACEOF
+
+ gv_asm_defs="$gv_asm_defs -DHAVE_X86_MMX"
+
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ echo $ECHO_N "MMX no$ECHO_C"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ __asm__("xorps %xmm0, %xmm0")
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+
+ echo $ECHO_N ", SSE yes$ECHO_C"
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_X86_SSE 1
+_ACEOF
+
+ gv_asm_defs="$gv_asm_defs -DHAVE_X86_SSE"
+
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ echo $ECHO_N ", SSE no$ECHO_C"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ __asm__("xorpd %xmm0, %xmm0")
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+
+ echo $ECHO_N ", SSE2 yes$ECHO_C"
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_X86_SSE2 1
+_ACEOF
+
+ gv_asm_defs="$gv_asm_defs -DHAVE_X86_SSE2"
+
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ echo $ECHO_N ", SSE2 no$ECHO_C"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ __asm__("femms")
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+
+ echo $ECHO_N ", 3DNOW yes$ECHO_C"
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_X86_3DNOW 1
+_ACEOF
+
+ gv_asm_defs="$gv_asm_defs -DHAVE_X86_3DNOW"
+
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ echo $ECHO_N ", 3DNOW no$ECHO_C"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ echo
+ ;;
+ powerpc )
+ { echo "$as_me:$LINENO: checking for assembler support for AltiVec instructions" >&5
+echo $ECHO_N "checking for assembler support for AltiVec instructions... $ECHO_C" >&6; }
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+ __asm__("mtspr 256, %0\n\t" "vand %%v0, %%v0, %%v0" : : "r"(-1) )
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+
+ echo $ECHO_N " yes$ECHO_C"
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_PPC_ALTIVEC 1
+_ACEOF
+
+ gv_asm_defs="$gv_asm_defs -DHAVE_PPC_ALTIVEC"
+
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ echo $ECHO_N ", AltiVec no$ECHO_C"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ echo
+ ;;
+esac
+
+GV_ASM_DEFS="$gv_asm_defs"
+
+
+
+DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin"
+TOPSUBDIRS=""
+
+if test ! -s $srcdir/subdirs; then
+ files=`cd $srcdir && ls -1`
+ dirs=`for i in $files; do if test -d $i; then echo $i; fi; done`
+ for i in $dirs; do
+ echo $i >> $srcdir/subdirs
+ done
+fi
+
+ac_topsubdirs=
+if test -s $srcdir/inst-apps; then
+ ac_topsubdirs="`cat $srcdir/inst-apps`"
+elif test -s $srcdir/subdirs; then
+ ac_topsubdirs="`cat $srcdir/subdirs`"
+fi
+
+for i in $ac_topsubdirs; do
+ { echo "$as_me:$LINENO: checking if $i should be compiled" >&5
+echo $ECHO_N "checking if $i should be compiled... $ECHO_C" >&6; }
+ if test -d $srcdir/$i; then
+ install_it="yes"
+ for j in $DO_NOT_COMPILE; do
+ if test $i = $j; then
+ install_it="no"
+ fi
+ done
+ else
+ install_it="no"
+ fi
+ { echo "$as_me:$LINENO: result: $install_it" >&5
+echo "${ECHO_T}$install_it" >&6; }
+ vari=`echo $i | sed -e 's,[-+.@],_,g'`
+ if test $install_it = "yes"; then
+ TOPSUBDIRS="$TOPSUBDIRS $i"
+ eval "$vari""_SUBDIR_included=yes"
+ else
+ eval "$vari""_SUBDIR_included=no"
+ fi
+done
+
+
+
+ac_config_files="$ac_config_files Makefile"
+
+ac_config_files="$ac_config_files doc/Makefile"
+
+ac_config_files="$ac_config_files k3bsetup/Makefile"
+
+ac_config_files="$ac_config_files kfile-plugins/Makefile"
+
+ac_config_files="$ac_config_files kfile-plugins/k3bproject/Makefile"
+
+ac_config_files="$ac_config_files kioslaves/Makefile"
+
+ac_config_files="$ac_config_files kioslaves/videodvd/Makefile"
+
+ac_config_files="$ac_config_files libk3b/Makefile"
+
+ac_config_files="$ac_config_files libk3b/cddb/Makefile"
+
+ac_config_files="$ac_config_files libk3b/core/Makefile"
+
+ac_config_files="$ac_config_files libk3b/jobs/Makefile"
+
+ac_config_files="$ac_config_files libk3b/plugin/Makefile"
+
+ac_config_files="$ac_config_files libk3b/plugin/libsamplerate/Makefile"
+
+ac_config_files="$ac_config_files libk3b/projects/Makefile"
+
+ac_config_files="$ac_config_files libk3b/projects/audiocd/Makefile"
+
+ac_config_files="$ac_config_files libk3b/projects/datacd/Makefile"
+
+ac_config_files="$ac_config_files libk3b/projects/datadvd/Makefile"
+
+ac_config_files="$ac_config_files libk3b/projects/mixedcd/Makefile"
+
+ac_config_files="$ac_config_files libk3b/projects/movixcd/Makefile"
+
+ac_config_files="$ac_config_files libk3b/projects/movixdvd/Makefile"
+
+ac_config_files="$ac_config_files libk3b/projects/videocd/Makefile"
+
+ac_config_files="$ac_config_files libk3b/projects/videocd/cdi/Makefile"
+
+ac_config_files="$ac_config_files libk3b/projects/videocd/extra/Makefile"
+
+ac_config_files="$ac_config_files libk3b/projects/videocd/mpeginfo/Makefile"
+
+ac_config_files="$ac_config_files libk3b/projects/videodvd/Makefile"
+
+ac_config_files="$ac_config_files libk3b/scripts/Makefile"
+
+ac_config_files="$ac_config_files libk3b/tools/Makefile"
+
+ac_config_files="$ac_config_files libk3b/tools/libisofs/Makefile"
+
+ac_config_files="$ac_config_files libk3b/videodvd/Makefile"
+
+ac_config_files="$ac_config_files libk3bdevice/Makefile"
+
+ac_config_files="$ac_config_files plugins/Makefile"
+
+ac_config_files="$ac_config_files plugins/audiooutput/Makefile"
+
+ac_config_files="$ac_config_files plugins/audiooutput/alsa/Makefile"
+
+ac_config_files="$ac_config_files plugins/audiooutput/arts/Makefile"
+
+ac_config_files="$ac_config_files plugins/decoder/Makefile"
+
+ac_config_files="$ac_config_files plugins/decoder/ffmpeg/Makefile"
+
+ac_config_files="$ac_config_files plugins/decoder/flac/Makefile"
+
+ac_config_files="$ac_config_files plugins/decoder/libsndfile/Makefile"
+
+ac_config_files="$ac_config_files plugins/decoder/mp3/Makefile"
+
+ac_config_files="$ac_config_files plugins/decoder/musepack/Makefile"
+
+ac_config_files="$ac_config_files plugins/decoder/ogg/Makefile"
+
+ac_config_files="$ac_config_files plugins/decoder/wave/Makefile"
+
+ac_config_files="$ac_config_files plugins/encoder/Makefile"
+
+ac_config_files="$ac_config_files plugins/encoder/external/Makefile"
+
+ac_config_files="$ac_config_files plugins/encoder/lame/Makefile"
+
+ac_config_files="$ac_config_files plugins/encoder/ogg/Makefile"
+
+ac_config_files="$ac_config_files plugins/encoder/sox/Makefile"
+
+ac_config_files="$ac_config_files plugins/project/Makefile"
+
+ac_config_files="$ac_config_files plugins/project/audiometainforenamer/Makefile"
+
+ac_config_files="$ac_config_files plugins/project/audioprojectcddb/Makefile"
+
+ac_config_files="$ac_config_files src/Makefile"
+
+ac_config_files="$ac_config_files src/fastscale/Makefile"
+
+ac_config_files="$ac_config_files src/icons/Makefile"
+
+ac_config_files="$ac_config_files src/icons/actions/Makefile"
+
+ac_config_files="$ac_config_files src/konqi/Makefile"
+
+ac_config_files="$ac_config_files src/mimetypes/Makefile"
+
+ac_config_files="$ac_config_files src/misc/Makefile"
+
+ac_config_files="$ac_config_files src/option/Makefile"
+
+ac_config_files="$ac_config_files src/pics/Makefile"
+
+ac_config_files="$ac_config_files src/pics/73lab/Makefile"
+
+ac_config_files="$ac_config_files src/pics/RobsTheme/Makefile"
+
+ac_config_files="$ac_config_files src/pics/crystal/Makefile"
+
+ac_config_files="$ac_config_files src/pics/quant/Makefile"
+
+ac_config_files="$ac_config_files src/projects/Makefile"
+
+ac_config_files="$ac_config_files src/projects/kostore/Makefile"
+
+ac_config_files="$ac_config_files src/rip/Makefile"
+
+ac_config_files="$ac_config_files src/rip/videodvd/Makefile"
+
+ac_config_files="$ac_config_files src/sounds/Makefile"
+
+cat >confcache <<\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# Ultrix sh set writes to stderr and can't be redirected directly,
+# and sets the high bit in the cache file unless we assign to the vars.
+(
+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
+ eval ac_val=\$$ac_var
+ case $ac_val in #(
+ *${as_nl}*)
+ case $ac_var in #(
+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
+ esac
+ case $ac_var in #(
+ _ | IFS | as_nl) ;; #(
+ *) $as_unset $ac_var ;;
+ esac ;;
+ esac
+ done
+
+ (set) 2>&1 |
+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
+ *${as_nl}ac_space=\ *)
+ # `set' does not quote correctly, so add quotes (double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \).
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;; #(
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
+ ;;
+ esac |
+ sort
+) |
+ sed '
+ /^ac_cv_env_/b end
+ t clear
+ :clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ :end' >>confcache
+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
+ if test -w "$cache_file"; then
+ test "x$cache_file" != "x/dev/null" &&
+ { echo "$as_me:$LINENO: updating cache $cache_file" >&5
+echo "$as_me: updating cache $cache_file" >&6;}
+ cat confcache >$cache_file
+ else
+ { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
+echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+ fi
+fi
+rm -f confcache
+
+test "x$prefix" = xNONE && prefix=$ac_default_prefix
+# Let make expand exec_prefix.
+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
+
+DEFS=-DHAVE_CONFIG_H
+
+ac_libobjs=
+ac_ltlibobjs=
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+ ac_i=`echo "$ac_i" | sed "$ac_script"`
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+ ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
+done
+LIBOBJS=$ac_libobjs
+
+LTLIBOBJS=$ac_ltlibobjs
+
+
+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"AMDEP\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${unsermake_enable_pch_TRUE}" && test -z "${unsermake_enable_pch_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"unsermake_enable_pch\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"unsermake_enable_pch\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${include_x11_TRUE}" && test -z "${include_x11_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"include_x11\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"include_x11\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${include_ARTS_TRUE}" && test -z "${include_ARTS_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"include_ARTS\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"include_ARTS\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${compile_libsamplerate_TRUE}" && test -z "${compile_libsamplerate_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"compile_libsamplerate\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"compile_libsamplerate\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${include_arts_TRUE}" && test -z "${include_arts_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"include_arts\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"include_arts\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${with_k3bsetup1_TRUE}" && test -z "${with_k3bsetup1_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"with_k3bsetup1\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"with_k3bsetup1\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${include_videodvdrip_TRUE}" && test -z "${include_videodvdrip_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"include_videodvdrip\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"include_videodvdrip\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${include_HAL_TRUE}" && test -z "${include_HAL_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"include_HAL\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"include_HAL\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${include_ALSA_TRUE}" && test -z "${include_ALSA_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"include_ALSA\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"include_ALSA\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${include_FFMPEG_TRUE}" && test -z "${include_FFMPEG_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"include_FFMPEG\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"include_FFMPEG\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${include_FLAC_TRUE}" && test -z "${include_FLAC_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"include_FLAC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"include_FLAC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${include_AIFF_TRUE}" && test -z "${include_AIFF_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"include_AIFF\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"include_AIFF\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${include_MP3_TRUE}" && test -z "${include_MP3_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"include_MP3\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"include_MP3\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${include_MPC_TRUE}" && test -z "${include_MPC_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"include_MPC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"include_MPC\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${include_OGG_TRUE}" && test -z "${include_OGG_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"include_OGG\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"include_OGG\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${include_LAME_TRUE}" && test -z "${include_LAME_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"include_LAME\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"include_LAME\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
+ { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
+Usually this means the macro was only invoked conditionally." >&5
+echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
+Usually this means the macro was only invoked conditionally." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+: ${CONFIG_STATUS=./config.status}
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
+echo "$as_me: creating $CONFIG_STATUS" >&6;}
+cat >$CONFIG_STATUS <<_ACEOF
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+SHELL=\${CONFIG_SHELL-$SHELL}
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+## --------------------- ##
+## M4sh Initialization. ##
+## --------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+ setopt NO_GLOB_SUBST
+else
+ case `(set -o) 2>/dev/null` in
+ *posix*) set -o posix ;;
+esac
+
+fi
+
+
+
+
+# PATH needs CR
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ echo "#! /bin/sh" >conf$$.sh
+ echo "exit 0" >>conf$$.sh
+ chmod +x conf$$.sh
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
+ PATH_SEPARATOR=';'
+ else
+ PATH_SEPARATOR=:
+ fi
+ rm -f conf$$.sh
+fi
+
+# Support unset when possible.
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ as_unset=unset
+else
+ as_unset=false
+fi
+
+
+# IFS
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent editors from complaining about space-tab.
+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
+# splitting by setting IFS to empty value.)
+as_nl='
+'
+IFS=" "" $as_nl"
+
+# Find who we are. Look in the path if we contain no directory separator.
+case $0 in
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+done
+IFS=$as_save_IFS
+
+ ;;
+esac
+# We did not find ourselves, most probably we were run as `sh COMMAND'
+# in which case we are not to be found in the path.
+if test "x$as_myself" = x; then
+ as_myself=$0
+fi
+if test ! -f "$as_myself"; then
+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+ { (exit 1); exit 1; }
+fi
+
+# Work around bugs in pre-3.0 UWIN ksh.
+for as_var in ENV MAIL MAILPATH
+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+done
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+for as_var in \
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
+ LC_TELEPHONE LC_TIME
+do
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
+ eval $as_var=C; export $as_var
+ else
+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+ fi
+done
+
+# Required to use basename.
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+
+# Name of the executable.
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\/\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+
+# CDPATH.
+$as_unset CDPATH
+
+
+
+ as_lineno_1=$LINENO
+ as_lineno_2=$LINENO
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
+
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
+ # uniformly replaced by the line number. The first 'sed' inserts a
+ # line-number line after each line using $LINENO; the second 'sed'
+ # does the real work. The second script uses 'N' to pair each
+ # line-number line with the line containing $LINENO, and appends
+ # trailing '-' during substitution so that $LINENO is not a special
+ # case at line end.
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
+ # scripts with optimization help from Paolo Bonzini. Blame Lee
+ # E. McMahon (1931-1989) for sed's syntax. :-)
+ sed -n '
+ p
+ /[$]LINENO/=
+ ' <$as_myself |
+ sed '
+ s/[$]LINENO.*/&-/
+ t lineno
+ b
+ :lineno
+ N
+ :loop
+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+ t loop
+ s/-\n.*//
+ ' >$as_me.lineno &&
+ chmod +x "$as_me.lineno" ||
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
+ { (exit 1); exit 1; }; }
+
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensitive to this).
+ . "./$as_me.lineno"
+ # Exit status is that of the last command.
+ exit
+}
+
+
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+ as_dirname=dirname
+else
+ as_dirname=false
+fi
+
+ECHO_C= ECHO_N= ECHO_T=
+case `echo -n x` in
+-n*)
+ case `echo 'x\c'` in
+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
+ *) ECHO_C='\c';;
+ esac;;
+*)
+ ECHO_N='-n';;
+esac
+
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+rm -f conf$$ conf$$.exe conf$$.file
+if test -d conf$$.dir; then
+ rm -f conf$$.dir/conf$$.file
+else
+ rm -f conf$$.dir
+ mkdir conf$$.dir
+fi
+echo >conf$$.file
+if ln -s conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s='ln -s'
+ # ... but there are two gotchas:
+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+ # In both cases, we have to default to `cp -p'.
+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+ as_ln_s='cp -p'
+elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+else
+ as_ln_s='cp -p'
+fi
+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
+rmdir conf$$.dir 2>/dev/null
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p=:
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+if test -x / >/dev/null 2>&1; then
+ as_test_x='test -x'
+else
+ if ls -dL / >/dev/null 2>&1; then
+ as_ls_L_option=L
+ else
+ as_ls_L_option=
+ fi
+ as_test_x='
+ eval sh -c '\''
+ if test -d "$1"; then
+ test -d "$1/.";
+ else
+ case $1 in
+ -*)set "./$1";;
+ esac;
+ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
+ ???[sx]*):;;*)false;;esac;fi
+ '\'' sh
+ '
+fi
+as_executable_p=$as_test_x
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+exec 6>&1
+
+# Save the log message, to keep $[0] and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling.
+ac_log="
+This file was extended by $as_me, which was
+generated by GNU Autoconf 2.61. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<_ACEOF
+# Files that config.status was made for.
+config_files="$ac_config_files"
+config_headers="$ac_config_headers"
+config_commands="$ac_config_commands"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+ac_cs_usage="\
+\`$as_me' instantiates files from templates according to the
+current configuration.
+
+Usage: $0 [OPTIONS] [FILE]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number and configuration settings, then exit
+ -q, --quiet do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
+
+Configuration files:
+$config_files
+
+Configuration headers:
+$config_headers
+
+Configuration commands:
+$config_commands
+
+Report bugs to <bug-autoconf at gnu.org>."
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF
+ac_cs_version="\\
+config.status
+configured by $0, generated by GNU Autoconf 2.61,
+ with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
+
+Copyright (C) 2006 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+
+ac_pwd='$ac_pwd'
+srcdir='$srcdir'
+INSTALL='$INSTALL'
+MKDIR_P='$MKDIR_P'
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+# If no file are specified by the user, then we need to provide default
+# value. By we need to know if files were specified by the user.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=*)
+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ *)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
+ echo "$ac_cs_version"; exit ;;
+ --debug | --debu | --deb | --de | --d | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ CONFIG_FILES="$CONFIG_FILES $ac_optarg"
+ ac_need_defaults=false;;
+ --header | --heade | --head | --hea )
+ $ac_shift
+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
+ ac_need_defaults=false;;
+ --he | --h)
+ # Conflict between --help and --header
+ { echo "$as_me: error: ambiguous option: $1
+Try \`$0 --help' for more information." >&2
+ { (exit 1); exit 1; }; };;
+ --help | --hel | -h )
+ echo "$ac_cs_usage"; exit ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) { echo "$as_me: error: unrecognized option: $1
+Try \`$0 --help' for more information." >&2
+ { (exit 1); exit 1; }; } ;;
+
+ *) ac_config_targets="$ac_config_targets $1"
+ ac_need_defaults=false ;;
+
+ esac
+ shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF
+if \$ac_cs_recheck; then
+ echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
+ CONFIG_SHELL=$SHELL
+ export CONFIG_SHELL
+ exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+fi
+
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+## Running $as_me. ##
+_ASBOX
+ echo "$ac_log"
+} >&5
+
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF
+#
+# INIT-COMMANDS
+#
+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+
+# Handling of arguments.
+for ac_config_target in $ac_config_targets
+do
+ case $ac_config_target in
+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
+ "k3bsetup/Makefile") CONFIG_FILES="$CONFIG_FILES k3bsetup/Makefile" ;;
+ "kfile-plugins/Makefile") CONFIG_FILES="$CONFIG_FILES kfile-plugins/Makefile" ;;
+ "kfile-plugins/k3bproject/Makefile") CONFIG_FILES="$CONFIG_FILES kfile-plugins/k3bproject/Makefile" ;;
+ "kioslaves/Makefile") CONFIG_FILES="$CONFIG_FILES kioslaves/Makefile" ;;
+ "kioslaves/videodvd/Makefile") CONFIG_FILES="$CONFIG_FILES kioslaves/videodvd/Makefile" ;;
+ "libk3b/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/Makefile" ;;
+ "libk3b/cddb/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/cddb/Makefile" ;;
+ "libk3b/core/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/core/Makefile" ;;
+ "libk3b/jobs/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/jobs/Makefile" ;;
+ "libk3b/plugin/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/plugin/Makefile" ;;
+ "libk3b/plugin/libsamplerate/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/plugin/libsamplerate/Makefile" ;;
+ "libk3b/projects/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/projects/Makefile" ;;
+ "libk3b/projects/audiocd/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/projects/audiocd/Makefile" ;;
+ "libk3b/projects/datacd/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/projects/datacd/Makefile" ;;
+ "libk3b/projects/datadvd/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/projects/datadvd/Makefile" ;;
+ "libk3b/projects/mixedcd/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/projects/mixedcd/Makefile" ;;
+ "libk3b/projects/movixcd/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/projects/movixcd/Makefile" ;;
+ "libk3b/projects/movixdvd/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/projects/movixdvd/Makefile" ;;
+ "libk3b/projects/videocd/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/projects/videocd/Makefile" ;;
+ "libk3b/projects/videocd/cdi/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/projects/videocd/cdi/Makefile" ;;
+ "libk3b/projects/videocd/extra/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/projects/videocd/extra/Makefile" ;;
+ "libk3b/projects/videocd/mpeginfo/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/projects/videocd/mpeginfo/Makefile" ;;
+ "libk3b/projects/videodvd/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/projects/videodvd/Makefile" ;;
+ "libk3b/scripts/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/scripts/Makefile" ;;
+ "libk3b/tools/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/tools/Makefile" ;;
+ "libk3b/tools/libisofs/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/tools/libisofs/Makefile" ;;
+ "libk3b/videodvd/Makefile") CONFIG_FILES="$CONFIG_FILES libk3b/videodvd/Makefile" ;;
+ "libk3bdevice/Makefile") CONFIG_FILES="$CONFIG_FILES libk3bdevice/Makefile" ;;
+ "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
+ "plugins/audiooutput/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/audiooutput/Makefile" ;;
+ "plugins/audiooutput/alsa/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/audiooutput/alsa/Makefile" ;;
+ "plugins/audiooutput/arts/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/audiooutput/arts/Makefile" ;;
+ "plugins/decoder/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/decoder/Makefile" ;;
+ "plugins/decoder/ffmpeg/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/decoder/ffmpeg/Makefile" ;;
+ "plugins/decoder/flac/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/decoder/flac/Makefile" ;;
+ "plugins/decoder/libsndfile/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/decoder/libsndfile/Makefile" ;;
+ "plugins/decoder/mp3/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/decoder/mp3/Makefile" ;;
+ "plugins/decoder/musepack/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/decoder/musepack/Makefile" ;;
+ "plugins/decoder/ogg/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/decoder/ogg/Makefile" ;;
+ "plugins/decoder/wave/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/decoder/wave/Makefile" ;;
+ "plugins/encoder/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/encoder/Makefile" ;;
+ "plugins/encoder/external/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/encoder/external/Makefile" ;;
+ "plugins/encoder/lame/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/encoder/lame/Makefile" ;;
+ "plugins/encoder/ogg/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/encoder/ogg/Makefile" ;;
+ "plugins/encoder/sox/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/encoder/sox/Makefile" ;;
+ "plugins/project/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/project/Makefile" ;;
+ "plugins/project/audiometainforenamer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/project/audiometainforenamer/Makefile" ;;
+ "plugins/project/audioprojectcddb/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/project/audioprojectcddb/Makefile" ;;
+ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
+ "src/fastscale/Makefile") CONFIG_FILES="$CONFIG_FILES src/fastscale/Makefile" ;;
+ "src/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/icons/Makefile" ;;
+ "src/icons/actions/Makefile") CONFIG_FILES="$CONFIG_FILES src/icons/actions/Makefile" ;;
+ "src/konqi/Makefile") CONFIG_FILES="$CONFIG_FILES src/konqi/Makefile" ;;
+ "src/mimetypes/Makefile") CONFIG_FILES="$CONFIG_FILES src/mimetypes/Makefile" ;;
+ "src/misc/Makefile") CONFIG_FILES="$CONFIG_FILES src/misc/Makefile" ;;
+ "src/option/Makefile") CONFIG_FILES="$CONFIG_FILES src/option/Makefile" ;;
+ "src/pics/Makefile") CONFIG_FILES="$CONFIG_FILES src/pics/Makefile" ;;
+ "src/pics/73lab/Makefile") CONFIG_FILES="$CONFIG_FILES src/pics/73lab/Makefile" ;;
+ "src/pics/RobsTheme/Makefile") CONFIG_FILES="$CONFIG_FILES src/pics/RobsTheme/Makefile" ;;
+ "src/pics/crystal/Makefile") CONFIG_FILES="$CONFIG_FILES src/pics/crystal/Makefile" ;;
+ "src/pics/quant/Makefile") CONFIG_FILES="$CONFIG_FILES src/pics/quant/Makefile" ;;
+ "src/projects/Makefile") CONFIG_FILES="$CONFIG_FILES src/projects/Makefile" ;;
+ "src/projects/kostore/Makefile") CONFIG_FILES="$CONFIG_FILES src/projects/kostore/Makefile" ;;
+ "src/rip/Makefile") CONFIG_FILES="$CONFIG_FILES src/rip/Makefile" ;;
+ "src/rip/videodvd/Makefile") CONFIG_FILES="$CONFIG_FILES src/rip/videodvd/Makefile" ;;
+ "src/sounds/Makefile") CONFIG_FILES="$CONFIG_FILES src/sounds/Makefile" ;;
+
+ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
+echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
+ { (exit 1); exit 1; }; };;
+ esac
+done
+
+
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason against having it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Hook for its removal unless debugging.
+# Note that there is a small window in which the directory will not be cleaned:
+# after its creation but before its name has been assigned to `$tmp'.
+$debug ||
+{
+ tmp=
+ trap 'exit_status=$?
+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
+' 0
+ trap '{ (exit 1); exit 1; }' 1 2 13 15
+}
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
+ test -n "$tmp" && test -d "$tmp"
+} ||
+{
+ tmp=./conf$$-$RANDOM
+ (umask 077 && mkdir "$tmp")
+} ||
+{
+ echo "$me: cannot create a temporary directory in ." >&2
+ { (exit 1); exit 1; }
+}
+
+#
+# Set up the sed scripts for CONFIG_FILES section.
+#
+
+# No need to generate the scripts if there are no CONFIG_FILES.
+# This happens for instance when ./config.status config.h
+if test -n "$CONFIG_FILES"; then
+
+_ACEOF
+
+
+
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ cat >conf$$subs.sed <<_ACEOF
+SHELL!$SHELL$ac_delim
+PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
+PACKAGE_NAME!$PACKAGE_NAME$ac_delim
+PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
+PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
+PACKAGE_STRING!$PACKAGE_STRING$ac_delim
+PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
+exec_prefix!$exec_prefix$ac_delim
+prefix!$prefix$ac_delim
+program_transform_name!$program_transform_name$ac_delim
+bindir!$bindir$ac_delim
+sbindir!$sbindir$ac_delim
+libexecdir!$libexecdir$ac_delim
+datarootdir!$datarootdir$ac_delim
+datadir!$datadir$ac_delim
+sysconfdir!$sysconfdir$ac_delim
+sharedstatedir!$sharedstatedir$ac_delim
+localstatedir!$localstatedir$ac_delim
+includedir!$includedir$ac_delim
+oldincludedir!$oldincludedir$ac_delim
+docdir!$docdir$ac_delim
+infodir!$infodir$ac_delim
+htmldir!$htmldir$ac_delim
+dvidir!$dvidir$ac_delim
+pdfdir!$pdfdir$ac_delim
+psdir!$psdir$ac_delim
+libdir!$libdir$ac_delim
+localedir!$localedir$ac_delim
+mandir!$mandir$ac_delim
+DEFS!$DEFS$ac_delim
+ECHO_C!$ECHO_C$ac_delim
+ECHO_N!$ECHO_N$ac_delim
+ECHO_T!$ECHO_T$ac_delim
+LIBS!$LIBS$ac_delim
+build_alias!$build_alias$ac_delim
+host_alias!$host_alias$ac_delim
+target_alias!$target_alias$ac_delim
+build!$build$ac_delim
+build_cpu!$build_cpu$ac_delim
+build_vendor!$build_vendor$ac_delim
+build_os!$build_os$ac_delim
+host!$host$ac_delim
+host_cpu!$host_cpu$ac_delim
+host_vendor!$host_vendor$ac_delim
+host_os!$host_os$ac_delim
+target!$target$ac_delim
+target_cpu!$target_cpu$ac_delim
+target_vendor!$target_vendor$ac_delim
+target_os!$target_os$ac_delim
+INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
+INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
+INSTALL_DATA!$INSTALL_DATA$ac_delim
+am__isrc!$am__isrc$ac_delim
+CYGPATH_W!$CYGPATH_W$ac_delim
+PACKAGE!$PACKAGE$ac_delim
+VERSION!$VERSION$ac_delim
+ACLOCAL!$ACLOCAL$ac_delim
+AUTOCONF!$AUTOCONF$ac_delim
+AUTOMAKE!$AUTOMAKE$ac_delim
+AUTOHEADER!$AUTOHEADER$ac_delim
+MAKEINFO!$MAKEINFO$ac_delim
+install_sh!$install_sh$ac_delim
+STRIP!$STRIP$ac_delim
+INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
+mkdir_p!$mkdir_p$ac_delim
+AWK!$AWK$ac_delim
+SET_MAKE!$SET_MAKE$ac_delim
+am__leading_dot!$am__leading_dot$ac_delim
+AMTAR!$AMTAR$ac_delim
+am__tar!$am__tar$ac_delim
+am__untar!$am__untar$ac_delim
+KDECONFIG!$KDECONFIG$ac_delim
+kde_libs_prefix!$kde_libs_prefix$ac_delim
+kde_libs_htmldir!$kde_libs_htmldir$ac_delim
+CONF_FILES!$CONF_FILES$ac_delim
+CC!$CC$ac_delim
+CFLAGS!$CFLAGS$ac_delim
+LDFLAGS!$LDFLAGS$ac_delim
+CPPFLAGS!$CPPFLAGS$ac_delim
+ac_ct_CC!$ac_ct_CC$ac_delim
+EXEEXT!$EXEEXT$ac_delim
+OBJEXT!$OBJEXT$ac_delim
+DEPDIR!$DEPDIR$ac_delim
+am__include!$am__include$ac_delim
+am__quote!$am__quote$ac_delim
+AMDEP_TRUE!$AMDEP_TRUE$ac_delim
+AMDEP_FALSE!$AMDEP_FALSE$ac_delim
+AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
+CCDEPMODE!$CCDEPMODE$ac_delim
+am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
+am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
+CPP!$CPP$ac_delim
+CXX!$CXX$ac_delim
+CXXFLAGS!$CXXFLAGS$ac_delim
+ac_ct_CXX!$ac_ct_CXX$ac_delim
+CXXDEPMODE!$CXXDEPMODE$ac_delim
+am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
+_ACEOF
+
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
+ break
+ elif $ac_last_try; then
+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
+ { (exit 1); exit 1; }; }
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+
+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
+if test -n "$ac_eof"; then
+ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
+ ac_eof=`expr $ac_eof + 1`
+fi
+
+cat >>$CONFIG_STATUS <<_ACEOF
+cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+_ACEOF
+sed '
+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
+s/^/s,@/; s/!/@,|#_!!_#|/
+:n
+t n
+s/'"$ac_delim"'$/,g/; t
+s/$/\\/; p
+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
+' >>$CONFIG_STATUS <conf$$subs.sed
+rm -f conf$$subs.sed
+cat >>$CONFIG_STATUS <<_ACEOF
+CEOF$ac_eof
+_ACEOF
+
+
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ cat >conf$$subs.sed <<_ACEOF
+am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
+WOVERLOADED_VIRTUAL!$WOVERLOADED_VIRTUAL$ac_delim
+HAVE_GCC_VISIBILITY!$HAVE_GCC_VISIBILITY$ac_delim
+unsermake_enable_pch_TRUE!$unsermake_enable_pch_TRUE$ac_delim
+unsermake_enable_pch_FALSE!$unsermake_enable_pch_FALSE$ac_delim
+USE_EXCEPTIONS!$USE_EXCEPTIONS$ac_delim
+USE_RTTI!$USE_RTTI$ac_delim
+CXXCPP!$CXXCPP$ac_delim
+NOOPT_CXXFLAGS!$NOOPT_CXXFLAGS$ac_delim
+NOOPT_CFLAGS!$NOOPT_CFLAGS$ac_delim
+ENABLE_PERMISSIVE_FLAG!$ENABLE_PERMISSIVE_FLAG$ac_delim
+LDFLAGS_AS_NEEDED!$LDFLAGS_AS_NEEDED$ac_delim
+LDFLAGS_NEW_DTAGS!$LDFLAGS_NEW_DTAGS$ac_delim
+KDE_USE_FINAL_TRUE!$KDE_USE_FINAL_TRUE$ac_delim
+KDE_USE_FINAL_FALSE!$KDE_USE_FINAL_FALSE$ac_delim
+KDE_USE_CLOSURE_TRUE!$KDE_USE_CLOSURE_TRUE$ac_delim
+KDE_USE_CLOSURE_FALSE!$KDE_USE_CLOSURE_FALSE$ac_delim
+KDE_NO_UNDEFINED!$KDE_NO_UNDEFINED$ac_delim
+KDE_USE_NMCHECK_TRUE!$KDE_USE_NMCHECK_TRUE$ac_delim
+KDE_USE_NMCHECK_FALSE!$KDE_USE_NMCHECK_FALSE$ac_delim
+GREP!$GREP$ac_delim
+EGREP!$EGREP$ac_delim
+LN_S!$LN_S$ac_delim
+ECHO!$ECHO$ac_delim
+AR!$AR$ac_delim
+RANLIB!$RANLIB$ac_delim
+F77!$F77$ac_delim
+FFLAGS!$FFLAGS$ac_delim
+ac_ct_F77!$ac_ct_F77$ac_delim
+LIBTOOL!$LIBTOOL$ac_delim
+KDE_PLUGIN!$KDE_PLUGIN$ac_delim
+KDE_CHECK_PLUGIN!$KDE_CHECK_PLUGIN$ac_delim
+MSGFMT!$MSGFMT$ac_delim
+GMSGFMT!$GMSGFMT$ac_delim
+XGETTEXT!$XGETTEXT$ac_delim
+LIBUTIL!$LIBUTIL$ac_delim
+LIBCOMPAT!$LIBCOMPAT$ac_delim
+LIBCRYPT!$LIBCRYPT$ac_delim
+LIBRESOLV!$LIBRESOLV$ac_delim
+LIB_POLL!$LIB_POLL$ac_delim
+FRAMEWORK_COREAUDIO!$FRAMEWORK_COREAUDIO$ac_delim
+LIBSOCKET!$LIBSOCKET$ac_delim
+X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
+LIBUCB!$LIBUCB$ac_delim
+LIBDL!$LIBDL$ac_delim
+KDE_USE_FPIE!$KDE_USE_FPIE$ac_delim
+KDE_USE_PIE!$KDE_USE_PIE$ac_delim
+include_x11_TRUE!$include_x11_TRUE$ac_delim
+include_x11_FALSE!$include_x11_FALSE$ac_delim
+XMKMF!$XMKMF$ac_delim
+X_PRE_LIBS!$X_PRE_LIBS$ac_delim
+LIB_X11!$LIB_X11$ac_delim
+LIB_XRENDER!$LIB_XRENDER$ac_delim
+LIBSM!$LIBSM$ac_delim
+X_INCLUDES!$X_INCLUDES$ac_delim
+X_LDFLAGS!$X_LDFLAGS$ac_delim
+x_includes!$x_includes$ac_delim
+x_libraries!$x_libraries$ac_delim
+QTE_NORTTI!$QTE_NORTTI$ac_delim
+LIB_XEXT!$LIB_XEXT$ac_delim
+LIBPTHREAD!$LIBPTHREAD$ac_delim
+USE_THREADS!$USE_THREADS$ac_delim
+KDE_MT_LDFLAGS!$KDE_MT_LDFLAGS$ac_delim
+KDE_MT_LIBS!$KDE_MT_LIBS$ac_delim
+USER_INCLUDES!$USER_INCLUDES$ac_delim
+USER_LDFLAGS!$USER_LDFLAGS$ac_delim
+LIBZ!$LIBZ$ac_delim
+LIBPNG!$LIBPNG$ac_delim
+LIBJPEG!$LIBJPEG$ac_delim
+qt_libraries!$qt_libraries$ac_delim
+qt_includes!$qt_includes$ac_delim
+QT_INCLUDES!$QT_INCLUDES$ac_delim
+QT_LDFLAGS!$QT_LDFLAGS$ac_delim
+PERL!$PERL$ac_delim
+MOC!$MOC$ac_delim
+UIC!$UIC$ac_delim
+UIC_TR!$UIC_TR$ac_delim
+LIB_QT!$LIB_QT$ac_delim
+LIB_QPE!$LIB_QPE$ac_delim
+kde_qtver!$kde_qtver$ac_delim
+KDE_EXTRA_RPATH!$KDE_EXTRA_RPATH$ac_delim
+KDE_RPATH!$KDE_RPATH$ac_delim
+X_RPATH!$X_RPATH$ac_delim
+kde_libraries!$kde_libraries$ac_delim
+kde_includes!$kde_includes$ac_delim
+KDE_LDFLAGS!$KDE_LDFLAGS$ac_delim
+KDE_INCLUDES!$KDE_INCLUDES$ac_delim
+all_includes!$all_includes$ac_delim
+all_libraries!$all_libraries$ac_delim
+AUTODIRS!$AUTODIRS$ac_delim
+include_ARTS_TRUE!$include_ARTS_TRUE$ac_delim
+include_ARTS_FALSE!$include_ARTS_FALSE$ac_delim
+MAKEKDEWIDGETS!$MAKEKDEWIDGETS$ac_delim
+KCONFIG_COMPILER!$KCONFIG_COMPILER$ac_delim
+KCFG_DEPENDENCIES!$KCFG_DEPENDENCIES$ac_delim
+DCOPIDLNG!$DCOPIDLNG$ac_delim
+DCOPIDL!$DCOPIDL$ac_delim
+_ACEOF
+
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
+ break
+ elif $ac_last_try; then
+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
+ { (exit 1); exit 1; }; }
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+
+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
+if test -n "$ac_eof"; then
+ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
+ ac_eof=`expr $ac_eof + 1`
+fi
+
+cat >>$CONFIG_STATUS <<_ACEOF
+cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+_ACEOF
+sed '
+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
+s/^/s,@/; s/!/@,|#_!!_#|/
+:n
+t n
+s/'"$ac_delim"'$/,g/; t
+s/$/\\/; p
+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
+' >>$CONFIG_STATUS <conf$$subs.sed
+rm -f conf$$subs.sed
+cat >>$CONFIG_STATUS <<_ACEOF
+CEOF$ac_eof
+_ACEOF
+
+
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ cat >conf$$subs.sed <<_ACEOF
+DCOPIDL2CPP!$DCOPIDL2CPP$ac_delim
+DCOP_DEPENDENCIES!$DCOP_DEPENDENCIES$ac_delim
+MCOPIDL!$MCOPIDL$ac_delim
+ARTSCCONFIG!$ARTSCCONFIG$ac_delim
+MEINPROC!$MEINPROC$ac_delim
+KDE_XSL_STYLESHEET!$KDE_XSL_STYLESHEET$ac_delim
+XMLLINT!$XMLLINT$ac_delim
+kde_htmldir!$kde_htmldir$ac_delim
+kde_appsdir!$kde_appsdir$ac_delim
+kde_icondir!$kde_icondir$ac_delim
+kde_sounddir!$kde_sounddir$ac_delim
+kde_datadir!$kde_datadir$ac_delim
+kde_locale!$kde_locale$ac_delim
+kde_confdir!$kde_confdir$ac_delim
+kde_kcfgdir!$kde_kcfgdir$ac_delim
+kde_mimedir!$kde_mimedir$ac_delim
+kde_wallpaperdir!$kde_wallpaperdir$ac_delim
+kde_bindir!$kde_bindir$ac_delim
+xdg_appsdir!$xdg_appsdir$ac_delim
+xdg_menudir!$xdg_menudir$ac_delim
+xdg_directorydir!$xdg_directorydir$ac_delim
+kde_templatesdir!$kde_templatesdir$ac_delim
+kde_servicesdir!$kde_servicesdir$ac_delim
+kde_servicetypesdir!$kde_servicetypesdir$ac_delim
+kde_moduledir!$kde_moduledir$ac_delim
+kdeinitdir!$kdeinitdir$ac_delim
+kde_styledir!$kde_styledir$ac_delim
+kde_widgetdir!$kde_widgetdir$ac_delim
+LIB_KDED!$LIB_KDED$ac_delim
+LIB_KDECORE!$LIB_KDECORE$ac_delim
+LIB_KDEUI!$LIB_KDEUI$ac_delim
+LIB_KIO!$LIB_KIO$ac_delim
+LIB_KJS!$LIB_KJS$ac_delim
+LIB_SMB!$LIB_SMB$ac_delim
+LIB_KAB!$LIB_KAB$ac_delim
+LIB_KABC!$LIB_KABC$ac_delim
+LIB_KHTML!$LIB_KHTML$ac_delim
+LIB_KSPELL!$LIB_KSPELL$ac_delim
+LIB_KPARTS!$LIB_KPARTS$ac_delim
+LIB_KDEPRINT!$LIB_KDEPRINT$ac_delim
+LIB_KUTILS!$LIB_KUTILS$ac_delim
+LIB_KDEPIM!$LIB_KDEPIM$ac_delim
+LIB_KIMPROXY!$LIB_KIMPROXY$ac_delim
+LIB_KNEWSTUFF!$LIB_KNEWSTUFF$ac_delim
+LIB_KDNSSD!$LIB_KDNSSD$ac_delim
+LIB_KUNITTEST!$LIB_KUNITTEST$ac_delim
+LIB_KSYCOCA!$LIB_KSYCOCA$ac_delim
+LIB_KFILE!$LIB_KFILE$ac_delim
+LIB_KFM!$LIB_KFM$ac_delim
+LIBSAMPLERATE!$LIBSAMPLERATE$ac_delim
+compile_libsamplerate_TRUE!$compile_libsamplerate_TRUE$ac_delim
+compile_libsamplerate_FALSE!$compile_libsamplerate_FALSE$ac_delim
+ARTS_LIBS!$ARTS_LIBS$ac_delim
+include_arts_TRUE!$include_arts_TRUE$ac_delim
+include_arts_FALSE!$include_arts_FALSE$ac_delim
+with_k3bsetup1_TRUE!$with_k3bsetup1_TRUE$ac_delim
+with_k3bsetup1_FALSE!$with_k3bsetup1_FALSE$ac_delim
+CAM_LIB!$CAM_LIB$ac_delim
+TAGLIB_CONFIG!$TAGLIB_CONFIG$ac_delim
+taglib_includes!$taglib_includes$ac_delim
+taglib_libs!$taglib_libs$ac_delim
+MUSICBRAINZ_LIBS!$MUSICBRAINZ_LIBS$ac_delim
+include_videodvdrip_TRUE!$include_videodvdrip_TRUE$ac_delim
+include_videodvdrip_FALSE!$include_videodvdrip_FALSE$ac_delim
+RESMGR_LIB!$RESMGR_LIB$ac_delim
+HAL_INCS!$HAL_INCS$ac_delim
+HAL_LIBS!$HAL_LIBS$ac_delim
+DBUS_INCS!$DBUS_INCS$ac_delim
+DBUS_LIBS!$DBUS_LIBS$ac_delim
+DBUSQT_INCS!$DBUSQT_INCS$ac_delim
+DBUSQT_LIBS!$DBUSQT_LIBS$ac_delim
+include_HAL_TRUE!$include_HAL_TRUE$ac_delim
+include_HAL_FALSE!$include_HAL_FALSE$ac_delim
+HAL_DBUS_LIBS!$HAL_DBUS_LIBS$ac_delim
+PKG_CONFIG!$PKG_CONFIG$ac_delim
+ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
+ALSA_LIBS!$ALSA_LIBS$ac_delim
+include_ALSA_TRUE!$include_ALSA_TRUE$ac_delim
+include_ALSA_FALSE!$include_ALSA_FALSE$ac_delim
+include_FFMPEG_TRUE!$include_FFMPEG_TRUE$ac_delim
+include_FFMPEG_FALSE!$include_FFMPEG_FALSE$ac_delim
+include_FLAC_TRUE!$include_FLAC_TRUE$ac_delim
+include_FLAC_FALSE!$include_FLAC_FALSE$ac_delim
+SNDFILE_CFLAGS!$SNDFILE_CFLAGS$ac_delim
+SNDFILE_LIBS!$SNDFILE_LIBS$ac_delim
+include_AIFF_TRUE!$include_AIFF_TRUE$ac_delim
+include_AIFF_FALSE!$include_AIFF_FALSE$ac_delim
+MAD_LIB!$MAD_LIB$ac_delim
+include_MP3_TRUE!$include_MP3_TRUE$ac_delim
+include_MP3_FALSE!$include_MP3_FALSE$ac_delim
+MPC_LIBS!$MPC_LIBS$ac_delim
+include_MPC_TRUE!$include_MPC_TRUE$ac_delim
+include_MPC_FALSE!$include_MPC_FALSE$ac_delim
+include_OGG_TRUE!$include_OGG_TRUE$ac_delim
+include_OGG_FALSE!$include_OGG_FALSE$ac_delim
+include_LAME_TRUE!$include_LAME_TRUE$ac_delim
+include_LAME_FALSE!$include_LAME_FALSE$ac_delim
+_ACEOF
+
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
+ break
+ elif $ac_last_try; then
+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
+ { (exit 1); exit 1; }; }
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+
+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
+if test -n "$ac_eof"; then
+ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
+ ac_eof=`expr $ac_eof + 1`
+fi
+
+cat >>$CONFIG_STATUS <<_ACEOF
+cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+_ACEOF
+sed '
+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
+s/^/s,@/; s/!/@,|#_!!_#|/
+:n
+t n
+s/'"$ac_delim"'$/,g/; t
+s/$/\\/; p
+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
+' >>$CONFIG_STATUS <conf$$subs.sed
+rm -f conf$$subs.sed
+cat >>$CONFIG_STATUS <<_ACEOF
+CEOF$ac_eof
+_ACEOF
+
+
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+ cat >conf$$subs.sed <<_ACEOF
+CCAS!$CCAS$ac_delim
+CCASFLAGS!$CCASFLAGS$ac_delim
+CCASDEPMODE!$CCASDEPMODE$ac_delim
+am__fastdepCCAS_TRUE!$am__fastdepCCAS_TRUE$ac_delim
+am__fastdepCCAS_FALSE!$am__fastdepCCAS_FALSE$ac_delim
+GV_ASM_DEFS!$GV_ASM_DEFS$ac_delim
+TOPSUBDIRS!$TOPSUBDIRS$ac_delim
+LIBOBJS!$LIBOBJS$ac_delim
+LTLIBOBJS!$LTLIBOBJS$ac_delim
+_ACEOF
+
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
+ break
+ elif $ac_last_try; then
+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
+ { (exit 1); exit 1; }; }
+ else
+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+ fi
+done
+
+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
+if test -n "$ac_eof"; then
+ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
+ ac_eof=`expr $ac_eof + 1`
+fi
+
+cat >>$CONFIG_STATUS <<_ACEOF
+cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
+_ACEOF
+sed '
+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
+s/^/s,@/; s/!/@,|#_!!_#|/
+:n
+t n
+s/'"$ac_delim"'$/,g/; t
+s/$/\\/; p
+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
+' >>$CONFIG_STATUS <conf$$subs.sed
+rm -f conf$$subs.sed
+cat >>$CONFIG_STATUS <<_ACEOF
+:end
+s/|#_!!_#|//g
+CEOF$ac_eof
+_ACEOF
+
+
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
+if test "x$srcdir" = x.; then
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
+s/:*\$(srcdir):*/:/
+s/:*\${srcdir}:*/:/
+s/:*@srcdir@:*/:/
+s/^\([^=]*=[ ]*\):*/\1/
+s/:*$//
+s/^[^=]*=[ ]*$//
+}'
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+fi # test -n "$CONFIG_FILES"
+
+
+for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
+do
+ case $ac_tag in
+ :[FHLC]) ac_mode=$ac_tag; continue;;
+ esac
+ case $ac_mode$ac_tag in
+ :[FHL]*:*);;
+ :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
+echo "$as_me: error: Invalid tag $ac_tag." >&2;}
+ { (exit 1); exit 1; }; };;
+ :[FH]-) ac_tag=-:-;;
+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
+ esac
+ ac_save_IFS=$IFS
+ IFS=:
+ set x $ac_tag
+ IFS=$ac_save_IFS
+ shift
+ ac_file=$1
+ shift
+
+ case $ac_mode in
+ :L) ac_source=$1;;
+ :[FH])
+ ac_file_inputs=
+ for ac_f
+ do
+ case $ac_f in
+ -) ac_f="$tmp/stdin";;
+ *) # Look for the file first in the build tree, then in the source tree
+ # (if the path is not absolute). The absolute path cannot be DOS-style,
+ # because $ac_f cannot contain `:'.
+ test -f "$ac_f" ||
+ case $ac_f in
+ [\\/$]*) false;;
+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
+ esac ||
+ { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
+echo "$as_me: error: cannot find input file: $ac_f" >&2;}
+ { (exit 1); exit 1; }; };;
+ esac
+ ac_file_inputs="$ac_file_inputs $ac_f"
+ done
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ configure_input="Generated from "`IFS=:
+ echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
+ if test x"$ac_file" != x-; then
+ configure_input="$ac_file. $configure_input"
+ { echo "$as_me:$LINENO: creating $ac_file" >&5
+echo "$as_me: creating $ac_file" >&6;}
+ fi
+
+ case $ac_tag in
+ *:-:* | *:-) cat >"$tmp/stdin";;
+ esac
+ ;;
+ esac
+
+ ac_dir=`$as_dirname -- "$ac_file" ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
+echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ { as_dir="$ac_dir"
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
+echo "$as_me: error: cannot create directory $as_dir" >&2;}
+ { (exit 1); exit 1; }; }; }
+ ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
+ # A ".." for each directory in $ac_dir_suffix.
+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
+ case $ac_top_builddir_sub in
+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+ esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+ .) # We are building in place.
+ ac_srcdir=.
+ ac_top_srcdir=$ac_top_builddir_sub
+ ac_abs_top_srcdir=$ac_pwd ;;
+ [\\/]* | ?:[\\/]* ) # Absolute name.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir
+ ac_abs_top_srcdir=$srcdir ;;
+ *) # Relative name.
+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_build_prefix$srcdir
+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+ case $ac_mode in
+ :F)
+ #
+ # CONFIG_FILE
+ #
+
+ case $INSTALL in
+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
+ esac
+ ac_MKDIR_P=$MKDIR_P
+ case $MKDIR_P in
+ [\\/$]* | ?:[\\/]* ) ;;
+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
+ esac
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+# If the template does not know about datarootdir, expand it.
+# FIXME: This hack should be removed a few years after 2.60.
+ac_datarootdir_hack=; ac_datarootdir_seen=
+
+case `sed -n '/datarootdir/ {
+ p
+ q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p
+' $ac_file_inputs` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
+ { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF
+ ac_datarootdir_hack='
+ s&@datadir@&$datadir&g
+ s&@docdir@&$docdir&g
+ s&@infodir@&$infodir&g
+ s&@localedir@&$localedir&g
+ s&@mandir@&$mandir&g
+ s&\\\${datarootdir}&$datarootdir&g' ;;
+esac
+_ACEOF
+
+# Neutralize VPATH when `$srcdir' = `.'.
+# Shell code in configure.ac might set extrasub.
+# FIXME: do we really want to maintain this feature?
+cat >>$CONFIG_STATUS <<_ACEOF
+ sed "$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s&@configure_input@&$configure_input&;t t
+s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@srcdir@&$ac_srcdir&;t t
+s&@abs_srcdir@&$ac_abs_srcdir&;t t
+s&@top_srcdir@&$ac_top_srcdir&;t t
+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
+s&@builddir@&$ac_builddir&;t t
+s&@abs_builddir@&$ac_abs_builddir&;t t
+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
+s&@INSTALL@&$ac_INSTALL&;t t
+s&@MKDIR_P@&$ac_MKDIR_P&;t t
+$ac_datarootdir_hack
+" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" | sed -f "$tmp/subs-4.sed" >$tmp/out
+
+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
+ { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined." >&5
+echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined. Please make sure it is defined." >&2;}
+
+ rm -f "$tmp/stdin"
+ case $ac_file in
+ -) cat "$tmp/out"; rm -f "$tmp/out";;
+ *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
+ esac
+ ;;
+ :H)
+ #
+ # CONFIG_HEADER
+ #
+_ACEOF
+
+# Transform confdefs.h into a sed script `conftest.defines', that
+# substitutes the proper values into config.h.in to produce config.h.
+rm -f conftest.defines conftest.tail
+# First, append a space to every undef/define line, to ease matching.
+echo 's/$/ /' >conftest.defines
+# Then, protect against being on the right side of a sed subst, or in
+# an unquoted here document, in config.status. If some macros were
+# called several times there might be several #defines for the same
+# symbol, which is useless. But do not sort them, since the last
+# AC_DEFINE must be honored.
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
+# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
+# NAME is the cpp macro being defined, VALUE is the value it is being given.
+# PARAMS is the parameter list in the macro definition--in most cases, it's
+# just an empty string.
+ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
+ac_dB='\\)[ (].*,\\1define\\2'
+ac_dC=' '
+ac_dD=' ,'
+
+uniq confdefs.h |
+ sed -n '
+ t rset
+ :rset
+ s/^[ ]*#[ ]*define[ ][ ]*//
+ t ok
+ d
+ :ok
+ s/[\\&,]/\\&/g
+ s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
+ s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
+ ' >>conftest.defines
+
+# Remove the space that was appended to ease matching.
+# Then replace #undef with comments. This is necessary, for
+# example, in the case of _POSIX_SOURCE, which is predefined and required
+# on some systems where configure will not decide to define it.
+# (The regexp can be short, since the line contains either #define or #undef.)
+echo 's/ $//
+s,^[ #]*u.*,/* & */,' >>conftest.defines
+
+# Break up conftest.defines:
+ac_max_sed_lines=50
+
+# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
+# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
+# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
+# et cetera.
+ac_in='$ac_file_inputs'
+ac_out='"$tmp/out1"'
+ac_nxt='"$tmp/out2"'
+
+while :
+do
+ # Write a here document:
+ cat >>$CONFIG_STATUS <<_ACEOF
+ # First, check the format of the line:
+ cat >"\$tmp/defines.sed" <<\\CEOF
+/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
+/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
+b
+:def
+_ACEOF
+ sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
+ echo 'CEOF
+ sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
+ ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
+ sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
+ grep . conftest.tail >/dev/null || break
+ rm -f conftest.defines
+ mv conftest.tail conftest.defines
+done
+rm -f conftest.defines conftest.tail
+
+echo "ac_result=$ac_in" >>$CONFIG_STATUS
+cat >>$CONFIG_STATUS <<\_ACEOF
+ if test x"$ac_file" != x-; then
+ echo "/* $configure_input */" >"$tmp/config.h"
+ cat "$ac_result" >>"$tmp/config.h"
+ if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
+ { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
+echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ rm -f $ac_file
+ mv "$tmp/config.h" $ac_file
+ fi
+ else
+ echo "/* $configure_input */"
+ cat "$ac_result"
+ fi
+ rm -f "$tmp/out12"
+# Compute $ac_file's index in $config_headers.
+_am_stamp_count=1
+for _am_header in $config_headers :; do
+ case $_am_header in
+ $ac_file | $ac_file:* )
+ break ;;
+ * )
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
+ esac
+done
+echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
+$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X$ac_file : 'X\(//\)[^/]' \| \
+ X$ac_file : 'X\(//\)$' \| \
+ X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
+echo X$ac_file |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`/stamp-h$_am_stamp_count
+ ;;
+
+ :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
+echo "$as_me: executing $ac_file commands" >&6;}
+ ;;
+ esac
+
+
+ case $ac_file$ac_mode in
+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
+ # Strip MF so we end up with the name of the file.
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
+ # Check whether this is an Automake generated Makefile or not.
+ # We used to match only the files named `Makefile.in', but
+ # some people rename them; so instead we look at the file content.
+ # Grep'ing the first line is not enough: some people post-process
+ # each Makefile.in and add a new line on top of each file to say so.
+ # Grep'ing the whole file is not good either: AIX grep has a line
+ # limit of 2048, but all sed's we know have understand at least 4000.
+ if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
+ dirpart=`$as_dirname -- "$mf" ||
+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$mf" : 'X\(//\)[^/]' \| \
+ X"$mf" : 'X\(//\)$' \| \
+ X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
+echo X"$mf" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ else
+ continue
+ fi
+ # Extract the definition of DEPDIR, am__include, and am__quote
+ # from the Makefile without running `make'.
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
+ test -z "$DEPDIR" && continue
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
+ test -z "am__include" && continue
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
+ # When using ansi2knr, U may be empty or an underscore; expand it
+ U=`sed -n 's/^U = //p' < "$mf"`
+ # Find all dependency output files, they are included files with
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
+ # simplest approach to changing $(DEPDIR) to its actual value in the
+ # expansion.
+ for file in `sed -n "
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
+ # Make sure the directory exists.
+ test -f "$dirpart/$file" && continue
+ fdir=`$as_dirname -- "$file" ||
+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$file" : 'X\(//\)[^/]' \| \
+ X"$file" : 'X\(//\)$' \| \
+ X"$file" : 'X\(/\)' \| . 2>/dev/null ||
+echo X"$file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ { as_dir=$dirpart/$fdir
+ case $as_dir in #(
+ -*) as_dir=./$as_dir;;
+ esac
+ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
+ as_dirs=
+ while :; do
+ case $as_dir in #(
+ *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
+ *) as_qdir=$as_dir;;
+ esac
+ as_dirs="'$as_qdir' $as_dirs"
+ as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)[^/].*/{
+ s//\1/
+ q
+ }
+ /^X\(\/\/\)$/{
+ s//\1/
+ q
+ }
+ /^X\(\/\).*/{
+ s//\1/
+ q
+ }
+ s/.*/./; q'`
+ test -d "$as_dir" && break
+ done
+ test -z "$as_dirs" || eval "mkdir $as_dirs"
+ } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
+echo "$as_me: error: cannot create directory $as_dir" >&2;}
+ { (exit 1); exit 1; }; }; }
+ # echo "creating $dirpart/$file"
+ echo '# dummy' > "$dirpart/$file"
+ done
+done
+ ;;
+
+ esac
+done # for ac_tag
+
+
+{ (exit 0); exit 0; }
+_ACEOF
+if test "x$with_fast_perl" = "xyes"; then
+ perl -i.bak $ac_aux_dir/conf.change.pl $CONFIG_STATUS \
+ || mv $CONFIG_STATUS.bak $CONFIG_STATUS
+ rm -f $CONFIG_STATUS.bak
+fi
+chmod +x $CONFIG_STATUS
+ac_clean_files=$ac_clean_files_save
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || { (exit 1); exit 1; }
+fi
+
+echo ""
+
+echo "K3b - Include libdvdread (Video DVD ripping) support:"
+if test "$have_libdvdread" = "yes"; then
+ echo "K3b - yes"
+else
+ echo "K3b - no"
+ if test "$ac_cv_use_libdvdread" = "yes"; then
+ echo "K3b - You are missing the libdvdread library."
+ fi
+fi
+echo ""
+
+if test -n "$RESMGR_LIB"; then
+ echo "K3b - Resmgr support: yes"
+else
+ echo "K3b - Resmgr support: no"
+fi
+
+echo ""
+
+
+if test x$have_hal = xyes; then
+ echo "K3b - Compile HAL support yes"
+else
+ echo "K3b - Compile HAL support no"
+if test "x$ac_cv_use_hal" = "xyes" ; then
+ echo "K3b - You are missing the HAL >= 0.5 headers and libraries"
+ echo "K3b - or the DBus Qt bindings."
+fi
+fi
+echo ""
+
+if test "x$have_alsa" = xyes; then
+ echo "K3b - Audioplayer available (alsa) yes"
+else
+ echo "K3b - Audioplayer available (alsa) no"
+fi
+echo ""
+
+echo "K3b - FFMpeg decoder plugin (decodes wma and others):"
+if test x$have_ffmpeg = xyes; then
+ echo "K3b - yes"
+ if test x$enable_ffmpeg_all_codecs = xyes; then
+ echo "K3b - WARNING: You enabled all codecs in the ffmpeg decoder plugin."
+ echo "K3b - Be aware that most are not tested and track lengths"
+ echo "K3b - will be wrong in many cases."
+ fi
+else
+ echo "K3b - no"
+if test "$ac_cv_use_ffmpeg" = "yes"; then
+ if test "$ffmpeg_compiles" = "yes"; then
+ echo "K3b - You are missing the ffmpeg libraries."
+ echo "K3b - Make sure ffmpeg has been configured as a"
+ echo "K3b - shared library (which is not the default)."
+ else
+ echo "K3b - You are missing the ffmpeg headers and libraries"
+ echo "K3b - version 0.4.9 or higher."
+ fi
+ echo "K3b - The ffmpeg audio decoding plugin (decodes wma and"
+ echo "K3b - others) won't be compiled."
+fi
+fi
+echo ""
+
+if test x$have_flac = xyes; then
+ echo "K3b - FLAC support: yes"
+else
+ echo "K3b - FLAC support: no"
+if test "$ac_cv_use_flac" = "yes"; then
+ if test "$have_flac" = "no"; then
+ echo "K3b - You are missing the FLAC++ headers and libraries."
+ echo "K3b - The FLAC decoding plugin won't be compiled."
+ fi
+fi
+fi
+echo ""
+
+if $av_cv_sndfile; then
+ echo "K3b - libsndfile audio decoding support: yes"
+else
+ echo "K3b - libsndfile audio decoding support: no"
+if test "$ac_cv_use_sndfile" = "yes"; then
+ echo "K3b - You are missing the libsndfile headers and libraries."
+ echo "K3b - The libsndfile audio decoding plugin won't be compiled."
+fi
+fi
+echo ""
+
+if test -n "$MAD_LIB"; then
+ echo "K3b - Mp3 decoding support (libmad): yes"
+else
+ echo "K3b - Mp3 decoding support (libmad): no"
+if test "$ac_cv_use_libmad" = "yes"; then
+ echo "K3b - You are missing the libmad headers and libraries."
+ echo "K3b - The Mp3 decoding plugin won't be compiled."
+fi
+fi
+echo ""
+
+if test x$have_mpc = xyes; then
+ echo "K3b - Musepack support: yes"
+else
+ echo "K3b - Musepack support: no"
+if test "$ac_cv_use_mpc" = "yes"; then
+ echo "K3b - You are missing the Musepack headers and libraries >= 1.1."
+ echo "K3b - The Musepack audio decoding plugin won't be compiled."
+fi
+fi
+
+echo ""
+
+if test x$ogg_vorbis = xyes; then
+ echo "K3b - Ogg Vorbis support: yes"
+else
+ echo "K3b - Ogg Vorbis support: no"
+if test "$ac_cv_use_oggvorbis" = "yes"; then
+ echo "K3b - You are missing the Ogg-Vorbis headers and libraries."
+ echo "K3b - The Ogg Vorbis decoding and encoding plugins won't be compiled."
+fi
+fi
+echo ""
+
+if test x$have_lame = xyes; then
+ echo "K3b - Lame Mp3 encoder plugin: yes"
+else
+ echo "K3b - Lame Mp3 encoder plugin no"
+if test "$ac_cv_use_lame" = "yes"; then
+ echo "K3b - You are missing the Lame headers and libraries."
+ echo "K3b - The Lame Mp3 encoding plugin won't be compiled."
+fi
+fi
+echo ""
+
+if test "$use_k3b_debug" = "yes"; then
+ echo ""
+ echo "K3b - K3B DEBUGGING ENABLED! THIS ENABLES ADDITIONAL DEBUGGING OUTPUT"
+ echo "K3b - AND FUNCTIONALITY WHICH IS ONLY INTENDED FOR K3B DEVELOPERS!"
+ echo "K3b - THIS MAY EVEN SLOW DOWN K3B IN SOME PLACES!"
+ echo ""
+fi
+
+if test "$cdrecord_suid_root" != "yes"; then
+ echo ""
+ echo "K3b - Suid root test for cdrecord, cdrdao, and wodim deactivated"
+ echo "K3b - This is NOT recommended although it might work out fine ;)"
+ echo ""
+fi
+
+if $have_taglib; then
+ echo "K3b - Audio meta data reading with Taglib: yes"
+else
+ echo "K3b - Audio meta data reading with Taglib: no"
+ echo "K3b - You are missing the Taglib headers and libraries."
+ echo "K3b - The mp3 and flac decoder plugins will fall back to"
+ echo "K3b - using KMetaFileInfo."
+fi
+
+echo ""
+
+echo "K3b - Audio resampling:"
+if test -n "$LIBSAMPLERATE"; then
+ echo "K3b - using installed version"
+else
+ echo "K3b - using version bundled with K3b"
+fi
+
+echo ""
+
+if test x$arts_available = xyes; then
+ echo "K3b - Audioplayer available (aRts) yes"
+else
+ echo "K3b - Audioplayer available (aRts) no"
+fi
+
+echo ""
+
+if test x$compile_k3bsetup = xyes; then
+ echo "K3b - Compile K3bSetup 2: yes"
+else
+ echo "K3b - Compile K3bSetup 2: no"
+fi
+
+echo ""
+
+if $have_mb; then
+ echo "K3b - Tag guessing using MusicBrainz yes"
+else
+ echo "K3b - Tag guessing using MusicBrainz no"
+if test "$ac_cv_use_musicbrainz" = "yes"; then
+ echo "K3b - You are missing the musicbrainz headers and libraries."
+ echo "K3b - K3b will be compiled without support for tag guessing."
+fi
+fi
+# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
+if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
+ # And if so, warn when they don't match
+ if test "$kde_libs_prefix" != "$given_prefix"; then
+ # And if kde doesn't know about the prefix yet
+ echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
+ if test $? -ne 0; then
+ echo ""
+ echo "Warning: you chose to install this package in $given_prefix,"
+ echo "but KDE was found in $kde_libs_prefix."
+ echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
+ echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
+ echo "Then restart KDE."
+ echo ""
+ fi
+ fi
+fi
+
+if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
+ echo ""
+ echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
+ echo "was not included. Therefore, GCC symbol visibility support remains disabled."
+ echo ""
+ echo "For better performance, consider including the Qt visibility supporting patch"
+ echo "located at:"
+ echo ""
+ echo "http://bugs.kde.org/show_bug.cgi?id=109386"
+ echo ""
+ echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
+ echo "everything will continue to work just fine without it."
+ echo ""
+fi
+
+if test "$all_tests" = "bad"; then
+ if test ! "$cache_file" = "/dev/null"; then
+ echo ""
+ echo "Please remove the file $cache_file after changing your setup"
+ echo "so that configure will find the changes next time."
+ echo ""
+ fi
+else
+ echo ""
+ echo "Good - your configure finished. Start make now"
+ echo ""
+fi
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/configure
___________________________________________________________________
Name: svn:executable
+
Added: kde-extras/k3b/k3b/branches/upstream/current/configure.files
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/configure.files (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/configure.files 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,26 @@
+./admin/configure.in.min
+configure.in.in
+./libk3b/configure.in.in
+./libk3b/plugin/libsamplerate/configure.in.in
+./libk3b/videodvd/configure.in.bot
+./libk3b/videodvd/configure.in.in
+./libk3bdevice/configure.in.bot
+./libk3bdevice/configure.in.in
+./plugins/audiooutput/alsa/configure.in.bot
+./plugins/audiooutput/alsa/configure.in.in
+./plugins/decoder/ffmpeg/configure.in.bot
+./plugins/decoder/ffmpeg/configure.in.in
+./plugins/decoder/flac/configure.in.bot
+./plugins/decoder/flac/configure.in.in
+./plugins/decoder/libsndfile/configure.in.bot
+./plugins/decoder/libsndfile/configure.in.in
+./plugins/decoder/mp3/configure.in.bot
+./plugins/decoder/mp3/configure.in.in
+./plugins/decoder/musepack/configure.in.bot
+./plugins/decoder/musepack/configure.in.in
+./plugins/decoder/ogg/configure.in.bot
+./plugins/decoder/ogg/configure.in.in
+./plugins/encoder/lame/configure.in.bot
+./plugins/encoder/lame/configure.in.in
+./src/fastscale/configure.in.in
+configure.in.bot
Added: kde-extras/k3b/k3b/branches/upstream/current/configure.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/configure.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/configure.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,1244 @@
+dnl =======================================================
+dnl FILE: ./admin/configure.in.min
+dnl =======================================================
+
+dnl This file is part of the KDE libraries/packages
+dnl Copyright (C) 2001 Stephan Kulow (coolo at 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., 51 Franklin Street, Fifth Floor,
+dnl Boston, MA 02110-1301, USA.
+
+# Original Author was Kalle at 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(k3b-1.0.4, "3.5.8") 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
+
+KDE_USE_QT(3.2)
+AC_PATH_KDE
+dnl =======================================================
+dnl FILE: configure.in.in
+dnl =======================================================
+
+#MIN_CONFIG(3.2)
+#AM_KDE_MIN_VERSION(3.4)
+
+AC_CHECK_HEADERS(byteswap.h)
+
+dnl - check the byte order -
+dnl this will define WORDS_BIGENDIAN or do nothing
+AC_C_BIGENDIAN()
+
+AC_ARG_WITH(
+ external-libsamplerate,
+ [ --with-external-libsamplerate use the libsamplerate provided by the system (default=yes)],
+ [external_sampletrate=$withval],
+ [external_sampletrate=yes]
+)
+
+LIBSAMPLERATE=""
+
+if test x$external_sampletrate != xno; then
+
+dnl === check for libsamplerate ==========
+KDE_CHECK_HEADERS(samplerate.h, [
+ KDE_CHECK_LIB(samplerate, src_new, [
+ LIBSAMPLERATE="-lsamplerate"
+ AC_DEFINE(HAVE_LIBSAMPLERATE,1,[defined if you have libsamplerate library and header])
+ ])
+])
+
+fi
+
+AC_SUBST(LIBSAMPLERATE)
+AM_CONDITIONAL(compile_libsamplerate, [test -z "$LIBSAMPLERATE"])
+
+
+ARTS_LIBS=""
+if test "x$build_arts" = "xyes"; then
+ dnl Find aRts
+ KDE_CHECK_HEADERS(artsc/artsc.h,
+ [arts_available=yes
+ ARTS_LIBS="-lartsc"],
+ [arts_available=no]
+ )
+fi
+AC_SUBST(ARTS_LIBS)
+AM_CONDITIONAL(include_arts, [test -n "$ARTS_LIBS"])
+if test "x$build_arts" = "xyes" -a "x$arts_available" = "xyes"; then
+ AC_DEFINE(WITH_ARTS,1,[defined if arts support is compiled in])
+fi
+
+KDE_CHECK_THREADING
+
+compile_k3bsetup=yes
+AC_ARG_WITH(
+ k3bsetup,
+ [ --with-k3bsetup[=ARG] do compile K3bSetup2 KControl Module (default=yes)],
+ [compile_k3bsetup=$withval]
+)
+
+if test x$compile_k3bsetup = xyes; then
+ AC_DEFINE(HAVE_K3BSETUP,1,[defined if K3bSetup is compiled])
+fi
+
+AM_CONDITIONAL(with_k3bsetup1, [test x$compile_k3bsetup = xyes])
+
+
+cdrecord_suid_root=yes
+AC_ARG_WITH(
+ cdrecord-suid-root,
+ AS_HELP_STRING(
+ [--without-cdrecord-suid-root],
+ [enable or disable K3b's suid root check for cdrecord/cdrdao/wodim (default=enabled)]),
+ [cdrecord_suid_root=$withval],
+ [cdrecord_suid_root=yes]
+)
+if test x$cdrecord_suid_root = xyes; then
+ AC_DEFINE(CDRECORD_SUID_ROOT_CHECK,1,[defined if K3b should check cdrecord for suid root])
+fi
+
+
+# Extra SCSI support libs can go in CAM_LIB, and are linked into
+# libk3bdevice. For Linux, nothing is needed. FreeBSD requires -lcam
+# (which is in base, so no test is needed).
+case "$host_os" in
+freebsd* | dragonfly*)
+ CAM_LIB="-lcam"
+ ;;
+*)
+ CAM_LIB=""
+ ;;
+esac
+AC_SUBST(CAM_LIB)
+
+
+
+dnl ---------- TAGLIB CHECK ----------
+
+AC_DEFUN([AC_HAVE_TAGLIB],
+[
+ AC_DEFINE(HAVE_TAGLIB, 1, [have TagLib])
+ taglib_includes=[`$TAGLIB_CONFIG --cflags`]
+ taglib_libs=[`$TAGLIB_CONFIG --libs`]
+ have_taglib=true
+])
+
+AC_DEFUN([AC_NO_TAGLIB],
+[
+ taglib_includes=""
+ taglib_libs=""
+ have_taglib=false
+])
+
+AC_PATH_PROG(TAGLIB_CONFIG, taglib-config, [no], [$PATH:$prefix/bin])
+if test "x$TAGLIB_CONFIG" = "xno" ; then
+ AC_NO_TAGLIB
+else
+ AC_HAVE_TAGLIB
+fi
+
+AC_SUBST(taglib_includes)
+AC_SUBST(taglib_libs)
+
+dnl ---------- END TAGLIB CHECK ----------
+
+
+
+dnl ----------- TUNEPIMP/MUSICBRAINZ CHECK -----------
+
+AC_ARG_WITH(
+ musicbrainz,
+ AS_HELP_STRING(
+ [--without-musicbrainz],
+ [build K3b without Musicbrainz support (default=no)]),
+ [ac_cv_use_musicbrainz=$withval],
+ [ac_cv_use_musicbrainz=yes]
+)
+
+have_mb=false
+MUSICBRAINZ_LIBS=""
+if test "$ac_cv_use_musicbrainz" = "yes"; then
+ KDE_CHECK_HEADER(musicbrainz/mb_c.h,
+ [
+ KDE_CHECK_LIB(musicbrainz,mb_New,[
+ AC_DEFINE(HAVE_MUSICBRAINZ, 1, [have MusicBrainz])
+ MUSICBRAINZ_LIBS="-lmusicbrainz"
+ have_mb=true
+ ])
+ ], [])
+fi
+AC_SUBST(MUSICBRAINZ_LIBS)
+
+dnl --------- TUNEPIMP/MUSICBRAINZ CHECK END -----------
+
+
+dnl --------- K3b debugging stuff (only for developers) ----
+
+AC_ARG_WITH(
+ k3b-debug,
+ AS_HELP_STRING(
+ [--with-k3b-debug],
+ [Enable additional K3b debugging output and functionality (default=no)]),
+ [use_k3b_debug=$withval],
+ [use_k3b_debug=no]
+)
+if test "$use_k3b_debug" = "yes"; then
+ AC_DEFINE(K3B_DEBUG, "1", [K3b additional debugging support])
+fi
+
+dnl --------------------------------------------------------
+
+
+
+
+dnl --------------- libiconv check -------------------------
+
+AC_CHECK_HEADERS(iconv.h)
+
+dnl --------------------------------------------------------
+
+
+#AC_DEFINE(LIBK3B_VERSION, "0.11.98", [k3b library version])
+#AC_SUBST(LIBK3B_VERSION, 0.11.98)
+#AC_CONFIG_FILES([k3b/libk3b/libk3b.pc])
+
+KDE_ENABLE_HIDDEN_VISIBILITY
+dnl =======================================================
+dnl FILE: ./libk3b/configure.in.in
+dnl =======================================================
+
+AC_CHECK_FUNCS(stat64)
+AC_CHECK_HEADERS(sys/vfs.h)
+AC_CHECK_HEADERS(sys/statvfs.h)
+dnl =======================================================
+dnl FILE: ./libk3b/plugin/libsamplerate/configure.in.in
+dnl =======================================================
+
+LIBS="-lm $all_libraries"
+
+AC_CHECK_DECL(lrint,
+ AC_DEFINE(HAVE_LRINT,1,[Define if lrint is supported]),
+ AC_DEFINE(HAVE_LRINT,0,[Define if lrint is not supported]),
+ [#include <math.h>]
+)
+
+AC_CHECK_DECL(lrintf,
+ AC_DEFINE(HAVE_LRINTF,1,[Define if lrintf is supported]),
+ AC_DEFINE(HAVE_LRINTF,0,[Define if lrintf is not supported]),
+ [#include <math.h>]
+)
+dnl =======================================================
+dnl FILE: ./libk3b/videodvd/configure.in.in
+dnl =======================================================
+
+AC_ARG_WITH(
+ libdvdread,
+ AS_HELP_STRING(
+ [--without-libdvdread],
+ [build K3b without libdvdread (Video DVD ripping) support (default=no)]),
+ [ac_cv_use_libdvdread=$withval],
+ [ac_cv_use_libdvdread=yes]
+)
+
+have_libdvdread=no
+if test "$ac_cv_use_libdvdread" = "yes"; then
+ KDE_CHECK_HEADERS(dvdread/dvd_reader.h,
+ [
+ AC_CHECK_LIB(dvdread,
+ DVDOpen,
+ [
+ AC_DEFINE(HAVE_LIBDVDREAD,1,[Defined if you have libdvdread headers and libs installed.])
+ have_libdvdread=yes
+ ]
+ )
+ ])
+fi
+AM_CONDITIONAL(include_videodvdrip, [test x$have_libdvdread = xyes])
+
+#if test "$have_libdvdread" = "no"; then
+# AC_MSG_ERROR([Could not find libdvdread. Please install.])
+# DO_NOT_COMPILE="$DO_NOT_COMPILE k3b"
+#fi
+dnl =======================================================
+dnl FILE: ./libk3bdevice/configure.in.in
+dnl =======================================================
+
+dnl FIXME: only make the linux header check on linux systems.
+
+linux_scsi=no
+AC_MSG_CHECKING(for linux scsi headers)
+AC_LANG_SAVE
+AC_LANG_CPLUSPLUS
+AC_TRY_COMPILE([
+ #include <linux/version.h>
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,50)
+ typedef unsigned char u8;
+ #endif
+ #include <sys/types.h>
+ #include <linux/../scsi/scsi.h> /* cope with silly includes */
+ ],
+ [],
+ [linux_scsi=yes])
+AC_MSG_RESULT($linux_scsi)
+
+case "$host_os" in
+freebsd*|dragonfly*)
+ # I'll be damned if lousy coding prevents us from running
+ # this application.
+ linux_scsi=yes
+ ;;
+esac
+
+if test "x$linux_scsi" = "xno" ; then
+ DO_NOT_COMPILE="$DO_NOT_COMPILE k3b"
+fi
+AC_LANG_RESTORE
+
+dnl - find the cam_* functions
+AC_CHECK_FUNC(cam_close_device,
+ [CAM_LIB=""],
+ [AC_CHECK_LIB(cam, cam_close_device, [CAM_LIB=-lcam], [CAM_LIB=""])]
+ )
+AC_SUBST(CAM_LIB)
+
+
+
+dnl === check for resmgr - begin ============
+AC_ARG_WITH(
+ resmgr,
+ AS_HELP_STRING([--without-resmgr], [build K3b without ResMgr support (default=no)]),
+ [ac_cv_use_resmgr=$withval],
+ [ac_cv_use_resmgr=yes]
+)
+
+if test "$ac_cv_use_resmgr" = "yes"; then
+ RESMGR_LIB=""
+ KDE_CHECK_HEADERS(resmgr.h, [
+ KDE_CHECK_LIB(resmgr,rsm_open_device,[
+ RESMGR_LIB="-lresmgr"
+ AC_DEFINE(HAVE_RESMGR,1,[defined if you have resmgr libraries and headers])
+ ])
+ ])
+ AC_SUBST(RESMGR_LIB)
+fi
+dnl === check for resmgr - end ============
+
+
+
+
+
+# HAL check from kdebase/kioslave/media
+
+AC_ARG_WITH(
+ hal,
+ AS_HELP_STRING(
+ [--without-hal],
+ [build K3b without HAL support (default=no)]),
+ [ac_cv_use_hal=$withval],
+ [ac_cv_use_hal=yes]
+)
+
+if test "x$ac_cv_use_hal" = "xyes" ; then
+
+########### Check for the HAL
+
+ AC_MSG_CHECKING(for the HAL)
+
+ hal_inc=NOTFOUND
+ hal_lib=NOTFOUND
+ hal=NOTFOUND
+
+ search_incs="$kde_includes /usr/include /usr/include/hal /usr/local/include /usr/local/include/hal"
+ AC_FIND_FILE(libhal.h libhal-storage.h, $search_incs, hal_incdir)
+
+ if [test -r $hal_incdir/libhal.h] ; then
+ HAL_INCS="-I$hal_incdir"
+ hal_inc=FOUND
+ fi
+
+ if test -r $hal_incdir/libhal-storage.h ; then
+ hal_storage_version=4
+ grep LibHalVolume $hal_incdir/libhal-storage.h \
+ > /dev/null 2>&1 && hal_storage_version=5
+ if test $hal_storage_version = 4 ; then
+ AC_DEFINE(HAL_0_4, , [HAL API version 0.4])
+ fi
+ fi
+
+ search_libs="$kde_libraries /usr/lib64 /usr/lib /usr/local/lib /lib /lib64"
+ AC_FIND_FILE(libhal.so, $search_libs, hal_libdir)
+
+ if [test -r $hal_libdir/libhal.so] ; then
+ HAL_LIBS="-L$hal_libdir -lhal"
+ hal_lib=FOUND
+ fi
+
+
+ if [test $hal_inc = FOUND] && [test $hal_lib = FOUND] ; then
+ AC_MSG_RESULT(headers $hal_incdir libraries $hal_libdir)
+ hal=FOUND
+ else
+ AC_MSG_RESULT(searched but not found)
+ fi
+
+ AC_SUBST(HAL_INCS)
+ AC_SUBST(HAL_LIBS)
+
+
+########### Check for DBus
+
+ AC_MSG_CHECKING(for DBus)
+
+ dbus_inc=NOTFOUND
+ dbus_lib=NOTFOUND
+ dbus=NOTFOUND
+
+ search_incs="$kde_includes /usr/include /usr/include/dbus-1.0 /usr/local/include /usr/local/include/dbus-1.0"
+ AC_FIND_FILE(dbus/dbus.h, $search_incs, dbus_incdir)
+
+ search_incs_arch_deps="$kde_includes /usr/lib64/dbus-1.0/include /usr/lib/dbus-1.0/include /usr/local/lib/dbus-1.0/include"
+ AC_FIND_FILE(dbus/dbus-arch-deps.h, $search_incs_arch_deps, dbus_incdir_arch_deps)
+
+ if [test -r $dbus_incdir/dbus/dbus.h] && [test -r $dbus_incdir_arch_deps/dbus/dbus-arch-deps.h] ; then
+ DBUS_INCS="-I$dbus_incdir -I$dbus_incdir_arch_deps"
+ dbus_inc=FOUND
+ fi
+
+ search_libs="$kde_libraries /usr/lib64 /usr/lib /usr/local/lib /lib /lib64"
+ AC_FIND_FILE(libdbus-1.so, $search_libs, dbus_libdir)
+
+ if test -r $dbus_libdir/libdbus-1.so ; then
+ DBUS_LIBS="-L$dbus_libdir -ldbus-1"
+ dbus_lib=FOUND
+ fi
+
+ if [test $dbus_inc = FOUND] && [test $dbus_lib = FOUND] ; then
+ AC_MSG_RESULT(headers $dbus_incdir $dbus_incdir_arch_deps libraries $dbus_libdir)
+ dbus=FOUND
+ else
+ AC_MSG_RESULT(searched but not found)
+ fi
+
+ AC_SUBST(DBUS_INCS)
+ AC_SUBST(DBUS_LIBS)
+
+########### Check for DBus-Qt bindings
+
+ AC_MSG_CHECKING(for DBus-Qt bindings)
+
+ dbusqt_inc=NOTFOUND
+ dbusqt_lib=NOTFOUND
+ dbusqt=NOTFOUND
+
+ search_incs="$kde_includes /usr/include /usr/include/dbus-1.0 /usr/local/include /usr/local/include/dbus-1.0"
+ AC_FIND_FILE(dbus/connection.h, $search_incs, dbusqt_incdir)
+
+ if test -r $dbusqt_incdir/dbus/connection.h ; then
+ have_qt_patch=0
+ grep dbus_connection_setup_with_qt_main $dbusqt_incdir/dbus/connection.h \
+ > /dev/null 2>&1 && have_qt_patch=1
+ if test $have_qt_patch = 1 ; then
+ DBUSQT_INCS="-I$dbusqt_incdir"
+ dbusqt_inc=FOUND
+ fi
+ fi
+
+ search_libs="$kde_libraries /usr/lib /usr/lib64 /usr/local/lib"
+ AC_FIND_FILE(libdbus-qt-1.so, $search_libs, dbusqt_libdir)
+
+ if test -r $dbusqt_libdir/libdbus-qt-1.so ; then
+ DBUSQT_LIBS="-L$dbusqt_libdir -ldbus-qt-1"
+ dbusqt_lib=FOUND
+ fi
+
+ if [test $dbusqt_inc = FOUND] && [test $dbusqt_lib = FOUND] ; then
+ AC_MSG_RESULT(headers $dbusqt_incdir libraries $dbusqt_libdir)
+ dbusqt=FOUND
+ else
+ AC_MSG_RESULT(searched but not found)
+ fi
+
+ AC_SUBST(DBUSQT_INCS)
+ AC_SUBST(DBUSQT_LIBS)
+fi
+
+########### Check if media HAL backend sould be compiled
+
+have_hal=no
+HAL_DBUS_LIBS=""
+if [test "x$hal" = "xFOUND"] && [test "x$dbus" = "xFOUND"] && [test "x$dbusqt" = "xFOUND"] && [ test $hal_storage_version = 5 ] ; then
+ AC_DEFINE(HAVE_HAL, , [compile in HAL support])
+ have_hal=yes
+ HAL_DBUS_LIBS="$HAL_LIBS $DBUS_LIBS $DBUSQT_LIBS"
+fi
+
+AM_CONDITIONAL(include_HAL, [test x$have_hal = xyes])
+AC_SUBST(HAL_DBUS_LIBS)
+
+dnl =======================================================
+dnl FILE: ./plugins/audiooutput/alsa/configure.in.in
+dnl =======================================================
+
+dnl --------- ALSA CHECK BEGIN -------------
+
+AC_DEFUN([KDE_CHECK_ALSA],
+[
+ PKG_CHECK_MODULES([ALSA], [alsa >= 0.9], [have_alsa=yes], [have_alsa=no])
+ AC_SUBST([ALSA_CFLAGS])
+ AC_SUBST([ALSA_LIBS])
+])
+
+AC_ARG_WITH(alsa,
+ [AS_HELP_STRING(--with-alsa,
+ [enable support for ALSA output @<:@default=check@:>@])],
+ [], with_alsa=check)
+
+have_alsa=no
+if test "x$with_alsa" != xno; then
+ KDE_CHECK_ALSA
+
+ if test "x$with_alsa" != xcheck && test "x$have_alsa" != xyes; then
+ AC_MSG_FAILURE([--with-alsa was given, but test for ALSA failed])
+ fi
+fi
+
+AM_CONDITIONAL(include_ALSA, [test "x$have_alsa" = "xyes"])
+
+dnl --------- ALSA CHECK END ---------------
+dnl =======================================================
+dnl FILE: ./plugins/decoder/ffmpeg/configure.in.in
+dnl =======================================================
+
+dnl --------------- FFMPEG CHECK ---------------------------------
+
+AC_ARG_WITH(
+ ffmpeg,
+ AS_HELP_STRING(
+ [--without-ffmpeg],
+ [build K3b without ffmpeg audio decoder support (default=no)]),
+ [ac_cv_use_ffmpeg=$withval],
+ [ac_cv_use_ffmpeg=yes]
+)
+
+#
+# The ffmpeg decoder plugin needs ffmpeg 0.4.9 or higher
+#
+have_ffmpeg=no
+if test "$ac_cv_use_ffmpeg" = "yes"; then
+ k3b_cxxflags_save="$CXXFLAGS"
+ CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS"
+ AC_MSG_CHECKING(for ffmpeg >= 0.4.9)
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_COMPILE_IFELSE(
+ extern "C" {
+ #include <ffmpeg/avformat.h>
+ #include <ffmpeg/avcodec.h>
+ }
+
+ int main() {
+ AVFormatContext* fc = 0;
+ AVPacket* p = 0;
+ av_register_all();
+ return av_read_frame( fc, p );
+ },
+ [ffmpeg_compiles=yes], [ffmpeg_compiles=no] )
+ OLD_LIBS=$LIBS
+ LIBS="-lavformat -lavcodec $LIBS"
+ AC_LINK_IFELSE(
+ extern "C" {
+ #include <ffmpeg/avformat.h>
+ #include <ffmpeg/avcodec.h>
+ }
+
+ int main() {
+ AVFormatContext* fc = 0;
+ AVPacket* p = 0;
+ av_register_all();
+ return av_read_frame( fc, p );
+ },
+ [ffmpeg_links=yes], [ffmpeg_links=no] )
+ AC_LANG_RESTORE
+ LIBS=$OLD_LIBS
+ have_ffmpeg=$ffmpeg_links
+ AC_MSG_RESULT($have_ffmpeg)
+ CXXFLAGS=$k3b_cxxflags_save
+fi
+AM_CONDITIONAL(include_FFMPEG, [test x$have_ffmpeg = xyes])
+
+dnl --------------- FFMPEG CHECK END ------------------------------
+
+AC_ARG_ENABLE(
+ ffmpeg-all-codecs,
+ AS_HELP_STRING(
+ [--enable-ffmpeg-all-codecs],
+ [Build K3b's ffmeg decoder plugin with all audio codecs enabled (default=disabled)]),
+ [AC_DEFINE(K3B_FFMPEG_ALL_CODECS, 1, [Defined if all ffmpeg codecs should be allowed])
+ enable_ffmpeg_all_codecs=yes],
+ [enable_ffmpeg_all_codecs=no]
+)
+dnl =======================================================
+dnl FILE: ./plugins/decoder/flac/configure.in.in
+dnl =======================================================
+
+dnl === test for FLAC++ and FLAC - begin ====
+AC_ARG_WITH(
+ flac,
+ AS_HELP_STRING([--without-flac], [build K3b without FLAC support (default=no)]),
+ [ac_cv_use_flac=$withval],
+ [ac_cv_use_flac=yes]
+)
+
+have_flac=no
+if test "$ac_cv_use_flac" = "yes"; then
+ KDE_CHECK_HEADERS(FLAC++/decoder.h, [
+ AC_CHECK_LIB(FLAC,FLAC__stream_decoder_process_single,
+ have_flac=yes,[],$all_libraries)])
+
+ AC_MSG_CHECKING(for libFLAC newer than 1.1.1)
+ AC_CACHE_VAL(k3b_flac_new,
+ [
+ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_TRY_COMPILE(
+ [
+ #include <FLAC++/metadata.h>
+ ], [
+ FLAC::Metadata::VorbisComment* vc;
+ vc->get_vendor_string().get_field();
+ ], k3b_flac_new=no, k3b_flac_new=yes )
+ AC_LANG_RESTORE
+ ])
+ AC_MSG_RESULT($k3b_flac_new)
+ if test $k3b_flac_new = yes; then
+ AC_DEFINE(FLAC_NEWER_THAN_1_1_1,
+ 1,
+ [Define to 1 if your flac library's version is newer than or equal to 1.1.2]
+ )
+ fi
+else
+ have_flac=no
+fi
+
+AM_CONDITIONAL(include_FLAC, [test x$have_flac = xyes])
+dnl === test for FLAC++ and FLAC - end ====
+dnl =======================================================
+dnl FILE: ./plugins/decoder/libsndfile/configure.in.in
+dnl =======================================================
+
+dnl === test for libsndfile - begin ===
+dnl
+dnl Don't use PKG_CHECK, since if there is no pkg-config installed,
+dnl then there is no auto* magic for it either.
+dnl
+dnl Tests copied from kdebase/kioslave/thumbnail/
+dnl
+if test -z "$PKG_CONFIG"; then
+ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+fi
+
+AC_ARG_WITH(
+ sndfile,
+ AS_HELP_STRING([--without-sndfile],
+ [build K3b without libsndfile support (default=no)]),
+ [ac_cv_use_sndfile=$withval],
+ [ac_cv_use_sndfile=yes]
+)
+
+if test "$ac_cv_use_sndfile" = "yes"; then
+ SNDFILE_CFLAGS=""
+ SNDFILE_LIBS=""
+ if test "$PKG_CONFIG" = "no" ; then
+ ac_cv_sndfile=0
+ echo "*** The pkg-config script could not be found. Make sure it is"
+ echo "*** in your path, or set the PKG_CONFIG environment variable"
+ echo "*** to the full path to pkg-config."
+ echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
+ else
+ if !(`$PKG_CONFIG --exists sndfile`) ; then
+ echo "*** sndfile is not installed."
+ ac_cv_sndfile=0
+ else
+ if !(`$PKG_CONFIG --atleast-version="1.0.2" sndfile`) ; then
+ echo "*** You need at least version 1.0.2 of sndfile."
+ ac_cv_sndfile=0
+ else
+ ac_cv_sndfile=1
+ SNDFILE_CFLAGS=`$PKG_CONFIG --cflags sndfile`
+ SNDFILE_LIBS=`$PKG_CONFIG --libs sndfile`
+ fi
+ fi
+ fi
+
+ AC_DEFINE_UNQUOTED([HAVE_SNDFILE],${ac_cv_sndfile},
+ [Set to 1 if you have libsndfile.])
+ AC_SUBST(SNDFILE_CFLAGS)
+ AC_SUBST(SNDFILE_LIBS)
+fi
+
+AM_CONDITIONAL(include_AIFF, [test x$ac_cv_sndfile = x1])
+dnl === test for libsndfile - end ===
+dnl =======================================================
+dnl FILE: ./plugins/decoder/mp3/configure.in.in
+dnl =======================================================
+
+dnl === libmad MPEG decoder check - begin ===
+AC_ARG_WITH(
+ libmad,
+ AS_HELP_STRING([--without-libmad], [build K3b without libmad support (default=no)]),
+ [ac_cv_use_libmad=$withval],
+ [ac_cv_use_libmad=yes]
+)
+
+if test "$ac_cv_use_libmad" = "yes"; then
+ MAD_LIB=""
+ KDE_CHECK_HEADER(mad.h, [
+ AC_CHECK_LIB(mad, mad_synth_frame, [
+ MAD_LIB="-lmad"
+ AC_DEFINE(HAVE_LIBMAD,1,[defined if you have libmad headers and libraries])],
+ [],
+ $all_libraries
+ )
+ ])
+ AC_SUBST(MAD_LIB)
+
+fi
+
+AM_CONDITIONAL(include_MP3, [test -n "$MAD_LIB"])
+dnl === libmad MPeg decoder check - end ===
+dnl =======================================================
+dnl FILE: ./plugins/decoder/musepack/configure.in.in
+dnl =======================================================
+
+dnl --------- MUSEPACK CHECK ---------------
+
+AC_ARG_WITH(
+ musepack,
+ AS_HELP_STRING(
+ [--without-musepack],
+ [build K3b without Musepack audio support (default=no)]),
+ [ac_cv_use_mpc=$withval],
+ [ac_cv_use_mpc=yes]
+)
+
+have_mpc=no
+if test "$ac_cv_use_mpc" = "yes"; then
+
+ dnl - search for both the new and the old naming -
+
+ KDE_CHECK_HEADERS(mpcdec/mpcdec.h, [
+ AC_CHECK_LIB(mpcdec, mpc_decoder_setup, [
+ have_mpc=yes
+ MPC_LIBS="-lmpcdec"
+ AC_DEFINE(
+ MPC_HEADER_FILE,
+ <mpcdec/mpcdec.h>,
+ [The header to include for MPC decoding.])
+ ],
+ [], [], [])
+ ])
+
+ if test "$have_mpc" = "no"; then
+ KDE_CHECK_HEADERS(musepack/musepack.h, [
+ AC_CHECK_LIB(musepack, mpc_decoder_setup, [
+ have_mpc=yes
+ MPC_LIBS="-lmusepack"
+ AC_DEFINE(
+ MPC_HEADER_FILE,
+ <musepack/musepack.h>,
+ [The header to include for MPC decoding.]
+ )
+ AC_DEFINE(
+ mpc_bool_t,
+ BOOL,
+ [backwards compatibility stuff]
+ )
+ ], [], [])
+ ])
+ fi
+fi
+AC_SUBST(MPC_LIBS)
+
+AM_CONDITIONAL(include_MPC, [test x$have_mpc = xyes])
+
+dnl --------- MUSEPACK CHECK END -----------
+dnl =======================================================
+dnl FILE: ./plugins/decoder/ogg/configure.in.in
+dnl =======================================================
+
+dnl === Ogg Vorbis Test - Begin ===
+AC_ARG_WITH(
+ oggvorbis,
+ AS_HELP_STRING([--without-oggvorbis], [build K3b without OggVorbis support (default=no)]),
+ [ac_cv_use_oggvorbis=$withval],
+ [ac_cv_use_oggvorbis=yes]
+)
+
+if test "$ac_cv_use_oggvorbis" = "yes"; then
+
+ AC_MSG_CHECKING(for ogg/vorbis headers)
+ ogg_vorbis=no
+ AC_TRY_COMPILE([
+ #include <vorbis/codec.h>
+ #include <vorbis/vorbisfile.h>
+ ],[
+ ],[
+ ogg_vorbis=yes
+ ])
+ AC_MSG_RESULT($ogg_vorbis)
+ if test x$ogg_vorbis = xyes; then
+ dnl we need the ogg_vorbis_lib because otherwise we override LIBS !
+ AC_CHECK_LIB(vorbisfile,ov_open,ogg_vorbis_lib=yes,
+ ogg_vorbis=no,[$all_libraries -lvorbisfile -lvorbis -logg])
+ fi
+ if test x$ogg_vorbis = xyes; then
+ AC_DEFINE(OGG_VORBIS,1,[Define if you have ogg/vorbis installed])
+ fi
+fi
+
+AM_CONDITIONAL(include_OGG, [test x$ogg_vorbis = xyes])
+dnl === Ogg Vorbis Test - End ===
+dnl =======================================================
+dnl FILE: ./plugins/encoder/lame/configure.in.in
+dnl =======================================================
+
+dnl === test for LAME - begin ====
+AC_ARG_WITH(
+ lame,
+ AS_HELP_STRING([--without-lame], [build K3b without LAME support (default=no)]),
+ [ac_cv_use_lame=$withval],
+ [ac_cv_use_lame=yes]
+)
+
+have_lame=no
+if test "$ac_cv_use_lame" = "yes"; then
+ KDE_CHECK_HEADERS(lame/lame.h, [
+ AC_CHECK_LIB(mp3lame, lame_init, [
+ have_lame=yes
+ AC_DEFINE(HAVE_LAME,1,[defined if you have the lame header and lib])
+ ], [], $all_libraries -lm)
+ ])
+fi
+
+AM_CONDITIONAL(include_LAME, [test x$have_lame = xyes])
+dnl === test for LAME - end ====
+dnl =======================================================
+dnl FILE: ./src/fastscale/configure.in.in
+dnl =======================================================
+
+#
+# Imlib/Mosfet scaling
+#
+AM_PROG_AS
+
+# MMX test duped from kdelibs/kdefx - it should be probably moved to admin/
+dnl -----------------------------------------------------
+dnl IA32 checks
+dnl -----------------------------------------------------
+
+gv_asm_defs=
+case $host_cpu in
+ i*86 )
+ AC_MSG_CHECKING(for assembler support for IA32 extensions)
+
+ dnl MMX check
+ AC_TRY_COMPILE(, [ __asm__("pxor %mm0, %mm0") ],
+ [
+ echo $ECHO_N "MMX yes$ECHO_C"
+ AC_DEFINE_UNQUOTED(HAVE_X86_MMX, 1, [Define to 1 if the assembler supports MMX instructions.])
+ gv_asm_defs="$gv_asm_defs -DHAVE_X86_MMX"
+ ], [ echo $ECHO_N "MMX no$ECHO_C" ])
+
+ dnl SSE check
+ AC_TRY_COMPILE(,[ __asm__("xorps %xmm0, %xmm0") ],
+ [
+ echo $ECHO_N ", SSE yes$ECHO_C"
+ AC_DEFINE_UNQUOTED(HAVE_X86_SSE, 1, [Define to 1 if the assembler supports SSE instructions.])
+ gv_asm_defs="$gv_asm_defs -DHAVE_X86_SSE"
+ ], [ echo $ECHO_N ", SSE no$ECHO_C" ])
+
+ dnl SSE2 check
+ AC_TRY_COMPILE(, [ __asm__("xorpd %xmm0, %xmm0") ],
+ [
+ echo $ECHO_N ", SSE2 yes$ECHO_C"
+ AC_DEFINE_UNQUOTED(HAVE_X86_SSE2, 1, [Define to 1 if the assembler supports SSE2 instructions.])
+ gv_asm_defs="$gv_asm_defs -DHAVE_X86_SSE2"
+ ], [ echo $ECHO_N ", SSE2 no$ECHO_C" ])
+
+ dnl 3DNOW check
+ AC_TRY_COMPILE(, [ __asm__("femms") ],
+ [
+ echo $ECHO_N ", 3DNOW yes$ECHO_C"
+ AC_DEFINE_UNQUOTED(HAVE_X86_3DNOW, 1, [Define to 1 if the assembler supports 3DNOW instructions.])
+ gv_asm_defs="$gv_asm_defs -DHAVE_X86_3DNOW"
+ ], [ echo $ECHO_N ", 3DNOW no$ECHO_C" ])
+ echo
+ ;;
+ powerpc )
+ AC_MSG_CHECKING(for assembler support for AltiVec instructions)
+ dnl AltiVec check
+ AC_TRY_COMPILE(, [ __asm__("mtspr 256, %0\n\t" "vand %%v0, %%v0, %%v0" : : "r"(-1) ) ],
+ [
+ echo $ECHO_N " yes$ECHO_C"
+ AC_DEFINE_UNQUOTED(HAVE_PPC_ALTIVEC, 1, [Define to 1 if the assembler supports AltiVec instructions.])
+ gv_asm_defs="$gv_asm_defs -DHAVE_PPC_ALTIVEC"
+ ], [ echo $ECHO_N ", AltiVec no$ECHO_C" ])
+ echo
+ ;;
+esac
+
+GV_ASM_DEFS="$gv_asm_defs"
+AC_SUBST(GV_ASM_DEFS)
+KDE_CREATE_SUBDIRSLIST
+AC_CONFIG_FILES([ Makefile ])
+AC_CONFIG_FILES([ doc/Makefile ])
+AC_CONFIG_FILES([ k3bsetup/Makefile ])
+AC_CONFIG_FILES([ kfile-plugins/Makefile ])
+AC_CONFIG_FILES([ kfile-plugins/k3bproject/Makefile ])
+AC_CONFIG_FILES([ kioslaves/Makefile ])
+AC_CONFIG_FILES([ kioslaves/videodvd/Makefile ])
+AC_CONFIG_FILES([ libk3b/Makefile ])
+AC_CONFIG_FILES([ libk3b/cddb/Makefile ])
+AC_CONFIG_FILES([ libk3b/core/Makefile ])
+AC_CONFIG_FILES([ libk3b/jobs/Makefile ])
+AC_CONFIG_FILES([ libk3b/plugin/Makefile ])
+AC_CONFIG_FILES([ libk3b/plugin/libsamplerate/Makefile ])
+AC_CONFIG_FILES([ libk3b/projects/Makefile ])
+AC_CONFIG_FILES([ libk3b/projects/audiocd/Makefile ])
+AC_CONFIG_FILES([ libk3b/projects/datacd/Makefile ])
+AC_CONFIG_FILES([ libk3b/projects/datadvd/Makefile ])
+AC_CONFIG_FILES([ libk3b/projects/mixedcd/Makefile ])
+AC_CONFIG_FILES([ libk3b/projects/movixcd/Makefile ])
+AC_CONFIG_FILES([ libk3b/projects/movixdvd/Makefile ])
+AC_CONFIG_FILES([ libk3b/projects/videocd/Makefile ])
+AC_CONFIG_FILES([ libk3b/projects/videocd/cdi/Makefile ])
+AC_CONFIG_FILES([ libk3b/projects/videocd/extra/Makefile ])
+AC_CONFIG_FILES([ libk3b/projects/videocd/mpeginfo/Makefile ])
+AC_CONFIG_FILES([ libk3b/projects/videodvd/Makefile ])
+AC_CONFIG_FILES([ libk3b/scripts/Makefile ])
+AC_CONFIG_FILES([ libk3b/tools/Makefile ])
+AC_CONFIG_FILES([ libk3b/tools/libisofs/Makefile ])
+AC_CONFIG_FILES([ libk3b/videodvd/Makefile ])
+AC_CONFIG_FILES([ libk3bdevice/Makefile ])
+AC_CONFIG_FILES([ plugins/Makefile ])
+AC_CONFIG_FILES([ plugins/audiooutput/Makefile ])
+AC_CONFIG_FILES([ plugins/audiooutput/alsa/Makefile ])
+AC_CONFIG_FILES([ plugins/audiooutput/arts/Makefile ])
+AC_CONFIG_FILES([ plugins/decoder/Makefile ])
+AC_CONFIG_FILES([ plugins/decoder/ffmpeg/Makefile ])
+AC_CONFIG_FILES([ plugins/decoder/flac/Makefile ])
+AC_CONFIG_FILES([ plugins/decoder/libsndfile/Makefile ])
+AC_CONFIG_FILES([ plugins/decoder/mp3/Makefile ])
+AC_CONFIG_FILES([ plugins/decoder/musepack/Makefile ])
+AC_CONFIG_FILES([ plugins/decoder/ogg/Makefile ])
+AC_CONFIG_FILES([ plugins/decoder/wave/Makefile ])
+AC_CONFIG_FILES([ plugins/encoder/Makefile ])
+AC_CONFIG_FILES([ plugins/encoder/external/Makefile ])
+AC_CONFIG_FILES([ plugins/encoder/lame/Makefile ])
+AC_CONFIG_FILES([ plugins/encoder/ogg/Makefile ])
+AC_CONFIG_FILES([ plugins/encoder/sox/Makefile ])
+AC_CONFIG_FILES([ plugins/project/Makefile ])
+AC_CONFIG_FILES([ plugins/project/audiometainforenamer/Makefile ])
+AC_CONFIG_FILES([ plugins/project/audioprojectcddb/Makefile ])
+AC_CONFIG_FILES([ src/Makefile ])
+AC_CONFIG_FILES([ src/fastscale/Makefile ])
+AC_CONFIG_FILES([ src/icons/Makefile ])
+AC_CONFIG_FILES([ src/icons/actions/Makefile ])
+AC_CONFIG_FILES([ src/konqi/Makefile ])
+AC_CONFIG_FILES([ src/mimetypes/Makefile ])
+AC_CONFIG_FILES([ src/misc/Makefile ])
+AC_CONFIG_FILES([ src/option/Makefile ])
+AC_CONFIG_FILES([ src/pics/Makefile ])
+AC_CONFIG_FILES([ src/pics/73lab/Makefile ])
+AC_CONFIG_FILES([ src/pics/RobsTheme/Makefile ])
+AC_CONFIG_FILES([ src/pics/crystal/Makefile ])
+AC_CONFIG_FILES([ src/pics/quant/Makefile ])
+AC_CONFIG_FILES([ src/projects/Makefile ])
+AC_CONFIG_FILES([ src/projects/kostore/Makefile ])
+AC_CONFIG_FILES([ src/rip/Makefile ])
+AC_CONFIG_FILES([ src/rip/videodvd/Makefile ])
+AC_CONFIG_FILES([ src/sounds/Makefile ])
+AC_OUTPUT
+echo ""
+
+echo "K3b - Include libdvdread (Video DVD ripping) support:"
+if test "$have_libdvdread" = "yes"; then
+ echo "K3b - yes"
+else
+ echo "K3b - no"
+ if test "$ac_cv_use_libdvdread" = "yes"; then
+ echo "K3b - You are missing the libdvdread library."
+ fi
+fi
+echo ""
+
+if test -n "$RESMGR_LIB"; then
+ echo "K3b - Resmgr support: yes"
+else
+ echo "K3b - Resmgr support: no"
+fi
+
+echo ""
+
+
+if test x$have_hal = xyes; then
+ echo "K3b - Compile HAL support yes"
+else
+ echo "K3b - Compile HAL support no"
+if test "x$ac_cv_use_hal" = "xyes" ; then
+ echo "K3b - You are missing the HAL >= 0.5 headers and libraries"
+ echo "K3b - or the DBus Qt bindings."
+fi
+fi
+echo ""
+
+if test "x$have_alsa" = xyes; then
+ echo "K3b - Audioplayer available (alsa) yes"
+else
+ echo "K3b - Audioplayer available (alsa) no"
+fi
+echo ""
+
+echo "K3b - FFMpeg decoder plugin (decodes wma and others):"
+if test x$have_ffmpeg = xyes; then
+ echo "K3b - yes"
+ if test x$enable_ffmpeg_all_codecs = xyes; then
+ echo "K3b - WARNING: You enabled all codecs in the ffmpeg decoder plugin."
+ echo "K3b - Be aware that most are not tested and track lengths"
+ echo "K3b - will be wrong in many cases."
+ fi
+else
+ echo "K3b - no"
+if test "$ac_cv_use_ffmpeg" = "yes"; then
+ if test "$ffmpeg_compiles" = "yes"; then
+ echo "K3b - You are missing the ffmpeg libraries."
+ echo "K3b - Make sure ffmpeg has been configured as a"
+ echo "K3b - shared library (which is not the default)."
+ else
+ echo "K3b - You are missing the ffmpeg headers and libraries"
+ echo "K3b - version 0.4.9 or higher."
+ fi
+ echo "K3b - The ffmpeg audio decoding plugin (decodes wma and"
+ echo "K3b - others) won't be compiled."
+fi
+fi
+echo ""
+
+if test x$have_flac = xyes; then
+ echo "K3b - FLAC support: yes"
+else
+ echo "K3b - FLAC support: no"
+if test "$ac_cv_use_flac" = "yes"; then
+ if test "$have_flac" = "no"; then
+ echo "K3b - You are missing the FLAC++ headers and libraries."
+ echo "K3b - The FLAC decoding plugin won't be compiled."
+ fi
+fi
+fi
+echo ""
+
+if $av_cv_sndfile; then
+ echo "K3b - libsndfile audio decoding support: yes"
+else
+ echo "K3b - libsndfile audio decoding support: no"
+if test "$ac_cv_use_sndfile" = "yes"; then
+ echo "K3b - You are missing the libsndfile headers and libraries."
+ echo "K3b - The libsndfile audio decoding plugin won't be compiled."
+fi
+fi
+echo ""
+
+if test -n "$MAD_LIB"; then
+ echo "K3b - Mp3 decoding support (libmad): yes"
+else
+ echo "K3b - Mp3 decoding support (libmad): no"
+if test "$ac_cv_use_libmad" = "yes"; then
+ echo "K3b - You are missing the libmad headers and libraries."
+ echo "K3b - The Mp3 decoding plugin won't be compiled."
+fi
+fi
+echo ""
+
+if test x$have_mpc = xyes; then
+ echo "K3b - Musepack support: yes"
+else
+ echo "K3b - Musepack support: no"
+if test "$ac_cv_use_mpc" = "yes"; then
+ echo "K3b - You are missing the Musepack headers and libraries >= 1.1."
+ echo "K3b - The Musepack audio decoding plugin won't be compiled."
+fi
+fi
+
+echo ""
+
+if test x$ogg_vorbis = xyes; then
+ echo "K3b - Ogg Vorbis support: yes"
+else
+ echo "K3b - Ogg Vorbis support: no"
+if test "$ac_cv_use_oggvorbis" = "yes"; then
+ echo "K3b - You are missing the Ogg-Vorbis headers and libraries."
+ echo "K3b - The Ogg Vorbis decoding and encoding plugins won't be compiled."
+fi
+fi
+echo ""
+
+if test x$have_lame = xyes; then
+ echo "K3b - Lame Mp3 encoder plugin: yes"
+else
+ echo "K3b - Lame Mp3 encoder plugin no"
+if test "$ac_cv_use_lame" = "yes"; then
+ echo "K3b - You are missing the Lame headers and libraries."
+ echo "K3b - The Lame Mp3 encoding plugin won't be compiled."
+fi
+fi
+echo ""
+
+if test "$use_k3b_debug" = "yes"; then
+ echo ""
+ echo "K3b - K3B DEBUGGING ENABLED! THIS ENABLES ADDITIONAL DEBUGGING OUTPUT"
+ echo "K3b - AND FUNCTIONALITY WHICH IS ONLY INTENDED FOR K3B DEVELOPERS!"
+ echo "K3b - THIS MAY EVEN SLOW DOWN K3B IN SOME PLACES!"
+ echo ""
+fi
+
+if test "$cdrecord_suid_root" != "yes"; then
+ echo ""
+ echo "K3b - Suid root test for cdrecord, cdrdao, and wodim deactivated"
+ echo "K3b - This is NOT recommended although it might work out fine ;)"
+ echo ""
+fi
+
+if $have_taglib; then
+ echo "K3b - Audio meta data reading with Taglib: yes"
+else
+ echo "K3b - Audio meta data reading with Taglib: no"
+ echo "K3b - You are missing the Taglib headers and libraries."
+ echo "K3b - The mp3 and flac decoder plugins will fall back to"
+ echo "K3b - using KMetaFileInfo."
+fi
+
+echo ""
+
+echo "K3b - Audio resampling:"
+if test -n "$LIBSAMPLERATE"; then
+ echo "K3b - using installed version"
+else
+ echo "K3b - using version bundled with K3b"
+fi
+
+echo ""
+
+if test x$arts_available = xyes; then
+ echo "K3b - Audioplayer available (aRts) yes"
+else
+ echo "K3b - Audioplayer available (aRts) no"
+fi
+
+echo ""
+
+if test x$compile_k3bsetup = xyes; then
+ echo "K3b - Compile K3bSetup 2: yes"
+else
+ echo "K3b - Compile K3bSetup 2: no"
+fi
+
+echo ""
+
+if $have_mb; then
+ echo "K3b - Tag guessing using MusicBrainz yes"
+else
+ echo "K3b - Tag guessing using MusicBrainz no"
+if test "$ac_cv_use_musicbrainz" = "yes"; then
+ echo "K3b - You are missing the musicbrainz headers and libraries."
+ echo "K3b - K3b will be compiled without support for tag guessing."
+fi
+fi
+# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
+if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
+ # And if so, warn when they don't match
+ if test "$kde_libs_prefix" != "$given_prefix"; then
+ # And if kde doesn't know about the prefix yet
+ echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
+ if test $? -ne 0; then
+ echo ""
+ echo "Warning: you chose to install this package in $given_prefix,"
+ echo "but KDE was found in $kde_libs_prefix."
+ echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
+ echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
+ echo "Then restart KDE."
+ echo ""
+ fi
+ fi
+fi
+
+if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
+ echo ""
+ echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
+ echo "was not included. Therefore, GCC symbol visibility support remains disabled."
+ echo ""
+ echo "For better performance, consider including the Qt visibility supporting patch"
+ echo "located at:"
+ echo ""
+ echo "http://bugs.kde.org/show_bug.cgi?id=109386"
+ echo ""
+ echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
+ echo "everything will continue to work just fine without it."
+ echo ""
+fi
+
+if test "$all_tests" = "bad"; then
+ if test ! "$cache_file" = "/dev/null"; then
+ echo ""
+ echo "Please remove the file $cache_file after changing your setup"
+ echo "so that configure will find the changes next time."
+ echo ""
+ fi
+else
+ echo ""
+ echo "Good - your configure finished. Start make now"
+ echo ""
+fi
Added: kde-extras/k3b/k3b/branches/upstream/current/configure.in.bot
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/configure.in.bot (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/configure.in.bot 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,62 @@
+echo ""
+
+if test "$use_k3b_debug" = "yes"; then
+ echo ""
+ echo "K3b - K3B DEBUGGING ENABLED! THIS ENABLES ADDITIONAL DEBUGGING OUTPUT"
+ echo "K3b - AND FUNCTIONALITY WHICH IS ONLY INTENDED FOR K3B DEVELOPERS!"
+ echo "K3b - THIS MAY EVEN SLOW DOWN K3B IN SOME PLACES!"
+ echo ""
+fi
+
+if test "$cdrecord_suid_root" != "yes"; then
+ echo ""
+ echo "K3b - Suid root test for cdrecord, cdrdao, and wodim deactivated"
+ echo "K3b - This is NOT recommended although it might work out fine ;)"
+ echo ""
+fi
+
+if $have_taglib; then
+ echo "K3b - Audio meta data reading with Taglib: yes"
+else
+ echo "K3b - Audio meta data reading with Taglib: no"
+ echo "K3b - You are missing the Taglib headers and libraries."
+ echo "K3b - The mp3 and flac decoder plugins will fall back to"
+ echo "K3b - using KMetaFileInfo."
+fi
+
+echo ""
+
+echo "K3b - Audio resampling:"
+if test -n "$LIBSAMPLERATE"; then
+ echo "K3b - using installed version"
+else
+ echo "K3b - using version bundled with K3b"
+fi
+
+echo ""
+
+if test x$arts_available = xyes; then
+ echo "K3b - Audioplayer available (aRts) yes"
+else
+ echo "K3b - Audioplayer available (aRts) no"
+fi
+
+echo ""
+
+if test x$compile_k3bsetup = xyes; then
+ echo "K3b - Compile K3bSetup 2: yes"
+else
+ echo "K3b - Compile K3bSetup 2: no"
+fi
+
+echo ""
+
+if $have_mb; then
+ echo "K3b - Tag guessing using MusicBrainz yes"
+else
+ echo "K3b - Tag guessing using MusicBrainz no"
+if test "$ac_cv_use_musicbrainz" = "yes"; then
+ echo "K3b - You are missing the musicbrainz headers and libraries."
+ echo "K3b - K3b will be compiled without support for tag guessing."
+fi
+fi
Added: kde-extras/k3b/k3b/branches/upstream/current/configure.in.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/configure.in.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/configure.in.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,184 @@
+#MIN_CONFIG(3.2)
+#AM_KDE_MIN_VERSION(3.4)
+
+AC_CHECK_HEADERS(byteswap.h)
+
+dnl - check the byte order -
+dnl this will define WORDS_BIGENDIAN or do nothing
+AC_C_BIGENDIAN()
+
+AC_ARG_WITH(
+ external-libsamplerate,
+ [ --with-external-libsamplerate use the libsamplerate provided by the system (default=yes)],
+ [external_sampletrate=$withval],
+ [external_sampletrate=yes]
+)
+
+LIBSAMPLERATE=""
+
+if test x$external_sampletrate != xno; then
+
+dnl === check for libsamplerate ==========
+KDE_CHECK_HEADERS(samplerate.h, [
+ KDE_CHECK_LIB(samplerate, src_new, [
+ LIBSAMPLERATE="-lsamplerate"
+ AC_DEFINE(HAVE_LIBSAMPLERATE,1,[defined if you have libsamplerate library and header])
+ ])
+])
+
+fi
+
+AC_SUBST(LIBSAMPLERATE)
+AM_CONDITIONAL(compile_libsamplerate, [test -z "$LIBSAMPLERATE"])
+
+
+ARTS_LIBS=""
+if test "x$build_arts" = "xyes"; then
+ dnl Find aRts
+ KDE_CHECK_HEADERS(artsc/artsc.h,
+ [arts_available=yes
+ ARTS_LIBS="-lartsc"],
+ [arts_available=no]
+ )
+fi
+AC_SUBST(ARTS_LIBS)
+AM_CONDITIONAL(include_arts, [test -n "$ARTS_LIBS"])
+if test "x$build_arts" = "xyes" -a "x$arts_available" = "xyes"; then
+ AC_DEFINE(WITH_ARTS,1,[defined if arts support is compiled in])
+fi
+
+KDE_CHECK_THREADING
+
+compile_k3bsetup=yes
+AC_ARG_WITH(
+ k3bsetup,
+ [ --with-k3bsetup[=ARG] do compile K3bSetup2 KControl Module (default=yes)],
+ [compile_k3bsetup=$withval]
+)
+
+if test x$compile_k3bsetup = xyes; then
+ AC_DEFINE(HAVE_K3BSETUP,1,[defined if K3bSetup is compiled])
+fi
+
+AM_CONDITIONAL(with_k3bsetup1, [test x$compile_k3bsetup = xyes])
+
+
+cdrecord_suid_root=yes
+AC_ARG_WITH(
+ cdrecord-suid-root,
+ AS_HELP_STRING(
+ [--without-cdrecord-suid-root],
+ [enable or disable K3b's suid root check for cdrecord/cdrdao/wodim (default=enabled)]),
+ [cdrecord_suid_root=$withval],
+ [cdrecord_suid_root=yes]
+)
+if test x$cdrecord_suid_root = xyes; then
+ AC_DEFINE(CDRECORD_SUID_ROOT_CHECK,1,[defined if K3b should check cdrecord for suid root])
+fi
+
+
+# Extra SCSI support libs can go in CAM_LIB, and are linked into
+# libk3bdevice. For Linux, nothing is needed. FreeBSD requires -lcam
+# (which is in base, so no test is needed).
+case "$host_os" in
+freebsd* | dragonfly*)
+ CAM_LIB="-lcam"
+ ;;
+*)
+ CAM_LIB=""
+ ;;
+esac
+AC_SUBST(CAM_LIB)
+
+
+
+dnl ---------- TAGLIB CHECK ----------
+
+AC_DEFUN([AC_HAVE_TAGLIB],
+[
+ AC_DEFINE(HAVE_TAGLIB, 1, [have TagLib])
+ taglib_includes=[`$TAGLIB_CONFIG --cflags`]
+ taglib_libs=[`$TAGLIB_CONFIG --libs`]
+ have_taglib=true
+])
+
+AC_DEFUN([AC_NO_TAGLIB],
+[
+ taglib_includes=""
+ taglib_libs=""
+ have_taglib=false
+])
+
+AC_PATH_PROG(TAGLIB_CONFIG, taglib-config, [no], [$PATH:$prefix/bin])
+if test "x$TAGLIB_CONFIG" = "xno" ; then
+ AC_NO_TAGLIB
+else
+ AC_HAVE_TAGLIB
+fi
+
+AC_SUBST(taglib_includes)
+AC_SUBST(taglib_libs)
+
+dnl ---------- END TAGLIB CHECK ----------
+
+
+
+dnl ----------- TUNEPIMP/MUSICBRAINZ CHECK -----------
+
+AC_ARG_WITH(
+ musicbrainz,
+ AS_HELP_STRING(
+ [--without-musicbrainz],
+ [build K3b without Musicbrainz support (default=no)]),
+ [ac_cv_use_musicbrainz=$withval],
+ [ac_cv_use_musicbrainz=yes]
+)
+
+have_mb=false
+MUSICBRAINZ_LIBS=""
+if test "$ac_cv_use_musicbrainz" = "yes"; then
+ KDE_CHECK_HEADER(musicbrainz/mb_c.h,
+ [
+ KDE_CHECK_LIB(musicbrainz,mb_New,[
+ AC_DEFINE(HAVE_MUSICBRAINZ, 1, [have MusicBrainz])
+ MUSICBRAINZ_LIBS="-lmusicbrainz"
+ have_mb=true
+ ])
+ ], [])
+fi
+AC_SUBST(MUSICBRAINZ_LIBS)
+
+dnl --------- TUNEPIMP/MUSICBRAINZ CHECK END -----------
+
+
+dnl --------- K3b debugging stuff (only for developers) ----
+
+AC_ARG_WITH(
+ k3b-debug,
+ AS_HELP_STRING(
+ [--with-k3b-debug],
+ [Enable additional K3b debugging output and functionality (default=no)]),
+ [use_k3b_debug=$withval],
+ [use_k3b_debug=no]
+)
+if test "$use_k3b_debug" = "yes"; then
+ AC_DEFINE(K3B_DEBUG, "1", [K3b additional debugging support])
+fi
+
+dnl --------------------------------------------------------
+
+
+
+
+dnl --------------- libiconv check -------------------------
+
+AC_CHECK_HEADERS(iconv.h)
+
+dnl --------------------------------------------------------
+
+
+#AC_DEFINE(LIBK3B_VERSION, "0.11.98", [k3b library version])
+#AC_SUBST(LIBK3B_VERSION, 0.11.98)
+#AC_CONFIG_FILES([k3b/libk3b/libk3b.pc])
+
+KDE_ENABLE_HIDDEN_VISIBILITY
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/Makefile.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/doc/Makefile.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/doc/Makefile.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,4 @@
+
+KDE_LANG = en
+KDE_DOCS = k3b
+
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/Makefile.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/doc/Makefile.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/doc/Makefile.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,624 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 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.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = doc
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ACLOCAL = @ACLOCAL@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+ARTS_LIBS = @ARTS_LIBS@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAM_LIB = @CAM_LIB@
+CC = @CC@
+CCAS = @CCAS@
+CCASDEPMODE = @CCASDEPMODE@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DBUSQT_INCS = @DBUSQT_INCS@
+DBUSQT_LIBS = @DBUSQT_LIBS@
+DBUS_INCS = @DBUS_INCS@
+DBUS_LIBS = @DBUS_LIBS@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+GREP = @GREP@
+GV_ASM_DEFS = @GV_ASM_DEFS@
+HAL_DBUS_LIBS = @HAL_DBUS_LIBS@
+HAL_INCS = @HAL_INCS@
+HAL_LIBS = @HAL_LIBS@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+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_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSAMPLERATE = @LIBSAMPLERATE@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAD_LIB = @MAD_LIB@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MPC_LIBS = @MPC_LIBS@
+MSGFMT = @MSGFMT@
+MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+RESMGR_LIB = @RESMGR_LIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+TAGLIB_CONFIG = @TAGLIB_CONFIG@
+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@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+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_kcfgdir = @kde_kcfgdir@
+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@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+taglib_includes = @taglib_includes@
+taglib_libs = @taglib_libs@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+KDE_LANG = en
+KDE_DOCS = k3b
+#>- all: all-am
+#>+ 1
+all: docs-am all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --gnu doc/Makefile
+#>+ 12
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu doc/Makefile
+ cd $(top_srcdir) && perl admin/am_edit doc/Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+#>- distdir: $(DISTFILES)
+#>+ 1
+distdir: distdir-nls $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+#>- uninstall: uninstall-am
+#>+ 1
+uninstall: uninstall-docs uninstall-nls uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-am
+#>+ 1
+clean: kde-rpo-clean clean-am
+
+#>- clean-am: clean-generic clean-libtool mostlyclean-am
+#>+ 1
+clean-am: clean-docs clean-bcheck clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+#>- install-data-am:
+#>+ 1
+install-data-am: install-docs install-nls
+
+install-dvi: install-dvi-am
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+ distclean distclean-generic distclean-libtool distdir dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
+
+# 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
+KDE_DIST=Makefile.in select_audiofiles.png cdcopy_done.png cdcloning_reading.png audiocd-howto.docbook commands.docbook burndialog_progress.png index.docbook cdcloning_dialog.png cdcopy_settings.png Makefile.am cdcopy-howto.docbook burndialog_audio.png cdcopy_writing.png dcop.docbook cdcopy_reading.png select_project.png
+
+#>+ 24
+index.cache.bz2: $(srcdir)/index.docbook $(KDE_XSL_STYLESHEET) commands.docbook cdcopy_settings.png audiocd-howto.docbook index.docbook select_project.png burndialog_audio.png cdcopy_reading.png burndialog_progress.png cdcopy-howto.docbook cdcloning_dialog.png dcop.docbook select_audiofiles.png cdcopy_writing.png cdcopy_done.png cdcloning_reading.png
+ @if test -n "$(MEINPROC)"; then echo $(MEINPROC) --check --cache index.cache.bz2 $(srcdir)/index.docbook; $(MEINPROC) --check --cache index.cache.bz2 $(srcdir)/index.docbook; fi
+
+docs-am: index.cache.bz2
+
+install-docs: docs-am install-nls
+ $(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/k3b
+ @if test -f index.cache.bz2; then \
+ echo $(INSTALL_DATA) index.cache.bz2 $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/k3b/; \
+ $(INSTALL_DATA) index.cache.bz2 $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/k3b/; \
+ elif test -f $(srcdir)/index.cache.bz2; then \
+ echo $(INSTALL_DATA) $(srcdir)/index.cache.bz2 $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/k3b/; \
+ $(INSTALL_DATA) $(srcdir)/index.cache.bz2 $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/k3b/; \
+ fi
+ -rm -f $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/k3b/common
+ $(LN_S) $(kde_libs_htmldir)/$(KDE_LANG)/common $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/k3b/common
+
+uninstall-docs:
+ -rm -rf $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/k3b
+
+clean-docs:
+ -rm -f index.cache.bz2
+
+
+#>+ 13
+install-nls:
+ $(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/k3b
+ @for base in commands.docbook cdcopy_settings.png audiocd-howto.docbook index.docbook select_project.png burndialog_audio.png cdcopy_reading.png burndialog_progress.png cdcopy-howto.docbook cdcloning_dialog.png dcop.docbook select_audiofiles.png cdcopy_writing.png cdcopy_done.png cdcloning_reading.png ; do \
+ echo $(INSTALL_DATA) $$base $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/k3b/$$base ;\
+ $(INSTALL_DATA) $(srcdir)/$$base $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/k3b/$$base ;\
+ done
+
+uninstall-nls:
+ for base in commands.docbook cdcopy_settings.png audiocd-howto.docbook index.docbook select_project.png burndialog_audio.png cdcopy_reading.png burndialog_progress.png cdcopy-howto.docbook cdcloning_dialog.png dcop.docbook select_audiofiles.png cdcopy_writing.png cdcopy_done.png cdcloning_reading.png ; do \
+ rm -f $(DESTDIR)$(kde_htmldir)/$(KDE_LANG)/k3b/$$base ;\
+ done
+
+
+#>+ 5
+distdir-nls:
+ for file in commands.docbook cdcopy_settings.png audiocd-howto.docbook index.docbook select_project.png burndialog_audio.png cdcopy_reading.png burndialog_progress.png cdcopy-howto.docbook cdcloning_dialog.png dcop.docbook select_audiofiles.png cdcopy_writing.png cdcopy_done.png cdcloning_reading.png ; do \
+ cp $(srcdir)/$$file $(distdir); \
+ done
+
+#>+ 15
+force-reedit:
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu doc/Makefile
+ cd $(top_srcdir) && perl admin/am_edit doc/Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-am
+
+bcheck-am:
+ @for i in ; do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXX) $(DEFS) -I. -I$(srcdir) -I$(top_builddir) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 3
+final:
+ $(MAKE) all-am
+
+#>+ 3
+final-install:
+ $(MAKE) install-am
+
+#>+ 3
+no-final:
+ $(MAKE) all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 3
+nmcheck:
+nmcheck-am: nmcheck
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/audiocd-howto.docbook
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/doc/audiocd-howto.docbook (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/doc/audiocd-howto.docbook 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,96 @@
+<sect1 id="audiocdcdreating">
+ <title>
+ Quickguide: Burning an Audio-CD in 4 Steps
+ </title>
+ <para>
+ This Quickguide shows you how to create a AudioCD with &k3b;. To reproduce
+ these steps you need a working &k3b; and a directory in which you have
+ audiofiles.
+ </para>
+ <sect2>
+ <title>Step 1</title>
+ <para>
+ When you start &k3b; you should see something like this.
+ <screenshot>
+ <screeninfo>Here you can select one of four projects &k3b; offers</screeninfo>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="select_project.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <phrase>Screenshot</phrase>
+ </textobject>
+ </mediaobject>
+ </screenshot>
+ </para>
+ </sect2>
+ <sect2>
+ <title>Step 2</title>
+ <para>
+ Now you click on "New Audio CD Project"
+ <screenshot>
+ <screeninfo>This is a dialog where you can select which files you want to burn on a CD</screeninfo>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="select_audiofiles.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <phrase>Screenshot</phrase>
+ </textobject>
+ </mediaobject>
+ </screenshot>
+ </para>
+ <para>
+ The files you see on the top-part of &k3b; can be dropped with the mouse to the bottom-widget.
+ Another way is to right-click on a file an select <action>Add to Project</action>. In order to rearrange
+ the order of the audio-tracks you can simply move the tracks with the left mouse-button. The properties
+ of the tracks can be changed by clicking with the &RMB; and choosing <action>Properties</action>.
+ As soon as you like the arrangement of the tracks click on <action>Burn...</action> in the right-bottom
+ corner.
+ </para>
+ <note>
+ <para>
+ When you burn AudioCD from <acronym>MP3</acronym>s or other lossy compressed music, remember that if you encode this CD back to <acronym>MP3</acronym>, you'll get poorer quality regardless the bitrate you use. To check whether AudioCD was burnt from lossy format, try <ulink url="http://true-audio.com/analyzer.project">auCDtect</ulink>.
+ </para>
+ </note>
+ </sect2>
+ <sect2>
+ <title>Step 3</title>
+ <screenshot>
+ <screeninfo>This is a dialog where you can decide the settings for the CD.</screeninfo>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="burndialog_audio.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <phrase>Screenshot</phrase>
+ </textobject>
+ </mediaobject>
+ </screenshot>
+ <para>
+ In this dialog you can control the settings of the burning itself. The default-settings of &k3b;
+ are probably correct for you. In the top-right corner you can control the speed. One last
+ step before the actual burning you can give the CD a title by choosing <guibutton>CD-Text</guibutton> and
+ selecting <guilabel>Write CD-Text</guilabel>. The two which are probably most important for you
+ are <guilabel>Title</guilabel> and <guilabel>Performer</guilabel>. As soon as you are content with
+ the settings click on <guibutton>Burn</guibutton>.
+ </para>
+ </sect2>
+ <sect2>
+ <title>Step 4</title>
+ <para>
+ <screenshot>
+ <screeninfo>In this dialog you can see the progress of you burning</screeninfo>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="burndialog_progress.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <phrase>Screenshot</phrase>
+ </textobject>
+ </mediaobject>
+ </screenshot>
+ In this dialog is nothing you can do. Just wait for you computer to finish the session.
+ </para>
+ </sect2>
+</sect1>
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/burndialog_audio.png
===================================================================
(Binary files differ)
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/doc/burndialog_audio.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/burndialog_progress.png
===================================================================
(Binary files differ)
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/doc/burndialog_progress.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/cdcloning_dialog.png
===================================================================
(Binary files differ)
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/doc/cdcloning_dialog.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/cdcloning_reading.png
===================================================================
(Binary files differ)
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/doc/cdcloning_reading.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/cdcopy-howto.docbook
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/doc/cdcopy-howto.docbook (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/doc/cdcopy-howto.docbook 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,86 @@
+<sect1 id="cdcopyhowto">
+ <title>
+ Quickguide: Copying a Data-CD in 4 Steps
+ </title>
+ <para>
+ This Quickguide shows you how to create a Data-CD with &k3b;. To reproduce
+ these steps you need a working &k3b; and the CD you wish to copy inserted in your
+ CD-ROM.
+ </para>
+ <sect2>
+ <title>Step 1</title>
+ <para>
+ To copy a Data-CD you select <guimenu>Tools</guimenu>,<guimenu>CD</guimenu><guimenu>Copy CD...</guimenu>
+ You will see a dialog where you can set up the burning.
+ <screenshot>
+ <screeninfo>In this dialog you can select the settings you want to use for the burning.</screeninfo>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="cdcopy_settings.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <phrase>Screenshot</phrase>
+ </textobject>
+ </mediaobject>
+ </screenshot>
+ </para>
+ </sect2>
+ <sect2>
+ <title>Step 2</title>
+ <para>
+ After you have set up &k3b; click on <guimenu>Start CD Copy</guimenu>. You will get a dialog similar to this:
+ <screenshot>
+ <screeninfo>In this dialog you can watch to progress of the copying. As soon as the writing of the
+ image-file is done you will be asked for a emtpy CD on which the data will be burned.</screeninfo>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="cdcopy_reading.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <phrase>Screenshot</phrase>
+ </textobject>
+ </mediaobject>
+ </screenshot>
+ </para>
+ <para>
+ In this dialog you can watch to progress of the copying. As soon as the writing of the
+ image-file is done you will be asked for a emtpy CD on which the data will be burned.
+ </para>
+ </sect2>
+ <sect2>
+ <title>Step 3</title>
+ <screenshot>
+ <screeninfo>&k3b; is burning the Image file. You have to wait until the <guilabel>Overall process</guilabel>
+ is at 100%</screeninfo>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="cdcopy_writing.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <phrase>Screenshot</phrase>
+ </textobject>
+ </mediaobject>
+ </screenshot>
+ <para>
+ &k3b; is burning the Image file. You have to wait until the <guilabel>Overall process</guilabel>
+ is at 100%.
+ </para>
+ </sect2>
+ <sect2>
+ <title>Step 4</title>
+ <para>
+ <screenshot>
+ <screeninfo>In this dialog you can see the result of your burning</screeninfo>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="cdcopy_done.png" format="PNG"/>
+ </imageobject>
+ <textobject>
+ <phrase>Screenshot</phrase>
+ </textobject>
+ </mediaobject>
+ </screenshot>
+ &k3b; has finished the burning. Click on <guilabel>Close</guilabel> to close the dialog.
+ </para>
+ </sect2>
+</sect1>
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/cdcopy_done.png
===================================================================
(Binary files differ)
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/doc/cdcopy_done.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/cdcopy_reading.png
===================================================================
(Binary files differ)
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/doc/cdcopy_reading.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/cdcopy_settings.png
===================================================================
(Binary files differ)
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/doc/cdcopy_settings.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/cdcopy_writing.png
===================================================================
(Binary files differ)
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/doc/cdcopy_writing.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/commands.docbook
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/doc/commands.docbook (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/doc/commands.docbook 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,700 @@
+<!-- The original version had the title 'Command Reference'
+with one sect1 sub-chapter called 'The main window'.
+However, the only features described were the menu entries,
+so a rename of this chapter does make sense. -->
+
+<chapter id="commands">
+ <title>The Menu Entries</title>
+
+ <sect1 id="filemenu">
+ <title>The <guimenu>File</guimenu> Menu</title>
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <shortcut>
+ <keycombo action="simul">&Ctrl;<keycap>N</keycap>
+ </keycombo>
+ </shortcut>
+ <guimenu>File</guimenu>
+ <guimenuitem>New Project</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Creates a new project.</action>
+ You have to choose the project type (Audio CD, Data DVD, ...).
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <shortcut>
+ <keycombo action="simul">&Ctrl;<keycap>O</keycap>
+ </keycombo>
+ </shortcut>
+ <guimenu>File</guimenu>
+ <guimenuitem>Open...</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Opens an existing project</action> which
+ can be selected with KDE's Open File dialog.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <shortcut>
+ <keycombo action="simul">&Ctrl;<keycap>R</keycap>
+ </keycombo>
+ </shortcut>
+ <guimenu>File</guimenu>
+ <guimenuitem>Open Recent</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ This is a shortcut to <action>re-open recently opened
+ projects</action>. The sub-menu belonging to this item
+ contains a list of these projects, clicking on a specific file
+ will open it again.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <shortcut>
+ <keycombo action="simul">&Ctrl;<keycap>S</keycap>
+ </keycombo>
+ </shortcut>
+ <guimenu>File</guimenu>
+ <guimenuitem>Save</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Saves the current project.</action>
+ If there has already been a save of the document then this
+ will overwrite the previously saved file without asking
+ for the user's consent. If it is the first save of a new
+ document the Save As dialog will be invoked.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>File</guimenu>
+ <guimenuitem>Save As...</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Saves the current project with a new
+ file name.</action> KDE's Save As dialog appears to specify
+ name and directory of the new project file.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>File</guimenu>
+ <guimenuitem>Save All</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Saves all open projects.</action>
+ This is the same as selecting
+ <menuchoice>
+ <guimenu>File</guimenu>
+ <guimenuitem>Save</guimenuitem>
+ </menuchoice> for each of them.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <shortcut>
+ <keycombo action="simul">&Ctrl;<keycap>C</keycap>
+ </keycombo>
+ </shortcut>
+ <guimenu>File</guimenu>
+ <guimenuitem>Close</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Closes the current project.</action>
+ If a project has been modified but not yet saved
+ then &k3b; will ask what to do.
+ You can choose to save or discard the changes,
+ and you also have the opportunity to cancel closing
+ and keep the project open.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>File</guimenu>
+ <guimenuitem>Close All</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Closes all open projects.</action> For each unsaved
+ project &k3b; will ask what to do, just like it does when
+ <menuchoice>
+ <guimenu>File</guimenu>
+ <guimenuitem>Close</guimenuitem>
+ </menuchoice> is selected.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <shortcut>
+ <keycombo action="simul">&Ctrl;<keycap>Q</keycap>
+ </keycombo>
+ </shortcut>
+ <guimenu>File</guimenu>
+ <guimenuitem>Quit</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Quits &k3b;</action> after closing all of its open
+ projects. For every unsaved project &k3b; will ask what to do,
+ just like it does when
+ <menuchoice>
+ <guimenu>File</guimenu>
+ <guimenuitem>Close</guimenuitem>
+ </menuchoice> is selected.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </sect1>
+
+
+ <sect1 id="projectmenu">
+ <title>The <guimenu>Project</guimenu> Menu</title>
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Project</guimenu>
+ <guimenuitem>Add Files...</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ When this item is selected, the appearing dialog
+ <action>lets you choose one or more files to be added
+ to the project.</action> This has the same effect as dragging
+ files directly from the Contents View into the Project View.
+ If the current project is a data disc project,
+ the added files will appear in the disc's root directory.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Project</guimenu>
+ <guimenuitem>Clear Project</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Removes all files and directories
+ from the current project.</action>
+ The project itself remains open.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <shortcut>
+ <keycombo action="simul">&Ctrl;<keycap>B</keycap>
+ </keycombo>
+ </shortcut>
+ <guimenu>Project</guimenu>
+ <guimenuitem>Burn...</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Opens the Burn dialog for the current project.</action>
+ This is in fact the same as the Properties dialog - the only
+ difference is that there is an additional Burn button which
+ causes &k3b; to burn a disc from project data. The Burn dialog
+ won't open if the project does not contain any files.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <shortcut>
+ <keycombo action="simul">&Ctrl;<keycap>P</keycap>
+ </keycombo>
+ </shortcut>
+ <guimenu>Project</guimenu>
+ <guimenuitem>Properties...</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Opens the Properties dialog for the current project.
+ </action> Here you can specify a lot of options concerning
+ the project. Every project type has got a different set of
+ options, most of them can be explained by using What's This
+ (accessible by right-mouse-clicking).
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Project</guimenu>
+ <guimenuitem>Import Session</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ This Item only appears if a Data CD/DVD or Video DVD project
+ is active. It causes K3b to <action>import the file entries
+ from the previous session to the current project</action>.
+ You can use this when compiling files for multi-session discs.
+ Hence that data from the previous session is always included,
+ even if you don't choose to make use of this command.
+ It just helps to know what's on the disc already.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Project</guimenu>
+ <guimenuitem>Clear Imported Session</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ This Item only appears if a Data CD/DVD or Video DVD project
+ is active. It causes K3b to <action>remove the file entries
+ from the current project that were imported</action> by
+ <menuchoice>
+ <guimenu>Project</guimenu>
+ <guimenuitem>Import Session</guimenuitem>
+ </menuchoice> while keeping all of the other data
+ in the project. Hence that making use of this command doesn't
+ actually remove anything from the disc that will be burned,
+ it just hides these files again.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Project</guimenu>
+ <guimenuitem>Edit Boot Images</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ This Item only appears if a Data CD/DVD or Video DVD project
+ is active. <action>Here you can specify boot images</action>
+ in order to create bootable CDs or DVDs. A boot image can be
+ a direct copy of a floppy or hard disk (for example, created
+ by the dd shell command) as well as another disc's boot image.
+ In any case it's a single file containing a complete, bootable
+ system that is burned as a normal file. In order to let the
+ computer know that the disc contains a boot image, the burning
+ application creates a boot catalog file whose name can be
+ determined in the dialog window.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </sect1>
+
+
+<!-- This menu has been deleted in 0.12. Instead, the command has moved
+ to the project view, being a button there.
+ <sect1 id="pluginmenu">
+ <title>The <guimenu>Plugin</guimenu> Menu</title>
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Plugins</guimenu>
+ <guimenuitem>Rename Audio Files...</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ Allows you to <action>rename audio files</action>
+ in a data project using their meta information.
+ The new file names are defined by patterns
+ containing information like title or artist name.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </sect1>
+-->
+
+
+ <sect1 id="toolsmenu">
+ <title>The <guimenu>Tools</guimenu> Menu</title>
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Tools</guimenu>
+ <guimenuitem>Copy CD...</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Opens the CD Copy dialog.</action>
+ Without the need of a project file, it provides
+ the ability to copy a CD's content to another disc.
+ Alternatively, you can choose only to create an image
+ of the source CD which can be burned anytime. There is
+ also an option to clone the CD instead of normal
+ copying, which should be preferred when copying CDs
+ with defective sectors or Video CDs.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Tools</guimenu>
+ <guimenuitem>Copy DVD...</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Opens the DVD Copy dialog.</action>
+ Without the need of a project file, it provides
+ the ability to copy a DVD's content to another disc.
+ Alternatively, you can choose only to create an image
+ of the source DVD which can be burned anytime.
+ Video transcoding within the DVD Copy dialog
+ is not yet supported, so the destination disc
+ has to be large enough to contain all of the
+ source disc's (video) data in its original form.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Tools</guimenu>
+ <guimenuitem>Erase CD-RW...</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Opens the Erase CD-RW dialog.</action>
+ With its help you can clear the contents of a CD-RW,
+ or part of it.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Tools</guimenu>
+ <guimenuitem>Format DVD±RW...</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Opens the DVD Formatting dialog.</action>
+ With its help you can format a DVD-R(W) or DVD+R(W),
+ which causes the disc's contents to be deleted.
+ &k3b; gives the choice between the "Overwrite" and
+ "Incremental" writing modes.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Tools</guimenu>
+ <guimenuitem>Burn CD Image...</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Burns a previously created CD image.</action>
+ The Burn CD Image dialog asks to select an
+ <literal role="extension">*.iso</literal>,
+ <literal role="extension">*.cue</literal> or
+ <literal role="extension">*.toc</literal> file
+ as data source that you can instantly burn by pressing
+ the Start button.
+ (Nero <literal role="extension">*.nrg</literal> files
+ are currently not supported, so you have to make use
+ of other tools like <ulink
+ url="http://gregory.kokanosky.free.fr/v4/linux/nrg2iso.en.html">
+ <application>Nrg2Iso</application></ulink>.)
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Tools</guimenu>
+ <guimenuitem>Burn DVD ISO Image...</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Burns a previously created DVD image.</action>
+ The Burn Iso9660 Image dialog asks to select an
+ <literal role="extension">*.iso</literal> file as data
+ source that you can instantly burn by pressing
+ the Start button.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Tools</guimenu>
+ <guimenuitem>Encode Video...</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>A DVD video that has already been ripped can be
+ encoded</action> with a little help from the Encoding Video
+ dialog. This dialog box normally opens after ripping the DVD
+ from within the Contents View, but can also be used standalone.
+ It contains information about the ripped DVD video, encoding
+ options and even video resizing and cropping abilities.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Tools</guimenu>
+ <guimenuitem>Diskinfo</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Shows information about the inserted disk.</action>
+ This information will be displayed in the Contents View and
+ covers disk properties like type, size and track length
+ of the CD or DVD in your drive.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </sect1>
+
+
+ <sect1 id="settingsmenu">
+ <title>The <guimenu>Settings</guimenu> Menu</title>
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Settings</guimenu>
+ <guimenuitem>Toolbars</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Pops up a list of &k3b;'s toolbars.</action>
+ If a toolbar entry is checked, it means that
+ the toolbar is currently visible.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Settings</guimenu>
+ <guimenuitem>Show/Hide Statusbar</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ This enables you to <action>show or hide the small bar
+ at the bottom of the main window</action> containing
+ various information about &k3b;'s status and activities.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Settings</guimenu>
+ <guimenuitem>Show Directories</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Toggles the visibility of the Directory View.</action>
+ This view enables you to select directories and disc drives.
+ When selected, their contents will appear in the Contents View.
+ Disc drives have also got a context menu providing functions
+ like Disk Info, (un)mounting the drive or ejecting the medium.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Settings</guimenu>
+ <guimenuitem>Show Contents</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Toggles the visibility of the Contents View.</action>
+ This view enables you to select files that can be dragged
+ into the Project View in order to add them to the project.
+ The Contents View also acts as an interface to rip
+ audio CDs and video discs when a disc drive containing
+ an appropriate CD/DVD is selected in the Directory View.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Settings</guimenu>
+ <guimenuitem>Show Document Header</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Toggles the visibility of the document header</action>
+ belonging to the Project View. This is a small bar that is
+ only visible if the Project View contains any open projects.
+ The document header has no functionality, yet it's nice
+ eye candy and improves clarity by separating
+ the Project View from the other views.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Settings</guimenu>
+ <guimenuitem>Configure Shortcuts...</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ This command <action>opens a dialog box where the key bindings
+ for &k3b;'s menu commands may be changed</action>.
+ After selecting one of the available commands
+ from the upper part of the dialog, the shortcut
+ for this action can be changed in the lower part.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Settings</guimenu>
+ <guimenuitem>Configure Toolbars...</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ This command <action>opens a dialog box where the toolbars
+ can be customized</action>. The drop down box on top
+ of the dialog determines which toolbar can be edited
+ at the moment. The Available Actions list on the left contains
+ all commands that can be added to the toolbar,
+ the Current Actions list on the right shows the ones
+ that are already there. Items can be added by selecting
+ the appropriate command out of the Available Actions list and
+ pressing the right button to move it to the Current Actions
+ list. Removing an item works the other way round.
+ The up and down buttons change the commands's position
+ within the toolbar.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Settings</guimenu>
+ <guimenuitem>&k3b; Setup</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ This <action>opens &k3bsetup;</action> which helps setting the
+ right permissions needed by &k3b; in order to burn
+ CDs and DVDs. Linux' user rights management permits program
+ execution and access to disc drives if no permissions have
+ been granted by the administrator. &k3bsetup; cannot set
+ permissions without administrator privileges, so you have
+ to enter the root password when starting up.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <menuchoice>
+ <guimenu>Settings</guimenu>
+ <guimenuitem>Configure &k3b;...</guimenuitem>
+ </menuchoice>
+ </term>
+ <listitem>
+ <para>
+ <action>Opens the Options dialog</action>
+ where general program settings can be configured.
+ Although most of &k3b;'s functionality should work out
+ of the box, this dialog allows to customize and fine-tune
+ the program.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </sect1>
+
+
+ <sect1 id="helpmenu">
+ <title>The <guimenu>Help</guimenu> Menu</title>
+<!-- Assuming you have a standard help menu (help, what's this, about &k3b;,
+about KDE) then the documentation is already written. The following entity
+is valid anywhere that a variablelist is valid. -->&help.menu.documentation;
+ </sect1>
+
+</chapter>
+<!-- ______________________________________________ using this editor width-->
\ No newline at end of file
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/dcop.docbook
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/doc/dcop.docbook (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/doc/dcop.docbook 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,104 @@
+<chapter id="dcop">
+ <title>The &k3b; &DCOP; Interface</title>
+ <para>&k3b; features, like many other &kde; applications as well, a
+ &DCOP; interface which makes it possible to control a part of it's
+ functionality from ⪚ a shellscript.</para>
+ <para>To use these &DCOP; functions you can either use the
+ <command>dcop</command> commandline program or the more convenient
+ <application>Kdcop</application> application. Both provide the same
+ functionality so it's mostly a matter of taste and context of usage when
+ deciding which way to choose.</para>
+ <para>This chapter assumes that you're using the <command>dcop</command>
+ commandline program. To access &k3b;'s &DCOP; functions, make sure that
+ &k3b; is started and then enter something like this at a console:
+<screen>
+<prompt>#</prompt> <command>dcop</command> <option>k3b</option> <option>K3bInterface</option> <replaceable>[function]</replaceable>
+</screen>
+</para>
+
+<para>Besides the generic &DCOP; functions available to all &kde;
+applications, &k3b;'s DCOP interface mainly consists of two parts as described below.</para>
+
+<sect1>
+<title>The default K3bInterface</title>
+
+<para>The default K3b DCOP interface provides functionality like copyCD, formatDVD, and methods for creating new projects.</para>
+
+<programlisting>
+DCOPRef createDataCDProject()
+DCOPRef createAudioCDProject()
+DCOPRef createMixedCDProject()
+DCOPRef createVideoCDProject()
+DCOPRef createMovixCDProject()
+DCOPRef createDataDVDProject()
+DCOPRef createVideoDVDProject()
+DCOPRef createMovixDVDProject()
+DCOPRef openProject(KURL url)
+QValueList<DCOPRef> projects()
+DCOPRef currentProject()
+void copyCd()
+void copyDvd()
+void eraseCdrw()
+void formatDvd()
+void burnCdImage(KURL url)
+void burnDvdImage(KURL url)
+</programlisting>
+
+<para>As result from one of the createXXXProject methods one gets a DCOP reference to the newly created project:
+
+<programlisting>DCOPRef(k3b,K3bProject-0)</programlisting>
+
+Alternatively you may create a project using the command line:
+
+<screen>
+<prompt>#</prompt> <command>k3b</command> <replaceable>--audiocd</replaceable>
+</screen>
+
+and then retrieve a reference to this project with
+
+<screen>
+<prompt>#</prompt> <command>dcop</command> <option>k3b</option> <option>K3bInterface</option> <replaceable>currentProject</replaceable>
+</screen>
+
+Using this reference it is possible to manipulate the project using the <link linkend="k3bprojectinterface">K3bProjectInterface</link>.</para>
+
+</sect1>
+
+<sect1 id="k3bprojectinterface">
+<title>K3bProjectInterface</title>
+
+<programlisting>
+void addUrls(KURL::List urls)
+void addUrl(KURL url)
+void burn()
+</programlisting>
+
+<para>K3b offers the K3bProjectInterface as listed above or the more powerful K3bDataProjectInterface which only applies to data projects (CD and DVD):
+
+<programlisting>
+void createFolder(QString name)
+void createFolder(QString name,QString parent)
+void addUrl(KURL url,QString parent)
+void addUrls(KURL::List urls,QString parent)
+void removeItem(QString path)
+void renameItem(QString path,QString newName)
+void setVolumeID(QString id)
+</programlisting>
+</para>
+
+<para>Using this it is possible to fill a data project with files and folders from a script.
+The following script for example creates a new data project, adds several folders to the project, and adds files to the newly created folders:
+
+<programlisting>
+#!/bin/bash
+PROJECT=$(dcop k3b K3bInterface createDataCDProject)
+dcop $PROJECT createFolder test
+dcop $PROJECT createFolder foo
+dcop $PROJECT createFolder bar /foo
+dcop $PROJECT addUrl /home/trueg/somefile.txt /foo/bar
+</programlisting>
+
+</para>
+
+</sect1>
+</chapter>
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/index.docbook
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/doc/index.docbook (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/doc/index.docbook 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,340 @@
+<?xml version="1.0" ?>
+<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
+<!ENTITY k3b "<application>K3b</application>">
+<!ENTITY cdrdao "<application>cdrdao</application>">
+<!ENTITY dvdtools "<application>DVD+RW-Tools</application>">
+<!ENTITY mkisofs "<application>mkisofs</application>">
+<!ENTITY cdrecord "<application>cdrecord</application>">
+<!ENTITY k3bsetup "<application>K3bSetup</application>">
+<!ENTITY k3b-commands SYSTEM "commands.docbook">
+<!ENTITY k3b-audiocd-howto SYSTEM "audiocd-howto.docbook">
+<!ENTITY k3b-cdcopy-howto SYSTEM "cdcopy-howto.docbook">
+<!ENTITY k3b-dcop SYSTEM "dcop.docbook">
+ <!ENTITY kappname "&k3b;">
+ <!ENTITY package "kdeextragear-1">
+ <!ENTITY % addindex "IGNORE">
+ <!ENTITY % English "INCLUDE">
+]>
+
+<book lang="&language;">
+
+<bookinfo>
+<title>The &k3b; Handbook</title>
+
+<authorgroup>
+ <author>
+ <firstname>Carsten</firstname>
+ <surname>Niehaus</surname>
+ </author>
+ <author>
+ <firstname>Jakob</firstname>
+ <surname>Petsovits</surname>
+ </author>
+
+<!-- TRANS:ROLES_OF_TRANSLATORS -->
+
+</authorgroup>
+
+
+<copyright>
+ <year>2003-2004</year>
+<holder>Carsten Niehaus</holder>
+</copyright>
+<!-- Translators: put here the copyright notice of the translation -->
+<legalnotice>&FDLNotice;</legalnotice>
+
+<date>2005-06-21</date>
+<releaseinfo>0.03.00</releaseinfo>
+
+<!-- Abstract about this handbook -->
+
+<abstract>
+<para>
+ &k3b; is a CD and DVD burning application for &kde; with a comfortable user interface.
+</para>
+</abstract>
+
+<keywordset>
+<keyword>KDE</keyword>
+<keyword>kdeextragear</keyword>
+<keyword>cdrecord</keyword>
+<keyword>DVD</keyword>
+<keyword>CD</keyword>
+<keyword>burning</keyword>
+<keyword>ripping</keyword>
+<keyword>iso</keyword>
+<keyword>K3b</keyword>
+</keywordset>
+
+</bookinfo>
+
+<chapter id="introduction">
+<title>Introduction</title>
+
+<para>
+ &k3b; is a CD and DVD burning application for Linux systems
+ optimized for &kde;. It provides a comfortable user interface
+ to perform most CD/DVD burning tasks like creating an Audio CD
+ from a set of audio files or copying a CD.
+ While the experienced user can take influence in all steps
+ of the burning process, the beginner may find comfort
+ in the automatic settings and the reasonable &k3b; defaults
+ which allow a quick start. The actual burning in K3b is done
+ by the command line utilities
+ <application>cdrecord</application>,
+ <application>cdrdao</application>, and
+ <application>growisofs</application>.
+</para>
+</chapter>
+
+<!-- the GUI comands -->
+&k3b-commands;
+
+<chapter id="howtos">
+ <title>HOWTOs for a quickstart to &k3b;</title>
+
+ &k3b-audiocd-howto;
+ &k3b-cdcopy-howto;
+
+</chapter>
+
+<!-- now the desciption of the DCOP-Interface -->
+&k3b-dcop;
+
+
+<chapter id="faq">
+<title>Questions and Answers</title>
+
+<!-- (OPTIONAL but recommended) This chapter should include all of the silly
+(and not-so-silly) newbie questions that fill up your mailbox. This chapter
+should be reserved for BRIEF questions and answers! If one question uses more
+than a page or so then it should probably be part of the
+"Using this Application" chapter instead. You should use links to
+cross-reference questions to the parts of your documentation that answer them.
+This is also a great place to provide pointers to other FAQ's if your users
+must do some complicated configuration on other programs in order for your
+application work. -->
+
+&reporting.bugs;
+&updating.documentation;
+
+<qandaset id="faqlist">
+ <qandaentry>
+ <question>
+ <para>
+ Compiling &k3b; fails with undefined type "struct KComboBox".
+ </para>
+ </question>
+ <answer>
+ <para>
+ The QTDesigner tool <application>uic</application> is not able to find the kde widget plugins.
+ To solve this run <application>qtconfig</application> and add
+ <filename class="directory">$<envar>KDEDIR</envar>/lib/kde3/plugins</filename> to the
+ plugin search path (replace $<envar>KDEDIR</envar> with your kde base dir).
+ </para>
+ </answer>
+ </qandaentry>
+ <!-- This is a template for a new Q&A-set
+ <qandaentry>
+ <question>
+ <para>
+ QUESTION
+ </para>
+ </question>
+ <answer>
+ <para>
+ ANSWER
+ </para>
+ </answer>
+ </qandaentry>
+ -->
+</qandaset>
+</chapter>
+
+<chapter id="credits">
+
+<!-- Include credits for the programmers, documentation writers, and
+contributors here. The license for your software should then be included below
+the credits with a reference to the appropriate license file included in the KDE
+distribution. -->
+
+<title>Credits and License</title>
+
+<para>
+&k3b;
+</para>
+<para>
+ Program copyright 1999-2005 Sebastian Trueg <email>trueg at k3b.org</email>
+ and the K3b team
+</para>
+<para>
+Contributors:
+<itemizedlist>
+ <listitem><para>Thomas Froescher <email>tfroescher at k3b.org</email></para>
+</listitem>
+<listitem><para>Christian Kvasny <email>chris at k3b.org</email></para>
+</listitem>
+<listitem><para>Klaus-Dieter Krannich <email>kd at k3b.org</email></para>
+</listitem>
+</itemizedlist>
+</para>
+
+<para>
+ Documentation Copyright © 2003-2004 Carsten Niehaus <email>cniehaus at kde.org</email>
+</para>
+
+<!-- TRANS:CREDIT_FOR_TRANSLATORS -->
+
+&underFDL; <!-- FDL: do not remove -->
+
+<!-- Determine which license your application is licensed under,
+ and delete all the remaining licenses below:
+
+ (NOTE: All documentation are licensed under the FDL,
+ regardless of what license the application uses) -->
+
+&underGPL; <!-- GPL License -->
+</chapter>
+
+<appendix id="installation">
+<title>Installation</title>
+
+<sect1 id="getting-kapp">
+<title>How to obtain &k3b;</title>
+
+<!-- This first entity contains boiler plate for applications that are
+part of KDE CVS. You should remove it if you are releasing your
+application -->
+<!-- &install.intro.documentation; ok, removed -->
+
+<para>
+ The main information site for &k3b; is
+ <ulink url="http://www.k3b.org/">www.k3b.org</ulink>.
+ For the most current version of &k3b;, feedback and
+ community help as well as &k3b; news and other information,
+ this is the place to go.
+</para>
+
+</sect1>
+
+<sect1 id="requirements">
+<title>Requirements</title>
+
+<para>
+ In order to successfully use &k3b;, you need &kde; >= 3.1 and &Qt; >= 3.1.
+</para>
+<para>
+ &cdrdao;: Records audio or data CD-Rs in disk-at-once (DAO)
+ mode based on a textual description of the CD contents (toc-file).
+</para>
+<para>
+ &cdrecord;/&mkisofs;: Records any kind of CD-Rs. &cdrecord; contains all of &cdrdao;'s features and extended functionality and therefore is &k3b;'s standard choice for CD burning. In some cases, &cdrdao; reaches better audio CD burning quality though.
+</para>
+<para>
+ &dvdtools;: The &dvdtools; are used to burn and format DVD+R(W) and DVD-R(W) media.
+</para>
+
+<para>
+ Optionally &k3b; can make use of all these libraries:
+</para>
+
+<para>
+cdparanoia: A Compact Disc Digital Audio (CDDA) extraction tool,
+commonly known on the net as a 'ripper'.
+</para>
+
+<para>
+Ogg Vorbis library: Ogg Vorbis is a completely open, patent-free,
+professional audio encoding and streaming technology with all the benefits
+of Open Source, and in direct competition with the MP3 format.
+Used by the Ogg Vorbis Decoder and Encoder plugins.
+</para>
+
+<para>
+MAD (MPEG Audio Decoder) Library: A high-quality MPEG audio decoder,
+supporting the MPEG-1, MPEG-2 and MPEG 2.5 formats. All three audio
+layers Layer I, Layer II, and Layer III (i.e. MP3) are fully implemented.
+Used by the MP3 Decoder plugin.
+</para>
+
+<para>
+LAME: A highly evolved MP3 encoder, with quality and speed able to rival
+state of the art commercial encoders. Used by the MP3 Encoder plugin.
+</para>
+
+<para>
+FLAC: A free, open source codec for lossless audio compression and
+decompression. Used by the FLAC Decoder plugin and the
+External Audio Encoder plugin, so you can read and write FLAC files.
+</para>
+
+<para>
+Libsndfile, FFmpeg, FLAC, Musepack decoders: Other libraries for processing a
+broad range of audio file formats. For example, with FFmpeg it is possible to
+decode WMA files in order to burn them onto audio CDs.
+Used by the respective plugins.
+</para>
+
+<para>
+SoX: A utility that can convert between various audio file formats.
+Used by the SoX Audio Encoder plugin.
+</para>
+
+<para>
+transcode: A Linux text-console utility for video stream processing.
+You need this if you want to rip DVD video.
+</para>
+
+<para>
+VCDImager: A full-featured mastering suite for authoring,
+disassembling and analyzing Video CDs and Super Video CDs.
+</para>
+
+<para>
+Normalize: A tool for adjusting the volume of audio files to a standard level.
+This is useful for things like creating mixed CDs and MP3 collections, where
+different recording levels on different albums can cause the volume to vary
+greatly from song to song.
+</para>
+
+<para>
+eMovix: A tiny Linux distribution that is burned on CD together with video
+files. eMovix contains all the software to boot from a CD and automatically
+play every video file localized in the CD root.
+</para>
+
+<!-- For a list of updates, you may refer to the application web site
+or the ChangeLog file, or ... -->
+<para>
+You can find a list of changes to &k3b; at <ulink
+url="http://www.k3b.org">http://www.k3b.org</ulink>.
+</para>
+</sect1>
+
+<sect1 id="compilation">
+<title>Compilation and Installation</title>
+
+<!-- This entity contains the boilerplate text for standard -->
+<!-- compilation instructions. If your application requires any -->
+<!-- special handling, remove it, and replace with your own text. -->
+
+&install.compile.documentation;
+
+</sect1>
+
+</appendix>
+
+&documentation.index;
+</book>
+
+<!--
+Local Variables:
+mode: xml
+sgml-minimize-attributes:nil
+sgml-general-insert-case:lower
+sgml-indent-step:0
+sgml-indent-data:nil
+End:
+
+vim:tabstop=2:shiftwidth=2:expandtab
+-->
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/select_audiofiles.png
===================================================================
(Binary files differ)
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/doc/select_audiofiles.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: kde-extras/k3b/k3b/branches/upstream/current/doc/select_project.png
===================================================================
(Binary files differ)
Property changes on: kde-extras/k3b/k3b/branches/upstream/current/doc/select_project.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: kde-extras/k3b/k3b/branches/upstream/current/k3b.lsm
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/k3b.lsm (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/k3b.lsm 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,14 @@
+Begin3
+Title: K3b
+Version: 1.0
+Entered-date:
+Description: CD writing software for KDE 3.2 and above
+Keywords: CD-Writing, Ripping, CD-Audio, CDDA
+Author: Sebastian Trueg <trueg at k3b.org>
+Maintained-by: Sebastian Trueg <trueg at k3b.org>
+Primary-site:
+Home-page: http://www.k3b.org
+Original-site:
+Platforms: Linux
+Copying-policy: GNU Public License
+End
Added: kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/Makefile.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/Makefile.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/Makefile.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,18 @@
+AM_CPPFLAGS = -I$(srcdir)/../src -I$(srcdir)/../libk3b/core -I$(srcdir)/../libk3b/tools -I$(srcdir)/../libk3bdevice $(all_includes)
+
+METASOURCES = AUTO
+
+# Install this plugin in the KDE modules directory
+kde_module_LTLIBRARIES = kcm_k3bsetup2.la
+
+kcm_k3bsetup2_la_SOURCES = base_k3bsetup2.ui k3bsetup2.cpp
+kcm_k3bsetup2_la_LIBADD = $(LIB_KDEUI) ../libk3b/libk3b.la
+kcm_k3bsetup2_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined
+
+k3bsetup2_DATA = k3bsetup2.desktop
+k3bsetup2dir = $(kde_appsdir)/Settings/System
+
+bin_SCRIPTS = k3bsetup
+
+messages: rc.cpp
+ $(XGETTEXT) *.cpp -o $(podir)/k3bsetup.pot
Added: kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/Makefile.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/Makefile.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/Makefile.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,856 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 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.
+
+ at SET_MAKE@
+
+
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = k3bsetup
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(kde_moduledir)" "$(DESTDIR)$(bindir)" \
+ "$(DESTDIR)$(k3bsetup2dir)"
+kde_moduleLTLIBRARIES_INSTALL = $(INSTALL)
+LTLIBRARIES = $(kde_module_LTLIBRARIES)
+am__DEPENDENCIES_1 =
+kcm_k3bsetup2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+ ../libk3b/libk3b.la
+am_kcm_k3bsetup2_la_OBJECTS = k3bsetup2.lo
+#>- kcm_k3bsetup2_la_OBJECTS = $(am_kcm_k3bsetup2_la_OBJECTS)
+#>+ 4
+kcm_k3bsetup2_la_final_OBJECTS = kcm_k3bsetup2_la.all_cpp.lo
+kcm_k3bsetup2_la_nofinal_OBJECTS = k3bsetup2.lo base_k3bsetup2.lo
+ at KDE_USE_FINAL_FALSE@kcm_k3bsetup2_la_OBJECTS = $(kcm_k3bsetup2_la_nofinal_OBJECTS)
+ at KDE_USE_FINAL_TRUE@kcm_k3bsetup2_la_OBJECTS = $(kcm_k3bsetup2_la_final_OBJECTS)
+#>- kcm_k3bsetup2_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+#>- $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+#>- $(CXXFLAGS) $(kcm_k3bsetup2_la_LDFLAGS) $(LDFLAGS) -o $@
+#>+ 3
+kcm_k3bsetup2_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+ $(CXXFLAGS) $(KDE_CXXFLAGS) $(kcm_k3bsetup2_la_LDFLAGS) $(LDFLAGS) -o $@
+binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
+SCRIPTS = $(bin_SCRIPTS)
+DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
+am__depfiles_maybe = depfiles
+#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 2
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+#>- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 3
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+CXXLD = $(CXX)
+#>- CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
+#>- $(LDFLAGS) -o $@
+#>+ 3
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+SOURCES = $(kcm_k3bsetup2_la_SOURCES)
+DIST_SOURCES = $(kcm_k3bsetup2_la_SOURCES)
+k3bsetup2DATA_INSTALL = $(INSTALL_DATA)
+DATA = $(k3bsetup2_DATA)
+ETAGS = etags
+CTAGS = ctags
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ACLOCAL = @ACLOCAL@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+ARTS_LIBS = @ARTS_LIBS@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAM_LIB = @CAM_LIB@
+CC = @CC@
+CCAS = @CCAS@
+CCASDEPMODE = @CCASDEPMODE@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DBUSQT_INCS = @DBUSQT_INCS@
+DBUSQT_LIBS = @DBUSQT_LIBS@
+DBUS_INCS = @DBUS_INCS@
+DBUS_LIBS = @DBUS_LIBS@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+GREP = @GREP@
+GV_ASM_DEFS = @GV_ASM_DEFS@
+HAL_DBUS_LIBS = @HAL_DBUS_LIBS@
+HAL_INCS = @HAL_INCS@
+HAL_LIBS = @HAL_LIBS@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+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_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSAMPLERATE = @LIBSAMPLERATE@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAD_LIB = @MAD_LIB@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MPC_LIBS = @MPC_LIBS@
+MSGFMT = @MSGFMT@
+MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+RESMGR_LIB = @RESMGR_LIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+TAGLIB_CONFIG = @TAGLIB_CONFIG@
+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@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+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_kcfgdir = @kde_kcfgdir@
+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@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+taglib_includes = @taglib_includes@
+taglib_libs = @taglib_libs@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+AM_CPPFLAGS = -I$(srcdir)/../src -I$(srcdir)/../libk3b/core -I$(srcdir)/../libk3b/tools -I$(srcdir)/../libk3bdevice $(all_includes)
+#>- METASOURCES = AUTO
+
+# Install this plugin in the KDE modules directory
+kde_module_LTLIBRARIES = kcm_k3bsetup2.la
+#>- kcm_k3bsetup2_la_SOURCES = base_k3bsetup2.ui k3bsetup2.cpp
+#>+ 1
+kcm_k3bsetup2_la_SOURCES= k3bsetup2.cpp base_k3bsetup2.cpp
+kcm_k3bsetup2_la_LIBADD = $(LIB_KDEUI) ../libk3b/libk3b.la
+kcm_k3bsetup2_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined
+k3bsetup2_DATA = k3bsetup2.desktop
+k3bsetup2dir = $(kde_appsdir)/Settings/System
+bin_SCRIPTS = k3bsetup
+#>- all: all-am
+#>+ 1
+all: docs-am all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu k3bsetup/Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --gnu k3bsetup/Makefile
+#>+ 12
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu k3bsetup/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu k3bsetup/Makefile
+ cd $(top_srcdir) && perl admin/am_edit k3bsetup/Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+install-kde_moduleLTLIBRARIES: $(kde_module_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ test -z "$(kde_moduledir)" || $(MKDIR_P) "$(DESTDIR)$(kde_moduledir)"
+ @list='$(kde_module_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+ f=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=install $(kde_moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(kde_moduledir)/$$f'"; \
+ $(LIBTOOL) --mode=install $(kde_moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(kde_moduledir)/$$f"; \
+ else :; fi; \
+ done
+
+uninstall-kde_moduleLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @list='$(kde_module_LTLIBRARIES)'; for p in $$list; do \
+ p=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(kde_moduledir)/$$p'"; \
+ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(kde_moduledir)/$$p"; \
+ done
+
+clean-kde_moduleLTLIBRARIES:
+ -test -z "$(kde_module_LTLIBRARIES)" || rm -f $(kde_module_LTLIBRARIES)
+ @list='$(kde_module_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" != "$$p" || dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+kcm_k3bsetup2.la: $(kcm_k3bsetup2_la_OBJECTS) $(kcm_k3bsetup2_la_DEPENDENCIES)
+ $(kcm_k3bsetup2_la_LINK) -rpath $(kde_moduledir) $(kcm_k3bsetup2_la_OBJECTS) $(kcm_k3bsetup2_la_LIBADD) $(LIBS)
+install-binSCRIPTS: $(bin_SCRIPTS)
+ @$(NORMAL_INSTALL)
+ test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
+ @list='$(bin_SCRIPTS)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ if test -f $$d$$p; then \
+ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+ echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+ $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
+ else :; fi; \
+ done
+
+uninstall-binSCRIPTS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(bin_SCRIPTS)'; for p in $$list; do \
+ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
+ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+ rm -f "$(DESTDIR)$(bindir)/$$f"; \
+ done
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bsetup2.Plo at am__quote@
+
+.cpp.o:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+ at am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+install-k3bsetup2DATA: $(k3bsetup2_DATA)
+ @$(NORMAL_INSTALL)
+ test -z "$(k3bsetup2dir)" || $(MKDIR_P) "$(DESTDIR)$(k3bsetup2dir)"
+ @list='$(k3bsetup2_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(k3bsetup2DATA_INSTALL) '$$d$$p' '$(DESTDIR)$(k3bsetup2dir)/$$f'"; \
+ $(k3bsetup2DATA_INSTALL) "$$d$$p" "$(DESTDIR)$(k3bsetup2dir)/$$f"; \
+ done
+
+uninstall-k3bsetup2DATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(k3bsetup2_DATA)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(k3bsetup2dir)/$$f'"; \
+ rm -f "$(DESTDIR)$(k3bsetup2dir)/$$f"; \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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 "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) $(DATA)
+installdirs:
+ for dir in "$(DESTDIR)$(kde_moduledir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(k3bsetup2dir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-am
+#>+ 1
+clean: kde-rpo-clean clean-am
+
+#>- clean-am: clean-generic clean-kde_moduleLTLIBRARIES clean-libtool \
+#>- mostlyclean-am
+#>+ 2
+clean-am: clean-metasources clean-ui clean-bcheck clean-final clean-generic clean-kde_moduleLTLIBRARIES clean-libtool \
+ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+#>- install-data-am: install-k3bsetup2DATA install-kde_moduleLTLIBRARIES
+#>+ 1
+install-data-am: install-k3bsetup2DATA
+
+install-dvi: install-dvi-am
+
+#>- install-exec-am: install-binSCRIPTS
+#>+ 1
+install-exec-am: install-binSCRIPTS install-kde_moduleLTLIBRARIES
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-binSCRIPTS uninstall-k3bsetup2DATA \
+ uninstall-kde_moduleLTLIBRARIES
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+ clean-kde_moduleLTLIBRARIES clean-libtool ctags distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-binSCRIPTS install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-k3bsetup2DATA \
+ install-kde_moduleLTLIBRARIES install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags uninstall uninstall-am uninstall-binSCRIPTS \
+ uninstall-k3bsetup2DATA uninstall-kde_moduleLTLIBRARIES
+
+
+messages: rc.cpp
+ $(XGETTEXT) *.cpp -o $(podir)/k3bsetup.pot
+# 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:
+
+#>+ 3
+k3bsetup2.moc: $(srcdir)/k3bsetup2.h
+ $(MOC) $(srcdir)/k3bsetup2.h -o k3bsetup2.moc
+
+#>+ 2
+mocs: k3bsetup2.moc
+
+#>+ 3
+clean-metasources:
+ -rm -f k3bsetup2.moc
+
+#>+ 2
+KDE_DIST=k3bsetup Makefile.in base_k3bsetup2.ui k3bsetup2.desktop k3bsetup2.h Makefile.am
+
+#>+ 4
+clean-ui:
+ -rm -f \
+ base_k3bsetup2.cpp base_k3bsetup2.h base_k3bsetup2.moc
+
+#>+ 2
+docs-am:
+
+#>+ 15
+force-reedit:
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu k3bsetup/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu k3bsetup/Makefile
+ cd $(top_srcdir) && perl admin/am_edit k3bsetup/Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-am
+
+bcheck-am:
+ @for i in ; do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXXCOMPILE) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 11
+kcm_k3bsetup2_la.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/k3bsetup2.cpp base_k3bsetup2.cpp base_k3bsetup2.moc k3bsetup2.moc
+ @echo 'creating kcm_k3bsetup2_la.all_cpp.cpp ...'; \
+ rm -f kcm_k3bsetup2_la.all_cpp.files kcm_k3bsetup2_la.all_cpp.final; \
+ echo "#define KDE_USE_FINAL 1" >> kcm_k3bsetup2_la.all_cpp.final; \
+ for file in k3bsetup2.cpp base_k3bsetup2.cpp ; do \
+ echo "#include \"$$file\"" >> kcm_k3bsetup2_la.all_cpp.files; \
+ test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> kcm_k3bsetup2_la.all_cpp.final; \
+ done; \
+ cat kcm_k3bsetup2_la.all_cpp.final kcm_k3bsetup2_la.all_cpp.files > kcm_k3bsetup2_la.all_cpp.cpp; \
+ rm -f kcm_k3bsetup2_la.all_cpp.final kcm_k3bsetup2_la.all_cpp.files
+
+#>+ 3
+clean-final:
+ -rm -f kcm_k3bsetup2_la.all_cpp.cpp
+
+#>+ 3
+final:
+ $(MAKE) kcm_k3bsetup2_la_OBJECTS="$(kcm_k3bsetup2_la_final_OBJECTS)" all-am
+
+#>+ 3
+final-install:
+ $(MAKE) kcm_k3bsetup2_la_OBJECTS="$(kcm_k3bsetup2_la_final_OBJECTS)" install-am
+
+#>+ 3
+no-final:
+ $(MAKE) kcm_k3bsetup2_la_OBJECTS="$(kcm_k3bsetup2_la_nofinal_OBJECTS)" all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) kcm_k3bsetup2_la_OBJECTS="$(kcm_k3bsetup2_la_nofinal_OBJECTS)" install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 6
+nmcheck:
+nmcheck-am: nmcheck
+k3bsetup2.o: k3bsetup2.moc
+$(srcdir)/k3bsetup2.cpp: base_k3bsetup2.h
+k3bsetup2.lo: k3bsetup2.moc
+
+#>+ 15
+base_k3bsetup2.cpp: $(srcdir)/base_k3bsetup2.ui base_k3bsetup2.h base_k3bsetup2.moc
+ rm -f base_k3bsetup2.cpp
+ echo '#include <kdialog.h>' > base_k3bsetup2.cpp
+ echo '#include <klocale.h>' >> base_k3bsetup2.cpp
+ $(UIC) -tr ${UIC_TR} -i base_k3bsetup2.h $(srcdir)/base_k3bsetup2.ui > base_k3bsetup2.cpp.temp ; ret=$$?; \
+ $(PERL) -pe "s,${UIC_TR}( \"\" ),QString::null,g" base_k3bsetup2.cpp.temp | $(PERL) -pe "s,${UIC_TR}( \"\"\, \"\" ),QString::null,g" | $(PERL) -pe "s,image([0-9][0-9]*)_data,img\$$1_base_k3bsetup2,g" | $(PERL) -pe "s,: QWizard\(,: KWizard(,g" >> base_k3bsetup2.cpp ;\
+ rm -f base_k3bsetup2.cpp.temp ;\
+ if test "$$ret" = 0; then echo '#include "base_k3bsetup2.moc"' >> base_k3bsetup2.cpp; else rm -f base_k3bsetup2.cpp ; exit $$ret ; fi
+
+base_k3bsetup2.h: $(srcdir)/base_k3bsetup2.ui
+ rm -rf base_k3bsetup2.h;
+ $(UIC) $(srcdir)/base_k3bsetup2.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> base_k3bsetup2.h ;
+base_k3bsetup2.moc: base_k3bsetup2.h
+ $(MOC) base_k3bsetup2.h -o base_k3bsetup2.moc
Added: kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/base_k3bsetup2.ui
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/base_k3bsetup2.ui (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/base_k3bsetup2.ui 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,380 @@
+<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
+<class>base_K3bSetup2</class>
+<widget class="QWidget">
+ <property name="name">
+ <cstring>Form1</cstring>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>500</width>
+ <height>450</height>
+ </rect>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <property name="margin">
+ <number>0</number>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout6</cstring>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QGroupBox">
+ <property name="name">
+ <cstring>groupBox3</cstring>
+ </property>
+ <property name="title">
+ <string>Settings</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout1</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>m_checkUseBurningGroup</cstring>
+ </property>
+ <property name="text">
+ <string>Use burning group:</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string><p>If this option is checked, only the users in the specified group will be able to burn CDs and DVDs, since only they will have access to the devices and the CD recording programs used by K3b.</p>
+<p>Otherwise all users on the system have access to the devices and to all K3b functionality.</string>
+ </property>
+ </widget>
+ <widget class="QLineEdit">
+ <property name="name">
+ <cstring>m_editBurningGroup</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>burning</string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout2</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <spacer>
+ <property name="name">
+ <cstring>spacer1</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>10</height>
+ </size>
+ </property>
+ </spacer>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel2</cstring>
+ </property>
+ <property name="text">
+ <string>Users allowed to burn (separated by space):</string>
+ </property>
+ </widget>
+ <widget class="QLineEdit">
+ <property name="name">
+ <cstring>m_editUsers</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="QGroupBox">
+ <property name="name">
+ <cstring>groupBox1</cstring>
+ </property>
+ <property name="title">
+ <string>Devices</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_2</cstring>
+ </property>
+ <property name="text">
+ <string>Check the devices whose permissions you want to be changed</string>
+ </property>
+ </widget>
+ <widget class="KListView">
+ <column>
+ <property name="text">
+ <string>Device</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>Devicenode</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>Permissions</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>New Permissions</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <property name="name">
+ <cstring>m_viewDevices</cstring>
+ </property>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout3</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <spacer>
+ <property name="name">
+ <cstring>spacer2</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ <widget class="QPushButton">
+ <property name="name">
+ <cstring>m_buttonAddDevice</cstring>
+ </property>
+ <property name="text">
+ <string>Add Device...</string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="QGroupBox">
+ <property name="name">
+ <cstring>groupBox2</cstring>
+ </property>
+ <property name="title">
+ <string>External Programs</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QTabWidget">
+ <property name="name">
+ <cstring>tabWidget2</cstring>
+ </property>
+ <widget class="QWidget">
+ <property name="name">
+ <cstring>tab</cstring>
+ </property>
+ <attribute name="title">
+ <string>Found Programs</string>
+ </attribute>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1</cstring>
+ </property>
+ <property name="text">
+ <string>Check the programs whose permissions you want to be changed</string>
+ </property>
+ </widget>
+ <widget class="KListView">
+ <column>
+ <property name="text">
+ <string>Program</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>Version</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>Path</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>Permissions</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <column>
+ <property name="text">
+ <string>New Permissions</string>
+ </property>
+ <property name="clickable">
+ <bool>true</bool>
+ </property>
+ <property name="resizable">
+ <bool>true</bool>
+ </property>
+ </column>
+ <property name="name">
+ <cstring>m_viewPrograms</cstring>
+ </property>
+ </widget>
+ </vbox>
+ </widget>
+ <widget class="QWidget">
+ <property name="name">
+ <cstring>tab</cstring>
+ </property>
+ <attribute name="title">
+ <string>Search Path</string>
+ </attribute>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="KEditListBox">
+ <property name="name">
+ <cstring>m_editSearchPath</cstring>
+ </property>
+ <property name="title">
+ <string>Search Path</string>
+ </property>
+ <property name="flat">
+ <bool>false</bool>
+ </property>
+ </widget>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>textLabel1_3</cstring>
+ </property>
+ <property name="text">
+ <string><qt><b>Hint:</b> to force K3b to use another than the default name for the executable specify it in the search path.</qt></string>
+ </property>
+ </widget>
+ </vbox>
+ </widget>
+ </widget>
+ </vbox>
+ </widget>
+ </vbox>
+ </widget>
+ </hbox>
+</widget>
+<connections>
+ <connection>
+ <sender>m_checkUseBurningGroup</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>m_editBurningGroup</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>m_checkUseBurningGroup</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>m_editUsers</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+</connections>
+<layoutdefaults spacing="6" margin="11"/>
+<includehints>
+ <includehint>klistview.h</includehint>
+ <includehint>klistview.h</includehint>
+ <includehint>keditlistbox.h</includehint>
+ <includehint>klineedit.h</includehint>
+</includehints>
+</UI>
Added: kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/k3bsetup
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/k3bsetup (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/k3bsetup 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,20 @@
+#
+# $Id: k3bsetup 476230 2005-10-31 23:05:34Z thiago $
+# Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+#
+# This file is part of the K3b project.
+# Copyright (C) 1998-2003 Sebastian Trueg <trueg at k3b.org>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# See the file "COPYING" for the exact licensing terms.
+#
+
+
+#!/usr/bin/sh
+
+#TODO: if kdesu not found and not currently root use kdialog to display an error message
+
+kdesu kcmshell k3bsetup2
Added: kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/k3bsetup2.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/k3bsetup2.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/k3bsetup2.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,560 @@
+/*
+ *
+ * $Id: k3bsetup2.cpp 623771 2007-01-15 13:47:39Z trueg $
+ * Copyright (C) 2003-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include <config.h>
+
+#include <qlayout.h>
+#include <qmap.h>
+#include <qfile.h>
+#include <qfileinfo.h>
+#include <qcheckbox.h>
+#include <qlineedit.h>
+#include <qlabel.h>
+#include <qpushbutton.h>
+#include <qscrollview.h>
+#include <qtimer.h>
+
+#include <klocale.h>
+#include <kglobal.h>
+#include <kgenericfactory.h>
+#include <klistview.h>
+#include <keditlistbox.h>
+#include <kmessagebox.h>
+#include <kinputdialog.h>
+#include <kstandarddirs.h>
+#include <kconfig.h>
+#include <kdeversion.h>
+#include <ktextedit.h>
+
+#include "k3bsetup2.h"
+#include "base_k3bsetup2.h"
+
+#include <k3bdevicemanager.h>
+#include <k3bdevice.h>
+#include <k3bexternalbinmanager.h>
+#include <k3bdefaultexternalprograms.h>
+#include <k3bglobals.h>
+
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
+#include <grp.h>
+
+
+
+static bool shouldRunSuidRoot( K3bExternalBin* bin )
+{
+ //
+ // Since kernel 2.6.8 older cdrecord versions are not able to use the SCSI subsystem when running suid root anymore
+ // So for we ignore the suid root issue with kernel >= 2.6.8 and cdrecord < 2.01.01a02
+ //
+ // Some kernel version 2.6.16.something again introduced a problem here. Since I do not know the exact version
+ // and a workaround was introduced in cdrecord 2.01.01a05 just use that version as the first for suid root.
+ //
+ // Seems as if cdrdao never had problems with suid root...
+ //
+
+ if( bin->name() == "cdrecord" ) {
+ return ( K3b::simpleKernelVersion() < K3bVersion( 2, 6, 8 ) ||
+ bin->version >= K3bVersion( 2, 1, 1, "a05" ) ||
+ bin->hasFeature( "wodim" ) );
+ }
+ else if( bin->name() == "cdrdao" ) {
+ return true;
+ }
+ else if( bin->name() == "growisofs" ) {
+ //
+ // starting with 6.0 growiofs raises it's priority using nice(-20)
+ // BUT: newer kernels have ridiculously low default memorylocked resource limit, which prevents privileged
+ // users from starting growisofs 6.0 with "unable to anonymously mmap 33554432: Resource temporarily unavailable"
+ // error message. Until Andy releases a version including a workaround we simply never configure growisofs suid root
+ return false; // bin->version >= K3bVersion( 6, 0 );
+ }
+ else
+ return false;
+}
+
+
+class K3bSetup2::Private
+{
+public:
+ K3bDevice::DeviceManager* deviceManager;
+ K3bExternalBinManager* externalBinManager;
+
+ bool changesNeeded;
+
+ QMap<QCheckListItem*, QString> listDeviceMap;
+ QMap<QString, QCheckListItem*> deviceListMap;
+
+ QMap<QCheckListItem*, K3bExternalBin*> listBinMap;
+ QMap<K3bExternalBin*, QCheckListItem*> binListMap;
+
+ KConfig* config;
+};
+
+
+
+K3bSetup2::K3bSetup2( QWidget *parent, const char *, const QStringList& )
+ : KCModule( parent, "k3bsetup" )
+{
+ d = new Private();
+ d->config = new KConfig( "k3bsetup2rc" );
+
+ m_aboutData = new KAboutData("k3bsetup2",
+ "K3bSetup 2",
+ 0, 0, KAboutData::License_GPL,
+ "(C) 2003-2007 Sebastian Trueg");
+ m_aboutData->addAuthor("Sebastian Trueg", 0, "trueg at k3b.org");
+
+ setButtons( KCModule::Apply|KCModule::Cancel|KCModule::Ok|KCModule::Default );
+
+ QHBoxLayout* box = new QHBoxLayout( this );
+ box->setAutoAdd(true);
+ box->setMargin(0);
+ box->setSpacing( KDialog::spacingHint() );
+
+ KTextEdit* label = new KTextEdit( this );
+ label->setText( "<h2>K3bSetup</h2>"
+ + i18n("<p>This simple setup assistant is able to set the permissions needed by K3b in order to "
+ "burn CDs and DVDs. "
+ "<p>It does not take things like devfs or resmgr into account. In most cases this is not a "
+ "problem but on some systems the permissions may be altered the next time you login or restart "
+ "your computer. In those cases it is best to consult the distribution documentation."
+ "<p><b>Caution:</b> Although K3bSetup 2 should not be able "
+ "to mess up your system no guarantee can be given.") );
+ label->setReadOnly( true );
+ label->setFixedWidth( 200 );
+
+ w = new base_K3bSetup2( this );
+
+ // TODO: enable this and let root specify users
+ w->m_editUsers->hide();
+ w->textLabel2->hide();
+
+
+ connect( w->m_checkUseBurningGroup, SIGNAL(toggled(bool)),
+ this, SLOT(updateViews()) );
+ connect( w->m_editBurningGroup, SIGNAL(textChanged(const QString&)),
+ this, SLOT(updateViews()) );
+ connect( w->m_editSearchPath, SIGNAL(changed()),
+ this, SLOT(slotSearchPrograms()) );
+ connect( w->m_buttonAddDevice, SIGNAL(clicked()),
+ this, SLOT(slotAddDevice()) );
+
+
+ d->externalBinManager = new K3bExternalBinManager( this );
+ d->deviceManager = new K3bDevice::DeviceManager( this );
+
+ // these are the only programs that need special permissions
+ d->externalBinManager->addProgram( new K3bCdrdaoProgram() );
+ d->externalBinManager->addProgram( new K3bCdrecordProgram(false) );
+ d->externalBinManager->addProgram( new K3bGrowisofsProgram() );
+
+ d->externalBinManager->search();
+ d->deviceManager->scanBus();
+
+ load();
+
+ //
+ // This is a hack to work around a kcm bug which makes the faulty assumption that
+ // every module starts without anything to apply
+ //
+ QTimer::singleShot( 0, this, SLOT(updateViews()) );
+
+ if( getuid() != 0 || !d->config->checkConfigFilesWritable( true ) )
+ makeReadOnly();
+}
+
+
+K3bSetup2::~K3bSetup2()
+{
+ delete d->config;
+ delete d;
+ delete m_aboutData;
+}
+
+
+void K3bSetup2::updateViews()
+{
+ d->changesNeeded = false;
+
+ updatePrograms();
+ updateDevices();
+
+ emit changed( ( getuid() != 0 ) ? false : d->changesNeeded );
+}
+
+
+void K3bSetup2::updatePrograms()
+{
+ // first save which were checked
+ QMap<K3bExternalBin*, bool> checkMap;
+ QListViewItemIterator listIt( w->m_viewPrograms );
+ for( ; listIt.current(); ++listIt )
+ checkMap.insert( d->listBinMap[(QCheckListItem*)*listIt], ((QCheckListItem*)*listIt)->isOn() );
+
+ w->m_viewPrograms->clear();
+ d->binListMap.clear();
+ d->listBinMap.clear();
+
+ // load programs
+ const QMap<QString, K3bExternalProgram*>& map = d->externalBinManager->programs();
+ for( QMap<QString, K3bExternalProgram*>::const_iterator it = map.begin(); it != map.end(); ++it ) {
+ K3bExternalProgram* p = it.data();
+
+ QPtrListIterator<K3bExternalBin> binIt( p->bins() );
+ for( ; binIt.current(); ++binIt ) {
+ K3bExternalBin* b = *binIt;
+
+ QFileInfo fi( b->path );
+ // we need the uid bit which is not supported by QFileInfo
+ struct stat s;
+ if( ::stat( QFile::encodeName(b->path), &s ) ) {
+ kdDebug() << "(K3bSetup2) unable to stat " << b->path << endl;
+ }
+ else {
+ // create a checkviewitem
+ QCheckListItem* bi = new QCheckListItem( w->m_viewPrograms, b->name(), QCheckListItem::CheckBox );
+ bi->setText( 1, b->version );
+ bi->setText( 2, b->path );
+
+ d->listBinMap.insert( bi, b );
+ d->binListMap.insert( b, bi );
+
+ // check the item on first insertion or if it was checked before
+ bi->setOn( checkMap.contains(b) ? checkMap[b] : true );
+
+ int perm = s.st_mode & 0007777;
+
+ QString wantedGroup("root");
+ if( w->m_checkUseBurningGroup->isChecked() )
+ wantedGroup = burningGroup();
+
+ int wantedPerm = 0;
+ if( shouldRunSuidRoot( b ) ) {
+ if( w->m_checkUseBurningGroup->isChecked() )
+ wantedPerm = 0004710;
+ else
+ wantedPerm = 0004711;
+ }
+ else {
+ if( w->m_checkUseBurningGroup->isChecked() )
+ wantedPerm = 0000750;
+ else
+ wantedPerm = 0000755;
+ }
+
+ bi->setText( 3, QString::number( perm, 8 ).rightJustify( 4, '0' ) + " " + fi.owner() + "." + fi.group() );
+ if( perm != wantedPerm ||
+ fi.owner() != "root" ||
+ fi.group() != wantedGroup ) {
+ bi->setText( 4, QString("%1 root.%2").arg(wantedPerm,0,8).arg(wantedGroup) );
+ if( bi->isOn() )
+ d->changesNeeded = true;
+ }
+ else
+ bi->setText( 4, i18n("no change") );
+ }
+ }
+ }
+}
+
+
+void K3bSetup2::updateDevices()
+{
+ // first save which were checked
+ QMap<QString, bool> checkMap;
+ QListViewItemIterator listIt( w->m_viewDevices );
+ for( ; listIt.current(); ++listIt )
+ checkMap.insert( d->listDeviceMap[(QCheckListItem*)*listIt], ((QCheckListItem*)*listIt)->isOn() );
+
+ w->m_viewDevices->clear();
+ d->listDeviceMap.clear();
+ d->deviceListMap.clear();
+
+ QPtrListIterator<K3bDevice::Device> it( d->deviceManager->allDevices() );
+ for( ; it.current(); ++it ) {
+ K3bDevice::Device* device = *it;
+ // check the item on first insertion or if it was checked before
+ QCheckListItem* item = createDeviceItem( device->blockDeviceName() );
+ item->setOn( checkMap.contains(device->blockDeviceName()) ? checkMap[device->blockDeviceName()] : true );
+ item->setText( 0, device->vendor() + " " + device->description() );
+
+ if( !device->genericDevice().isEmpty() ) {
+ QCheckListItem* item = createDeviceItem( device->genericDevice() );
+ item->setOn( checkMap.contains(device->genericDevice()) ? checkMap[device->genericDevice()] : true );
+ item->setText( 0, device->vendor() + " " + device->description() + " (" + i18n("Generic SCSI Device") + ")" );
+ }
+ }
+}
+
+
+QCheckListItem* K3bSetup2::createDeviceItem( const QString& deviceNode )
+{
+ QFileInfo fi( deviceNode );
+ struct stat s;
+ if( ::stat( QFile::encodeName(deviceNode), &s ) ) {
+ kdDebug() << "(K3bSetup2) unable to stat " << deviceNode << endl;
+ return 0;
+ }
+ else {
+ // create a checkviewitem
+ QCheckListItem* bi = new QCheckListItem( w->m_viewDevices,
+ deviceNode,
+ QCheckListItem::CheckBox );
+
+ d->listDeviceMap.insert( bi, deviceNode );
+ d->deviceListMap.insert( deviceNode, bi );
+
+ bi->setText( 1, deviceNode );
+
+ int perm = s.st_mode & 0000777;
+
+ bi->setText( 2, QString::number( perm, 8 ).rightJustify( 3, '0' ) + " " + fi.owner() + "." + fi.group() );
+ if( w->m_checkUseBurningGroup->isChecked() ) {
+ // we ignore the device's owner here
+ if( perm != 0000660 ||
+ fi.group() != burningGroup() ) {
+ bi->setText( 3, "660 " + fi.owner() + "." + burningGroup() );
+ if( bi->isOn() )
+ d->changesNeeded = true;
+ }
+ else
+ bi->setText( 3, i18n("no change") );
+ }
+ else {
+ // we ignore the device's owner and group here
+ if( perm != 0000666 ) {
+ bi->setText( 3, "666 " + fi.owner() + "." + fi.group() );
+ if( bi->isOn() )
+ d->changesNeeded = true;
+ }
+ else
+ bi->setText( 3, i18n("no change") );
+ }
+
+ return bi;
+ }
+}
+
+
+void K3bSetup2::load()
+{
+ if( d->config->hasGroup("External Programs") ) {
+ d->config->setGroup( "External Programs" );
+ d->externalBinManager->readConfig( d->config );
+ }
+ if( d->config->hasGroup("Devices") ) {
+ d->config->setGroup( "Devices" );
+ d->deviceManager->readConfig( d->config );
+ }
+
+ d->config->setGroup( "General Settings" );
+ w->m_checkUseBurningGroup->setChecked( d->config->readBoolEntry( "use burning group", false ) );
+ w->m_editBurningGroup->setText( d->config->readEntry( "burning group", "burning" ) );
+
+
+ // load search path
+ w->m_editSearchPath->clear();
+ w->m_editSearchPath->insertStringList( d->externalBinManager->searchPath() );
+
+ updateViews();
+}
+
+
+void K3bSetup2::defaults()
+{
+ w->m_checkUseBurningGroup->setChecked(false);
+ w->m_editBurningGroup->setText( "burning" );
+
+ //
+ // This is a hack to work around a kcm bug which makes the faulty assumption that
+ // every module defaults to a state where nothing is to be applied
+ //
+ QTimer::singleShot( 0, this, SLOT(updateViews()) );
+}
+
+
+void K3bSetup2::save()
+{
+ d->config->setGroup( "General Settings" );
+ d->config->writeEntry( "use burning group", w->m_checkUseBurningGroup->isChecked() );
+ d->config->writeEntry( "burning group", burningGroup() );
+ d->config->setGroup( "External Programs");
+ d->externalBinManager->saveConfig( d->config );
+ d->config->setGroup( "Devices");
+ d->deviceManager->saveConfig( d->config );
+
+
+ bool success = true;
+
+ struct group* g = 0;
+ if( w->m_checkUseBurningGroup->isChecked() ) {
+ // TODO: create the group if it's not there
+ g = getgrnam( burningGroup().local8Bit() );
+ if( !g ) {
+ KMessageBox::error( this, i18n("There is no group %1.").arg(burningGroup()) );
+ return;
+ }
+ }
+
+
+ // save the device permissions
+ QListViewItemIterator listIt( w->m_viewDevices );
+ for( ; listIt.current(); ++listIt ) {
+
+ QCheckListItem* checkItem = (QCheckListItem*)listIt.current();
+
+ if( checkItem->isOn() ) {
+ QString dev = d->listDeviceMap[checkItem];
+
+ if( w->m_checkUseBurningGroup->isChecked() ) {
+ if( ::chmod( QFile::encodeName(dev), S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP ) )
+ success = false;
+
+ if( ::chown( QFile::encodeName(dev), (gid_t)-1, g->gr_gid ) )
+ success = false;
+ }
+ else {
+ if( ::chmod( QFile::encodeName(dev), S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH ) )
+ success = false;
+ }
+ }
+ }
+
+
+ // save the program permissions
+ listIt = QListViewItemIterator( w->m_viewPrograms );
+ for( ; listIt.current(); ++listIt ) {
+
+ QCheckListItem* checkItem = (QCheckListItem*)listIt.current();
+
+ if( checkItem->isOn() ) {
+
+ K3bExternalBin* bin = d->listBinMap[checkItem];
+
+ if( w->m_checkUseBurningGroup->isChecked() ) {
+ if( ::chown( QFile::encodeName(bin->path), (gid_t)0, g->gr_gid ) )
+ success = false;
+
+ int perm = 0;
+ if( shouldRunSuidRoot( bin ) )
+ perm = S_ISUID|S_IRWXU|S_IXGRP;
+ else
+ perm = S_IRWXU|S_IXGRP|S_IRGRP;
+
+ if( ::chmod( QFile::encodeName(bin->path), perm ) )
+ success = false;
+ }
+ else {
+ if( ::chown( QFile::encodeName(bin->path), 0, 0 ) )
+ success = false;
+
+ int perm = 0;
+ if( shouldRunSuidRoot( bin ) )
+ perm = S_ISUID|S_IRWXU|S_IXGRP|S_IXOTH;
+ else
+ perm = S_IRWXU|S_IXGRP|S_IRGRP|S_IXOTH|S_IROTH;
+
+ if( ::chmod( QFile::encodeName(bin->path), perm ) )
+ success = false;
+ }
+ }
+ }
+
+
+ if( success )
+ KMessageBox::information( this, i18n("Successfully updated all permissions.") );
+ else {
+ if( getuid() )
+ KMessageBox::error( this, i18n("Could not update all permissions. You should run K3bSetup 2 as root.") );
+ else
+ KMessageBox::error( this, i18n("Could not update all permissions.") );
+ }
+
+ // WE MAY USE "newgrp -" to reinitialize the environment if we add users to a group
+
+ updateViews();
+}
+
+
+QString K3bSetup2::quickHelp() const
+{
+ return i18n("<h2>K3bSetup 2</h2>"
+ "<p>This simple setup assistant is able to set the permissions needed by K3b in order to "
+ "burn CDs and DVDs."
+ "<p>It does not take into account devfs or resmgr, or similar. In most cases this is not a "
+ "problem, but on some systems the permissions may be altered the next time you login or restart "
+ "your computer. In these cases it is best to consult the distribution's documentation."
+ "<p>The important task that K3bSetup 2 performs is grant write access to the CD and DVD devices."
+ "<p><b>Caution:</b> Although K3bSetup 2 should not be able "
+ "to damage your system, no guarantee can be given.");
+}
+
+
+QString K3bSetup2::burningGroup() const
+{
+ QString g = w->m_editBurningGroup->text();
+ return g.isEmpty() ? QString("burning") : g;
+}
+
+
+void K3bSetup2::slotSearchPrograms()
+{
+ d->externalBinManager->setSearchPath( w->m_editSearchPath->items() );
+ d->externalBinManager->search();
+ updatePrograms();
+
+ emit changed( d->changesNeeded );
+}
+
+
+void K3bSetup2::slotAddDevice()
+{
+ bool ok;
+ QString newDevicename = KInputDialog::getText( i18n("Location of New Drive"),
+ i18n("Please enter the device name where K3b should search\n"
+ "for a new drive (example: /dev/mebecdrom):"),
+ "/dev/", &ok, this );
+
+ if( ok ) {
+ if( d->deviceManager->addDevice( newDevicename ) ) {
+ updateDevices();
+
+ emit changed( d->changesNeeded );
+ }
+ else
+ KMessageBox::error( this, i18n("Could not find an additional device at\n%1").arg(newDevicename),
+ i18n("Error"), false );
+ }
+}
+
+void K3bSetup2::makeReadOnly()
+{
+ w->m_checkUseBurningGroup->setEnabled( false );
+ w->m_editBurningGroup->setEnabled( false );
+ w->m_editUsers->setEnabled( false );
+ w->m_viewDevices->setEnabled( false );
+ w->m_buttonAddDevice->setEnabled( false );
+ w->m_viewPrograms->setEnabled( false );
+ w->m_editSearchPath->setEnabled( false );
+}
+
+
+typedef KGenericFactory<K3bSetup2, QWidget> K3bSetup2Factory;
+K_EXPORT_COMPONENT_FACTORY( kcm_k3bsetup2, K3bSetup2Factory("k3bsetup") )
+
+
+#include "k3bsetup2.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/k3bsetup2.desktop
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/k3bsetup2.desktop (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/k3bsetup2.desktop 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,142 @@
+[Desktop Entry]
+Encoding=UTF-8
+Comment=K3bSetup 2 - modify permission for CD/DVD burning with K3b
+Comment[af]=K3bSetup 2 - verander regte vir CD/DVD skryf met K3b
+Comment[ar]= اعداد K3B 2 - غÙÙØ± Ø§ÙØµÙاØÙات (Ø§ÙØ§Ø°ÙÙ ) ÙÙ ØªØ³ØªØ·ÙØ¹ ÙØªØ§Ø¨Ø© Ø§ÙØ§Ùراص اÙÙ
دÙ
جة (CD) Ø§Ù Ø§ÙØ§Ùراص اÙÙ
Ø±Ø¦ÙØ© Ø§ÙØ±ÙÙ
ÙØ© (DVD) Ø¨ÙØ§Ø³Ø·Ø© K3B
+Comment[bg]=ÐаÑÑÑойване на K3b (2) - пÑомÑна на пÑаваÑа за Ð·Ð°Ð¿Ð¸Ñ Ð½Ð° CD/DVD Ñ K3b
+Comment[bn]=à¦à§-থà§à¦°à¦¿-বি বà§à¦¯à¦¬à¦¸à§à¦¥à¦¾à¦ªà¦¨à¦¾ ২ - à¦à§-থà§à¦°à¦¿-বি দিà§à§ সিডি/ডিà¦à¦¿à¦¡à¦¿ লিà¦à¦¨à§à¦° à¦à¦¨à§à¦¯ à¦
নà§à¦®à¦¤à¦¿ পরিবরà§à¦¤à¦¨ à¦à¦°à§
+Comment[bs]=K3bSetup 2 - promijenite privilegije za CD/DVD prženje sa K3b-om
+Comment[ca]=K3bSetup 2 - modifica els permisos per a cremar CD i DVD amb K3b
+Comment[cs]=K3bSetup 2 - zmÄna oprávnÄnà pro vypalovánà CD/DVD s K3b
+Comment[da]=K3bSetup 2 - ændring af tilladelser for cd/dvd-brænding med K3b
+Comment[de]=K3b Einrichtungsassistent - Zugriffsrechte zum Brennen mit K3b anpassen
+Comment[el]=ΡÏθμιÏη K3b 2 - ÏÏοÏοÏοίηÏη δικαιÏμάÏÏν για εγγÏαÏή CD/DVD με Ïο K3b
+Comment[eo]=K3bAgordo 2 - ÅanÄu rajtojn por KD/DVD enskribo per K3b
+Comment[es]=K3bSetup 2 - modifica los permisos para la grabación de CD o DVD con K3b
+Comment[et]=K3b seadistamine - võimalus muuta õigusi CD/DVD kirjutamiseks K3b-ga
+Comment[fa]=K3bSetup 2 - تغÛÛØ± Ù
Ø¬ÙØ² Ø¨Ø±Ø§Û Ø³ÙØ²Ø§ÙØ¯Ù Ø¯ÛØ³Ú© ÙØ´Ø±Ø¯Ù/Ø¯Û ÙÛ Ø¯Û Ø¨Ø§ K3b
+Comment[fi]=K3bSetup 2 - aseta K3b:n poltto-oikeudet
+Comment[fr]=K3bSetup 2 - Modification des permissions pour la gravure de CDÂ /Â DVD avec K3b
+Comment[gl]=K3bSetup 2 - modifica os permisos para gravar CDs/DVDs con K3b
+Comment[he]=K3bSetup 2 - ש×× ×× ×רש××ת ×¢××ר צר××ת תק×××××¨× CD/DVD ×¢× K3b
+Comment[hi]=à¤à¥3बà¥-सà¥à¤à¤
प 2 - à¤à¥3बॠà¤à¥ साथ सà¥à¤¡à¥/डà¥à¤µà¥à¤¡à¥ बरà¥à¤¨à¤¿à¤à¤ हà¥à¤¤à¥ à¤à¤à¥à¤à¤¾à¤à¤ परिवरà¥à¤§à¤¿à¤¤ à¤à¤°à¥à¤
+Comment[hu]=K3bSetup 2 - jogosultságbeállÃtás CD/DVD-Ãráshoz a K3b-ben
+Comment[is]=K3b uppsetning 2 - breyta aðgangsheimildum á CD/DVD skrifun með K3b
+Comment[it]=Impostazioni di K3b 2 - modifica i permessi per CD/DVD per scrivere con K3b
+Comment[ja]=K3bSetup 2 - K3b ã§ CD/DVD ã«æ¸ãè¾¼ãããã®æ¨©éãè¨å®
+Comment[km]=K3bSetup 2 - ááááááâáá·áááá·âáá¾áááá¸âáá»áâááá¸áḠᬠáá¸áá¸áá¸ââáááâáááá¾ K3b
+Comment[lt]=K3bSetup 2 â pakeiskite leidimus CD/DVD kÅ«rimui su K3b
+Comment[mk]=K3bSetup 2 - менÑваÑе на дозволиÑе за ÑнимаÑе на CD/DVD Ñо K3b
+Comment[ms]=K3bSetup2 - mengubahsuai kebenaran untuk membakar CD/DVD dengan K3b
+Comment[nb]=K3bSetup 2 â endre tillatelser for CD-/DVD-brenning med K3b
+Comment[nds]=K3b-Inrichthölper - Verlöven för't Brennen vun CD/DVD mit K3b ännern
+Comment[ne]=K3bSetup 2 - लॠK3b सà¤à¤ सà¥à¤¡à¥/डà¥à¤à¥à¤¡à¥ बरà¥à¤¨à¤¿à¤à¤à¤¾ लाà¤à¤¿ à¤
नà¥à¤®à¤¤à¤¿ परिमारà¥à¤à¤¨ à¤à¤°à¥à¤¦à¤
+Comment[nl]=K3bSetup 2 - stelt de toegangsrechten in voor cd/dvd-branden met K3b
+Comment[nn]=K3b-oppsett 2 â endra løyve for CD- og DVD-brenning med K3b
+Comment[pa]=K3bSetup 2 - K3b ਨਾਲ CD/DVD ਲਿà¨à¨£ ਲਠà¨
ਧਿà¨à¨¾à¨° ਸà©à¨§
+Comment[pl]=K3bSetup 2 - modyfikacja uprawnieÅ do nagrywania pÅyt CD/DVD za pomocÄ
K3b
+Comment[pt]=K3bSetup 2 - modificar as permissões para a gravação de CDs/DVDs com o K3b
+Comment[pt_BR]=Configurações Avançadas do K3b - modificar as permissões para a queima de CD/DVD com o K3b
+Comment[ru]=K3bSetup 2 - наÑÑÑоиÑÑ Ð¿Ñава Ð´Ð»Ñ Ð·Ð°Ð¿Ð¸Ñи пÑи помоÑи K3b
+Comment[sk]=K3bSetup 2 - zmena práv pre napaľovanie CD/DVD s K3b
+Comment[sl]=K3bSetup - spremeni dovoljenja za pisanje CD/DVD-jev s K3b
+Comment[sr]=K3bSetup 2 â меÑа дозволе за ÑезаÑе CD/DVD-а помоÑÑ K3b-а
+Comment[sr at Latn]=K3bSetup 2 â menja dozvole za rezanje CD/DVD-a pomoÄu K3b-a
+Comment[sv]=Ställ in K3b 2: ändra rättigheter för att bränna cd/dvd med K3b
+Comment[ta]= K3bà®
à®®à¯à®µà¯2 - K3b à® CD/DVD à®à®³à¯à®à¯ à®à®´à¯à®¤à¯à®µà®¤à®±à¯à®à®¾à® à®
னà¯à®®à®¤à®¿ மாறà¯à®±à¯à®µà®¤à®±à¯à®à®¾à®
+Comment[tg]=K3bSetup 2 - Ñанзим каÑдани Ð¸Ò·Ð¾Ð·Ð°Ñ Ð±Ð°Ñои ÑÐ°Ð±Ñ Ð±Ð¾ ÑÑии K3b
+Comment[tr]=K3bSetup 2 - K3b ile CD/DVD kaydetme izinlerini ayarlama
+Comment[uk]=K3bSetup 2 - змÑна пÑав доÑÑÑÐ¿Ñ Ð´Ð»Ñ Ð·Ð°Ð¿Ð¸ÑÑ ÐÐ/DVD за Ð´Ð¾Ð¿Ð¾Ð¼Ð¾Ð³Ð¾Ñ K3b
+Comment[uz]=K3bSetup 2 - K3b ÑÑдамида CD/DVD'га ÑÐ·Ð¸Ñ Ò³ÑÒÑÒини моÑлаÑ
+Comment[zh_CN]=K3b 设置 2 - ä¿®æ¹ä½¿ç¨ K3b ç§å½ CD/DVD çæé
+Comment[zh_TW]=K3bSetup 2 - çº K3b çé CD/DVD ä¿®æ¹æ¬é
+Exec=k3bsetup
+Keywords=K3bSetup2,k3bsetup2
+Keywords[ar]=اعداد K3b , K3b2
+Keywords[bg]=K3bSetup2,k3bsetup2,ÐаÑÑÑойване на K3b (2)
+Keywords[de]=K3b, Einrichtungsassistent, Rechte
+Keywords[el]=ΡÏθμιÏη K3b 2,k3bsetup2
+Keywords[eo]=K3bAgordo2,k3bagordo2
+Keywords[et]=K3bSetup2,k3bsetup2,k3b seadistamine
+Keywords[hi]=à¤à¥3बà¥-सà¥à¤à¤
प 2,à¤à¥3बà¥-सà¥à¤à¤
प2
+Keywords[nds]=K3bSetup2,k3bsetup2,K3b-Inrichthölper
+Keywords[nl]=K3bSetup2,k3bsetup2,branden,cd branden,dvd,dvd branden
+Keywords[nn]=K3b-oppsett 2,k3b-oppsett 2
+Keywords[pl]=K3bSetup2,k3bsetup2,k3b,ustawienia,uprawnienia
+Keywords[pt_BR]=Configurações Avançadas do K3b,configurações avançadas do K3b
+Keywords[sv]=Ställ in K3b 2,k3bsetup2
+Keywords[ta]=K3bà®
à®®à¯à®µà¯2,K3bà®
à®®à¯à®µà¯2
+Keywords[tg]=ТанзимиK3b2,Ñанзимиk3b2
+Keywords[uz]=K3bSetup2,k3bsetup2,CD,компакÑ-диÑк
+Name=K3bSetup
+Name[ar]= اعداد K3b
+Name[bg]=ÐаÑÑÑойване на K3b
+Name[bn]=à¦à§-থà§à¦°à¦¿-বি বà§à¦¯à¦¬à¦¸à§à¦¥à¦¾à¦ªà¦¨à¦¾
+Name[de]=K3b Einrichtungsassistent
+Name[eo]=K3bAgordo
+Name[et]=K3b seadistamine
+Name[hi]=à¤à¥3बà¥-सà¥à¤à¤
प
+Name[is]=K3b uppsetning
+Name[it]=Impostazioni di K3b
+Name[nds]=K3b-Inrichthölper
+Name[nn]=K3b-oppsett
+Name[pa]=K3b-ਸà©à©±à¨à¨
ੱਪ
+Name[pt_BR]=Configurar K3b
+Name[sv]=Ställ in K3b
+Name[ta]=K3b à®
à®®à¯à®µà¯
+Name[tg]=ТанзимиK3b
+Name[zh_TW]=K3b è¨å®
+Terminal=false
+Type=Application
+Icon=k3b
+X-KDE-FactoryName=k3bsetup2
+X-KDE-Library=k3bsetup2
+X-KDE-ModuleType=Library
+X-KDE-RootOnly=true
+Categories=Application;System;X-KDE-System;
+GenericName=CD & DVD Burning Setup
+GenericName[af]=CD & DVD Skryf Opstelling
+GenericName[ar]=Ø§ÙØ¹Ø§Ù
اعداد ÙØªØ§Ø¨Ø© اÙÙØ±Øµ اÙÙ
دÙ
ج (CD) ٠اÙÙØ±Øµ اÙÙ
Ø±Ø¦Ù Ø§ÙØ±ÙÙ
Ù (DVD)
+GenericName[bg]=ÐаÑÑÑойване запиÑа на CD и DVD
+GenericName[bn]=সিডি à¦à¦¬à¦ ডিà¦à¦¿à¦¡à¦¿ লিà¦à¦¨ বà§à¦¯à¦¬à¦¸à§à¦¥à¦¾à¦ªà¦¨à¦¾
+GenericName[ca]=Programa per gravar CDs i DVDs
+GenericName[cs]=Nastavenà vypalovánà CD a DVD
+GenericName[da]=Cd & dvd opsætning til brænding
+GenericName[de]=CD & DVD-Brennen einrichten
+GenericName[el]=ΡÏθμιÏη εγγÏαÏÎ®Ï CD & DVD
+GenericName[eo]=KD & DVD Enskriba agordo
+GenericName[es]=Configurar grabación de CD y DVD
+GenericName[et]=CD ja DVD kirjutamise seadistamine
+GenericName[fa]=برپاÛÛ Ø³ÙØ²Ø§ÙØ¯Ù Ø¯ÛØ³Ú© ÙØ´Ø±Ø¯Ù Ù Ø¯Û ÙÛ Ø¯Û
+GenericName[fi]=K3b-poltto-ohjelman asetusten määritys
+GenericName[fr]=Configuration de la gravure de CD et de DVD
+GenericName[gl]=Configurazón da Grabazón de CDs e DVDs
+GenericName[hu]=CD- és DVD-Ãrási beállÃtások
+GenericName[is]=Uppsetning á CD og DVD brennslu
+GenericName[it]=Impostazioni di masterizzazione CD e DVD
+GenericName[ja]=CD / DVD 使ã®è¨å®
+GenericName[km]=áááá
áâáá¶áâáá»áâááá¸áḠ& áá¸áá¸áá¸
+GenericName[lt]=CD & DVD kūrimo parinktys
+GenericName[mk]=ÐоÑÑавÑваÑа за ÑнимаÑе на CD и DVD
+GenericName[nb]=Oppsett av CD- og DVD-brenning
+GenericName[nds]=Brennen vun CD & DVD instellen
+GenericName[ne]=सà¥à¤¡à¥ र डà¥à¤à¥à¤¡à¥ बरà¥à¤¨à¤¿à¤ सà¥à¤à¤
प
+GenericName[nl]=CD- en dvd-branden instellen
+GenericName[nn]=Oppsett av CD- og DVD-brenning
+GenericName[pa]=CD & DVD ਲਿà¨à¨£ ਸà©à¨à¨
ੱਪ
+GenericName[pl]=Konfiguracja nagrywania pÅyt CD i DVD
+GenericName[pt]=Configuração da Gravação de CDs e DVDs
+GenericName[pt_BR]=Configuração da Queima de CD & DVD
+GenericName[ru]=ÐаÑÑÑойка запиÑи CD и DVD
+GenericName[sk]=Nastavenie CD & DVD napaľovania
+GenericName[sl]=Nastavitve za pisanje CD-jev in DVD-jev
+GenericName[sr]=ÐодеÑаваÑе ÑезаÑа CD-а и DVD-а
+GenericName[sr at Latn]=Podešavanje rezanja CD-a i DVD-a
+GenericName[sv]=Cd och dvd-bränninställning
+GenericName[ta]=à®à®¿à®à®¿ & DVD நà®à®²à¯ à®à®à¯à®à¯à®à¯à®®à¯ à®
à®®à¯à®ªà¯à®ªà¯
+GenericName[tg]=ТанзимоÑи ÑабÑкÑнии CD ва DVD
+GenericName[tr]=CD ve DVD Kaydetme Kurulumu
+GenericName[uk]=ÐалажÑÑÐ²Ð°Ð½Ð½Ñ Ð·Ð°Ð¿Ð¸ÑÑ ÐÐ Ñа DVD
+GenericName[uz]=CD ва DVD диÑкка ÑзиÑни моÑлаÑ
+GenericName[zh_CN]=CD & DVD å»å½ç¨åºè®¾ç½®
+GenericName[zh_TW]=CD & DVD çéè¨å®
Added: kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/k3bsetup2.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/k3bsetup2.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/k3bsetup/k3bsetup2.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,65 @@
+/*
+ *
+ * $Id: k3bsetup2.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef _K3BSETUP2_H_
+#define _K3BSETUP2_H_
+
+#include <kcmodule.h>
+#include <kaboutdata.h>
+
+
+class base_K3bSetup2;
+class QCheckListItem;
+
+
+class K3bSetup2: public KCModule
+{
+ Q_OBJECT
+
+ public:
+ K3bSetup2( QWidget* parent = 0, const char* name = 0, const QStringList& args = QStringList() );
+ ~K3bSetup2();
+
+ QString quickHelp() const;
+ const KAboutData* aboutData() { return m_aboutData; };
+
+ void load();
+ void save();
+ void defaults();
+
+ public slots:
+ void updateViews();
+
+ private slots:
+ void slotSearchPrograms();
+ void slotAddDevice();
+
+ private:
+ void updatePrograms();
+ void updateDevices();
+ QString burningGroup() const;
+ void makeReadOnly();
+ QCheckListItem* createDeviceItem( const QString& deviceNode );
+
+ class Private;
+ Private* d;
+
+ base_K3bSetup2* w;
+
+ KAboutData* m_aboutData;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/Makefile.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/Makefile.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/Makefile.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1 @@
+SUBDIRS = k3bproject
\ No newline at end of file
Added: kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/Makefile.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/Makefile.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/Makefile.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,742 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 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.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = kfile-plugins
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+#>- RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+#>- html-recursive info-recursive install-data-recursive \
+#>- install-dvi-recursive install-exec-recursive \
+#>- install-html-recursive install-info-recursive \
+#>- install-pdf-recursive install-ps-recursive install-recursive \
+#>- installcheck-recursive installdirs-recursive pdf-recursive \
+#>- ps-recursive uninstall-recursive
+#>+ 7
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-dvi-recursive install-exec-recursive \
+ install-html-recursive install-info-recursive \
+ install-pdf-recursive install-ps-recursive install-recursive \
+ installcheck-recursive installdirs-recursive pdf-recursive \
+ ps-recursive uninstall-recursive nmcheck-recursive bcheck-recursive
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ACLOCAL = @ACLOCAL@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+ARTS_LIBS = @ARTS_LIBS@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAM_LIB = @CAM_LIB@
+CC = @CC@
+CCAS = @CCAS@
+CCASDEPMODE = @CCASDEPMODE@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DBUSQT_INCS = @DBUSQT_INCS@
+DBUSQT_LIBS = @DBUSQT_LIBS@
+DBUS_INCS = @DBUS_INCS@
+DBUS_LIBS = @DBUS_LIBS@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+GREP = @GREP@
+GV_ASM_DEFS = @GV_ASM_DEFS@
+HAL_DBUS_LIBS = @HAL_DBUS_LIBS@
+HAL_INCS = @HAL_INCS@
+HAL_LIBS = @HAL_LIBS@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+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_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSAMPLERATE = @LIBSAMPLERATE@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAD_LIB = @MAD_LIB@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MPC_LIBS = @MPC_LIBS@
+MSGFMT = @MSGFMT@
+MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+RESMGR_LIB = @RESMGR_LIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+TAGLIB_CONFIG = @TAGLIB_CONFIG@
+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@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+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_kcfgdir = @kde_kcfgdir@
+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@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+taglib_includes = @taglib_includes@
+taglib_libs = @taglib_libs@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+SUBDIRS = k3bproject
+#>- all: all-recursive
+#>+ 1
+all: docs-am all-recursive
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu kfile-plugins/Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --gnu kfile-plugins/Makefile
+#>+ 12
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu kfile-plugins/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu kfile-plugins/Makefile
+ cd $(top_srcdir) && perl admin/am_edit kfile-plugins/Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+# 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):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ 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) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+$(RECURSIVE_CLEAN_TARGETS):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ 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) \
+ || eval $$failcom; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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
+tags: TAGS
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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 "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ distdir=`$(am__cd) $(distdir) && pwd`; \
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
+ (cd $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$top_distdir" \
+ distdir="$$distdir/$$subdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-recursive
+all-am: Makefile
+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)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-recursive
+#>+ 1
+clean: kde-rpo-clean clean-recursive
+
+#>- clean-am: clean-generic clean-libtool mostlyclean-am
+#>+ 1
+clean-am: clean-bcheck clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-recursive
+
+install-exec-am:
+
+install-html: install-html-recursive
+
+install-info: install-info-recursive
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-ps: install-ps-recursive
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
+ install-strip
+
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
+ all all-am check check-am clean clean-generic clean-libtool \
+ ctags ctags-recursive distclean distclean-generic \
+ distclean-libtool distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
+ uninstall uninstall-am
+
+# 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
+KDE_DIST=Makefile.in Makefile.am
+
+#>+ 2
+docs-am:
+
+#>+ 15
+force-reedit:
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu kfile-plugins/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu kfile-plugins/Makefile
+ cd $(top_srcdir) && perl admin/am_edit kfile-plugins/Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-recursive
+
+bcheck-am:
+ @for i in ; do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXX) $(DEFS) -I. -I$(srcdir) -I$(top_builddir) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 3
+final:
+ $(MAKE) all-am
+
+#>+ 3
+final-install:
+ $(MAKE) install-am
+
+#>+ 3
+no-final:
+ $(MAKE) all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 3
+nmcheck:
+nmcheck-am: nmcheck
Added: kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/Makefile.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/Makefile.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/Makefile.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,27 @@
+AM_CPPFLAGS = -I$(srcdir)/../../libk3b/core \
+ -I$(srcdir)/../../libk3b/core \
+ -I$(srcdir)/../../libk3b/plugin \
+ -I$(srcdir)/../../libk3b/tools \
+ -I$(srcdir)/../../libk3b/projects \
+ -I$(srcdir)/../../libk3b/projects/datacd \
+ -I$(srcdir)/../../libk3bdevice \
+ -I$(srcdir)/../../src/projects \
+ $(all_includes)
+
+# these are the headers for your project
+noinst_HEADERS = kfile_k3bprojectfileplugin.h
+
+kde_module_LTLIBRARIES = kfile_k3b.la
+
+kfile_k3b_la_SOURCES = kfile_k3bprojectfileplugin.cpp
+kfile_k3b_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kfile_k3b_la_LIBADD = $(LIB_KIO) ../../libk3b/libk3b.la ../../src/projects/kostore/libkostore.la
+
+# let automoc handle all of the meta source files (moc)
+METASOURCES = AUTO
+
+services_DATA = kfile_k3b.desktop
+servicesdir = $(kde_servicesdir)
+
+messages:
+ $(XGETTEXT) *.cpp -o $(podir)/kfile_k3b.pot
Added: kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/Makefile.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/Makefile.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/Makefile.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,804 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 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.
+
+ at SET_MAKE@
+
+
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = kfile-plugins/k3bproject
+DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(kde_moduledir)" \
+ "$(DESTDIR)$(servicesdir)"
+kde_moduleLTLIBRARIES_INSTALL = $(INSTALL)
+LTLIBRARIES = $(kde_module_LTLIBRARIES)
+am__DEPENDENCIES_1 =
+kfile_k3b_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+ ../../libk3b/libk3b.la \
+ ../../src/projects/kostore/libkostore.la
+am_kfile_k3b_la_OBJECTS = kfile_k3bprojectfileplugin.lo
+#>- kfile_k3b_la_OBJECTS = $(am_kfile_k3b_la_OBJECTS)
+#>+ 1
+kfile_k3b_la_OBJECTS = kfile_k3bprojectfileplugin.lo
+#>- kfile_k3b_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+#>- $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+#>- $(CXXFLAGS) $(kfile_k3b_la_LDFLAGS) $(LDFLAGS) -o $@
+#>+ 3
+kfile_k3b_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+ $(CXXFLAGS) $(KDE_CXXFLAGS) $(kfile_k3b_la_LDFLAGS) $(LDFLAGS) -o $@
+DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
+am__depfiles_maybe = depfiles
+#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 2
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+#>- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 3
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+CXXLD = $(CXX)
+#>- CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
+#>- $(LDFLAGS) -o $@
+#>+ 3
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+SOURCES = $(kfile_k3b_la_SOURCES)
+DIST_SOURCES = $(kfile_k3b_la_SOURCES)
+servicesDATA_INSTALL = $(INSTALL_DATA)
+DATA = $(services_DATA)
+HEADERS = $(noinst_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ACLOCAL = @ACLOCAL@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+ARTS_LIBS = @ARTS_LIBS@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAM_LIB = @CAM_LIB@
+CC = @CC@
+CCAS = @CCAS@
+CCASDEPMODE = @CCASDEPMODE@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DBUSQT_INCS = @DBUSQT_INCS@
+DBUSQT_LIBS = @DBUSQT_LIBS@
+DBUS_INCS = @DBUS_INCS@
+DBUS_LIBS = @DBUS_LIBS@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+GREP = @GREP@
+GV_ASM_DEFS = @GV_ASM_DEFS@
+HAL_DBUS_LIBS = @HAL_DBUS_LIBS@
+HAL_INCS = @HAL_INCS@
+HAL_LIBS = @HAL_LIBS@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+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_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSAMPLERATE = @LIBSAMPLERATE@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAD_LIB = @MAD_LIB@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MPC_LIBS = @MPC_LIBS@
+MSGFMT = @MSGFMT@
+MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+RESMGR_LIB = @RESMGR_LIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+TAGLIB_CONFIG = @TAGLIB_CONFIG@
+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@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+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_kcfgdir = @kde_kcfgdir@
+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@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+taglib_includes = @taglib_includes@
+taglib_libs = @taglib_libs@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+AM_CPPFLAGS = -I$(srcdir)/../../libk3b/core \
+ -I$(srcdir)/../../libk3b/core \
+ -I$(srcdir)/../../libk3b/plugin \
+ -I$(srcdir)/../../libk3b/tools \
+ -I$(srcdir)/../../libk3b/projects \
+ -I$(srcdir)/../../libk3b/projects/datacd \
+ -I$(srcdir)/../../libk3bdevice \
+ -I$(srcdir)/../../src/projects \
+ $(all_includes)
+
+
+# these are the headers for your project
+noinst_HEADERS = kfile_k3bprojectfileplugin.h
+kde_module_LTLIBRARIES = kfile_k3b.la
+kfile_k3b_la_SOURCES = kfile_k3bprojectfileplugin.cpp
+kfile_k3b_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kfile_k3b_la_LIBADD = $(LIB_KIO) ../../libk3b/libk3b.la ../../src/projects/kostore/libkostore.la
+
+# let automoc handle all of the meta source files (moc)
+#>- METASOURCES = AUTO
+services_DATA = kfile_k3b.desktop
+servicesdir = $(kde_servicesdir)
+#>- all: all-am
+#>+ 1
+all: docs-am all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu kfile-plugins/k3bproject/Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --gnu kfile-plugins/k3bproject/Makefile
+#>+ 12
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu kfile-plugins/k3bproject/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu kfile-plugins/k3bproject/Makefile
+ cd $(top_srcdir) && perl admin/am_edit kfile-plugins/k3bproject/Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+install-kde_moduleLTLIBRARIES: $(kde_module_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ test -z "$(kde_moduledir)" || $(MKDIR_P) "$(DESTDIR)$(kde_moduledir)"
+ @list='$(kde_module_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+ f=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=install $(kde_moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(kde_moduledir)/$$f'"; \
+ $(LIBTOOL) --mode=install $(kde_moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(kde_moduledir)/$$f"; \
+ else :; fi; \
+ done
+
+uninstall-kde_moduleLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @list='$(kde_module_LTLIBRARIES)'; for p in $$list; do \
+ p=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(kde_moduledir)/$$p'"; \
+ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(kde_moduledir)/$$p"; \
+ done
+
+clean-kde_moduleLTLIBRARIES:
+ -test -z "$(kde_module_LTLIBRARIES)" || rm -f $(kde_module_LTLIBRARIES)
+ @list='$(kde_module_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" != "$$p" || dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+kfile_k3b.la: $(kfile_k3b_la_OBJECTS) $(kfile_k3b_la_DEPENDENCIES)
+ $(kfile_k3b_la_LINK) -rpath $(kde_moduledir) $(kfile_k3b_la_OBJECTS) $(kfile_k3b_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/kfile_k3bprojectfileplugin.Plo at am__quote@
+
+.cpp.o:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+ at am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+install-servicesDATA: $(services_DATA)
+ @$(NORMAL_INSTALL)
+ test -z "$(servicesdir)" || $(MKDIR_P) "$(DESTDIR)$(servicesdir)"
+ @list='$(services_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(servicesDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(servicesdir)/$$f'"; \
+ $(servicesDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(servicesdir)/$$f"; \
+ done
+
+uninstall-servicesDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(services_DATA)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(servicesdir)/$$f'"; \
+ rm -f "$(DESTDIR)$(servicesdir)/$$f"; \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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 "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(kde_moduledir)" "$(DESTDIR)$(servicesdir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-am
+#>+ 1
+clean: kde-rpo-clean clean-am
+
+#>- clean-am: clean-generic clean-kde_moduleLTLIBRARIES clean-libtool \
+#>- mostlyclean-am
+#>+ 2
+clean-am: clean-metasources clean-bcheck clean-generic clean-kde_moduleLTLIBRARIES clean-libtool \
+ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+#>- install-data-am: install-kde_moduleLTLIBRARIES install-servicesDATA
+#>+ 1
+install-data-am: install-servicesDATA
+
+install-dvi: install-dvi-am
+
+#>- install-exec-am:
+#>+ 1
+install-exec-am: install-kde_moduleLTLIBRARIES
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-kde_moduleLTLIBRARIES uninstall-servicesDATA
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+ clean-kde_moduleLTLIBRARIES clean-libtool ctags distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am \
+ install-kde_moduleLTLIBRARIES install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-servicesDATA \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+ pdf pdf-am ps ps-am tags uninstall uninstall-am \
+ uninstall-kde_moduleLTLIBRARIES uninstall-servicesDATA
+
+
+messages:
+ $(XGETTEXT) *.cpp -o $(podir)/kfile_k3b.pot
+# 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:
+
+#>+ 3
+kfile_k3bprojectfileplugin.moc: $(srcdir)/kfile_k3bprojectfileplugin.h
+ $(MOC) $(srcdir)/kfile_k3bprojectfileplugin.h -o kfile_k3bprojectfileplugin.moc
+
+#>+ 2
+mocs: kfile_k3bprojectfileplugin.moc
+
+#>+ 3
+clean-metasources:
+ -rm -f kfile_k3bprojectfileplugin.moc
+
+#>+ 2
+KDE_DIST=Makefile.in Makefile.am kfile_k3b.desktop
+
+#>+ 2
+docs-am:
+
+#>+ 15
+force-reedit:
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu kfile-plugins/k3bproject/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu kfile-plugins/k3bproject/Makefile
+ cd $(top_srcdir) && perl admin/am_edit kfile-plugins/k3bproject/Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-am
+
+bcheck-am:
+ @for i in ; do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXXCOMPILE) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 3
+final:
+ $(MAKE) all-am
+
+#>+ 3
+final-install:
+ $(MAKE) install-am
+
+#>+ 3
+no-final:
+ $(MAKE) all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 5
+nmcheck:
+kfile_k3bprojectfileplugin.o: kfile_k3bprojectfileplugin.moc
+nmcheck-am: nmcheck
+kfile_k3bprojectfileplugin.lo: kfile_k3bprojectfileplugin.moc
Added: kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/kfile_k3b.desktop
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/kfile_k3b.desktop (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/kfile_k3b.desktop 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,51 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Service
+Name=K3b Project Info
+Name[af]=K3b Projek Informasie
+Name[ar]= Ù
عÙÙÙ
ات ع٠Ù
Ø´Ø±ÙØ¹ K3B
+Name[bg]=ÐнÑоÑмаÑÐ¸Ñ Ð·Ð° K3b пÑоекÑ
+Name[bn]=à¦à§-থà§à¦°à¦¿-বি পà§à¦°à¦à¦²à§à¦ª তথà§à¦¯
+Name[br]=Titouroù raktres K3b
+Name[ca]=Informació sobre el projecte de K3b
+Name[cs]=Info o K3b projektu
+Name[da]=K3b Projektinformation
+Name[de]=K3b Projektinformationen
+Name[el]=ΠληÏοÏοÏÎ¯ÎµÏ ÎÏγοÏ
K3b
+Name[eo]=K3b projekta informo
+Name[es]=Información de proyecto K3b
+Name[et]=K3b projekti info
+Name[fa]= Ø§Ø·ÙØ§Ø¹Ø§Øª پرÙÚÛ K3b
+Name[fi]=K3b-projektin kuvaus
+Name[fr]=Information sur le projet K3b
+Name[ga]=Eolas faoin Tionscadal K3b
+Name[gl]=Informazón de Proxecto K3b
+Name[hu]=K3b-projektinformáció
+Name[is]=K3b verkefnisupplýsingar
+Name[it]=Informazioni progetto K3b
+Name[ja]=K3b ããã¸ã§ã¯ãæ
å ±
+Name[km]=áááááá¶áâááááââáááááá K3b
+Name[lt]=K3b projekto informacija
+Name[mk]=ÐнÑоÑмаÑии за пÑÐ¾ÐµÐºÑ Ð¾Ð´ K3b
+Name[nb]=K3b-prosjektinformasjon
+Name[nds]=K3b-Projektinformatschonen
+Name[nl]=K3b-projectinformatie
+Name[pa]=K3b ਪà©à¨°à©à¨à©à©±à¨à¨ à¨à¨¾à¨£à¨à¨¾à¨°à©
+Name[pl]=Informacja dla projektu K3b
+Name[pt]=Informação do Projecto do K3b
+Name[pt_BR]=Informações do Projeto do K3b
+Name[ru]=Ð¡Ð²Ð´ÐµÐ½Ð¸Ñ Ð¾ пÑоекÑе K3b
+Name[sk]=K3b informácie o projekte
+Name[sr]=ÐнÑо о K3b пÑоÑекÑÑ
+Name[sr at Latn]=Info o K3b projektu
+Name[sv]=K3b-projektinformation
+Name[tr]=K3b Proje Bilgisi
+Name[uk]=ÐнÑоÑмаÑÑÑ Ð¿ÑоекÑÑ K3b
+Name[uz]=K3b лойиҳаÑи ҳаÒида маÑлÑмоÑ
+Name[zh_CN]=K3b æ¹æ¡ä¿¡æ¯
+Name[zh_TW]=K3b å°æ¡è³è¨
+ServiceTypes=KFilePlugin
+X-KDE-Library=kfile_k3b
+MimeType=application/x-k3b
+PreferredGroups=General
+PreferredItems=documenttype
Added: kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/kfile_k3bprojectfileplugin.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/kfile_k3bprojectfileplugin.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/kfile_k3bprojectfileplugin.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,135 @@
+/*
+ *
+ * $Id: sourceheader,v 1.3 2005/01/19 13:03:46 trueg Exp $
+ * Copyright (C) 2005 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#include <config.h>
+
+#include "kfile_k3bprojectfileplugin.h"
+#include "kostore/koStore.h"
+#include "kostore/koStoreDevice.h"
+
+#include <k3bdoc.h>
+
+#include <kgenericfactory.h>
+
+#include <qtextstream.h>
+#include <qdom.h>
+#include <qfile.h>
+
+
+
+K_EXPORT_COMPONENT_FACTORY(kfile_k3b, KGenericFactory<K3bProjectFilePlugin>("kfile_k3b"))
+
+
+K3bProjectFilePlugin::K3bProjectFilePlugin( QObject *parent, const char *name,
+ const QStringList &args)
+ : KFilePlugin(parent, name, args)
+{
+ KFileMimeTypeInfo* info = addMimeTypeInfo( "application/x-k3b" );
+
+ KFileMimeTypeInfo::GroupInfo* group = addGroupInfo( info, "General", i18n("General") );
+
+ addItemInfo( group, "documenttype", i18n("Document Type"), QVariant::String );
+}
+
+
+bool K3bProjectFilePlugin::readInfo( KFileMetaInfo& info, uint /*what*/)
+{
+ if( !info.url().isLocalFile() ) {
+ kdDebug() << "(K3bProjectFilePluginInfo) no local file." << endl;
+ return false;
+ }
+
+ // open the file
+ bool success = false;
+ QDomDocument xmlDoc;
+
+ // try opening a store
+ KoStore* store = KoStore::createStore( info.url().path(), KoStore::Read );
+ if( store && !store->bad() && store->open( "maindata.xml" ) ) {
+ QIODevice* dev = store->device();
+ dev->open( IO_ReadOnly );
+ if( xmlDoc.setContent( dev ) )
+ success = true;
+ dev->close();
+ store->close();
+ }
+ else
+ kdDebug() << "(K3bProjectFilePluginInfo) failed to open the store." << endl;
+
+ if( success ) {
+ // check the documents DOCTYPE
+ K3bDoc::DocType type = K3bDoc::AUDIO;
+ if( xmlDoc.doctype().name() == "k3b_audio_project" )
+ type = K3bDoc::AUDIO;
+ else if( xmlDoc.doctype().name() == "k3b_data_project" )
+ type = K3bDoc::DATA;
+ else if( xmlDoc.doctype().name() == "k3b_vcd_project" )
+ type = K3bDoc::VCD;
+ else if( xmlDoc.doctype().name() == "k3b_mixed_project" )
+ type = K3bDoc::MIXED;
+ else if( xmlDoc.doctype().name() == "k3b_movix_project" )
+ type = K3bDoc::MOVIX;
+ else if( xmlDoc.doctype().name() == "k3b_movixdvd_project" )
+ type = K3bDoc::MOVIX_DVD;
+ else if( xmlDoc.doctype().name() == "k3b_dvd_project" )
+ type = K3bDoc::DVD;
+ else if( xmlDoc.doctype().name() == "k3b_video_dvd_project" )
+ type = K3bDoc::VIDEODVD;
+ else {
+ kdDebug() << "(K3bDoc) unknown doc type: " << xmlDoc.doctype().name() << endl;
+ success = false;
+ }
+
+ QString stringType;
+ switch( type ) {
+ case K3bDoc::AUDIO:
+ stringType = i18n("Audio CD");
+ break;
+ case K3bDoc::DATA:
+ stringType = i18n("Data CD");
+ break;
+ case K3bDoc::MIXED:
+ stringType = i18n("Mixed Mode CD");
+ break;
+ case K3bDoc::VCD:
+ stringType = i18n("Video CD");
+ break;
+ case K3bDoc::MOVIX:
+ stringType = i18n("eMovix CD");
+ break;
+ case K3bDoc::MOVIX_DVD:
+ stringType = i18n("eMovix DVD");
+ break;
+ case K3bDoc::DVD:
+ stringType = i18n("Data DVD");
+ break;
+ case K3bDoc::VIDEODVD:
+ stringType = i18n("Video DVD");
+ break;
+ }
+
+ // and finally display it!
+ KFileMetaInfoGroup group = appendGroup(info, "General");
+ appendItem( group, "documenttype", stringType );
+ }
+
+ delete store;
+
+ return success;
+}
+
+#include "kfile_k3bprojectfileplugin.moc"
+
Added: kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/kfile_k3bprojectfileplugin.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/kfile_k3bprojectfileplugin.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/kfile-plugins/k3bproject/kfile_k3bprojectfileplugin.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,37 @@
+/*
+ *
+ * $Id: sourceheader,v 1.3 2005/01/19 13:03:46 trueg Exp $
+ * Copyright (C) 2005 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef __KFILE_K3BPROJECTFILEPLUGIN_H__
+#define __KFILE_K3BPROJECTFILEPLUGIN_H__
+
+/**
+ * Note: For further information look into <$KDEDIR/include/kfilemetainfo.h>
+ */
+#include <kfilemetainfo.h>
+
+class QStringList;
+
+class K3bProjectFilePlugin: public KFilePlugin
+{
+ Q_OBJECT
+
+ public:
+ K3bProjectFilePlugin( QObject *parent, const char *name, const QStringList& args );
+
+ virtual bool readInfo( KFileMetaInfo& info, uint what);
+};
+
+#endif
+
Added: kde-extras/k3b/k3b/branches/upstream/current/kioslaves/Makefile.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/kioslaves/Makefile.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/kioslaves/Makefile.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1 @@
+SUBDIRS = videodvd
Added: kde-extras/k3b/k3b/branches/upstream/current/kioslaves/Makefile.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/kioslaves/Makefile.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/kioslaves/Makefile.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,742 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 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.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = kioslaves
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+SOURCES =
+DIST_SOURCES =
+#>- RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+#>- html-recursive info-recursive install-data-recursive \
+#>- install-dvi-recursive install-exec-recursive \
+#>- install-html-recursive install-info-recursive \
+#>- install-pdf-recursive install-ps-recursive install-recursive \
+#>- installcheck-recursive installdirs-recursive pdf-recursive \
+#>- ps-recursive uninstall-recursive
+#>+ 7
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-dvi-recursive install-exec-recursive \
+ install-html-recursive install-info-recursive \
+ install-pdf-recursive install-ps-recursive install-recursive \
+ installcheck-recursive installdirs-recursive pdf-recursive \
+ ps-recursive uninstall-recursive nmcheck-recursive bcheck-recursive
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ACLOCAL = @ACLOCAL@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+ARTS_LIBS = @ARTS_LIBS@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAM_LIB = @CAM_LIB@
+CC = @CC@
+CCAS = @CCAS@
+CCASDEPMODE = @CCASDEPMODE@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DBUSQT_INCS = @DBUSQT_INCS@
+DBUSQT_LIBS = @DBUSQT_LIBS@
+DBUS_INCS = @DBUS_INCS@
+DBUS_LIBS = @DBUS_LIBS@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+GREP = @GREP@
+GV_ASM_DEFS = @GV_ASM_DEFS@
+HAL_DBUS_LIBS = @HAL_DBUS_LIBS@
+HAL_INCS = @HAL_INCS@
+HAL_LIBS = @HAL_LIBS@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+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_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSAMPLERATE = @LIBSAMPLERATE@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAD_LIB = @MAD_LIB@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MPC_LIBS = @MPC_LIBS@
+MSGFMT = @MSGFMT@
+MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+RESMGR_LIB = @RESMGR_LIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+TAGLIB_CONFIG = @TAGLIB_CONFIG@
+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@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+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_kcfgdir = @kde_kcfgdir@
+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@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+taglib_includes = @taglib_includes@
+taglib_libs = @taglib_libs@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+SUBDIRS = videodvd
+#>- all: all-recursive
+#>+ 1
+all: docs-am all-recursive
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu kioslaves/Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --gnu kioslaves/Makefile
+#>+ 12
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu kioslaves/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu kioslaves/Makefile
+ cd $(top_srcdir) && perl admin/am_edit kioslaves/Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+# 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):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ 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) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+$(RECURSIVE_CLEAN_TARGETS):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ 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) \
+ || eval $$failcom; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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
+tags: TAGS
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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 "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ distdir=`$(am__cd) $(distdir) && pwd`; \
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
+ (cd $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$top_distdir" \
+ distdir="$$distdir/$$subdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-recursive
+all-am: Makefile
+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)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-recursive
+#>+ 1
+clean: kde-rpo-clean clean-recursive
+
+#>- clean-am: clean-generic clean-libtool mostlyclean-am
+#>+ 1
+clean-am: clean-bcheck clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-recursive
+
+install-exec-am:
+
+install-html: install-html-recursive
+
+install-info: install-info-recursive
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-ps: install-ps-recursive
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
+ install-strip
+
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
+ all all-am check check-am clean clean-generic clean-libtool \
+ ctags ctags-recursive distclean distclean-generic \
+ distclean-libtool distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
+ uninstall uninstall-am
+
+# 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
+KDE_DIST=Makefile.in Makefile.am
+
+#>+ 2
+docs-am:
+
+#>+ 15
+force-reedit:
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu kioslaves/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu kioslaves/Makefile
+ cd $(top_srcdir) && perl admin/am_edit kioslaves/Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-recursive
+
+bcheck-am:
+ @for i in ; do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXX) $(DEFS) -I. -I$(srcdir) -I$(top_builddir) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 3
+final:
+ $(MAKE) all-am
+
+#>+ 3
+final-install:
+ $(MAKE) install-am
+
+#>+ 3
+no-final:
+ $(MAKE) all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 3
+nmcheck:
+nmcheck-am: nmcheck
Added: kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/Makefile.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/Makefile.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/Makefile.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,19 @@
+INCLUDES = -I$(srcdir)/../../libk3b/tools \
+ -I$(srcdir)/../../libk3b/core \
+ -I$(srcdir)/../../libk3bdevice \
+ $(all_includes)
+
+kde_module_LTLIBRARIES = kio_videodvd.la
+
+kio_videodvd_la_SOURCES = videodvd.cpp
+kio_videodvd_la_LIBADD = -lkio ../../libk3b/libk3b.la
+kio_videodvd_la_LDFLAGS = -avoid-version -module $(all_libraries) $(KDE_PLUGIN)
+
+protocol_DATA = videodvd.protocol
+protocoldir = $(kde_servicesdir)
+
+konq_sidebartree_init_services_data_DATA = videodvd.desktop
+konq_sidebartree_init_services_datadir = $(kde_datadir)/konqsidebartng/virtual_folders/services
+
+messages:
+ $(XGETTEXT) *.cpp -o $(podir)/kio_videodvd.pot
Added: kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/Makefile.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/Makefile.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/Makefile.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,804 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 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.
+
+ at SET_MAKE@
+
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = kioslaves/videodvd
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(kde_moduledir)" \
+ "$(DESTDIR)$(konq_sidebartree_init_services_datadir)" \
+ "$(DESTDIR)$(protocoldir)"
+kde_moduleLTLIBRARIES_INSTALL = $(INSTALL)
+LTLIBRARIES = $(kde_module_LTLIBRARIES)
+kio_videodvd_la_DEPENDENCIES = ../../libk3b/libk3b.la
+am_kio_videodvd_la_OBJECTS = videodvd.lo
+#>- kio_videodvd_la_OBJECTS = $(am_kio_videodvd_la_OBJECTS)
+#>+ 1
+kio_videodvd_la_OBJECTS = videodvd.lo
+#>- kio_videodvd_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+#>- $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+#>- $(CXXFLAGS) $(kio_videodvd_la_LDFLAGS) $(LDFLAGS) -o $@
+#>+ 3
+kio_videodvd_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+ $(CXXFLAGS) $(KDE_CXXFLAGS) $(kio_videodvd_la_LDFLAGS) $(LDFLAGS) -o $@
+DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
+am__depfiles_maybe = depfiles
+#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 2
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+#>- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 3
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+CXXLD = $(CXX)
+#>- CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
+#>- $(LDFLAGS) -o $@
+#>+ 3
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+SOURCES = $(kio_videodvd_la_SOURCES)
+DIST_SOURCES = $(kio_videodvd_la_SOURCES)
+konq_sidebartree_init_services_dataDATA_INSTALL = $(INSTALL_DATA)
+protocolDATA_INSTALL = $(INSTALL_DATA)
+DATA = $(konq_sidebartree_init_services_data_DATA) $(protocol_DATA)
+ETAGS = etags
+CTAGS = ctags
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ACLOCAL = @ACLOCAL@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+ARTS_LIBS = @ARTS_LIBS@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAM_LIB = @CAM_LIB@
+CC = @CC@
+CCAS = @CCAS@
+CCASDEPMODE = @CCASDEPMODE@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DBUSQT_INCS = @DBUSQT_INCS@
+DBUSQT_LIBS = @DBUSQT_LIBS@
+DBUS_INCS = @DBUS_INCS@
+DBUS_LIBS = @DBUS_LIBS@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+GREP = @GREP@
+GV_ASM_DEFS = @GV_ASM_DEFS@
+HAL_DBUS_LIBS = @HAL_DBUS_LIBS@
+HAL_INCS = @HAL_INCS@
+HAL_LIBS = @HAL_LIBS@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+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_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSAMPLERATE = @LIBSAMPLERATE@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAD_LIB = @MAD_LIB@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MPC_LIBS = @MPC_LIBS@
+MSGFMT = @MSGFMT@
+MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+RESMGR_LIB = @RESMGR_LIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+TAGLIB_CONFIG = @TAGLIB_CONFIG@
+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@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+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_kcfgdir = @kde_kcfgdir@
+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@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+taglib_includes = @taglib_includes@
+taglib_libs = @taglib_libs@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+INCLUDES = -I$(srcdir)/../../libk3b/tools \
+ -I$(srcdir)/../../libk3b/core \
+ -I$(srcdir)/../../libk3bdevice \
+ $(all_includes)
+
+kde_module_LTLIBRARIES = kio_videodvd.la
+kio_videodvd_la_SOURCES = videodvd.cpp
+kio_videodvd_la_LIBADD = -lkio ../../libk3b/libk3b.la
+kio_videodvd_la_LDFLAGS = -avoid-version -module $(all_libraries) $(KDE_PLUGIN)
+protocol_DATA = videodvd.protocol
+protocoldir = $(kde_servicesdir)
+konq_sidebartree_init_services_data_DATA = videodvd.desktop
+konq_sidebartree_init_services_datadir = $(kde_datadir)/konqsidebartng/virtual_folders/services
+#>- all: all-am
+#>+ 1
+all: docs-am all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu kioslaves/videodvd/Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --gnu kioslaves/videodvd/Makefile
+#>+ 12
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu kioslaves/videodvd/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu kioslaves/videodvd/Makefile
+ cd $(top_srcdir) && perl admin/am_edit kioslaves/videodvd/Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+install-kde_moduleLTLIBRARIES: $(kde_module_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ test -z "$(kde_moduledir)" || $(MKDIR_P) "$(DESTDIR)$(kde_moduledir)"
+ @list='$(kde_module_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+ f=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=install $(kde_moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(kde_moduledir)/$$f'"; \
+ $(LIBTOOL) --mode=install $(kde_moduleLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(kde_moduledir)/$$f"; \
+ else :; fi; \
+ done
+
+uninstall-kde_moduleLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @list='$(kde_module_LTLIBRARIES)'; for p in $$list; do \
+ p=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(kde_moduledir)/$$p'"; \
+ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(kde_moduledir)/$$p"; \
+ done
+
+clean-kde_moduleLTLIBRARIES:
+ -test -z "$(kde_module_LTLIBRARIES)" || rm -f $(kde_module_LTLIBRARIES)
+ @list='$(kde_module_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" != "$$p" || dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+kio_videodvd.la: $(kio_videodvd_la_OBJECTS) $(kio_videodvd_la_DEPENDENCIES)
+ $(kio_videodvd_la_LINK) -rpath $(kde_moduledir) $(kio_videodvd_la_OBJECTS) $(kio_videodvd_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/videodvd.Plo at am__quote@
+
+.cpp.o:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+ at am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+install-konq_sidebartree_init_services_dataDATA: $(konq_sidebartree_init_services_data_DATA)
+ @$(NORMAL_INSTALL)
+ test -z "$(konq_sidebartree_init_services_datadir)" || $(MKDIR_P) "$(DESTDIR)$(konq_sidebartree_init_services_datadir)"
+ @list='$(konq_sidebartree_init_services_data_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(konq_sidebartree_init_services_dataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(konq_sidebartree_init_services_datadir)/$$f'"; \
+ $(konq_sidebartree_init_services_dataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(konq_sidebartree_init_services_datadir)/$$f"; \
+ done
+
+uninstall-konq_sidebartree_init_services_dataDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(konq_sidebartree_init_services_data_DATA)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(konq_sidebartree_init_services_datadir)/$$f'"; \
+ rm -f "$(DESTDIR)$(konq_sidebartree_init_services_datadir)/$$f"; \
+ done
+install-protocolDATA: $(protocol_DATA)
+ @$(NORMAL_INSTALL)
+ test -z "$(protocoldir)" || $(MKDIR_P) "$(DESTDIR)$(protocoldir)"
+ @list='$(protocol_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(protocolDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(protocoldir)/$$f'"; \
+ $(protocolDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(protocoldir)/$$f"; \
+ done
+
+uninstall-protocolDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(protocol_DATA)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(protocoldir)/$$f'"; \
+ rm -f "$(DESTDIR)$(protocoldir)/$$f"; \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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 "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(DATA)
+installdirs:
+ for dir in "$(DESTDIR)$(kde_moduledir)" "$(DESTDIR)$(konq_sidebartree_init_services_datadir)" "$(DESTDIR)$(protocoldir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-am
+#>+ 1
+clean: kde-rpo-clean clean-am
+
+#>- clean-am: clean-generic clean-kde_moduleLTLIBRARIES clean-libtool \
+#>- mostlyclean-am
+#>+ 2
+clean-am: clean-bcheck clean-generic clean-kde_moduleLTLIBRARIES clean-libtool \
+ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+#>- install-data-am: install-kde_moduleLTLIBRARIES \
+#>- install-konq_sidebartree_init_services_dataDATA \
+#>- install-protocolDATA
+#>+ 3
+install-data-am: \
+ install-konq_sidebartree_init_services_dataDATA \
+ install-protocolDATA
+
+install-dvi: install-dvi-am
+
+#>- install-exec-am:
+#>+ 1
+install-exec-am: install-kde_moduleLTLIBRARIES
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-kde_moduleLTLIBRARIES \
+ uninstall-konq_sidebartree_init_services_dataDATA \
+ uninstall-protocolDATA
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+ clean-kde_moduleLTLIBRARIES clean-libtool ctags distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am \
+ install-kde_moduleLTLIBRARIES \
+ install-konq_sidebartree_init_services_dataDATA install-man \
+ install-pdf install-pdf-am install-protocolDATA install-ps \
+ install-ps-am install-strip installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
+ uninstall-am uninstall-kde_moduleLTLIBRARIES \
+ uninstall-konq_sidebartree_init_services_dataDATA \
+ uninstall-protocolDATA
+
+
+messages:
+ $(XGETTEXT) *.cpp -o $(podir)/kio_videodvd.pot
+# 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
+KDE_DIST=videodvd.protocol Makefile.in videodvd.h videodvd.desktop Makefile.am
+
+#>+ 2
+docs-am:
+
+#>+ 15
+force-reedit:
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu kioslaves/videodvd/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu kioslaves/videodvd/Makefile
+ cd $(top_srcdir) && perl admin/am_edit kioslaves/videodvd/Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-am
+
+bcheck-am:
+ @for i in ; do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXXCOMPILE) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 3
+final:
+ $(MAKE) all-am
+
+#>+ 3
+final-install:
+ $(MAKE) install-am
+
+#>+ 3
+no-final:
+ $(MAKE) all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 3
+nmcheck:
+nmcheck-am: nmcheck
Added: kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/videodvd.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/videodvd.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/videodvd.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,407 @@
+/*
+ *
+ * $Id: sourceheader 380067 2005-01-19 13:03:46Z trueg $
+ * Copyright (C) 2005 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include <config.h>
+
+#include <qcstring.h>
+#include <qdatetime.h>
+#include <qbitarray.h>
+#include <qptrlist.h>
+
+#include <kdebug.h>
+#include <kinstance.h>
+#include <kglobal.h>
+#include <klocale.h>
+#include <kurl.h>
+
+#include <stdlib.h>
+
+#include <k3bdevicemanager.h>
+#include <k3bdevice.h>
+#include <k3biso9660.h>
+#include <k3biso9660backend.h>
+#include <k3b_export.h>
+
+#include "videodvd.h"
+
+using namespace KIO;
+
+extern "C"
+{
+ LIBK3B_EXPORT int kdemain( int argc, char **argv )
+ {
+ KInstance instance( "kio_videodvd" );
+
+ kdDebug(7101) << "*** Starting kio_videodvd " << endl;
+
+ if (argc != 4)
+ {
+ kdDebug(7101) << "Usage: kio_videodvd protocol domain-socket1 domain-socket2" << endl;
+ exit(-1);
+ }
+
+ kio_videodvdProtocol slave(argv[2], argv[3]);
+ slave.dispatchLoop();
+
+ kdDebug(7101) << "*** kio_videodvd Done" << endl;
+ return 0;
+ }
+}
+
+
+
+// FIXME: Does it really make sense to use a static device manager? Are all instances
+// of videodvd started in another process?
+K3bDevice::DeviceManager* kio_videodvdProtocol::s_deviceManager = 0;
+int kio_videodvdProtocol::s_instanceCnt = 0;
+
+kio_videodvdProtocol::kio_videodvdProtocol(const QCString &pool_socket, const QCString &app_socket)
+ : SlaveBase("kio_videodvd", pool_socket, app_socket)
+{
+ kdDebug() << "kio_videodvdProtocol::kio_videodvdProtocol()" << endl;
+ if( !s_deviceManager )
+ {
+ s_deviceManager = new K3bDevice::DeviceManager();
+ s_deviceManager->setCheckWritingModes( false );
+ s_deviceManager->scanBus();
+ }
+ s_instanceCnt++;
+}
+
+
+kio_videodvdProtocol::~kio_videodvdProtocol()
+{
+ kdDebug() << "kio_videodvdProtocol::~kio_videodvdProtocol()" << endl;
+ s_instanceCnt--;
+ if( s_instanceCnt == 0 )
+ {
+ delete s_deviceManager;
+ s_deviceManager = 0;
+ }
+}
+
+
+KIO::UDSEntry kio_videodvdProtocol::createUDSEntry( const K3bIso9660Entry* e ) const
+{
+ KIO::UDSEntry uds;
+ KIO::UDSAtom a;
+
+ a.m_uds = KIO::UDS_NAME;
+ a.m_str = e->name();
+ uds.append( a );
+
+ a.m_uds = KIO::UDS_ACCESS;
+ a.m_long = e->permissions();
+ uds.append( a );
+
+ a.m_uds = KIO::UDS_CREATION_TIME;
+ a.m_long = e->date();
+ uds.append( a );
+
+ a.m_uds = KIO::UDS_MODIFICATION_TIME;
+ a.m_long = e->date();
+ uds.append( a );
+
+ if( e->isDirectory() )
+ {
+ a.m_uds = KIO::UDS_FILE_TYPE;
+ a.m_long = S_IFDIR;
+ uds.append( a );
+
+ a.m_uds = KIO::UDS_MIME_TYPE;
+ a.m_str = "inode/directory";
+ uds.append( a );
+ }
+ else
+ {
+ const K3bIso9660File* file = static_cast<const K3bIso9660File*>( e );
+
+ a.m_uds = KIO::UDS_SIZE;
+ a.m_long = file->size();
+ uds.append( a );
+
+ a.m_uds = KIO::UDS_FILE_TYPE;
+ a.m_long = S_IFREG;
+ uds.append( a );
+
+ a.m_uds = KIO::UDS_MIME_TYPE;
+ if( e->name().endsWith( "VOB" ) )
+ a.m_str = "video/mpeg";
+ else
+ a.m_str = "unknown";
+ uds.append( a );
+ }
+
+ return uds;
+}
+
+
+// FIXME: remember the iso instance for quicker something and search for the videodvd
+// in the available devices.
+K3bIso9660* kio_videodvdProtocol::openIso( const KURL& url, QString& plainIsoPath )
+{
+ // get the volume id from the url
+ QString volumeId = url.path().section( '/', 1, 1 );
+
+ kdDebug() << "(kio_videodvdProtocol) searching for Video dvd: " << volumeId << endl;
+
+ // now search the devices for this volume id
+ // FIXME: use the cache created in listVideoDVDs
+ for( QPtrListIterator<K3bDevice::Device> it( s_deviceManager->dvdReader() ); *it; ++it ) {
+ K3bDevice::Device* dev = *it;
+ K3bDevice::DiskInfo di = dev->diskInfo();
+
+ // we search for a DVD with a single track.
+ // this time let K3bIso9660 decide if we need dvdcss or not
+ // FIXME: check for encryption and libdvdcss and report an error
+ if( di.isDvdMedia() && di.numTracks() == 1 ) {
+ K3bIso9660* iso = new K3bIso9660( dev );
+ iso->setPlainIso9660( true );
+ if( iso->open() && iso->primaryDescriptor().volumeId == volumeId ) {
+ plainIsoPath = url.path().section( "/", 2, -1 ) + "/";
+ kdDebug() << "(kio_videodvdProtocol) using iso path: " << plainIsoPath << endl;
+ return iso;
+ }
+ delete iso;
+ }
+ }
+
+ error( ERR_SLAVE_DEFINED, i18n("No VideoDVD found") );
+ return 0;
+}
+
+
+void kio_videodvdProtocol::get(const KURL& url )
+{
+ kdDebug() << "kio_videodvd::get(const KURL& url)" << endl ;
+
+ QString isoPath;
+ if( K3bIso9660* iso = openIso( url, isoPath ) )
+ {
+ const K3bIso9660Entry* e = iso->firstIsoDirEntry()->entry( isoPath );
+ if( e && e->isFile() )
+ {
+ const K3bIso9660File* file = static_cast<const K3bIso9660File*>( e );
+ totalSize( file->size() );
+ QByteArray buffer( 10*2048 );
+ int read = 0;
+ int cnt = 0;
+ KIO::filesize_t totalRead = 0;
+ while( (read = file->read( totalRead, buffer.data(), buffer.size() )) > 0 )
+ {
+ buffer.resize( read );
+ data(buffer);
+ ++cnt;
+ totalRead += read;
+ if( cnt == 10 )
+ {
+ cnt = 0;
+ processedSize( totalRead );
+ }
+ }
+
+ delete iso;
+
+ data(QByteArray()); // empty array means we're done sending the data
+
+ if( read == 0 )
+ finished();
+ else
+ error( ERR_SLAVE_DEFINED, i18n("Read error.") );
+ }
+ else
+ error( ERR_DOES_NOT_EXIST, url.path() );
+ }
+}
+
+
+void kio_videodvdProtocol::listDir( const KURL& url )
+{
+ if( url.path() == "/" ) {
+ listVideoDVDs();
+ }
+ else {
+ QString isoPath;
+ K3bIso9660* iso = openIso( url, isoPath );
+ if( iso ) {
+ const K3bIso9660Directory* mainDir = iso->firstIsoDirEntry();
+ const K3bIso9660Entry* e = mainDir->entry( isoPath );
+ if( e ) {
+ if( e->isDirectory() ) {
+ const K3bIso9660Directory* dir = static_cast<const K3bIso9660Directory*>(e);
+ QStringList el = dir->entries();
+ el.remove( "." );
+ el.remove( ".." );
+ UDSEntryList udsl;
+ for( QStringList::const_iterator it = el.begin(); it != el.end(); ++it )
+ udsl.append( createUDSEntry( dir->entry( *it ) ) );
+ listEntries( udsl );
+ finished();
+ }
+ else {
+ error( ERR_CANNOT_ENTER_DIRECTORY, url.path() );
+ }
+ }
+ else {
+ error( ERR_CANNOT_ENTER_DIRECTORY, url.path() );
+ }
+
+ // for testing we always do the whole thing
+ delete iso;
+ }
+ }
+}
+
+
+void kio_videodvdProtocol::listVideoDVDs()
+{
+ int cnt = 0;
+
+ for( QPtrListIterator<K3bDevice::Device> it( s_deviceManager->dvdReader() ); *it; ++it ) {
+ K3bDevice::Device* dev = *it;
+ K3bDevice::DiskInfo di = dev->diskInfo();
+
+ // we search for a DVD with a single track.
+ if( di.isDvdMedia() && di.numTracks() == 1 ) {
+ //
+ // now do a quick check for VideoDVD.
+ // - no dvdcss for speed
+ // - only a check for the VIDEO_TS dir
+ //
+ K3bIso9660 iso( new K3bIso9660DeviceBackend(dev) );
+ iso.setPlainIso9660( true );
+ if( iso.open() && iso.firstIsoDirEntry()->entry( "VIDEO_TS" ) ) {
+ // FIXME: cache the entry for speedup
+
+ UDSEntryList udsl;
+ KIO::UDSEntry uds;
+ KIO::UDSAtom a;
+
+ a.m_uds = KIO::UDS_NAME;
+ a.m_str = iso.primaryDescriptor().volumeId;
+ uds.append( a );
+
+ a.m_uds = KIO::UDS_FILE_TYPE;
+ a.m_long = S_IFDIR;
+ uds.append( a );
+
+ a.m_uds = KIO::UDS_MIME_TYPE;
+ a.m_str = "inode/directory";
+ uds.append( a );
+
+ a.m_uds = KIO::UDS_ICON_NAME;
+ a.m_str = "dvd_unmount";
+ uds.append( a );
+
+ udsl.append( uds );
+
+ listEntries( udsl );
+
+ ++cnt;
+ }
+ }
+ }
+
+ if( cnt )
+ finished();
+ else
+ error( ERR_SLAVE_DEFINED, i18n("No VideoDVD found") );
+}
+
+
+void kio_videodvdProtocol::stat( const KURL& url )
+{
+ if( url.path() == "/" ) {
+ //
+ // stat the root path
+ //
+ KIO::UDSEntry uds;
+ KIO::UDSAtom a;
+
+ a.m_uds = KIO::UDS_NAME;
+ a.m_str = "/";
+ uds.append( a );
+
+ a.m_uds = KIO::UDS_FILE_TYPE;
+ a.m_long = S_IFDIR;
+ uds.append( a );
+
+ a.m_uds = KIO::UDS_MIME_TYPE;
+ a.m_str = "inode/directory";
+ uds.append( a );
+
+ statEntry( uds );
+ finished();
+ }
+ else {
+ QString isoPath;
+ K3bIso9660* iso = openIso( url, isoPath );
+ if( iso ) {
+ const K3bIso9660Entry* e = iso->firstIsoDirEntry()->entry( isoPath );
+ if( e ) {
+ statEntry( createUDSEntry( e ) );
+ finished();
+ }
+ else
+ error( ERR_DOES_NOT_EXIST, url.path() );
+
+ delete iso;
+ }
+ }
+}
+
+
+// FIXME: when does this get called? It seems not to be used for the files.
+void kio_videodvdProtocol::mimetype( const KURL& url )
+{
+ if( url.path() == "/" ) {
+ error( ERR_UNSUPPORTED_ACTION, "mimetype(/)" );
+ return;
+ }
+
+ QString isoPath;
+ K3bIso9660* iso = openIso( url, isoPath );
+ if( iso )
+ {
+ const K3bIso9660Entry* e = iso->firstIsoDirEntry()->entry( isoPath );
+ if( e )
+ {
+ if( e->isDirectory() )
+ mimeType( "inode/directory" );
+ else if( e->name().endsWith( ".VOB" ) )
+ {
+ mimetype( "video/mpeg" );
+ }
+ else
+ {
+ // send some data
+ const K3bIso9660File* file = static_cast<const K3bIso9660File*>( e );
+ QByteArray buffer( 10*2048 );
+ int read = file->read( 0, buffer.data(), buffer.size() );
+ if( read > 0 )
+ {
+ buffer.resize( read );
+ data(buffer);
+ data(QByteArray());
+ finished();
+ // FIXME: do we need to emit finished() after emitting the end of data()?
+ }
+ else
+ error( ERR_SLAVE_DEFINED, i18n("Read error.") );
+ }
+ }
+ delete iso;
+ }
+}
Added: kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/videodvd.desktop
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/videodvd.desktop (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/videodvd.desktop 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,46 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Link
+URL=videodvd:/
+Icon=dvd_unmount
+Name=Video DVD Browser
+Name[af]=Video DVD Blaaier
+Name[ar]= ÙØ§Ø±ÙØ¡ اÙÙØ±Øµ اÙÙ
دÙ
ج اÙÙ
Ø±Ø¦Ù Ø§ÙØ±ÙÙ
Ù DVD
+Name[bg]=ÐÑаÑзÑÑ Ð·Ð° видео DVD
+Name[br]=Furcher DVD Video
+Name[ca]=Navegador de DVDs de vÃdeo
+Name[cs]=ProhlÞeÄ Video DVD
+Name[da]=Video-dvd browser
+Name[de]=Video-DVD-Browser
+Name[el]=ΠεÏιηγηÏÎ®Ï Video DVD
+Name[eo]=Videa DVD foliumilo
+Name[es]=Navegador de DVD de vÃdeo
+Name[et]=Video DVD sirvija
+Name[fa]= Ù
Ø±ÙØ±Ú¯Ø± Ø¯Û ÙÛ Ø¯Û ÙÛØ¯Ø¦ÙÛÛ
+Name[fi]=Video-dvd selain
+Name[fr]=Navigateur de DVD
+Name[gl]=Explorador de VÃdeo DVD
+Name[hu]=Video DVD-böngészÅ
+Name[is]=VÃdeó DVD flakkari
+Name[it]=Navigatore DVD video
+Name[ja]=ãã㪠DVD ãã©ã¦ã¶
+Name[km]=áááááá·áá¸âáá»áááâáá¸áá¸áá¸âáá¸ááá¢á¼
+Name[lt]=Video DVD narÅ¡yklÄ
+Name[nds]=Video-DVD-Kieker
+Name[nn]=Film-DVD-lesar
+Name[pa]=ਵà©à¨¡à¨¿à¨ DVD à¨à¨²à¨à¨¾à¨°à¨¾
+Name[pl]=PrzeglÄ
darka pÅyt DVD Video
+Name[pt]=Navegador de DVD de VÃdeo
+Name[pt_BR]=Navegador de DVD de VÃdeo
+Name[sk]=Video DVD prehliadaÄ
+Name[sr]=ÐÑÐµÐ³Ð»ÐµÐ´Ð°Ñ Ð²Ð¸Ð´ÐµÐ¾ DVD-а
+Name[sr at Latn]=PregledaÄ video DVD-a
+Name[sv]=Video-dvd bläddrare
+Name[tr]=Görüntü DVD'si Gezgini
+Name[uk]=ÐавÑгаÑÐ¾Ñ Ð²Ñдео-DVD
+Name[uz]=Ðидео-DVD бÑаÑзеÑи
+Name[zh_CN]=è§é¢ DVD æµè§å¨
+Name[zh_TW]=Video DVD ç覽å¨
+Open=false
+X-KDE-TreeModule=Directory
+X-KDE-KonqSidebarModule=konqsidebar_tree
Added: kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/videodvd.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/videodvd.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/videodvd.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,55 @@
+/*
+ *
+ * $Id: sourceheader 380067 2005-01-19 13:03:46Z trueg $
+ * Copyright (C) 2005 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef _videodvd_H_
+#define _videodvd_H_
+
+#include <qstring.h>
+#include <qcstring.h>
+
+#include <kurl.h>
+#include <kio/global.h>
+#include <kio/slavebase.h>
+
+class QCString;
+class K3bIso9660Entry;
+class K3bIso9660;
+namespace K3bDevice
+{
+ class DeviceManager;
+}
+
+class kio_videodvdProtocol : public KIO::SlaveBase
+{
+public:
+ kio_videodvdProtocol(const QCString &pool_socket, const QCString &app_socket);
+ ~kio_videodvdProtocol();
+
+ void mimetype( const KURL& url );
+ void stat( const KURL& url );
+ void get( const KURL& url );
+ void listDir( const KURL& url );
+
+private:
+ K3bIso9660* openIso( const KURL&, QString& plainIsoPath );
+ KIO::UDSEntry createUDSEntry( const K3bIso9660Entry* e ) const;
+ void listVideoDVDs();
+
+ static K3bDevice::DeviceManager* s_deviceManager;
+ static int s_instanceCnt;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/videodvd.protocol
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/videodvd.protocol (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/kioslaves/videodvd/videodvd.protocol 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,50 @@
+[Protocol]
+exec=kio_videodvd
+protocol=videodvd
+input=none
+output=filesystem
+reading=true
+listing=Name,Type,Size,Date
+Icon=dvd_unmount
+Class=:local
+Description=A kioslave that allows files to be copied from a Video DVD (including decryption)
+Description[af]='n 'Kioslave' wat jou toelaat om lêers vanaf 'n Video DVD te kopiëer. Dit doen ook die nodige dekripsie.
+Description[ar]= ÙØ³Ù
Ø ÙØ°Ø§ اÙ-kioslave Ø¨ÙØ³Ø® اÙÙ
ÙÙØ§Øª Ù
Ù ÙØ±Øµ Ù
دÙ
ج Ù
رئ٠رÙÙ
Ù DVD ( بÙ
ا ÙÙÙ ÙÙ Ø§ÙØªØ´ÙÙØ± )
+Description[bg]=kioslave, позволÑÐ²Ð°Ñ Ð²Ð¸ да копиÑаÑе Ñайлове Ð¾Ñ Ð²Ð¸Ð´ÐµÐ¾ DVD (вклÑÑиÑелно ÑазÑиÑÑованеÑо)
+Description[bn]=à¦à¦à¦à¦¿ à¦à§-à¦à¦-ঠসà§à¦²à§à¦ যà§à¦à¦¿ à¦à¦à¦à¦¿ à¦à¦¿à¦¡à¦¿à¦ ডিà¦à¦¿à¦¡à¦¿ থà§à¦à§ ফাà¦à¦² à¦à¦ªà¦¿ à¦à¦°à¦¤à§ à¦
নà§à¦®à¦¤à¦¿à¦¦à§à§ (ডিà¦à§à¦°à¦¿à¦ªà¦¶à¦¨ সহ)
+Description[ca]=Un kioslave que permet que es copiïn fitxers des d'un DVD de vÃdeo (incloent el desxifrat)
+Description[cs]=Kioslave umožÅujÃcà kopÃrovánà video DVD (vÄetnÄ dekódovánÃ)
+Description[da]=En kioslave som gør det muligt at kopiere filer fra en video-dvd (inklusive afkodning)
+Description[de]=Ein-/Ausgabemodul, mit dem man Dateien von einer Video-DVD kopieren kann (inkl. Entschlüsselung)
+Description[el]=Îνα kioslave ÏοÏ
εÏιÏÏÎÏει Ïην ανÏιγÏαÏή αÏÏείÏν αÏÏ Îνα DVD βίνÏεο (δÏ
ναÏÏÏηÏα αÏοκÏÏ
ÏÏογÏάÏηÏηÏ)
+Description[eo]=Kioslave kiu permesas kopii dosierojn el videa DVD (inklude malÄifro)
+Description[es]=Un kioslave que permite copiar archivos de un DVD de vÃdeo (incluye descifrado)
+Description[et]=KIO-moodul, mis võimaldab kopeerida faile video DVD-lt (vajadusel dekrüpteerib)
+Description[fa]=ÛÚ© kioslave ک٠اجاز٠Ù
ÛâØ¯ÙØ¯ پرÙÙØ¯ÙâÙØ§ از ÛÚ© Ø¯Û ÙÛ Ø¯Û ÙÛØ¯Ø¦ÙÛÛ )شاÙ
٠سرگشاÛÛ( رÙÙÙØ´Øª Ø´ÙÙØ¯
+Description[fi]=Kioslave-palvelu, joka mahdollistaa tiedostojen purkamisen dvd-levyltä.
+Description[fr]=Un kioslave qui permet de copier des fichiers depuis un DVD Vidéo (incluant le déchiffrement)
+Description[gl]=Un kioslave que permite copiar ficheiros dun Video DVD (incluindo descifrar)
+Description[he]=×¢×× ×§××/פ×× ×©× KDE ×××פשר ××§×צ×× ××××ת ××עתק×× ×תק××××ר ××××× ×©× DVD (×××× ×¤×¢× ××)
+Description[hu]=Kioslave, amellyel fájlokat lehet másolni Video DVD-rÅl (dekódolással együtt)
+Description[is]=Kioslave sem leyfir afritun af skrám frá vÃdeó DVD (með afkóðun)
+Description[it]=Un kioslave che permette ai file di essere copiati da un DVD video (incluso decifrazione)
+Description[ja]=ãã㪠DVD ãããã¡ã¤ã«ãã³ãã¼ãããã¨ãå¯è½ã«ãã kioslave (æå·è§£é¤ãå«ã)
+Description[km]=âkioslave áááâá¢áá»áááá¶áâá²ááâá
ááááââá¯ááá¶áâáá¸âáá¸áá¸áá¸âáá¸ááá¢á¼(áá½áâáá¶ááâáá¶áâáá·áááá¸á)
+Description[lt]=Priedas (kioslave) leidžiantis kopijuoti bylas iš Video DVD (taip pat ir atšifruoti)
+Description[nb]=En kioslave som gjør det mulig å kopiere filer fra en Video-DVD (inkludert dekryptering)
+Description[nds]=En In-/Utgaavmoduul, mit dat sik Dateien vun en Video-DVD koperen laat (ok mit Opslöteln)
+Description[nl]=Een kioslave waarmee u bestanden van een video-dvd kunt kopiëren (inclusief versleuteling)
+Description[nn]=Ein kioslave som gjer det mogleg å kopiera filer frå ein film-DVD (inkludert kryptering)
+Description[pa]=à¨à©±à¨ kioslave ਹà©, à¨à© à¨à¨¿ ਫਾà¨à¨²à¨¾à¨ ਨà©à©° à¨à©±à¨ DVD (ਡਿਸà¨à¨°à¨¿à¨ªà¨¸à¨¼à¨¨ ਸਮà©) ਤà©à¨ ਨà¨à¨² à¨à¨°à¨¨ ਲਠਸਹਾà¨à¨ ਹà©
+Description[pl]=Wtyczka protokoÅu pozwalajÄ
ca kopiowaÄ pliki z pÅyt DVD Video (ÅÄ
cznie z odszyfrowywaniem)
+Description[pt]=Um 'kioslave' que permite copiar ficheiros de um DVD VÃdeo (incluindo decifrar)
+Description[pt_BR]=Um kioslave que permite que arquivos sejam copiados de um DVD de VÃdeo (incluindo a quebra da proteção)
+Description[ru]=ÐозволÑÐµÑ ÐºÐ¾Ð¿Ð¸ÑоваÑÑ ÑÐ°Ð¹Ð»Ñ Ñ Video DVD (Ñ Ð´ÐµÑиÑÑовкой)
+Description[sk]=kioslave, ktorý umožÅuje kopÃrovaÅ¥ súbory z Video DVD (vrátane deÅ¡ifrovania)
+Description[sr]=kioslave коÑи омогÑÑава копиÑаÑе ÑаÑлова Ñа видео DVD-а (ÑкÑÑÑÑÑÑÑи деÑиÑÑоваÑе)
+Description[sr at Latn]=kioslave koji omoguÄava kopiranje fajlova sa video DVD-a (ukljuÄujuÄi deÅ¡ifrovanje)
+Description[sv]=En I/O-slav som gör det möjligt att kopiera filer från en video-dvd (inklusive avkodning)
+Description[tr]= Bir Görüntü DVD'sinden dosyaların kopyalanmasını (ve kodunun çözülmesini) saÄlayan kioslave
+Description[uk]=ÐÑдлеглий Ð/Ð, Ñкий Ð´Ð°Ñ Ð·Ð¼Ð¾Ð³Ñ ÐºÐ¾Ð¿ÑÑваÑи Ñайли з ÐÑдео DVD (вклÑÑаÑÑи ÑозÑиÑÑÑваннÑ)
+Description[zh_CN]=å
许ä»è§é¢ DVD(å
æ¬å å¯å½±ç¢)ä¸å¤å¶æä»¶ç kioslave
+Description[zh_TW]=å
è¨±ç´æ¥å¾ Video DVD è¤è£½æªæ¡ç kioslave(æèªåè§£å¯)
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/Makefile.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/Makefile.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/Makefile.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,28 @@
+if include_videodvdrip
+VIDEODVDDIR = videodvd
+VIDEODVDLIB = videodvd/libvideodvd.la
+endif
+
+
+lib_LTLIBRARIES = libk3b.la
+
+libk3b_la_SOURCES = dummy.cpp
+
+libk3b_la_LIBADD = core/libk3bcore.la \
+ cddb/libcddb.la \
+ projects/libk3bproject.la \
+ plugin/libk3bplugin.la \
+ tools/libk3btools.la \
+ jobs/libjobs.la \
+ $(VIDEODVDLIB) \
+ ../libk3bdevice/libk3bdevice.la
+
+libk3b_la_LDFLAGS = $(all_libraries) -version-info 3:0:0 -no-undefined
+
+SUBDIRS = core plugin tools projects cddb jobs $(VIDEODVDDIR)
+
+#pkgconfigdir = $(libdir)/pkgconfig
+#pkgconfig_DATA = libk3b.pc
+
+messages:
+ $(XGETTEXT) `find -name "*.cpp" -o -name "*.h"` -o $(podir)/libk3b.pot
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/Makefile.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/Makefile.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/Makefile.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,880 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 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.
+
+ at SET_MAKE@
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = libk3b
+DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(libdir)"
+libLTLIBRARIES_INSTALL = $(INSTALL)
+LTLIBRARIES = $(lib_LTLIBRARIES)
+libk3b_la_DEPENDENCIES = core/libk3bcore.la cddb/libcddb.la \
+ projects/libk3bproject.la plugin/libk3bplugin.la \
+ tools/libk3btools.la jobs/libjobs.la $(VIDEODVDLIB) \
+ ../libk3bdevice/libk3bdevice.la
+am_libk3b_la_OBJECTS = dummy.lo
+#>- libk3b_la_OBJECTS = $(am_libk3b_la_OBJECTS)
+#>+ 1
+libk3b_la_OBJECTS = dummy.lo
+#>- libk3b_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+#>- $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+#>- $(CXXFLAGS) $(libk3b_la_LDFLAGS) $(LDFLAGS) -o $@
+#>+ 3
+libk3b_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+ $(CXXFLAGS) $(KDE_CXXFLAGS) $(libk3b_la_LDFLAGS) $(LDFLAGS) -o $@
+DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
+am__depfiles_maybe = depfiles
+#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 2
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+#>- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 3
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+CXXLD = $(CXX)
+#>- CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
+#>- $(LDFLAGS) -o $@
+#>+ 3
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+SOURCES = $(libk3b_la_SOURCES)
+DIST_SOURCES = $(libk3b_la_SOURCES)
+#>- RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+#>- html-recursive info-recursive install-data-recursive \
+#>- install-dvi-recursive install-exec-recursive \
+#>- install-html-recursive install-info-recursive \
+#>- install-pdf-recursive install-ps-recursive install-recursive \
+#>- installcheck-recursive installdirs-recursive pdf-recursive \
+#>- ps-recursive uninstall-recursive
+#>+ 7
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-dvi-recursive install-exec-recursive \
+ install-html-recursive install-info-recursive \
+ install-pdf-recursive install-ps-recursive install-recursive \
+ installcheck-recursive installdirs-recursive pdf-recursive \
+ ps-recursive uninstall-recursive nmcheck-recursive bcheck-recursive
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = core plugin tools projects cddb jobs videodvd
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ACLOCAL = @ACLOCAL@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+ARTS_LIBS = @ARTS_LIBS@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAM_LIB = @CAM_LIB@
+CC = @CC@
+CCAS = @CCAS@
+CCASDEPMODE = @CCASDEPMODE@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DBUSQT_INCS = @DBUSQT_INCS@
+DBUSQT_LIBS = @DBUSQT_LIBS@
+DBUS_INCS = @DBUS_INCS@
+DBUS_LIBS = @DBUS_LIBS@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+GREP = @GREP@
+GV_ASM_DEFS = @GV_ASM_DEFS@
+HAL_DBUS_LIBS = @HAL_DBUS_LIBS@
+HAL_INCS = @HAL_INCS@
+HAL_LIBS = @HAL_LIBS@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+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_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSAMPLERATE = @LIBSAMPLERATE@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAD_LIB = @MAD_LIB@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MPC_LIBS = @MPC_LIBS@
+MSGFMT = @MSGFMT@
+MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+RESMGR_LIB = @RESMGR_LIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+TAGLIB_CONFIG = @TAGLIB_CONFIG@
+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@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+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_kcfgdir = @kde_kcfgdir@
+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@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+taglib_includes = @taglib_includes@
+taglib_libs = @taglib_libs@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+ at include_videodvdrip_TRUE@VIDEODVDDIR = videodvd
+ at include_videodvdrip_TRUE@VIDEODVDLIB = videodvd/libvideodvd.la
+lib_LTLIBRARIES = libk3b.la
+libk3b_la_SOURCES = dummy.cpp
+libk3b_la_LIBADD = core/libk3bcore.la \
+ cddb/libcddb.la \
+ projects/libk3bproject.la \
+ plugin/libk3bplugin.la \
+ tools/libk3btools.la \
+ jobs/libjobs.la \
+ $(VIDEODVDLIB) \
+ ../libk3bdevice/libk3bdevice.la
+
+libk3b_la_LDFLAGS = $(all_libraries) -version-info 3:0:0 -no-undefined
+SUBDIRS = core plugin tools projects cddb jobs $(VIDEODVDDIR)
+#>- all: all-recursive
+#>+ 1
+all: docs-am all-recursive
+
+.SUFFIXES:
+.SUFFIXES: .cpp .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --gnu libk3b/Makefile
+#>+ 12
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu libk3b/Makefile
+ cd $(top_srcdir) && perl admin/am_edit libk3b/Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+ f=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+ $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
+ else :; fi; \
+ done
+
+uninstall-libLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ p=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
+ done
+
+clean-libLTLIBRARIES:
+ -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" != "$$p" || dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+libk3b.la: $(libk3b_la_OBJECTS) $(libk3b_la_DEPENDENCIES)
+ $(libk3b_la_LINK) -rpath $(libdir) $(libk3b_la_OBJECTS) $(libk3b_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dummy.Plo at am__quote@
+
+.cpp.o:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+ at am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+# 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):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ 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) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+$(RECURSIVE_CLEAN_TARGETS):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ 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) \
+ || eval $$failcom; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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
+tags: TAGS
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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 "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ distdir=`$(am__cd) $(distdir) && pwd`; \
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
+ (cd $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$top_distdir" \
+ distdir="$$distdir/$$subdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-recursive
+all-am: Makefile $(LTLIBRARIES)
+installdirs: installdirs-recursive
+installdirs-am:
+ for dir in "$(DESTDIR)$(libdir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+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)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-recursive
+#>+ 1
+clean: kde-rpo-clean clean-recursive
+
+#>- clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
+#>- mostlyclean-am
+#>+ 2
+clean-am: clean-bcheck clean-generic clean-libLTLIBRARIES clean-libtool \
+ mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+info: info-recursive
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-recursive
+
+install-exec-am: install-libLTLIBRARIES
+
+install-html: install-html-recursive
+
+install-info: install-info-recursive
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-ps: install-ps-recursive
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-libLTLIBRARIES
+
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
+ install-strip
+
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
+ all all-am check check-am clean clean-generic \
+ clean-libLTLIBRARIES clean-libtool ctags ctags-recursive \
+ distclean distclean-compile distclean-generic \
+ distclean-libtool distclean-tags distdir dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-libLTLIBRARIES install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs installdirs-am \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+ pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
+ uninstall-libLTLIBRARIES
+
+
+#pkgconfigdir = $(libdir)/pkgconfig
+#pkgconfig_DATA = libk3b.pc
+
+messages:
+ $(XGETTEXT) `find -name "*.cpp" -o -name "*.h"` -o $(podir)/libk3b.pot
+# 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
+KDE_DIST=Makefile.in k3bimage.xsd configure.in.in Makefile.am
+
+#>+ 2
+docs-am:
+
+#>+ 15
+force-reedit:
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu libk3b/Makefile
+ cd $(top_srcdir) && perl admin/am_edit libk3b/Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-recursive
+
+bcheck-am:
+ @for i in ; do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXXCOMPILE) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 3
+final:
+ $(MAKE) all-am
+
+#>+ 3
+final-install:
+ $(MAKE) install-am
+
+#>+ 3
+no-final:
+ $(MAKE) all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 3
+nmcheck:
+nmcheck-am: nmcheck
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/README
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/README (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/README 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,29 @@
+libk3b
+=========================
+
+This is the k3b library which provides a lot of CD/DVD writing classes.
+
+If you want to use it please be aware that the API is far from stable and
+there will be no binary compatibility (or even source compatibility) before
+K3b 1.0.
+
+But you are welcome to help fix the API and improve it whereever it is needed.
+
+
+Usage
+==========================
+
+Just a very basic scetch how to create an audio cd:
+
+1. create a k3bcore instance (this provides all the stuff that is needed by the lib)
+1.1 K3bCore::init() to initialize the core.
+
+2. create a K3bAudioDoc object and add urls to it
+
+3. create a K3bJobHandler derived class (for example a widget which displays the progress)
+
+4. call K3bAudioDoc::newBurnJob or create a K3bAudioJob manually.
+
+5. modify the doc's settings.
+
+6. call K3bAudioJob::start() to start the burning process.
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/Makefile.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/Makefile.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/Makefile.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,7 @@
+AM_CPPFLAGS = -I$(srcdir)/../core -I$(srcdir)/../../libk3bdevice -I$(srcdir)/../../src $(all_includes)
+
+METASOURCES = AUTO
+
+noinst_LTLIBRARIES = libcddb.la
+
+libcddb_la_SOURCES = k3bcddbquery.cpp k3bcddb.cpp k3bcddbresult.cpp k3bcddbhttpquery.cpp k3bcddbpquery.cpp k3bcddblocalquery.cpp k3bcddbsubmit.cpp k3bcddblocalsubmit.cpp k3bcddbmultientriesdialog.cpp
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/Makefile.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/Makefile.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/Makefile.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,810 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 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.
+
+ at SET_MAKE@
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = libk3b/cddb
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+LTLIBRARIES = $(noinst_LTLIBRARIES)
+libcddb_la_LIBADD =
+am_libcddb_la_OBJECTS = k3bcddbquery.lo k3bcddb.lo k3bcddbresult.lo \
+ k3bcddbhttpquery.lo k3bcddbpquery.lo k3bcddblocalquery.lo \
+ k3bcddbsubmit.lo k3bcddblocalsubmit.lo \
+ k3bcddbmultientriesdialog.lo
+#>- libcddb_la_OBJECTS = $(am_libcddb_la_OBJECTS)
+#>+ 7
+libcddb_la_final_OBJECTS = libcddb_la.all_cpp.lo
+libcddb_la_nofinal_OBJECTS = k3bcddbquery.lo k3bcddb.lo k3bcddbresult.lo \
+ k3bcddbhttpquery.lo k3bcddbpquery.lo k3bcddblocalquery.lo \
+ k3bcddbsubmit.lo k3bcddblocalsubmit.lo \
+ k3bcddbmultientriesdialog.lo
+ at KDE_USE_FINAL_FALSE@libcddb_la_OBJECTS = $(libcddb_la_nofinal_OBJECTS)
+ at KDE_USE_FINAL_TRUE@libcddb_la_OBJECTS = $(libcddb_la_final_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
+am__depfiles_maybe = depfiles
+#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 2
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+#>- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 3
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+CXXLD = $(CXX)
+#>- CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
+#>- $(LDFLAGS) -o $@
+#>+ 3
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+SOURCES = $(libcddb_la_SOURCES)
+DIST_SOURCES = $(libcddb_la_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ACLOCAL = @ACLOCAL@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+ARTS_LIBS = @ARTS_LIBS@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAM_LIB = @CAM_LIB@
+CC = @CC@
+CCAS = @CCAS@
+CCASDEPMODE = @CCASDEPMODE@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DBUSQT_INCS = @DBUSQT_INCS@
+DBUSQT_LIBS = @DBUSQT_LIBS@
+DBUS_INCS = @DBUS_INCS@
+DBUS_LIBS = @DBUS_LIBS@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+GREP = @GREP@
+GV_ASM_DEFS = @GV_ASM_DEFS@
+HAL_DBUS_LIBS = @HAL_DBUS_LIBS@
+HAL_INCS = @HAL_INCS@
+HAL_LIBS = @HAL_LIBS@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+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_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSAMPLERATE = @LIBSAMPLERATE@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAD_LIB = @MAD_LIB@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MPC_LIBS = @MPC_LIBS@
+MSGFMT = @MSGFMT@
+MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+RESMGR_LIB = @RESMGR_LIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+TAGLIB_CONFIG = @TAGLIB_CONFIG@
+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@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+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_kcfgdir = @kde_kcfgdir@
+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@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+taglib_includes = @taglib_includes@
+taglib_libs = @taglib_libs@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+AM_CPPFLAGS = -I$(srcdir)/../core -I$(srcdir)/../../libk3bdevice -I$(srcdir)/../../src $(all_includes)
+#>- METASOURCES = AUTO
+noinst_LTLIBRARIES = libcddb.la
+libcddb_la_SOURCES = k3bcddbquery.cpp k3bcddb.cpp k3bcddbresult.cpp k3bcddbhttpquery.cpp k3bcddbpquery.cpp k3bcddblocalquery.cpp k3bcddbsubmit.cpp k3bcddblocalsubmit.cpp k3bcddbmultientriesdialog.cpp
+#>- all: all-am
+#>+ 1
+all: docs-am all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/cddb/Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --gnu libk3b/cddb/Makefile
+#>+ 12
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/cddb/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu libk3b/cddb/Makefile
+ cd $(top_srcdir) && perl admin/am_edit libk3b/cddb/Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-noinstLTLIBRARIES:
+ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+ @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" != "$$p" || dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+libcddb.la: $(libcddb_la_OBJECTS) $(libcddb_la_DEPENDENCIES)
+ $(CXXLINK) $(libcddb_la_OBJECTS) $(libcddb_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bcddb.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bcddbhttpquery.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bcddblocalquery.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bcddblocalsubmit.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bcddbmultientriesdialog.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bcddbpquery.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bcddbquery.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bcddbresult.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bcddbsubmit.Plo at am__quote@
+
+.cpp.o:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+ at am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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 "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES)
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-am
+#>+ 1
+clean: kde-rpo-clean clean-am
+
+#>- clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
+#>- mostlyclean-am
+#>+ 2
+clean-am: clean-metasources clean-bcheck clean-final clean-generic clean-libtool clean-noinstLTLIBRARIES \
+ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+ clean-libtool clean-noinstLTLIBRARIES ctags distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+ pdf pdf-am ps ps-am tags uninstall uninstall-am
+
+# 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:
+
+#>+ 3
+k3bcddbquery.moc: $(srcdir)/k3bcddbquery.h
+ $(MOC) $(srcdir)/k3bcddbquery.h -o k3bcddbquery.moc
+
+#>+ 2
+mocs: k3bcddbquery.moc
+
+#>+ 3
+k3bcddb.moc: $(srcdir)/k3bcddb.h
+ $(MOC) $(srcdir)/k3bcddb.h -o k3bcddb.moc
+
+#>+ 2
+mocs: k3bcddb.moc
+
+#>+ 3
+k3bcddbhttpquery.moc: $(srcdir)/k3bcddbhttpquery.h
+ $(MOC) $(srcdir)/k3bcddbhttpquery.h -o k3bcddbhttpquery.moc
+
+#>+ 2
+mocs: k3bcddbhttpquery.moc
+
+#>+ 3
+k3bcddbpquery.moc: $(srcdir)/k3bcddbpquery.h
+ $(MOC) $(srcdir)/k3bcddbpquery.h -o k3bcddbpquery.moc
+
+#>+ 2
+mocs: k3bcddbpquery.moc
+
+#>+ 3
+k3bcddblocalquery.moc: $(srcdir)/k3bcddblocalquery.h
+ $(MOC) $(srcdir)/k3bcddblocalquery.h -o k3bcddblocalquery.moc
+
+#>+ 2
+mocs: k3bcddblocalquery.moc
+
+#>+ 3
+k3bcddblocalsubmit.moc: $(srcdir)/k3bcddblocalsubmit.h
+ $(MOC) $(srcdir)/k3bcddblocalsubmit.h -o k3bcddblocalsubmit.moc
+
+#>+ 2
+mocs: k3bcddblocalsubmit.moc
+
+#>+ 3
+k3bcddbsubmit.moc: $(srcdir)/k3bcddbsubmit.h
+ $(MOC) $(srcdir)/k3bcddbsubmit.h -o k3bcddbsubmit.moc
+
+#>+ 2
+mocs: k3bcddbsubmit.moc
+
+#>+ 3
+k3bcddbmultientriesdialog.moc: $(srcdir)/k3bcddbmultientriesdialog.h
+ $(MOC) $(srcdir)/k3bcddbmultientriesdialog.h -o k3bcddbmultientriesdialog.moc
+
+#>+ 2
+mocs: k3bcddbmultientriesdialog.moc
+
+#>+ 3
+clean-metasources:
+ -rm -f k3bcddbquery.moc k3bcddb.moc k3bcddbhttpquery.moc k3bcddbpquery.moc k3bcddblocalquery.moc k3bcddblocalsubmit.moc k3bcddbsubmit.moc k3bcddbmultientriesdialog.moc
+
+#>+ 2
+KDE_DIST=k3bcddblocalsubmit.h Makefile.in k3bcddb.h k3bcddbmultientriesdialog.h k3bcddblocalquery.h k3bcddbquery.h k3bcddbsubmit.h k3bcddbhttpquery.h k3bcddbpquery.h Makefile.am k3bcddbresult.h
+
+#>+ 2
+docs-am:
+
+#>+ 15
+force-reedit:
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/cddb/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu libk3b/cddb/Makefile
+ cd $(top_srcdir) && perl admin/am_edit libk3b/cddb/Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-am
+
+bcheck-am:
+ @for i in ; do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXXCOMPILE) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 11
+libcddb_la.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/k3bcddbquery.cpp $(srcdir)/k3bcddb.cpp $(srcdir)/k3bcddbresult.cpp $(srcdir)/k3bcddbhttpquery.cpp $(srcdir)/k3bcddbpquery.cpp $(srcdir)/k3bcddblocalquery.cpp $(srcdir)/k3bcddbsubmit.cpp $(srcdir)/k3bcddblocalsubmit.cpp $(srcdir)/k3bcddbmultientriesdialog.cpp k3bcddb.moc k3bcddbquery.moc k3bcddbhttpquery.moc k3bcddblocalsubmit.moc k3bcddblocalquery.moc k3bcddbpquery.moc k3bcddbsubmit.moc k3bcddbmultientriesdialog.moc
+ @echo 'creating libcddb_la.all_cpp.cpp ...'; \
+ rm -f libcddb_la.all_cpp.files libcddb_la.all_cpp.final; \
+ echo "#define KDE_USE_FINAL 1" >> libcddb_la.all_cpp.final; \
+ for file in k3bcddbquery.cpp k3bcddb.cpp k3bcddbresult.cpp k3bcddbhttpquery.cpp k3bcddbpquery.cpp k3bcddblocalquery.cpp k3bcddbsubmit.cpp k3bcddblocalsubmit.cpp k3bcddbmultientriesdialog.cpp ; do \
+ echo "#include \"$$file\"" >> libcddb_la.all_cpp.files; \
+ test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> libcddb_la.all_cpp.final; \
+ done; \
+ cat libcddb_la.all_cpp.final libcddb_la.all_cpp.files > libcddb_la.all_cpp.cpp; \
+ rm -f libcddb_la.all_cpp.final libcddb_la.all_cpp.files
+
+#>+ 3
+clean-final:
+ -rm -f libcddb_la.all_cpp.cpp
+
+#>+ 3
+final:
+ $(MAKE) libcddb_la_OBJECTS="$(libcddb_la_final_OBJECTS)" all-am
+
+#>+ 3
+final-install:
+ $(MAKE) libcddb_la_OBJECTS="$(libcddb_la_final_OBJECTS)" install-am
+
+#>+ 3
+no-final:
+ $(MAKE) libcddb_la_OBJECTS="$(libcddb_la_nofinal_OBJECTS)" all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) libcddb_la_OBJECTS="$(libcddb_la_nofinal_OBJECTS)" install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 19
+k3bcddbmultientriesdialog.o: k3bcddbmultientriesdialog.moc
+k3bcddbsubmit.o: k3bcddbsubmit.moc
+k3bcddbhttpquery.lo: k3bcddbhttpquery.moc
+k3bcddbquery.lo: k3bcddbquery.moc
+k3bcddbhttpquery.o: k3bcddbhttpquery.moc
+k3bcddblocalquery.o: k3bcddblocalquery.moc
+k3bcddblocalsubmit.o: k3bcddblocalsubmit.moc
+k3bcddblocalquery.lo: k3bcddblocalquery.moc
+k3bcddb.o: k3bcddb.moc
+k3bcddb.lo: k3bcddb.moc
+k3bcddbpquery.lo: k3bcddbpquery.moc
+nmcheck:
+k3bcddblocalsubmit.lo: k3bcddblocalsubmit.moc
+k3bcddbsubmit.lo: k3bcddbsubmit.moc
+nmcheck-am: nmcheck
+k3bcddbquery.o: k3bcddbquery.moc
+k3bcddbmultientriesdialog.lo: k3bcddbmultientriesdialog.moc
+k3bcddbpquery.o: k3bcddbpquery.moc
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddb.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddb.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddb.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,280 @@
+/*
+ *
+ * $Id: k3bcddb.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+
+#include <qstring.h>
+#include <qvaluelist.h>
+#include <qstringlist.h>
+#include <qtimer.h>
+
+#include <klocale.h>
+#include <kconfig.h>
+#include <kdebug.h>
+#include <kdeversion.h>
+
+#include "k3bcddb.h"
+#include "k3bcddbhttpquery.h"
+#include "k3bcddbpquery.h"
+#include "k3bcddblocalquery.h"
+#include "k3bcddblocalsubmit.h"
+
+#include <k3btoc.h>
+#include <k3btrack.h>
+#include "k3bcddbmultientriesdialog.h"
+
+
+K3bCddb::K3bCddb( QObject* parent, const char* name )
+ : QObject( parent, name )
+{
+ m_httpQuery = 0;
+ m_cddbpQuery = 0;
+ m_localQuery = 0;
+ m_localSubmit = 0;
+
+ m_lastUsedQuery = 0;
+}
+
+
+K3bCddb::~K3bCddb()
+{
+}
+
+
+void K3bCddb::readConfig( KConfig* c )
+{
+ c->setGroup( "Cddb" );
+
+ m_bRemoteCddbQuery = c->readBoolEntry( "use remote cddb", true );
+ m_bLocalCddbQuery = c->readBoolEntry( "use local cddb query", false );
+
+ // old config <= 0.7.3
+ QStringList cddbpServer = c->readListEntry( "cddbp server" );
+ QStringList httpServer = c->readListEntry( "http server" );
+
+ // new config
+ m_cddbServer = c->readListEntry( "cddb server" );
+
+ m_localCddbDirs = c->readPathListEntry( "local cddb dirs" );
+
+ m_bUseManualCgiPath = c->readBoolEntry( "use manual cgi path", false );
+ m_cgiPath = c->readEntry( "cgi path", "/~cddb/cddb.cgi" );
+
+ if( m_localCddbDirs.isEmpty() )
+ m_localCddbDirs.append( "~/.cddb/" );
+
+ // old config <= 0.7.3
+ if( !httpServer.isEmpty() ) {
+ for( QStringList::iterator it = httpServer.begin(); it != httpServer.end(); ++it ) {
+ m_cddbServer.append( "Http " + *it );
+ }
+ }
+ if( !cddbpServer.isEmpty() ) {
+ for( QStringList::iterator it = cddbpServer.begin(); it != cddbpServer.end(); ++it ) {
+ m_cddbServer.append( "Cddbp " + *it );
+ }
+ }
+
+ if( m_cddbServer.isEmpty() )
+ m_cddbServer.append( "Http freedb2.org:80" );
+}
+
+
+void K3bCddb::query( const K3bDevice::Toc& toc )
+{
+ m_toc = toc;
+
+ if( m_bLocalCddbQuery ) {
+ m_iCurrentQueriedLocalDir = 0;
+ QTimer::singleShot( 0, this, SLOT(localQuery()) );
+ }
+ else if( m_bRemoteCddbQuery ) {
+ m_iCurrentQueriedServer = 0;
+ QTimer::singleShot( 0, this, SLOT(remoteQuery()) );
+ }
+ else {
+ QTimer::singleShot( 0, this, SLOT(slotNoEntry()) );
+ }
+}
+
+
+void K3bCddb::slotNoEntry()
+{
+ emit queryFinished( K3bCddbQuery::NO_ENTRY_FOUND );
+}
+
+
+void K3bCddb::remoteQuery()
+{
+ K3bCddbQuery* q = getQuery( m_cddbServer[m_iCurrentQueriedServer] );
+ q->query(m_toc);
+}
+
+
+void K3bCddb::slotMultibleMatches( K3bCddbQuery* query )
+{
+ K3bCddbResultHeader hdr = K3bCddbMultiEntriesDialog::selectCddbEntry( query, 0 );
+ if( !hdr.discid.isEmpty() )
+ query->queryMatch( hdr );
+ else
+ emit queryFinished( K3bCddbQuery::CANCELED );
+}
+
+
+void K3bCddb::slotQueryFinished( K3bCddbQuery* query )
+{
+ m_lastUsedQuery = query;
+
+ if( query->error() == K3bCddbQuery::SUCCESS ) {
+ m_lastResult = m_lastUsedQuery->result();
+
+ // make sure the result has the requested discid since otherwise local saving does not make much sense
+ m_lastResult.discid = QString::number( m_toc.discId(), 16 ).rightJustify( 8, '0' );
+
+ emit queryFinished( K3bCddbQuery::SUCCESS );
+ }
+ else if( query == m_localQuery ) {
+ m_iCurrentQueriedLocalDir++;
+ if( m_iCurrentQueriedLocalDir < m_localCddbDirs.size() )
+ localQuery();
+ else if( m_bRemoteCddbQuery ) {
+ m_iCurrentQueriedServer = 0;
+ remoteQuery();
+ }
+ else {
+ emit queryFinished( query->error() );
+ }
+ }
+ else {
+ m_iCurrentQueriedServer++;
+ if( m_iCurrentQueriedServer < m_cddbServer.size() ) {
+ remoteQuery();
+ }
+ else {
+ emit queryFinished( query->error() );
+ }
+ }
+}
+
+
+K3bCddbQuery* K3bCddb::getQuery( const QString& s )
+{
+ QStringList buf = QStringList::split( ":", s.mid( s.find(" ")+1 ) );
+ QString server = buf[0];
+ int port = buf[1].toInt();
+
+ if( s.startsWith("Http") ) {
+ if( !m_httpQuery ) {
+ m_httpQuery = new K3bCddbHttpQuery( this );
+ connect( m_httpQuery, SIGNAL(infoMessage(const QString&)),
+ this, SIGNAL(infoMessage(const QString&)) );
+ connect( m_httpQuery, SIGNAL(queryFinished(K3bCddbQuery*)),
+ this, SLOT(slotQueryFinished(K3bCddbQuery*)) );
+ connect( m_httpQuery, SIGNAL(inexactMatches(K3bCddbQuery*)),
+ this, SLOT(slotMultibleMatches(K3bCddbQuery*)) );
+ }
+
+ m_httpQuery->setServer( server, port );
+ m_httpQuery->setCgiPath( m_bUseManualCgiPath ? m_cgiPath : QString::fromLatin1("/~cddb/cddb.cgi") );
+
+ return m_httpQuery;
+ }
+ else {
+ if( !m_cddbpQuery ) {
+ m_cddbpQuery = new K3bCddbpQuery( this );
+ connect( m_cddbpQuery, SIGNAL(infoMessage(const QString&)),
+ this, SIGNAL(infoMessage(const QString&)) );
+ connect( m_cddbpQuery, SIGNAL(queryFinished(K3bCddbQuery*)),
+ this, SLOT(slotQueryFinished(K3bCddbQuery*)) );
+ connect( m_cddbpQuery, SIGNAL(inexactMatches(K3bCddbQuery*)),
+ this, SLOT(slotMultibleMatches(K3bCddbQuery*)) );
+ }
+
+ m_cddbpQuery->setServer( server, port );
+
+ return m_cddbpQuery;
+ }
+}
+
+
+void K3bCddb::localQuery()
+{
+ if( !m_localQuery ) {
+ m_localQuery = new K3bCddbLocalQuery( this );
+ connect( m_localQuery, SIGNAL(infoMessage(const QString&)),
+ this, SIGNAL(infoMessage(const QString&)) );
+ connect( m_localQuery, SIGNAL(queryFinished(K3bCddbQuery*)),
+ this, SLOT(slotQueryFinished(K3bCddbQuery*)) );
+ connect( m_localQuery, SIGNAL(inexactMatches(K3bCddbQuery*)),
+ this, SLOT(slotMultibleMatches(K3bCddbQuery*)) );
+ }
+
+ m_localQuery->setCddbDir( m_localCddbDirs[m_iCurrentQueriedLocalDir] );
+
+ m_localQuery->query( m_toc );
+}
+
+
+QString K3bCddb::errorString() const
+{
+ if( !m_lastUsedQuery )
+ return "no query";
+
+ switch( m_lastUsedQuery->error() ) {
+ case K3bCddbQuery::SUCCESS:
+ return i18n("Found freedb entry.");
+ case K3bCddbQuery::NO_ENTRY_FOUND:
+ return i18n("No entry found");
+ case K3bCddbQuery::CONNECTION_ERROR:
+ return i18n("Error while connecting to host.");
+ case K3bCddbQuery::WORKING:
+ return i18n("Working...");
+ case K3bCddbQuery::QUERY_ERROR:
+ case K3bCddbQuery::READ_ERROR:
+ case K3bCddbQuery::FAILURE:
+ default:
+ return i18n("Communication error.");
+ }
+}
+
+
+const K3bCddbResultEntry& K3bCddb::result() const
+{
+ // return m_lastUsedQuery->result();
+ return m_lastResult;
+}
+
+
+void K3bCddb::saveEntry( const K3bCddbResultEntry& entry )
+{
+ if( !m_localSubmit ) {
+ m_localSubmit = new K3bCddbLocalSubmit( this );
+ connect( m_localSubmit, SIGNAL(submitFinished(K3bCddbSubmit*)),
+ this, SLOT(slotSubmitFinished(K3bCddbSubmit*)) );
+ }
+
+ m_localSubmit->setCddbDir( m_localCddbDirs[0] );
+
+ m_localSubmit->submit( entry );
+}
+
+
+void K3bCddb::slotSubmitFinished( K3bCddbSubmit* s )
+{
+ emit submitFinished( s->error() == K3bCddbSubmit::SUCCESS );
+}
+
+#include "k3bcddb.moc"
+
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddb.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddb.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddb.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,103 @@
+/*
+ *
+ * $Id: k3bcddb.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef K3BCDDB_H
+#define K3BCDDB_H
+
+#include <qstring.h>
+#include <qstringlist.h>
+#include <qobject.h>
+
+#include <k3btoc.h>
+
+#include "k3bcddbresult.h"
+#include "k3b_export.h"
+
+class KConfig;
+class K3bCddbQuery;
+class K3bCddbHttpQuery;
+class K3bCddbpQuery;
+class K3bCddbLocalQuery;
+class K3bCddbSubmit;
+class K3bCddbLocalSubmit;
+
+
+class LIBK3B_EXPORT K3bCddb : public QObject
+{
+ Q_OBJECT
+
+ public:
+ K3bCddb( QObject* parent = 0, const char* name = 0 );
+ ~K3bCddb();
+
+ QString errorString() const;
+
+ /**
+ * Do NOT call this before queryResult has
+ * been emitted
+ */
+ const K3bCddbResultEntry& result() const;
+
+ public slots:
+ /** query a cd and connect to the queryFinished signal */
+ void query( const K3bDevice::Toc& );
+ void readConfig( KConfig* c );
+ void saveEntry( const K3bCddbResultEntry& );
+
+ signals:
+ void queryFinished( int error );
+ void submitFinished( bool success );
+ void infoMessage( const QString& );
+
+ private slots:
+ void localQuery();
+ void remoteQuery();
+ void slotQueryFinished( K3bCddbQuery* );
+ void slotSubmitFinished( K3bCddbSubmit* );
+ void slotMultibleMatches( K3bCddbQuery* );
+ void slotNoEntry();
+
+ private:
+ K3bCddbQuery* getQuery( const QString& );
+
+ K3bCddbHttpQuery* m_httpQuery;
+ K3bCddbpQuery* m_cddbpQuery;
+ K3bCddbLocalQuery* m_localQuery;
+ K3bCddbLocalSubmit* m_localSubmit;
+
+ K3bDevice::Toc m_toc;
+ unsigned int m_iCurrentQueriedServer;
+ unsigned int m_iCurrentQueriedLocalDir;
+
+ const K3bCddbQuery* m_lastUsedQuery;
+ K3bCddbResultEntry m_lastResult;
+
+ // config
+ QStringList m_cddbServer;
+ QString m_proxyServer;
+ int m_proxyPort;
+ QString m_cgiPath;
+ bool m_bUseProxyServer;
+ bool m_bUseKdeSettings;
+ QStringList m_localCddbDirs;
+ bool m_bSaveCddbEntriesLocally;
+ bool m_bUseManualCgiPath;
+ bool m_bRemoteCddbQuery;
+ bool m_bLocalCddbQuery;
+};
+
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbhttpquery.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbhttpquery.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbhttpquery.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,233 @@
+/*
+ *
+ * $Id: k3bcddbhttpquery.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+
+#include "k3bcddbhttpquery.h"
+
+#include "k3bcddbresult.h"
+
+#include <qstringlist.h>
+#include <qregexp.h>
+#include <qtextstream.h>
+
+#include <klocale.h>
+#include <kdebug.h>
+#include <kio/global.h>
+#include <kio/job.h>
+
+
+K3bCddbHttpQuery::K3bCddbHttpQuery( QObject* parent, const char* name )
+ : K3bCddbQuery( parent, name )
+{
+ m_server = "freedb.org";
+ m_port = 80;
+ m_cgiPath = "/~cddb/cddb.cgi";
+}
+
+
+K3bCddbHttpQuery::~K3bCddbHttpQuery()
+{
+}
+
+
+void K3bCddbHttpQuery::doQuery()
+{
+ setError( WORKING );
+ m_state = QUERY;
+
+ performCommand( queryString() );
+}
+
+
+void K3bCddbHttpQuery::doMatchQuery()
+{
+ setError( WORKING );
+ m_state = READ;
+ m_parsingBuffer.truncate(0);
+
+ performCommand( QString( "cddb read %1 %2").arg( header().category ).arg( header().discid ) );
+}
+
+
+void K3bCddbHttpQuery::performCommand( const QString& cmd )
+{
+ KURL url;
+ url.setProtocol( "http" );
+ url.setHost( m_server );
+ url.setPort( m_port );
+ url.setPath( m_cgiPath );
+
+ url.addQueryItem( "cmd", cmd );
+ url.addQueryItem( "hello", handshakeString() );
+ url.addQueryItem( "proto", "6" );
+
+ m_data.truncate(0);
+
+ kdDebug() << "(K3bCddbHttpQuery) getting url: " << url.prettyURL() << endl;
+
+ KIO::TransferJob* job = KIO::get( url, false, false );
+
+ if( !job ) {
+ setError( CONNECTION_ERROR );
+ emit infoMessage( i18n("Could not connect to host %1").arg(m_server) );
+ emitQueryFinished();
+ return;
+ }
+
+ connect( job, SIGNAL(data(KIO::Job*, const QByteArray&)),
+ SLOT(slotData(KIO::Job*, const QByteArray&)) );
+ connect( job, SIGNAL(result(KIO::Job*)),
+ SLOT(slotResult(KIO::Job*)) );
+}
+
+
+
+void K3bCddbHttpQuery::slotData( KIO::Job*, const QByteArray& data )
+{
+ if( data.size() ) {
+ QDataStream stream( m_data, IO_WriteOnly | IO_Append );
+ stream.writeRawBytes( data.data(), data.size() );
+ }
+}
+
+
+void K3bCddbHttpQuery::slotResult( KIO::Job* job )
+{
+ if( job->error() ) {
+ emit infoMessage( job->errorString() );
+ setError( CONNECTION_ERROR );
+ emitQueryFinished();
+ return;
+ }
+
+ QStringList lines = QStringList::split( "\n", QString::fromUtf8( m_data.data(), m_data.size() ) );
+
+ for( QStringList::const_iterator it = lines.begin(); it != lines.end(); ++it ) {
+ QString line = *it;
+
+ // kdDebug() << "(K3bCddbHttpQuery) line: " << line << endl;
+
+ switch( m_state ) {
+
+ case QUERY:
+ if( getCode( line ) == 200 ) {
+ // parse exact match and send a read command
+ K3bCddbResultHeader header;
+ parseMatchHeader( line.mid(4), header );
+
+ queryMatch( header );
+ }
+
+ else if( getCode( line ) == 210 ) {
+ // TODO: perhaps add an "exact" field to K3bCddbEntry
+ kdDebug() << "(K3bCddbHttpQuery) Found multiple exact matches" << endl;
+
+ emit infoMessage( i18n("Found multiple exact matches") );
+
+ m_state = QUERY_DATA;
+ }
+
+ else if( getCode( line ) == 211 ) {
+ kdDebug() << "(K3bCddbHttpQuery) Found inexact matches" << endl;
+
+ emit infoMessage( i18n("Found inexact matches") );
+
+ m_state = QUERY_DATA;
+ }
+
+ else if( getCode( line ) == 202 ) {
+ kdDebug() << "(K3bCddbHttpQuery) no match found" << endl;
+ emit infoMessage( i18n("No match found") );
+ setError(NO_ENTRY_FOUND);
+ m_state = FINISHED;
+ emitQueryFinished();
+ return;
+ }
+
+ else {
+ kdDebug() << "(K3bCddbHttpQuery) Error while querying: " << line << endl;
+ emit infoMessage( i18n("Error while querying") );
+ setError(QUERY_ERROR);
+ m_state = FINISHED;
+ emitQueryFinished();
+ return;
+ }
+ break;
+
+ case QUERY_DATA:
+ if( line.startsWith( "." ) ) {
+ // finished query
+ // go on reading
+
+
+ // here we have the inexact matches headers and should emit the
+ // inexactMatches signal
+ emit inexactMatches( this );
+ }
+ else {
+ kdDebug() << "(K3bCddbHttpQuery) inexact match: " << line << endl;
+
+ // create a new resultHeader
+ K3bCddbResultHeader header;
+ parseMatchHeader( line, header );
+ m_inexactMatches.append(header);
+ }
+ break;
+
+ case READ:
+ if( getCode( line ) == 210 ) {
+
+ // we just start parsing the read data
+ m_state = READ_DATA;
+ }
+
+ else {
+ emit infoMessage( i18n("Could not read match") );
+ setError(READ_ERROR);
+ m_state = FINISHED;
+ emitQueryFinished();
+ return;
+ }
+ break;
+
+
+ case READ_DATA:
+
+ // kdDebug() << "parsing line: " << line << endl;
+
+ if( line.startsWith( "." ) ) {
+
+ kdDebug() << "(K3bCddbHttpQuery query finished." << endl;
+
+ QTextStream strStream( m_parsingBuffer, IO_ReadOnly );
+ parseEntry( strStream, result() );
+
+ setError(SUCCESS);
+ m_state = FINISHED;
+ emitQueryFinished();
+ return;
+ }
+
+ else {
+ m_parsingBuffer.append(line + "\n");
+ }
+ break;
+ }
+ }
+}
+
+
+#include "k3bcddbhttpquery.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbhttpquery.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbhttpquery.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbhttpquery.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,64 @@
+/*
+ *
+ * $Id: k3bcddbhttpquery.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef K3BCDDB_HTTP_QUERY_H
+#define K3BCDDB_HTTP_QUERY_H
+
+#include "k3bcddbquery.h"
+#include "k3bcddbresult.h"
+
+#include <qvaluelist.h>
+
+namespace KIO {
+ class Job;
+}
+
+class K3bCddbHttpQuery : public K3bCddbQuery
+{
+ Q_OBJECT
+
+ public:
+ K3bCddbHttpQuery( QObject* parent = 0, const char* name = 0 );
+ ~K3bCddbHttpQuery();
+
+ public slots:
+ void setServer( const QString& s, int port = 80 ) { m_server = s; m_port = port; }
+ void setCgiPath( const QString& p ) { m_cgiPath = p; }
+
+ protected slots:
+ void doQuery();
+ void doMatchQuery();
+ void slotResult( KIO::Job* );
+ void slotData( KIO::Job*, const QByteArray& data );
+
+ private:
+ void performCommand( const QString& );
+
+ enum State { QUERY, QUERY_DATA, READ, READ_DATA, FINISHED };
+
+ int m_state;
+ QString m_server;
+ int m_port;
+ QString m_cgiPath;
+
+ QString m_currentlyConnectingServer;
+
+ QByteArray m_data;
+ QString m_parsingBuffer;
+};
+
+#endif
+
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddblocalquery.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddblocalquery.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddblocalquery.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,129 @@
+/*
+ *
+ * $Id: k3bcddblocalquery.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#include "k3bcddblocalquery.h"
+
+#include <qdir.h>
+#include <qfile.h>
+#include <qtextstream.h>
+
+#include <kapplication.h>
+#include <klocale.h>
+#include <kdebug.h>
+
+
+K3bCddbLocalQuery::K3bCddbLocalQuery( QObject* parent , const char* name )
+ : K3bCddbQuery( parent, name )
+{
+}
+
+
+K3bCddbLocalQuery::~K3bCddbLocalQuery()
+{
+}
+
+
+void K3bCddbLocalQuery::doQuery()
+{
+ emit infoMessage( i18n("Searching entry in %1").arg( m_cddbDir ) );
+ kapp->processEvents(); //BAD!
+
+ QString path = preparePath( m_cddbDir );
+
+ kdDebug() << "(K3bCddbLocalQuery) searching in dir " << path << " for "
+ << QString::number( toc().discId(), 16 ).rightJustify( 8, '0' ) << endl;
+
+ for( QStringList::const_iterator it = categories().begin();
+ it != categories().end(); ++it ) {
+
+ QString file = path + *it + "/" + QString::number( toc().discId(), 16 ).rightJustify( 8, '0' );
+
+ if( QFile::exists( file ) ) {
+ // found file
+
+ QFile f( file );
+ if( !f.open( IO_ReadOnly ) ) {
+ kdDebug() << "(K3bCddbLocalQuery) Could not open file" << endl;
+ }
+ else {
+ QTextStream t( &f );
+
+ K3bCddbResultEntry entry;
+ parseEntry( t, entry );
+ K3bCddbResultHeader header;
+ header.discid = QString::number( toc().discId(), 16 ).rightJustify( 8, '0' );
+ header.category = *it;
+ header.title = entry.cdTitle;
+ header.artist = entry.cdArtist;
+ m_inexactMatches.append(header);
+ }
+ }
+ else {
+ kdDebug() << "(K3bCddbLocalQuery) Could not find local entry in category " << *it << endl;
+ }
+ }
+
+ if( m_inexactMatches.count() > 0 ) {
+ setError( SUCCESS );
+ if( m_inexactMatches.count() == 1 ) {
+ queryMatch( m_inexactMatches.first() );
+ }
+ else {
+ emit inexactMatches( this );
+ }
+ }
+ else {
+ setError( NO_ENTRY_FOUND );
+ emit queryFinished( this );
+ }
+}
+
+
+void K3bCddbLocalQuery::doMatchQuery()
+{
+ QString path = preparePath( m_cddbDir ) + header().category + "/" + header().discid;
+
+ QFile f( path );
+ if( !f.open( IO_ReadOnly ) ) {
+ kdDebug() << "(K3bCddbLocalQuery) Could not open file" << endl;
+ setError( READ_ERROR );
+ }
+ else {
+ QTextStream t( &f );
+
+ parseEntry( t, result() );
+ result().discid = header().discid;
+ result().category = header().category;
+ setError( SUCCESS );
+ }
+ emit queryFinished( this );
+}
+
+
+QString K3bCddbLocalQuery::preparePath( const QString& p )
+{
+ QString path = p;
+ if( path.startsWith( "~" ) )
+ path.replace( 0, 1, QDir::homeDirPath() );
+ else if( !path.startsWith( "/" ) )
+ path.prepend( QDir::homeDirPath() );
+ if( path[path.length()-1] != '/' )
+ path.append( "/" );
+
+ return path;
+}
+
+#include "k3bcddblocalquery.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddblocalquery.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddblocalquery.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddblocalquery.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,48 @@
+/*
+ *
+ * $Id: k3bcddblocalquery.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+
+#ifndef K3BCDDB_LOCAL_QUERY_H
+#define K3BCDDB_LOCAL_QUERY_H
+
+#include "k3bcddbquery.h"
+#include "k3bcddbresult.h"
+
+#include <qstring.h>
+
+
+class K3bCddbLocalQuery : public K3bCddbQuery
+{
+ Q_OBJECT
+
+ public:
+ K3bCddbLocalQuery( QObject* parent = 0, const char* name = 0 );
+ ~K3bCddbLocalQuery();
+
+ public slots:
+ void setCddbDir( const QString& dir ) { m_cddbDir = dir; }
+
+ protected:
+ void doQuery();
+ void doMatchQuery();
+
+ private:
+ QString preparePath( const QString& p );
+
+ QString m_cddbDir;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddblocalsubmit.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddblocalsubmit.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddblocalsubmit.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,102 @@
+/*
+ *
+ * $Id: k3bcddblocalsubmit.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+
+#include "k3bcddblocalsubmit.h"
+
+#include <qdir.h>
+#include <qfile.h>
+#include <qtextstream.h>
+
+#include <kdebug.h>
+#include <klocale.h>
+
+
+K3bCddbLocalSubmit::K3bCddbLocalSubmit( QObject* parent, const char* name )
+ : K3bCddbSubmit( parent, name )
+{
+}
+
+
+K3bCddbLocalSubmit::~K3bCddbLocalSubmit()
+{
+}
+
+
+void K3bCddbLocalSubmit::doSubmit()
+{
+ QString path = m_cddbDir;
+ if( path.startsWith( "~" ) )
+ path.replace( 0, 1, QDir::homeDirPath() + "/" );
+ else if( !path.startsWith( "/" ) )
+ path.prepend( QDir::homeDirPath() + "/" );
+ if( path[path.length()-1] != '/' )
+ path.append( "/" );
+
+ if( !QFile::exists( path ) && !QDir().mkdir( path ) ) {
+ kdDebug() << "(K3bCddbLocalSubmit) could not create directory: " << path << endl;
+ setError( IO_ERROR );
+ emit submitFinished( this );
+ return;
+ }
+
+ if( QFile::exists( path ) ) {
+ // if the category dir does not exists
+ // create it
+
+ path += resultEntry().category;
+
+ if( !QFile::exists( path ) ) {
+ if( !QDir().mkdir( path ) ) {
+ kdDebug() << "(K3bCddbLocalSubmit) could not create directory: " << path << endl;
+ setError( IO_ERROR );
+ emit submitFinished( this );
+ return;
+ }
+ }
+
+ // we always overwrite existing entries
+ path += "/" + resultEntry().discid;
+ QFile entryFile( path );
+ if( entryFile.exists() ) {
+ kdDebug() << "(K3bCddbLocalSubmit) file already exists: " << path << endl;
+ }
+
+ if( !entryFile.open( IO_WriteOnly ) ) {
+ kdDebug() << "(K3bCddbLocalSubmit) could not create file: " << path << endl;
+ setError( IO_ERROR );
+ emit submitFinished( this );
+ }
+ else {
+ kdDebug() << "(K3bCddbLocalSubmit) creating file: " << path << endl;
+ QTextStream entryStream( &entryFile );
+ entryStream.setEncoding( QTextStream::UnicodeUTF8 );
+ entryStream << resultEntry().rawData;
+ entryFile.close();
+
+ setError( SUCCESS );
+ emit submitFinished( this );
+ }
+ }
+ else {
+ kdDebug() << "(K3bCddbLocalSubmit) could not find directory: " << path << endl;
+ setError( IO_ERROR );
+ emit infoMessage( i18n("Could not find directory: %1").arg(path) );
+ emit submitFinished( this );
+ }
+}
+
+#include "k3bcddblocalsubmit.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddblocalsubmit.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddblocalsubmit.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddblocalsubmit.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,43 @@
+/*
+ *
+ * $Id: k3bcddblocalsubmit.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef K3BCDDB_LOCAL_SUBMIT_H
+#define K3BCDDB_LOCAL_SUBMIT_H
+
+#include "k3bcddbsubmit.h"
+
+#include <qstring.h>
+
+
+class K3bCddbLocalSubmit : public K3bCddbSubmit
+{
+ Q_OBJECT
+
+ public:
+ K3bCddbLocalSubmit( QObject* parent = 0, const char* name = 0 );
+ ~K3bCddbLocalSubmit();
+
+ public slots:
+ void setCddbDir( const QString& dir ) { m_cddbDir = dir; }
+
+ protected slots:
+ void doSubmit();
+
+ private:
+ QString m_cddbDir;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbmultientriesdialog.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbmultientriesdialog.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbmultientriesdialog.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,74 @@
+/*
+ *
+ * $Id: k3bcddbmultientriesdialog.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#include "k3bcddbmultientriesdialog.h"
+
+#include <qlayout.h>
+#include <qframe.h>
+#include <qlabel.h>
+
+#include <klistbox.h>
+#include <klocale.h>
+
+
+
+K3bCddbMultiEntriesDialog::K3bCddbMultiEntriesDialog( QWidget* parent, const char* name )
+ : KDialogBase( Plain, i18n("CDDB Database Entry"), Ok|Cancel, Ok, parent, name )
+{
+ QFrame* frame = plainPage();
+ QVBoxLayout* layout = new QVBoxLayout( frame );
+ layout->setAutoAdd( true );
+ layout->setSpacing( spacingHint() );
+ layout->setMargin( 0 );
+
+ QLabel* infoLabel = new QLabel( i18n("K3b found multiple inexact CDDB entries. Please select one."), frame );
+ infoLabel->setAlignment( WordBreak );
+
+ m_listBox = new KListBox( frame, "list_box");
+
+ setMinimumSize( 280, 200 );
+}
+
+K3bCddbResultHeader K3bCddbMultiEntriesDialog::selectCddbEntry( K3bCddbQuery* query, QWidget* parent )
+{
+ K3bCddbMultiEntriesDialog d( parent );
+
+ const QValueList<K3bCddbResultHeader> headers = query->getInexactMatches();
+
+ int i = 1;
+ for( QValueListConstIterator<K3bCddbResultHeader> it = headers.begin();
+ it != headers.end(); ++it ) {
+ d.m_listBox->insertItem( QString::number(i) + " " +
+ (*it).artist + " - " +
+ (*it).title + " (" +
+ (*it).category + ")" );
+ ++i;
+ }
+
+ d.m_listBox->setSelected( 0, true );
+
+ if( d.exec() == QDialog::Accepted )
+ return headers[ d.m_listBox->currentItem() >= 0 ? d.m_listBox->currentItem() : 0 ];
+ else
+ return K3bCddbResultHeader();
+}
+
+
+K3bCddbMultiEntriesDialog::~K3bCddbMultiEntriesDialog(){
+}
+
+
+#include "k3bcddbmultientriesdialog.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbmultientriesdialog.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbmultientriesdialog.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbmultientriesdialog.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,48 @@
+/*
+ *
+ * $Id: k3bcddbmultientriesdialog.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef K3BCDDBMULTIENTRIESDIALOG_H
+#define K3BCDDBMULTIENTRIESDIALOG_H
+
+#include <kdialogbase.h>
+
+#include "k3bcddbquery.h"
+#include "k3bcddbresult.h"
+
+
+class QStringList;
+class KListBox;
+
+/**
+ *@author Sebastian Trueg
+ */
+class K3bCddbMultiEntriesDialog : public KDialogBase
+{
+ Q_OBJECT
+
+ public:
+ ~K3bCddbMultiEntriesDialog();
+
+ static K3bCddbResultHeader selectCddbEntry( K3bCddbQuery* query, QWidget* parent = 0 );
+
+ protected:
+ K3bCddbMultiEntriesDialog( QWidget* parent = 0, const char* name = 0);
+
+ private:
+ KListBox *m_listBox;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbpquery.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbpquery.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbpquery.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,278 @@
+/*
+ *
+ * $Id: k3bcddbpquery.cpp 619556 2007-01-03 17:38:12Z trueg $
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#include "k3bcddbpquery.h"
+
+#include <qstringlist.h>
+#include <qsocket.h>
+#include <qtextstream.h>
+
+#include <klocale.h>
+#include <kdebug.h>
+
+
+
+
+K3bCddbpQuery::K3bCddbpQuery( QObject* parent, const char* name )
+ :K3bCddbQuery( parent, name )
+{
+ m_socket = new QSocket( this );
+ m_stream.setDevice( m_socket );
+ m_stream.setEncoding( QTextStream::UnicodeUTF8 );
+
+ connect( m_socket, SIGNAL(connected()), this, SLOT(slotConnected()) );
+ connect( m_socket, SIGNAL(hostFound()), this, SLOT(slotHostFound()) );
+ connect( m_socket, SIGNAL(connectionClosed()), this, SLOT(slotConnectionClosed()) );
+ connect( m_socket, SIGNAL(error(int)), this, SLOT(slotError(int)) );
+ connect( m_socket, SIGNAL(readyRead()), this, SLOT(slotReadyRead()) );
+}
+
+
+K3bCddbpQuery::~K3bCddbpQuery()
+{
+ delete m_socket;
+}
+
+void K3bCddbpQuery::doQuery()
+{
+ setError( WORKING );
+
+ m_state = GREETING;
+
+ // connect to the server
+
+ m_socket->connectToHost( m_server, m_port );
+ emit infoMessage( i18n("Searching %1 on port %2").arg(m_server).arg(m_port) );
+}
+
+
+void K3bCddbpQuery::doMatchQuery()
+{
+ // we should still be connected
+ // TODO: check this
+
+ QString read = QString( "cddb read %1 %2").arg( header().category ).arg( header().discid );
+
+ m_state = READ;
+ m_parsingBuffer = "";
+
+ kdDebug() << "(K3bCddbpQuery) Read: " << read << endl;
+
+ m_stream << read << endl << flush;
+}
+
+
+void K3bCddbpQuery::slotHostFound()
+{
+ emit infoMessage( i18n("Host found") );
+}
+
+
+void K3bCddbpQuery::slotConnected()
+{
+ emit infoMessage( i18n("Connected") );
+}
+
+
+void K3bCddbpQuery::slotConnectionClosed()
+{
+ emit infoMessage( i18n("Connection closed") );
+ emitQueryFinished();
+}
+
+
+void K3bCddbpQuery::cddbpQuit()
+{
+ m_state = QUIT;
+ m_stream << "quit" << endl << flush;
+}
+
+
+void K3bCddbpQuery::slotReadyRead()
+{
+ while( m_socket->canReadLine() ) {
+ QString line = m_stream.readLine();
+
+ // kdDebug() << "(K3bCddbpQuery) line: " << line << endl;
+
+ switch( m_state ) {
+ case GREETING:
+ if( getCode( line ) == 200 || getCode( line ) == 201) {
+ emit infoMessage( i18n("OK, read access") );
+ m_state = HANDSHAKE;
+
+ m_stream << "cddb hello " << handshakeString() << endl << flush;
+ }
+
+ else {
+ emit infoMessage( i18n("Connection refused") );
+ setError( CONNECTION_ERROR );
+ m_socket->close();
+ }
+ break;
+
+ case HANDSHAKE:
+ if( getCode( line ) == 200 ) {
+ emit infoMessage( i18n("Handshake successful") );
+
+ m_state = PROTO;
+
+ m_stream << "proto 6" << endl << flush;
+ }
+
+ else {
+ emit infoMessage( i18n("Handshake failed") ); // server closes connection
+ setError( CONNECTION_ERROR );
+ m_socket->close(); // just to be sure
+ }
+ break;
+
+ case PROTO:
+ {
+ if( getCode( line ) == 501 ) {
+ kdDebug() << "(K3bCddbpQuery) illigal protocol level!" << endl;
+ }
+
+ // just ignore the reply since it's not important for the functionality
+ m_state = QUERY;
+
+ m_stream << queryString() << endl << flush;
+ break;
+ }
+
+ case QUERY:
+ if( getCode( line ) == 200 ) {
+ // parse exact match and send a read command
+ K3bCddbResultHeader header;
+ parseMatchHeader( line.mid( 4 ), header );
+
+ emit infoMessage( i18n("Found exact match") );
+
+ queryMatch( header );
+ }
+
+ else if( getCode( line ) == 210 ) {
+ // TODO: perhaps add an "exact" field to K3bCddbEntry
+ kdDebug() << "(K3bCddbpQuery) Found multiple exact matches" << endl;
+
+ emit infoMessage( i18n("Found multiple exact matches") );
+
+ m_state = QUERY_DATA;
+ }
+
+ else if( getCode( line ) == 211 ) {
+ kdDebug() << "(K3bCddbpQuery) Found inexact matches" << endl;
+
+ emit infoMessage( i18n("Found inexact matches") );
+
+ m_state = QUERY_DATA;
+ }
+
+ else if( getCode( line ) == 202 ) {
+ kdDebug() << "(K3bCddbpQuery) no match found" << endl;
+ emit infoMessage( i18n("No match found") );
+ setError( NO_ENTRY_FOUND );
+ cddbpQuit();
+ }
+
+ else {
+ kdDebug() << "(K3bCddbpQuery) Error while querying: " << line << endl;
+ emit infoMessage( i18n("Error while querying") );
+ setError( QUERY_ERROR );
+ cddbpQuit();
+ }
+ break;
+
+ case QUERY_DATA:
+ if( line.startsWith( "." ) ) {
+ // finished query
+ // go on reading
+
+ emit inexactMatches( this );
+ return;
+ }
+ else {
+ kdDebug() << "(K3bCddbpQuery) inexact match: " << line << endl;
+ K3bCddbResultHeader header;
+ parseMatchHeader( line, header );
+ m_inexactMatches.append( header );
+ }
+ break;
+
+ case READ:
+ if( getCode( line ) == 210 ) {
+
+ // we just start parsing the read data
+ m_state = READ_DATA;
+ }
+
+ else {
+ emit infoMessage( i18n("Could not read match") );
+ setError( READ_ERROR );
+ cddbpQuit();
+ }
+ break;
+
+
+ case READ_DATA:
+
+ // kdDebug() << "(K3bCddbpQuery) parsing line: " << line << endl;
+
+ if( line.startsWith( "." ) ) {
+
+ kdDebug() << "(K3bCddbpQuery) query finished." << endl;
+
+ QTextStream strStream( m_parsingBuffer, IO_ReadOnly );
+ parseEntry( strStream, result() );
+
+ setError( SUCCESS );
+ cddbpQuit();
+ }
+
+ else {
+ m_parsingBuffer.append(line + "\n");
+ }
+ break;
+
+ case QUIT:
+ // no parsing needed
+ break;
+ }
+ }
+}
+
+
+void K3bCddbpQuery::slotError( int e )
+{
+ switch(e) {
+ case QSocket::ErrConnectionRefused:
+ kdDebug() << i18n("Connection to %1 refused").arg( m_server ) << endl;
+ emit infoMessage( i18n("Connection to %1 refused").arg( m_server ) );
+ break;
+ case QSocket::ErrHostNotFound:
+ kdDebug() << i18n("Could not find host %1").arg( m_server ) << endl;
+ emit infoMessage( i18n("Could not find host %1").arg( m_server ) );
+ break;
+ case QSocket::ErrSocketRead:
+ kdDebug() << i18n("Error while reading from %1").arg( m_server ) << endl;
+ emit infoMessage( i18n("Error while reading from %1").arg( m_server ) );
+ break;
+ }
+
+ m_socket->close();
+ emitQueryFinished();
+}
+
+#include "k3bcddbpquery.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbpquery.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbpquery.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbpquery.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,62 @@
+/*
+ *
+ * $Id: k3bcddbpquery.h 619556 2007-01-03 17:38:12Z trueg $
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef K3BCDDBP_QUERY_H
+#define K3BCDDBP_QUERY_H
+
+#include "k3bcddbquery.h"
+#include "k3bcddbresult.h"
+
+#include <qstring.h>
+#include <qvaluelist.h>
+#include <qtextstream.h>
+
+class QSocket;
+
+class K3bCddbpQuery : public K3bCddbQuery
+{
+ Q_OBJECT
+
+ public:
+ K3bCddbpQuery( QObject* parent = 0, const char* name = 0 );
+ ~K3bCddbpQuery();
+
+ public slots:
+ void setServer( const QString& s, int port = 8080 ) { m_server = s; m_port = port; }
+
+ protected slots:
+ void slotHostFound();
+ void slotConnected();
+ void slotConnectionClosed();
+ void slotReadyRead();
+ void slotError( int e );
+ void doQuery();
+ void doMatchQuery();
+
+ private:
+ void cddbpQuit();
+ enum State { GREETING, HANDSHAKE, PROTO, QUERY, QUERY_DATA, READ, READ_DATA, QUIT };
+
+ int m_state;
+ QString m_server;
+ int m_port;
+
+ QSocket* m_socket;
+ QTextStream m_stream;
+
+ QString m_parsingBuffer;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbquery.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbquery.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbquery.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,275 @@
+/*
+ *
+ * $Id: k3bcddbquery.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+
+#include "k3bcddbquery.h"
+
+#include "k3bcddbresult.h"
+
+#include <kdebug.h>
+#include <kapplication.h>
+#include <kaboutdata.h>
+#include <klocale.h>
+
+
+#include <qtextstream.h>
+#include <qstringlist.h>
+#include <qregexp.h>
+#include <qtimer.h>
+
+#include <stdlib.h>
+
+
+
+
+K3bCddbQuery::K3bCddbQuery( QObject* parent, const char* name )
+ : QObject(parent, name)
+{
+ m_bQueryFinishedEmited = false;
+}
+
+
+K3bCddbQuery::~K3bCddbQuery()
+{
+}
+
+
+void K3bCddbQuery::query( const K3bDevice::Toc& toc )
+{
+ m_bQueryFinishedEmited = false;
+ m_toc = toc;
+ m_inexactMatches.clear();
+
+ QTimer::singleShot( 0, this, SLOT(doQuery()) );
+}
+
+
+void K3bCddbQuery::queryMatch( const K3bCddbResultHeader& header )
+{
+ m_header = header;
+ m_result = K3bCddbResultEntry();
+ m_result.category = header.category;
+ m_result.discid = header.discid;
+
+ QTimer::singleShot( 0, this, SLOT(doMatchQuery()) );
+}
+
+
+const QStringList& K3bCddbQuery::categories()
+{
+ static QStringList s_cat = QStringList::split( ",", "rock,blues,misc,classical,"
+ "country,data,folk,jazz,newage,reggae,soundtrack" );
+ return s_cat;
+}
+
+
+bool K3bCddbQuery::parseEntry( QTextStream& stream, K3bCddbResultEntry& entry )
+{
+ entry.rawData = "";
+
+ stream.setEncoding( QTextStream::UnicodeUTF8 );
+
+ // parse data
+ QString line;
+ while( !(line = stream.readLine()).isNull() ) {
+ entry.rawData.append(line + "\n");
+
+ // !all fields may be splitted into several lines!
+
+ if( line.startsWith( "DISCID" ) ) {
+ // TODO: this could be several discids separated by comma!
+ }
+
+ else if( line.startsWith( "DYEAR" ) ) {
+ QString year = line.mid( 6 );
+ if( year.length() == 4 )
+ entry.year = year.toInt();
+ }
+
+ else if( line.startsWith( "DGENRE" ) ) {
+ entry.genre = line.mid( 7 );
+ }
+
+ else if( line.startsWith( "DTITLE" ) ) {
+ entry.cdTitle += line.mid( 7 );
+ }
+
+ else if( line.startsWith( "TTITLE" ) ) {
+ int eqSgnPos = line.find( "=" );
+ bool ok;
+ uint trackNum = (uint)line.mid( 6, eqSgnPos - 6 ).toInt( &ok );
+ if( !ok )
+ kdDebug() << "(K3bCddbQuery) !!! PARSE ERROR: " << line << endl;
+ else {
+ // kdDebug() << "(K3bCddbQuery) Track title for track " << trackNum << endl;
+
+ // make sure the list is big enough
+ while( entry.titles.count() <= trackNum )
+ entry.titles.append( "" );
+
+ entry.titles[trackNum] += line.mid( eqSgnPos+1 );
+ }
+ }
+
+ else if( line.startsWith( "EXTD" ) ) {
+ entry.cdExtInfo += line.mid( 5 );
+ }
+
+ else if( line.startsWith( "EXTT" ) ) {
+ int eqSgnPos = line.find( "=" );
+ bool ok;
+ uint trackNum = (uint)line.mid( 4, eqSgnPos - 4 ).toInt( &ok );
+ if( !ok )
+ kdDebug() << "(K3bCddbQuery) !!! PARSE ERROR: " << line << endl;
+ else {
+ // kdDebug() << "(K3bCddbQuery) Track extr track " << trackNum << endl;
+
+ // make sure the list is big enough
+ while( entry.extInfos.count() <= trackNum )
+ entry.extInfos.append( "" );
+
+ entry.extInfos[trackNum] += line.mid( eqSgnPos+1 );
+ }
+ }
+
+ else if( line.startsWith( "#" ) ) {
+ // kdDebug() << "(K3bCddbQuery) comment: " << line << endl;
+ }
+
+ else {
+ kdDebug() << "(K3bCddbQuery) Unknown field: " << line << endl;
+ }
+ }
+
+ // now split the titles in the last added match
+ // if no " / " delimiter is present title and artist are the same
+ // -------------------------------------------------------------------
+ QString fullTitle = entry.cdTitle;
+ int splitPos = fullTitle.find( " / " );
+ if( splitPos < 0 )
+ entry.cdArtist = fullTitle;
+ else {
+ // split
+ entry.cdTitle = fullTitle.mid( splitPos + 3 );
+ entry.cdArtist = fullTitle.left( splitPos );
+ }
+
+
+ for( QStringList::iterator it = entry.titles.begin();
+ it != entry.titles.end(); ++it ) {
+ QString fullTitle = *it;
+ int splitPos = fullTitle.find( " / " );
+ if( splitPos < 0 )
+ entry.artists.append( entry.cdArtist );
+ else {
+ // split
+ *it = fullTitle.mid( splitPos + 3 );
+ entry.artists.append( fullTitle.left( splitPos ) );
+ }
+ }
+
+
+ // replace all "\\n" with "\n"
+ for( QStringList::iterator it = entry.titles.begin();
+ it != entry.titles.end(); ++it ) {
+ (*it).replace( "\\\\\\\\n", "\\n" );
+ }
+
+ for( QStringList::iterator it = entry.artists.begin();
+ it != entry.artists.end(); ++it ) {
+ (*it).replace( "\\\\\\\\n", "\\n" );
+ }
+
+ for( QStringList::iterator it = entry.extInfos.begin();
+ it != entry.extInfos.end(); ++it ) {
+ (*it).replace( "\\\\\\\\n", "\\n" );
+ }
+
+ entry.cdTitle.replace( "\\\\\\\\n", "\\n" );
+ entry.cdArtist.replace( "\\\\\\\\n", "\\n" );
+ entry.cdExtInfo.replace( "\\\\\\\\n", "\\n" );
+ entry.genre.replace( "\\\\\\\\n", "\\n" );
+
+ return true;
+}
+
+
+int K3bCddbQuery::getCode( const QString& line )
+{
+ bool ok;
+ int code = line.left( 3 ).toInt( &ok );
+ if( !ok )
+ code = -1;
+ return code;
+}
+
+
+QString K3bCddbQuery::handshakeString() const
+{
+ QString user( getenv("USER") );
+ QString host( getenv("HOST") );
+ if( user.isEmpty() )
+ user = "kde-user";
+ if( host.isEmpty() )
+ host = "kde-host";
+
+ return QString("%1 %2 K3b %3").arg(user).arg(host).arg(kapp->aboutData()->version());
+}
+
+
+QString K3bCddbQuery::queryString() const
+{
+ QString query = "cddb query "
+ + QString::number( m_toc.discId(), 16 ).rightJustify( 8, '0' )
+ + " "
+ + QString::number( (unsigned int)m_toc.count() );
+
+ for( K3bDevice::Toc::const_iterator it = m_toc.begin(); it != m_toc.end(); ++it ) {
+ query.append( QString( " %1" ).arg( (*it).firstSector().lba() ) );
+ }
+
+ query.append( QString( " %1" ).arg( m_toc.length().lba() / 75 ) );
+
+ return query;
+}
+
+
+bool K3bCddbQuery::parseMatchHeader( const QString& line, K3bCddbResultHeader& header )
+{
+ // format: category id title
+ // where title could be artist and title splitted with a /
+ header.category = line.section( ' ', 0, 0 );
+ header.discid = line.section( ' ', 1, 1 );
+ header.title = line.mid( header.category.length() + header.discid.length() + 2 );
+ int slashPos = header.title.find( "/" );
+ if( slashPos > 0 ) {
+ header.artist = header.title.left(slashPos).stripWhiteSpace();
+ header.title = header.title.mid( slashPos+1 ).stripWhiteSpace();
+ }
+ return true;
+}
+
+
+void K3bCddbQuery::emitQueryFinished()
+{
+ if( !m_bQueryFinishedEmited ) {
+ m_bQueryFinishedEmited = true;
+ emit queryFinished( this );
+ }
+}
+
+
+#include "k3bcddbquery.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbquery.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbquery.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbquery.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,115 @@
+/*
+ *
+ * $Id: k3bcddbquery.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef K3BCDDB_QUERY_H
+#define K3BCDDB_QUERY_H
+
+#include <qobject.h>
+#include <qstring.h>
+#include <qtextstream.h>
+
+#include "k3bcddbresult.h"
+
+#include <k3btoc.h>
+#include "k3b_export.h"
+
+
+class LIBK3B_EXPORT K3bCddbQuery : public QObject
+{
+ Q_OBJECT
+
+ public:
+ K3bCddbQuery( QObject* parent = 0, const char* name = 0 );
+ virtual ~K3bCddbQuery();
+
+ void query( const K3bDevice::Toc& );
+
+ /**
+ * Use this if the query returned multiple matches
+ */
+ void queryMatch( const K3bCddbResultHeader& );
+
+ const K3bCddbResultEntry& result() const { return m_result; }
+
+ /**
+ * After emitting the signal inexactMatches one has to choose one
+ * of these entries and query it with queryInexactMatch
+ */
+ const QValueList<K3bCddbResultHeader>& getInexactMatches() const { return m_inexactMatches; }
+
+ static const QStringList& categories();
+
+ enum Error { SUCCESS = 0,
+ CANCELED,
+ NO_ENTRY_FOUND,
+ CONNECTION_ERROR,
+ QUERY_ERROR,
+ READ_ERROR,
+ FAILURE,
+ WORKING };
+
+ int error() const { return m_error; }
+
+ signals:
+ /**
+ * This gets emitted if a single entry has been found or
+ * no entry has been found.
+ */
+ void queryFinished( K3bCddbQuery* );
+
+ /**
+ * This gets emitted if multiple entries have been found.
+ * Call queryInexactMatch() after receiving it.
+ */
+ void inexactMatches( K3bCddbQuery* );
+
+ void infoMessage( const QString& );
+
+ protected slots:
+ virtual void doQuery() = 0;
+ virtual void doMatchQuery() = 0;
+
+ protected:
+ const K3bDevice::Toc& toc() const { return m_toc; }
+ K3bCddbResultHeader& header() { return m_header; }
+ K3bCddbResultEntry& result() { return m_result; }
+ void setError( int e ) { m_error = e; }
+
+ bool parseEntry( QTextStream&, K3bCddbResultEntry& );
+ int getCode( const QString& );
+ QString handshakeString() const;
+ QString queryString() const;
+ bool parseMatchHeader( const QString& line, K3bCddbResultHeader& header );
+
+ /**
+ * since I'm not quite sure when the socket will emit connectionClosed
+ * this method makes sure the queryFinished signal
+ * gets emited only once.
+ */
+ void emitQueryFinished();
+
+ QValueList<K3bCddbResultHeader> m_inexactMatches;
+
+ private:
+ K3bDevice::Toc m_toc;
+ K3bCddbResultEntry m_result;
+ K3bCddbResultHeader m_header;
+ int m_error;
+
+ bool m_bQueryFinishedEmited;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbresult.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbresult.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbresult.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,49 @@
+/*
+ *
+ * $Id: k3bcddbresult.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+
+#include "k3bcddbresult.h"
+
+
+K3bCddbResult::K3bCddbResult()
+{
+}
+
+
+void K3bCddbResult::clear()
+{
+ m_entries.clear();
+}
+
+
+int K3bCddbResult::foundEntries() const
+{
+ return m_entries.count();
+}
+
+const K3bCddbResultEntry& K3bCddbResult::entry( unsigned int number ) const
+{
+ if( number >= m_entries.count() )
+ return m_emptyEntry;
+
+ return m_entries[number];
+}
+
+
+void K3bCddbResult::addEntry( const K3bCddbResultEntry& entry )
+{
+ m_entries.append( entry );
+}
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbresult.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbresult.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbresult.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,78 @@
+/*
+ *
+ * $Id: k3bcddbresult.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+
+#ifndef K3B_CDDB_RESULT_H
+#define K3B_CDDB_RESULT_H
+
+
+#include <qstringlist.h>
+
+
+class K3bCddbResultHeader
+{
+ public:
+ QString category;
+ QString title;
+ QString artist;
+ QString discid;
+};
+
+
+class K3bCddbResultEntry
+{
+ public:
+ // just to set a default
+ K3bCddbResultEntry()
+ : category("misc"),
+ year(0) {
+ }
+
+ QStringList titles;
+ QStringList artists;
+ QStringList extInfos;
+
+ QString cdTitle;
+ QString cdArtist;
+ QString cdExtInfo;
+
+ QString genre;
+ QString category;
+ int year;
+ QString discid;
+
+ QString rawData;
+};
+
+
+class K3bCddbResult
+{
+ public:
+ K3bCddbResult();
+ // K3bCddbQuery( const K3bCddbQuery& );
+
+ void clear();
+ void addEntry( const K3bCddbResultEntry& = K3bCddbResultEntry() );
+ const K3bCddbResultEntry& entry( unsigned int number = 0 ) const;
+ int foundEntries() const;
+
+ private:
+ QValueList<K3bCddbResultEntry> m_entries;
+
+ K3bCddbResultEntry m_emptyEntry;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbsubmit.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbsubmit.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbsubmit.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,84 @@
+/*
+ *
+ * $Id: k3bcddbsubmit.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#include "k3bcddbsubmit.h"
+
+#include <qtimer.h>
+
+
+K3bCddbSubmit::K3bCddbSubmit( QObject* parent, const char* name )
+ : QObject( parent, name )
+{
+}
+
+
+K3bCddbSubmit::~K3bCddbSubmit()
+{
+}
+
+
+void K3bCddbSubmit::submit( const K3bCddbResultEntry& entry )
+{
+ m_resultEntry = entry;
+
+ if( m_resultEntry.rawData.isEmpty() )
+ createDataStream( m_resultEntry );
+
+ QTimer::singleShot( 0, this, SLOT(doSubmit()) );
+}
+
+
+void K3bCddbSubmit::createDataStream( K3bCddbResultEntry& entry )
+{
+ entry.rawData.truncate(0);
+
+ QTextStream ts( &entry.rawData, IO_WriteOnly );
+
+ ts << "#" << endl
+ << "# Submitted via: K3b" << endl
+ << "#" << endl;
+
+ ts << "DISCID=" << entry.discid << endl
+ << "DTITLE=" << entry.cdArtist << " / " << entry.cdTitle << endl
+ << "DYEAR=";
+ if( entry.year > 0 )
+ ts << entry.year;
+ ts << endl;
+ ts << "DGENRE=" << entry.genre << endl;
+
+ bool allEqualArtist = true;
+ for( unsigned int i = 0; i < entry.artists.count(); ++i )
+ if( entry.artists[i] != entry.cdArtist &&
+ !entry.artists[i].isEmpty() ) {
+ allEqualArtist = false;
+ break;
+ }
+
+ for( unsigned int i = 0; i < entry.titles.count(); ++i ) {
+ ts << "TTITLE" << i << "=";
+ if( !allEqualArtist )
+ ts << entry.artists[i] << " / ";
+ ts << entry.titles[i] << endl;
+ }
+
+ ts << "EXTD=" << entry.cdExtInfo << endl;
+
+ for( unsigned int i = 0; i < entry.titles.count(); ++i ) {
+ ts << "EXTT" << i << "=" << entry.extInfos[i] << endl;
+ }
+}
+
+#include "k3bcddbsubmit.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbsubmit.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbsubmit.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/cddb/k3bcddbsubmit.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,60 @@
+/*
+ *
+ * $Id: k3bcddbsubmit.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef K3BCDDB_SUBMIT_H
+#define K3BCDDB_SUBMIT_H
+
+#include <qobject.h>
+#include <qstring.h>
+
+#include "k3bcddbresult.h"
+
+
+
+class K3bCddbSubmit : public QObject
+{
+ Q_OBJECT
+
+ public:
+ K3bCddbSubmit( QObject* parent = 0, const char* name = 0 );
+ virtual ~K3bCddbSubmit();
+
+ int error() const { return m_error; }
+
+ enum State { SUCCESS, WORKING, IO_ERROR, CONNECTION_ERROR };
+
+ public slots:
+ void submit( const K3bCddbResultEntry& );
+
+ signals:
+ void infoMessage( const QString& );
+ void submitFinished( K3bCddbSubmit* );
+
+ protected slots:
+ virtual void doSubmit() = 0;
+ void setError( int e ) { m_error = e; }
+
+ protected:
+ K3bCddbResultEntry& resultEntry() { return m_resultEntry; }
+
+ private:
+ void createDataStream( K3bCddbResultEntry& entry );
+
+ int m_error;
+ K3bCddbResultEntry m_resultEntry;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/configure.in.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/configure.in.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/configure.in.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,3 @@
+AC_CHECK_FUNCS(stat64)
+AC_CHECK_HEADERS(sys/vfs.h)
+AC_CHECK_HEADERS(sys/statvfs.h)
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/Makefile.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/Makefile.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/Makefile.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,19 @@
+AM_CPPFLAGS = -I$(srcdir)/../../libk3bdevice -I$(srcdir)/../plugin -I$(srcdir)/../tools $(all_includes)
+
+noinst_LTLIBRARIES = libk3bcore.la
+
+libk3bcore_la_LIBADD = $(LIB_KIO) $(ARTSC_LIB)
+
+libk3bcore_la_LDFLAGS = $(all_libraries)
+
+libk3bcore_la_SOURCES = k3bcore.cpp k3bglobals.cpp k3bdefaultexternalprograms.cpp \
+ k3bexternalbinmanager.cpp k3bversion.cpp k3bprocess.cpp k3bjob.cpp \
+ k3bthread.cpp k3bthreadjob.cpp k3bglobalsettings.cpp k3bsimplejobhandler.cpp
+
+include_HEADERS = k3bcore.h k3bdefaultexternalprograms.h k3bexternalbinmanager.h \
+ k3bprocess.h k3bversion.h k3bglobals.h k3bjob.h k3bthread.h \
+ k3bthreadjob.h k3bglobalsettings.h k3bjobhandler.h \
+ k3b_export.h k3bjobhandler.h k3bsimplejobhandler.h
+
+METASOURCES = AUTO
+
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/Makefile.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/Makefile.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/Makefile.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,844 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 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.
+
+ at SET_MAKE@
+
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = libk3b/core
+DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+LTLIBRARIES = $(noinst_LTLIBRARIES)
+am__DEPENDENCIES_1 =
+libk3bcore_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
+am_libk3bcore_la_OBJECTS = k3bcore.lo k3bglobals.lo \
+ k3bdefaultexternalprograms.lo k3bexternalbinmanager.lo \
+ k3bversion.lo k3bprocess.lo k3bjob.lo k3bthread.lo \
+ k3bthreadjob.lo k3bglobalsettings.lo k3bsimplejobhandler.lo
+#>- libk3bcore_la_OBJECTS = $(am_libk3bcore_la_OBJECTS)
+#>+ 7
+libk3bcore_la_final_OBJECTS = libk3bcore_la.all_cpp.lo
+libk3bcore_la_nofinal_OBJECTS = k3bcore.lo k3bglobals.lo \
+ k3bdefaultexternalprograms.lo k3bexternalbinmanager.lo \
+ k3bversion.lo k3bprocess.lo k3bjob.lo k3bthread.lo \
+ k3bthreadjob.lo k3bglobalsettings.lo k3bsimplejobhandler.lo
+ at KDE_USE_FINAL_FALSE@libk3bcore_la_OBJECTS = $(libk3bcore_la_nofinal_OBJECTS)
+ at KDE_USE_FINAL_TRUE@libk3bcore_la_OBJECTS = $(libk3bcore_la_final_OBJECTS)
+#>- libk3bcore_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+#>- $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+#>- $(CXXFLAGS) $(libk3bcore_la_LDFLAGS) $(LDFLAGS) -o $@
+#>+ 3
+libk3bcore_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+ $(CXXFLAGS) $(KDE_CXXFLAGS) $(libk3bcore_la_LDFLAGS) $(LDFLAGS) -o $@
+DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
+am__depfiles_maybe = depfiles
+#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 2
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+#>- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 3
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+CXXLD = $(CXX)
+#>- CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
+#>- $(LDFLAGS) -o $@
+#>+ 3
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+SOURCES = $(libk3bcore_la_SOURCES)
+DIST_SOURCES = $(libk3bcore_la_SOURCES)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(includedir)"
+includeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(include_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ACLOCAL = @ACLOCAL@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+ARTS_LIBS = @ARTS_LIBS@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAM_LIB = @CAM_LIB@
+CC = @CC@
+CCAS = @CCAS@
+CCASDEPMODE = @CCASDEPMODE@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DBUSQT_INCS = @DBUSQT_INCS@
+DBUSQT_LIBS = @DBUSQT_LIBS@
+DBUS_INCS = @DBUS_INCS@
+DBUS_LIBS = @DBUS_LIBS@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+GREP = @GREP@
+GV_ASM_DEFS = @GV_ASM_DEFS@
+HAL_DBUS_LIBS = @HAL_DBUS_LIBS@
+HAL_INCS = @HAL_INCS@
+HAL_LIBS = @HAL_LIBS@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+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_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSAMPLERATE = @LIBSAMPLERATE@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAD_LIB = @MAD_LIB@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MPC_LIBS = @MPC_LIBS@
+MSGFMT = @MSGFMT@
+MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+RESMGR_LIB = @RESMGR_LIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+TAGLIB_CONFIG = @TAGLIB_CONFIG@
+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@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+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_kcfgdir = @kde_kcfgdir@
+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@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+taglib_includes = @taglib_includes@
+taglib_libs = @taglib_libs@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+AM_CPPFLAGS = -I$(srcdir)/../../libk3bdevice -I$(srcdir)/../plugin -I$(srcdir)/../tools $(all_includes)
+noinst_LTLIBRARIES = libk3bcore.la
+libk3bcore_la_LIBADD = $(LIB_KIO) $(ARTSC_LIB)
+libk3bcore_la_LDFLAGS = $(all_libraries)
+libk3bcore_la_SOURCES = k3bcore.cpp k3bglobals.cpp k3bdefaultexternalprograms.cpp \
+ k3bexternalbinmanager.cpp k3bversion.cpp k3bprocess.cpp k3bjob.cpp \
+ k3bthread.cpp k3bthreadjob.cpp k3bglobalsettings.cpp k3bsimplejobhandler.cpp
+
+include_HEADERS = k3bcore.h k3bdefaultexternalprograms.h k3bexternalbinmanager.h \
+ k3bprocess.h k3bversion.h k3bglobals.h k3bjob.h k3bthread.h \
+ k3bthreadjob.h k3bglobalsettings.h k3bjobhandler.h \
+ k3b_export.h k3bjobhandler.h k3bsimplejobhandler.h
+
+#>- METASOURCES = AUTO
+#>- all: all-am
+#>+ 1
+all: docs-am all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/core/Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --gnu libk3b/core/Makefile
+#>+ 12
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/core/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu libk3b/core/Makefile
+ cd $(top_srcdir) && perl admin/am_edit libk3b/core/Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-noinstLTLIBRARIES:
+ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+ @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" != "$$p" || dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+libk3bcore.la: $(libk3bcore_la_OBJECTS) $(libk3bcore_la_DEPENDENCIES)
+ $(libk3bcore_la_LINK) $(libk3bcore_la_OBJECTS) $(libk3bcore_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bcore.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bdefaultexternalprograms.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bexternalbinmanager.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bglobals.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bglobalsettings.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bjob.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bprocess.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bsimplejobhandler.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bthread.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bthreadjob.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bversion.Plo at am__quote@
+
+.cpp.o:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+ at am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+install-includeHEADERS: $(include_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
+ @list='$(include_HEADERS)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+ $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
+ done
+
+uninstall-includeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(include_HEADERS)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+ rm -f "$(DESTDIR)$(includedir)/$$f"; \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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 "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(includedir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-am
+#>+ 1
+clean: kde-rpo-clean clean-am
+
+#>- clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
+#>- mostlyclean-am
+#>+ 2
+clean-am: clean-metasources clean-bcheck clean-final clean-generic clean-libtool clean-noinstLTLIBRARIES \
+ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-includeHEADERS
+
+install-dvi: install-dvi-am
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-includeHEADERS
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+ clean-libtool clean-noinstLTLIBRARIES ctags distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-includeHEADERS install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags uninstall uninstall-am uninstall-includeHEADERS
+
+# 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:
+
+#>+ 3
+k3bprocess.moc: $(srcdir)/k3bprocess.h
+ $(MOC) $(srcdir)/k3bprocess.h -o k3bprocess.moc
+
+#>+ 2
+mocs: k3bprocess.moc
+
+#>+ 3
+k3bjob.moc: $(srcdir)/k3bjob.h
+ $(MOC) $(srcdir)/k3bjob.h -o k3bjob.moc
+
+#>+ 2
+mocs: k3bjob.moc
+
+#>+ 3
+k3bexternalbinmanager.moc: $(srcdir)/k3bexternalbinmanager.h
+ $(MOC) $(srcdir)/k3bexternalbinmanager.h -o k3bexternalbinmanager.moc
+
+#>+ 2
+mocs: k3bexternalbinmanager.moc
+
+#>+ 3
+k3bthreadjob.moc: $(srcdir)/k3bthreadjob.h
+ $(MOC) $(srcdir)/k3bthreadjob.h -o k3bthreadjob.moc
+
+#>+ 2
+mocs: k3bthreadjob.moc
+
+#>+ 3
+k3bsimplejobhandler.moc: $(srcdir)/k3bsimplejobhandler.h
+ $(MOC) $(srcdir)/k3bsimplejobhandler.h -o k3bsimplejobhandler.moc
+
+#>+ 2
+mocs: k3bsimplejobhandler.moc
+
+#>+ 3
+k3bcore.moc: $(srcdir)/k3bcore.h
+ $(MOC) $(srcdir)/k3bcore.h -o k3bcore.moc
+
+#>+ 2
+mocs: k3bcore.moc
+
+#>+ 3
+clean-metasources:
+ -rm -f k3bprocess.moc k3bjob.moc k3bexternalbinmanager.moc k3bthreadjob.moc k3bsimplejobhandler.moc k3bcore.moc
+
+#>+ 2
+KDE_DIST=k3bprogressinfoevent.h Makefile.in k3bdataevent.h Makefile.am
+
+#>+ 2
+docs-am:
+
+#>+ 15
+force-reedit:
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/core/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu libk3b/core/Makefile
+ cd $(top_srcdir) && perl admin/am_edit libk3b/core/Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-am
+
+bcheck-am:
+ @for i in $(include_HEADERS); do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXXCOMPILE) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 11
+libk3bcore_la.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/k3bcore.cpp $(srcdir)/k3bglobals.cpp $(srcdir)/k3bdefaultexternalprograms.cpp $(srcdir)/k3bexternalbinmanager.cpp $(srcdir)/k3bversion.cpp $(srcdir)/k3bprocess.cpp $(srcdir)/k3bjob.cpp $(srcdir)/k3bthread.cpp $(srcdir)/k3bthreadjob.cpp $(srcdir)/k3bglobalsettings.cpp $(srcdir)/k3bsimplejobhandler.cpp k3bjob.moc k3bprocess.moc k3bthreadjob.moc k3bexternalbinmanager.moc k3bsimplejobhandler.moc k3bcore.moc
+ @echo 'creating libk3bcore_la.all_cpp.cpp ...'; \
+ rm -f libk3bcore_la.all_cpp.files libk3bcore_la.all_cpp.final; \
+ echo "#define KDE_USE_FINAL 1" >> libk3bcore_la.all_cpp.final; \
+ for file in k3bcore.cpp k3bglobals.cpp k3bdefaultexternalprograms.cpp k3bexternalbinmanager.cpp k3bversion.cpp k3bprocess.cpp k3bjob.cpp k3bthread.cpp k3bthreadjob.cpp k3bglobalsettings.cpp k3bsimplejobhandler.cpp ; do \
+ echo "#include \"$$file\"" >> libk3bcore_la.all_cpp.files; \
+ test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> libk3bcore_la.all_cpp.final; \
+ done; \
+ cat libk3bcore_la.all_cpp.final libk3bcore_la.all_cpp.files > libk3bcore_la.all_cpp.cpp; \
+ rm -f libk3bcore_la.all_cpp.final libk3bcore_la.all_cpp.files
+
+#>+ 3
+clean-final:
+ -rm -f libk3bcore_la.all_cpp.cpp
+
+#>+ 3
+final:
+ $(MAKE) libk3bcore_la_OBJECTS="$(libk3bcore_la_final_OBJECTS)" all-am
+
+#>+ 3
+final-install:
+ $(MAKE) libk3bcore_la_OBJECTS="$(libk3bcore_la_final_OBJECTS)" install-am
+
+#>+ 3
+no-final:
+ $(MAKE) libk3bcore_la_OBJECTS="$(libk3bcore_la_nofinal_OBJECTS)" all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) libk3bcore_la_OBJECTS="$(libk3bcore_la_nofinal_OBJECTS)" install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 15
+k3bjob.lo: k3bjob.moc
+k3bsimplejobhandler.lo: k3bsimplejobhandler.moc
+k3bprocess.lo: k3bprocess.moc
+k3bjob.o: k3bjob.moc
+k3bexternalbinmanager.o: k3bexternalbinmanager.moc
+nmcheck:
+k3bthreadjob.o: k3bthreadjob.moc
+k3bthreadjob.lo: k3bthreadjob.moc
+k3bsimplejobhandler.o: k3bsimplejobhandler.moc
+nmcheck-am: nmcheck
+k3bexternalbinmanager.lo: k3bexternalbinmanager.moc
+k3bprocess.o: k3bprocess.moc
+k3bcore.o: k3bcore.moc
+k3bcore.lo: k3bcore.moc
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3b_export.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3b_export.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3b_export.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,33 @@
+/*
+ *
+ * $Id: sourceheader 511311 2006-02-19 14:51:05Z trueg $
+ * Copyright (c) 2005 Laurent Montel <montel at kde.org>
+ * Copyright (C) 2005-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_EXPORT_H_
+#define _K3B_EXPORT_H_
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#ifdef __KDE_HAVE_GCC_VISIBILITY
+#define LIBK3B_NO_EXPORT __attribute__ ((visibility("hidden")))
+#define LIBK3B_EXPORT __attribute__ ((visibility("default")))
+#else
+#define LIBK3B_NO_EXPORT
+#define LIBK3B_EXPORT
+#endif
+
+#endif
+
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bcore.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bcore.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bcore.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,375 @@
+/*
+ *
+ * $Id: k3bcore.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include <config.h>
+
+#include "k3bcore.h"
+#include "k3bjob.h"
+
+#include <k3bdevicemanager.h>
+#ifdef HAVE_HAL
+#include <k3bhalconnection.h>
+#endif
+#include <k3bexternalbinmanager.h>
+#include <k3bdefaultexternalprograms.h>
+#include <k3bglobals.h>
+#include <k3bversion.h>
+#include <k3bjob.h>
+#include <k3bthreadwidget.h>
+#include <k3bglobalsettings.h>
+#include <k3bpluginmanager.h>
+
+#include <klocale.h>
+#include <kconfig.h>
+#include <kaboutdata.h>
+#include <kstandarddirs.h>
+#include <kapplication.h>
+
+#include <qptrlist.h>
+#include <qthread.h>
+#include <qmutex.h>
+
+
+static Qt::HANDLE s_guiThreadHandle = QThread::currentThread();
+
+// We cannot use QWaitCondition here since the event might be handled faster
+// than the thread starts the waiting
+class DeviceBlockingEventDoneCondition {
+public:
+ DeviceBlockingEventDoneCondition()
+ : m_done(false) {
+ }
+
+ void done() {
+ m_doneMutex.lock();
+ m_done = true;
+ m_doneMutex.unlock();
+ }
+
+ void wait() {
+ while( true ) {
+ m_doneMutex.lock();
+ bool done = m_done;
+ m_doneMutex.unlock();
+ if( done )
+ return;
+ }
+ }
+
+private:
+ QMutex m_doneMutex;
+ bool m_done;
+};
+
+class DeviceBlockingEvent : public QCustomEvent
+{
+public:
+ DeviceBlockingEvent( bool block_, K3bDevice::Device* dev, DeviceBlockingEventDoneCondition* cond_, bool* success_ )
+ : QCustomEvent( QEvent::User + 33 ),
+ block(block_),
+ device(dev),
+ cond(cond_),
+ success(success_) {
+ }
+
+ bool block;
+ K3bDevice::Device* device;
+ DeviceBlockingEventDoneCondition* cond;
+ bool* success;
+};
+
+
+class K3bCore::Private {
+public:
+ Private()
+ : version( LIBK3B_VERSION ),
+ config(0),
+ deleteConfig(false),
+ deviceManager(0),
+ externalBinManager(0),
+ pluginManager(0),
+ globalSettings(0) {
+ }
+
+ K3bVersion version;
+ KConfig* config;
+ bool deleteConfig;
+ K3bDevice::DeviceManager* deviceManager;
+ K3bExternalBinManager* externalBinManager;
+ K3bPluginManager* pluginManager;
+ K3bGlobalSettings* globalSettings;
+
+ QValueList<K3bJob*> runningJobs;
+ QValueList<K3bDevice::Device*> blockedDevices;
+};
+
+
+
+K3bCore* K3bCore::s_k3bCore = 0;
+
+
+
+K3bCore::K3bCore( QObject* parent, const char* name )
+ : QObject( parent, name )
+{
+ d = new Private();
+
+ if( s_k3bCore )
+ qFatal("ONLY ONE INSTANCE OF K3BCORE ALLOWED!");
+ s_k3bCore = this;
+
+ // create the thread widget instance in the GUI thread
+ K3bThreadWidget::instance();
+}
+
+
+K3bCore::~K3bCore()
+{
+ s_k3bCore = 0;
+
+ delete d->globalSettings;
+ delete d;
+}
+
+
+K3bDevice::DeviceManager* K3bCore::deviceManager() const
+{
+ const_cast<K3bCore*>(this)->initDeviceManager();
+ return d->deviceManager;
+}
+
+
+K3bExternalBinManager* K3bCore::externalBinManager() const
+{
+ const_cast<K3bCore*>(this)->initExternalBinManager();
+ return d->externalBinManager;
+}
+
+
+K3bPluginManager* K3bCore::pluginManager() const
+{
+ const_cast<K3bCore*>(this)->initPluginManager();
+ return d->pluginManager;
+}
+
+
+K3bGlobalSettings* K3bCore::globalSettings() const
+{
+ const_cast<K3bCore*>(this)->initGlobalSettings();
+ return d->globalSettings;
+}
+
+
+const K3bVersion& K3bCore::version() const
+{
+ return d->version;
+}
+
+
+KConfig* K3bCore::config() const
+{
+ if( !d->config ) {
+ kdDebug() << "(K3bCore) opening k3b config file." << endl;
+ kdDebug() << "(K3bCore) while I am a " << className() << endl;
+ d->deleteConfig = true;
+ d->config = new KConfig( "k3brc" );
+ }
+
+ return d->config;
+}
+
+
+void K3bCore::init()
+{
+ initGlobalSettings();
+ initExternalBinManager();
+ initDeviceManager();
+ initPluginManager();
+
+ // load the plugins before doing anything else
+ // they might add external bins
+ pluginManager()->loadAll();
+
+ externalBinManager()->search();
+
+#ifdef HAVE_HAL
+ connect( K3bDevice::HalConnection::instance(), SIGNAL(deviceAdded(const QString&)),
+ deviceManager(), SLOT(addDevice(const QString&)) );
+ connect( K3bDevice::HalConnection::instance(), SIGNAL(deviceRemoved(const QString&)),
+ deviceManager(), SLOT(removeDevice(const QString&)) );
+ QStringList devList = K3bDevice::HalConnection::instance()->devices();
+ if( devList.isEmpty() )
+ deviceManager()->scanBus();
+ else
+ for( unsigned int i = 0; i < devList.count(); ++i )
+ deviceManager()->addDevice( devList[i] );
+#else
+ deviceManager()->scanBus();
+#endif
+}
+
+
+void K3bCore::initGlobalSettings()
+{
+ if( !d->globalSettings )
+ d->globalSettings = new K3bGlobalSettings();
+}
+
+
+void K3bCore::initExternalBinManager()
+{
+ if( !d->externalBinManager ) {
+ d->externalBinManager = new K3bExternalBinManager( this );
+ K3b::addDefaultPrograms( d->externalBinManager );
+ }
+}
+
+
+void K3bCore::initDeviceManager()
+{
+ if( !d->deviceManager )
+ d->deviceManager = new K3bDevice::DeviceManager( this );
+}
+
+
+void K3bCore::initPluginManager()
+{
+ if( !d->pluginManager )
+ d->pluginManager = new K3bPluginManager( this );
+}
+
+
+void K3bCore::readSettings( KConfig* cnf )
+{
+ KConfig* c = cnf;
+ if( !c )
+ c = config();
+
+ QString oldGrp = c->group();
+
+ globalSettings()->readSettings( c );
+ deviceManager()->readConfig( c );
+ externalBinManager()->readConfig( c );
+
+ c->setGroup( oldGrp );
+}
+
+
+void K3bCore::saveSettings( KConfig* cnf )
+{
+ KConfig* c = cnf;
+ if( !c )
+ c = config();
+
+ QString oldGrp = c->group();
+
+ c->setGroup( "General Options" );
+ c->writeEntry( "config version", version() );
+
+ deviceManager()->saveConfig( c );
+ externalBinManager()->saveConfig( c );
+ d->globalSettings->saveSettings( c );
+
+ c->setGroup( oldGrp );
+}
+
+
+void K3bCore::registerJob( K3bJob* job )
+{
+ d->runningJobs.append( job );
+ emit jobStarted( job );
+ if( K3bBurnJob* bj = dynamic_cast<K3bBurnJob*>( job ) )
+ emit burnJobStarted( bj );
+}
+
+
+void K3bCore::unregisterJob( K3bJob* job )
+{
+ d->runningJobs.remove( job );
+ emit jobFinished( job );
+ if( K3bBurnJob* bj = dynamic_cast<K3bBurnJob*>( job ) )
+ emit burnJobFinished( bj );
+}
+
+
+bool K3bCore::jobsRunning() const
+{
+ return !d->runningJobs.isEmpty();
+}
+
+
+const QValueList<K3bJob*>& K3bCore::runningJobs() const
+{
+ return d->runningJobs;
+}
+
+
+bool K3bCore::blockDevice( K3bDevice::Device* dev )
+{
+ if( QThread::currentThread() == s_guiThreadHandle ) {
+ return internalBlockDevice( dev );
+ }
+ else {
+ bool success = false;
+ DeviceBlockingEventDoneCondition w;
+ QApplication::postEvent( this, new DeviceBlockingEvent( true, dev, &w, &success ) );
+ w.wait();
+ return success;
+ }
+}
+
+
+void K3bCore::unblockDevice( K3bDevice::Device* dev )
+{
+ if( QThread::currentThread() == s_guiThreadHandle ) {
+ internalUnblockDevice( dev );
+ }
+ else {
+ DeviceBlockingEventDoneCondition w;
+ QApplication::postEvent( this, new DeviceBlockingEvent( false, dev, &w, 0 ) );
+ w.wait();
+ }
+}
+
+
+bool K3bCore::internalBlockDevice( K3bDevice::Device* dev )
+{
+ if( !d->blockedDevices.contains( dev ) ) {
+ d->blockedDevices.append( dev );
+ return true;
+ }
+ else
+ return false;
+}
+
+
+void K3bCore::internalUnblockDevice( K3bDevice::Device* dev )
+{
+ d->blockedDevices.remove( dev );
+}
+
+
+void K3bCore::customEvent( QCustomEvent* e )
+{
+ if( DeviceBlockingEvent* de = dynamic_cast<DeviceBlockingEvent*>(e) ) {
+ if( de->block )
+ *de->success = internalBlockDevice( de->device );
+ else
+ internalUnblockDevice( de->device );
+ de->cond->done();
+ }
+}
+
+#include "k3bcore.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bcore.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bcore.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bcore.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,181 @@
+/*
+ *
+ * $Id: k3bcore.h 696897 2007-08-06 07:14:14Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef _K3B_CORE_H_
+#define _K3B_CORE_H_
+
+#include <qobject.h>
+#include <qvaluelist.h>
+
+#include "k3b_export.h"
+
+
+#define LIBK3B_VERSION "1.0.4"
+
+#define k3bcore K3bCore::k3bCore()
+
+
+class K3bExternalBinManager;
+class K3bVersion;
+class KConfig;
+class KAboutData;
+class K3bJob;
+class K3bBurnJob;
+class K3bGlobalSettings;
+class K3bPluginManager;
+class QCustomEvent;
+
+
+namespace K3bDevice {
+ class DeviceManager;
+ class Device;
+}
+
+
+/**
+ * The K3b core takes care of the managers.
+ * This has been separated from K3bApplication to
+ * make creating a K3bPart easy.
+ * This is the heart of the K3b system. Every plugin may use this
+ * to get the information it needs.
+ */
+class LIBK3B_EXPORT K3bCore : public QObject
+{
+ Q_OBJECT
+
+ public:
+ /**
+ * Although K3bCore is a singlelton it's constructor is not private to make inheritance
+ * possible. Just make sure to only create one instance.
+ */
+ K3bCore( QObject* parent = 0, const char* name = 0 );
+ virtual ~K3bCore();
+
+ const QValueList<K3bJob*>& runningJobs() const;
+
+ /**
+ * Equals to !runningJobs().isEmpty()
+ */
+ bool jobsRunning() const;
+
+ /**
+ * The default implementation calls add four initXXX() methods,
+ * scans for devices, applications, and reads the global settings.
+ */
+ virtual void init();
+
+ /**
+ * @param c if 0 K3bCore uses the K3b configuration
+ */
+ virtual void readSettings( KConfig* c = 0 );
+
+ /**
+ * @param c if 0 K3bCore uses the K3b configuration
+ */
+ virtual void saveSettings( KConfig* c = 0 );
+
+ /**
+ * If this is reimplemented it is recommended to also reimplement
+ * init().
+ */
+ virtual K3bDevice::DeviceManager* deviceManager() const;
+
+ /**
+ * Returns the external bin manager from K3bCore.
+ *
+ * By default K3bCore only adds the default programs:
+ * cdrecord, cdrdao, growisofs, mkisofs, dvd+rw-format, readcd
+ *
+ * If you need other programs you have to add them manually like this:
+ * <pre>externalBinManager()->addProgram( new K3bNormalizeProgram() );</pre>
+ */
+ K3bExternalBinManager* externalBinManager() const;
+ K3bPluginManager* pluginManager() const;
+
+ /**
+ * Global settings used throughout libk3b. Change the settings directly in the
+ * K3bGlobalSettings object. They will be saved by K3bCore::saveSettings
+ */
+ K3bGlobalSettings* globalSettings() const;
+
+ /**
+ * returns the version of the library as defined by LIBK3B_VERSION
+ */
+ const K3bVersion& version() const;
+
+ /**
+ * Default implementation returns the K3b configuration from k3brc.
+ * Normally this should not be used.
+ */
+ virtual KConfig* config() const;
+
+ /**
+ * Used by the writing jobs to block a device.
+ * This makes sure no device is used twice within libk3b
+ *
+ * When using this method in a job be aware that reimplementations might
+ * open dialogs and resulting in a blocking call.
+ *
+ * This method calls internalBlockDevice() to do the actual work.
+ */
+ bool blockDevice( K3bDevice::Device* );
+ void unblockDevice( K3bDevice::Device* );
+
+ static K3bCore* k3bCore() { return s_k3bCore; }
+
+ signals:
+ /**
+ * Emitted once a new job has been started. This includes burn jobs.
+ */
+ void jobStarted( K3bJob* );
+ void burnJobStarted( K3bBurnJob* );
+ void jobFinished( K3bJob* );
+ void burnJobFinished( K3bBurnJob* );
+
+ public slots:
+ /**
+ * Every running job registers itself with the core.
+ * For now this is only used to determine if some job
+ * is running.
+ */
+ void registerJob( K3bJob* job );
+ void unregisterJob( K3bJob* job );
+
+ protected:
+ /**
+ * Reimplement this to add additonal checks.
+ *
+ * This method is thread safe. blockDevice makes sure
+ * it is only executed in the GUI thread.
+ */
+ virtual bool internalBlockDevice( K3bDevice::Device* );
+ virtual void internalUnblockDevice( K3bDevice::Device* );
+
+ virtual void initGlobalSettings();
+ virtual void initExternalBinManager();
+ virtual void initDeviceManager();
+ virtual void initPluginManager();
+
+ virtual void customEvent( QCustomEvent* e );
+
+ private:
+ class Private;
+ Private* d;
+
+ static K3bCore* s_k3bCore;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bdataevent.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bdataevent.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bdataevent.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,48 @@
+/*
+ *
+ * $Id: k3bdataevent.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef K3B_DATA_EVENT_H
+#define K3B_DATA_EVENT_H
+
+#include <qevent.h>
+
+
+/**
+ * Custom event class for posting events corresponding to the
+ * K3bJob signals. This is useful for a threaded job since
+ * in that case it's not possible to emit signals that directly
+ * change the GUI (see QThread docu).
+ */
+class K3bDataEvent : public QCustomEvent
+{
+ public:
+ // make sure we get not in the way of K3bProgressInfoEvent
+ static const int EVENT_TYPE = QEvent::User + 100;
+
+ K3bDataEvent( const char* data, int len )
+ : QCustomEvent( EVENT_TYPE ),
+ m_data(data),
+ m_length(len)
+ {}
+
+ const char* data() const { return m_data; }
+ int length() const { return m_length; }
+
+ private:
+ const char* m_data;
+ int m_length;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bdefaultexternalprograms.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bdefaultexternalprograms.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bdefaultexternalprograms.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,1030 @@
+/*
+ *
+ * $Id: k3bdefaultexternalprograms.cpp 731898 2007-11-02 08:22:18Z trueg $
+ * Copyright (C) 2003-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#include "k3bdefaultexternalprograms.h"
+#include "k3bexternalbinmanager.h"
+#include <k3bglobals.h>
+
+#include <qfile.h>
+#include <qdir.h>
+#include <qfileinfo.h>
+#include <qobject.h>
+#include <qregexp.h>
+#include <qtextstream.h>
+
+#include <k3bprocess.h>
+#include <kdebug.h>
+
+#include <unistd.h>
+#include <sys/stat.h>
+#include <stdlib.h>
+
+
+
+void K3b::addDefaultPrograms( K3bExternalBinManager* m )
+{
+ m->addProgram( new K3bCdrecordProgram(false) );
+ m->addProgram( new K3bMkisofsProgram() );
+ m->addProgram( new K3bReadcdProgram() );
+ m->addProgram( new K3bCdrdaoProgram() );
+ m->addProgram( new K3bGrowisofsProgram() );
+ m->addProgram( new K3bDvdformatProgram() );
+ // m->addProgram( new K3bDvdBooktypeProgram() );
+}
+
+
+void K3b::addTranscodePrograms( K3bExternalBinManager* m )
+{
+ static const char* transcodeTools[] = { "transcode",
+ 0, // K3b 1.0 only uses the transcode binary
+ "tcprobe",
+ "tccat",
+ "tcscan",
+ "tcextract",
+ "tcdecode",
+ 0 };
+
+ for( int i = 0; transcodeTools[i]; ++i )
+ m->addProgram( new K3bTranscodeProgram( transcodeTools[i] ) );
+}
+
+
+void K3b::addVcdimagerPrograms( K3bExternalBinManager* m )
+{
+ // don't know if we need more vcdTools in the future (vcdxrip)
+ static const char* vcdTools[] = { "vcdxbuild",
+ "vcdxminfo",
+ "vcdxrip",
+ 0 };
+
+ for( int i = 0; vcdTools[i]; ++i )
+ m->addProgram( new K3bVcdbuilderProgram( vcdTools[i] ) );
+}
+
+
+K3bCdrecordProgram::K3bCdrecordProgram( bool dvdPro )
+ : K3bExternalProgram( dvdPro ? "cdrecord-prodvd" : "cdrecord" ),
+ m_dvdPro(dvdPro)
+{
+}
+
+
+//
+// This is a hack for Debian based systems which use
+// a wrapper cdrecord script to call cdrecord.mmap or cdrecord.shm
+// depending on the kernel version.
+// For 2.0.x and 2.2.x kernels the shm version is used. In all
+// other cases it's the mmap version.
+//
+// But since it may be that someone manually installed cdrecord
+// replacing the wrapper we check if cdrecord is a script.
+//
+static QString& debianWeirdnessHack( QString& path )
+{
+ if( QFile::exists( path + ".mmap" ) ) {
+ kdDebug() << "(K3bCdrecordProgram) checking for Debian cdrecord wrapper script." << endl;
+ if( QFileInfo( path ).size() < 1024 ) {
+ kdDebug() << "(K3bCdrecordProgram) Debian Wrapper script size fits. Checking file." << endl;
+ QFile f( path );
+ f.open( IO_ReadOnly );
+ QString s = QTextStream( &f ).read();
+ if( s.contains( "cdrecord.mmap" ) && s.contains( "cdrecord.shm" ) ) {
+ kdDebug() << "(K3bCdrecordProgram) Found Debian Wrapper script." << endl;
+ QString ext;
+ if( K3b::kernelVersion().versionString().left(3) > "2.2" )
+ ext = ".mmap";
+ else
+ ext = ".shm";
+
+ kdDebug() << "(K3bCdrecordProgram) Using cdrecord" << ext << endl;
+
+ path += ext;
+ }
+ }
+ }
+
+ return path;
+}
+
+
+bool K3bCdrecordProgram::scan( const QString& p )
+{
+ if( p.isEmpty() )
+ return false;
+
+ bool wodim = false;
+ QString path = p;
+ QFileInfo fi( path );
+ if( fi.isDir() ) {
+ if( path[path.length()-1] != '/' )
+ path.append("/");
+
+ if( QFile::exists( path + "wodim" ) ) {
+ wodim = true;
+ path += "wodim";
+ }
+ else if( QFile::exists( path + "cdrecord" ) ) {
+ path += "cdrecord";
+ }
+ else
+ return false;
+ }
+
+ debianWeirdnessHack( path );
+
+ K3bExternalBin* bin = 0;
+
+ // probe version
+ KProcess vp;
+ K3bProcessOutputCollector out( &vp );
+
+ vp << path << "-version";
+ if( vp.start( KProcess::Block, KProcess::AllOutput ) ) {
+ int pos = -1;
+ if( wodim ) {
+ pos = out.output().find( "Wodim" );
+ }
+ else if( m_dvdPro ) {
+ pos = out.output().find( "Cdrecord-ProDVD" );
+ }
+ else {
+ pos = out.output().find( "Cdrecord" );
+ }
+
+ if( pos < 0 )
+ return false;
+
+ pos = out.output().find( QRegExp("[0-9]"), pos );
+ if( pos < 0 )
+ return false;
+
+ int endPos = out.output().find( QRegExp("\\s"), pos+1 );
+ if( endPos < 0 )
+ return false;
+
+ bin = new K3bExternalBin( this );
+ bin->path = path;
+ bin->version = out.output().mid( pos, endPos-pos );
+
+ if( wodim )
+ bin->addFeature( "wodim" );
+
+ pos = out.output().find( "Copyright") + 14;
+ endPos = out.output().find( "\n", pos );
+
+ // cdrecord does not use local encoding for the copyright statement but plain latin1
+ bin->copyright = QString::fromLatin1( out.output().mid( pos, endPos-pos ).local8Bit() ).stripWhiteSpace();
+ }
+ else {
+ kdDebug() << "(K3bCdrecordProgram) could not start " << path << endl;
+ return false;
+ }
+
+ if( !m_dvdPro && bin->version.suffix().endsWith( "-dvd" ) ) {
+ bin->addFeature( "dvd-patch" );
+ bin->version = QString(bin->version.versionString()).remove("-dvd");
+ }
+
+ // probe features
+ KProcess fp;
+ out.setProcess( &fp );
+ fp << path << "-help";
+ if( fp.start( KProcess::Block, KProcess::AllOutput ) ) {
+ if( out.output().contains( "gracetime" ) )
+ bin->addFeature( "gracetime" );
+ if( out.output().contains( "-overburn" ) )
+ bin->addFeature( "overburn" );
+ if( out.output().contains( "-text" ) )
+ bin->addFeature( "cdtext" );
+ if( out.output().contains( "-clone" ) )
+ bin->addFeature( "clone" );
+ if( out.output().contains( "-tao" ) )
+ bin->addFeature( "tao" );
+ if( out.output().contains( "cuefile=" ) &&
+ ( wodim || bin->version > K3bVersion( 2, 1, -1, "a14") ) ) // cuefile handling was still buggy in a14
+ bin->addFeature( "cuefile" );
+
+ // new mode 2 options since cdrecord 2.01a12
+ // we use both checks here since the help was not updated in 2.01a12 yet (well, I
+ // just double-checked and the help page is proper but there is no harm in having
+ // two checks)
+ // and the version check does not handle versions like 2.01-dvd properly
+ if( out.output().contains( "-xamix" ) ||
+ bin->version >= K3bVersion( 2, 1, -1, "a12" ) ||
+ wodim )
+ bin->addFeature( "xamix" );
+
+ // check if we run cdrecord as root
+ struct stat s;
+ if( !::stat( QFile::encodeName(path), &s ) ) {
+ if( (s.st_mode & S_ISUID) && s.st_uid == 0 )
+ bin->addFeature( "suidroot" );
+ }
+ }
+ else {
+ kdDebug() << "(K3bCdrecordProgram) could not start " << bin->path << endl;
+ delete bin;
+ return false;
+ }
+
+ if( bin->version < K3bVersion( 2, 0 ) && !wodim )
+ bin->addFeature( "outdated" );
+
+ // FIXME: are these version correct?
+ if( bin->version >= K3bVersion("1.11a38") || wodim )
+ bin->addFeature( "plain-atapi" );
+ if( bin->version > K3bVersion("1.11a17") || wodim )
+ bin->addFeature( "hacked-atapi" );
+
+ if( bin->version >= K3bVersion( 2, 1, 1, "a02" ) || wodim )
+ bin->addFeature( "short-track-raw" );
+
+ if( bin->version >= K3bVersion( 2, 1, -1, "a13" ) || wodim )
+ bin->addFeature( "audio-stdin" );
+
+ if( bin->version >= K3bVersion( "1.11a02" ) || wodim )
+ bin->addFeature( "burnfree" );
+ else
+ bin->addFeature( "burnproof" );
+
+ addBin( bin );
+ return true;
+}
+
+
+
+K3bMkisofsProgram::K3bMkisofsProgram()
+ : K3bExternalProgram( "mkisofs" )
+{
+}
+
+bool K3bMkisofsProgram::scan( const QString& p )
+{
+ if( p.isEmpty() )
+ return false;
+
+ bool genisoimage = false;
+ QString path = p;
+ QFileInfo fi( path );
+ if( fi.isDir() ) {
+ if( path[path.length()-1] != '/' )
+ path.append("/");
+
+ if( QFile::exists( path + "genisoimage" ) ) {
+ genisoimage = true;
+ path += "genisoimage";
+ }
+ else if( QFile::exists( path + "mkisofs" ) ) {
+ path += "mkisofs";
+ }
+ else
+ return false;
+ }
+
+ K3bExternalBin* bin = 0;
+
+ // probe version
+ KProcess vp;
+ vp << path << "-version";
+ K3bProcessOutputCollector out( &vp );
+ if( vp.start( KProcess::Block, KProcess::AllOutput ) ) {
+ int pos = -1;
+ if( genisoimage )
+ pos = out.output().find( "genisoimage" );
+ else
+ pos = out.output().find( "mkisofs" );
+
+ if( pos < 0 )
+ return false;
+
+ pos = out.output().find( QRegExp("[0-9]"), pos );
+ if( pos < 0 )
+ return false;
+
+ int endPos = out.output().find( ' ', pos+1 );
+ if( endPos < 0 )
+ return false;
+
+ bin = new K3bExternalBin( this );
+ bin->path = path;
+ bin->version = out.output().mid( pos, endPos-pos );
+
+ if( genisoimage )
+ bin->addFeature( "genisoimage" );
+ }
+ else {
+ kdDebug() << "(K3bMkisofsProgram) could not start " << path << endl;
+ return false;
+ }
+
+
+
+ // probe features
+ KProcess fp;
+ fp << path << "-help";
+ out.setProcess( &fp );
+ if( fp.start( KProcess::Block, KProcess::AllOutput ) ) {
+ if( out.output().contains( "-udf" ) )
+ bin->addFeature( "udf" );
+ if( out.output().contains( "-dvd-video" ) )
+ bin->addFeature( "dvd-video" );
+ if( out.output().contains( "-joliet-long" ) )
+ bin->addFeature( "joliet-long" );
+ if( out.output().contains( "-xa" ) )
+ bin->addFeature( "xa" );
+ if( out.output().contains( "-sectype" ) )
+ bin->addFeature( "sectype" );
+
+ // check if we run mkisofs as root
+ struct stat s;
+ if( !::stat( QFile::encodeName(path), &s ) ) {
+ if( (s.st_mode & S_ISUID) && s.st_uid == 0 )
+ bin->addFeature( "suidroot" );
+ }
+ }
+ else {
+ kdDebug() << "(K3bMkisofsProgram) could not start " << bin->path << endl;
+ delete bin;
+ return false;
+ }
+
+ if( bin->version < K3bVersion( 1, 14) && !genisoimage )
+ bin->addFeature( "outdated" );
+
+ if( bin->version >= K3bVersion( 1, 15, -1, "a40" ) || genisoimage )
+ bin->addFeature( "backslashed_filenames" );
+
+ if ( genisoimage && bin->version >= K3bVersion( 1, 1, 4 ) )
+ bin->addFeature( "no-4gb-limit" );
+
+ if ( !genisoimage && bin->version >= K3bVersion( 2, 1, 1, "a32" ) )
+ bin->addFeature( "no-4gb-limit" );
+
+ addBin(bin);
+ return true;
+}
+
+
+K3bReadcdProgram::K3bReadcdProgram()
+ : K3bExternalProgram( "readcd" )
+{
+}
+
+bool K3bReadcdProgram::scan( const QString& p )
+{
+ if( p.isEmpty() )
+ return false;
+
+ bool readom = false;
+ QString path = p;
+ QFileInfo fi( path );
+ if( fi.isDir() ) {
+ if( path[path.length()-1] != '/' )
+ path.append("/");
+
+ if( QFile::exists( path + "readom" ) ) {
+ readom = true;
+ path += "readom";
+ }
+ else if( QFile::exists( path + "readcd" ) ) {
+ path += "readcd";
+ }
+ else
+ return false;
+ }
+
+ if( !QFile::exists( path ) )
+ return false;
+
+ K3bExternalBin* bin = 0;
+
+ // probe version
+ KProcess vp;
+ vp << path << "-version";
+ K3bProcessOutputCollector out( &vp );
+ if( vp.start( KProcess::Block, KProcess::AllOutput ) ) {
+ int pos = -1;
+ if( readom )
+ pos = out.output().find( "readom" );
+ else
+ pos = out.output().find( "readcd" );
+ if( pos < 0 )
+ return false;
+
+ pos = out.output().find( QRegExp("[0-9]"), pos );
+ if( pos < 0 )
+ return false;
+
+ int endPos = out.output().find( ' ', pos+1 );
+ if( endPos < 0 )
+ return false;
+
+ bin = new K3bExternalBin( this );
+ bin->path = path;
+ bin->version = out.output().mid( pos, endPos-pos );
+
+ if( readom )
+ bin->addFeature( "readom" );
+ }
+ else {
+ kdDebug() << "(K3bMkisofsProgram) could not start " << path << endl;
+ return false;
+ }
+
+
+
+ // probe features
+ KProcess fp;
+ fp << path << "-help";
+ out.setProcess( &fp );
+ if( fp.start( KProcess::Block, KProcess::AllOutput ) ) {
+ if( out.output().contains( "-clone" ) )
+ bin->addFeature( "clone" );
+
+ // check if we run mkisofs as root
+ struct stat s;
+ if( !::stat( QFile::encodeName(path), &s ) ) {
+ if( (s.st_mode & S_ISUID) && s.st_uid == 0 )
+ bin->addFeature( "suidroot" );
+ }
+ }
+ else {
+ kdDebug() << "(K3bReadcdProgram) could not start " << bin->path << endl;
+ delete bin;
+ return false;
+ }
+
+
+ // FIXME: are these version correct?
+ if( bin->version >= K3bVersion("1.11a38") || readom )
+ bin->addFeature( "plain-atapi" );
+ if( bin->version > K3bVersion("1.11a17") || readom )
+ bin->addFeature( "hacked-atapi" );
+
+ addBin(bin);
+ return true;
+}
+
+
+K3bCdrdaoProgram::K3bCdrdaoProgram()
+ : K3bExternalProgram( "cdrdao" )
+{
+}
+
+bool K3bCdrdaoProgram::scan( const QString& p )
+{
+ if( p.isEmpty() )
+ return false;
+
+ QString path = p;
+ QFileInfo fi( path );
+ if( fi.isDir() ) {
+ if( path[path.length()-1] != '/' )
+ path.append("/");
+ path.append("cdrdao");
+ }
+
+ if( !QFile::exists( path ) )
+ return false;
+
+ K3bExternalBin* bin = 0;
+
+ // probe version
+ KProcess vp;
+ vp << path ;
+ K3bProcessOutputCollector out( &vp );
+ if( vp.start( KProcess::Block, KProcess::AllOutput ) ) {
+ int pos = out.output().find( "Cdrdao version" );
+ if( pos < 0 )
+ return false;
+
+ pos = out.output().find( QRegExp("[0-9]"), pos );
+ if( pos < 0 )
+ return false;
+
+ int endPos = out.output().find( ' ', pos+1 );
+ if( endPos < 0 )
+ return false;
+
+ bin = new K3bExternalBin( this );
+ bin->path = path;
+ bin->version = out.output().mid( pos, endPos-pos );
+
+ pos = out.output().find( "(C)", endPos+1 ) + 4;
+ endPos = out.output().find( '\n', pos );
+ bin->copyright = out.output().mid( pos, endPos-pos );
+ }
+ else {
+ kdDebug() << "(K3bCdrdaoProgram) could not start " << path << endl;
+ return false;
+ }
+
+
+
+ // probe features
+ KProcess fp;
+ fp << path << "write" << "-h";
+ out.setProcess( &fp );
+ if( fp.start( KProcess::Block, KProcess::AllOutput ) ) {
+ if( out.output().contains( "--overburn" ) )
+ bin->addFeature( "overburn" );
+ if( out.output().contains( "--multi" ) )
+ bin->addFeature( "multisession" );
+
+ if( out.output().contains( "--buffer-under-run-protection" ) )
+ bin->addFeature( "disable-burnproof" );
+
+ // check if we run cdrdao as root
+ struct stat s;
+ if( !::stat( QFile::encodeName(path), &s ) ) {
+ if( (s.st_mode & S_ISUID) && s.st_uid == 0 )
+ bin->addFeature( "suidroot" );
+ }
+ }
+ else {
+ kdDebug() << "(K3bCdrdaoProgram) could not start " << bin->path << endl;
+ delete bin;
+ return false;
+ }
+
+
+ // SuSE 9.0 ships with a patched cdrdao 1.1.7 which contains an updated libschily
+ // Gentoo ships with a patched cdrdao 1.1.7 which contains scglib support
+ if( bin->version > K3bVersion( 1, 1, 7 ) ||
+ bin->version == K3bVersion( 1, 1, 7, "-gentoo" ) ||
+ bin->version == K3bVersion( 1, 1, 7, "-suse" ) ) {
+ // bin->addFeature( "plain-atapi" );
+ bin->addFeature( "hacked-atapi" );
+ }
+
+ if( bin->version >= K3bVersion( 1, 1, 8 ) )
+ bin->addFeature( "plain-atapi" );
+
+ addBin(bin);
+ return true;
+}
+
+
+K3bTranscodeProgram::K3bTranscodeProgram( const QString& transcodeProgram )
+ : K3bExternalProgram( transcodeProgram ),
+ m_transcodeProgram( transcodeProgram )
+{
+}
+
+bool K3bTranscodeProgram::scan( const QString& p )
+{
+ if( p.isEmpty() )
+ return false;
+
+ QString path = p;
+ if( path[path.length()-1] != '/' )
+ path.append("/");
+
+ QString appPath = path + m_transcodeProgram;
+
+ if( !QFile::exists( appPath ) )
+ return false;
+
+ K3bExternalBin* bin = 0;
+
+ // probe version
+ KProcess vp;
+ vp << appPath << "-v";
+ K3bProcessOutputCollector out( &vp );
+ if( vp.start( KProcess::Block, KProcess::AllOutput ) ) {
+ int pos = out.output().find( "transcode v" );
+ if( pos < 0 )
+ return false;
+
+ pos += 11;
+
+ int endPos = out.output().find( QRegExp("[\\s\\)]"), pos+1 );
+ if( endPos < 0 )
+ return false;
+
+ bin = new K3bExternalBin( this );
+ bin->path = appPath;
+ bin->version = out.output().mid( pos, endPos-pos );
+ }
+ else {
+ kdDebug() << "(K3bTranscodeProgram) could not start " << appPath << endl;
+ return false;
+ }
+
+ //
+ // Check features
+ //
+ QString modInfoBin = path + "tcmodinfo";
+ KProcess modp;
+ modp << modInfoBin << "-p";
+ out.setProcess( &modp );
+ if( modp.start( KProcess::Block, KProcess::AllOutput ) ) {
+ QString modPath = out.output().stripWhiteSpace();
+ QDir modDir( modPath );
+ if( !modDir.entryList( "*export_xvid*", QDir::Files ).isEmpty() )
+ bin->addFeature( "xvid" );
+ if( !modDir.entryList( "*export_lame*", QDir::Files ).isEmpty() )
+ bin->addFeature( "lame" );
+ if( !modDir.entryList( "*export_ffmpeg*", QDir::Files ).isEmpty() )
+ bin->addFeature( "ffmpeg" );
+ if( !modDir.entryList( "*export_ac3*", QDir::Files ).isEmpty() )
+ bin->addFeature( "ac3" );
+ }
+
+ addBin(bin);
+ return true;
+}
+
+
+
+K3bVcdbuilderProgram::K3bVcdbuilderProgram( const QString& p )
+ : K3bExternalProgram( p ),
+ m_vcdbuilderProgram( p )
+{
+}
+
+bool K3bVcdbuilderProgram::scan( const QString& p )
+{
+ if( p.isEmpty() )
+ return false;
+
+ QString path = p;
+ QFileInfo fi( path );
+ if( fi.isDir() ) {
+ if( path[path.length()-1] != '/' )
+ path.append("/");
+ path.append(m_vcdbuilderProgram);
+ }
+
+ if( !QFile::exists( path ) )
+ return false;
+
+ K3bExternalBin* bin = 0;
+
+ // probe version
+ KProcess vp;
+ vp << path << "-V";
+ K3bProcessOutputCollector out( &vp );
+ if( vp.start( KProcess::Block, KProcess::AllOutput ) ) {
+ int pos = out.output().find( "GNU VCDImager" );
+ if( pos < 0 )
+ return false;
+
+ pos += 14;
+
+ int endPos = out.output().find( QRegExp("[\\n\\)]"), pos+1 );
+ if( endPos < 0 )
+ return false;
+
+ bin = new K3bExternalBin( this );
+ bin->path = path;
+ bin->version = out.output().mid( pos, endPos-pos ).stripWhiteSpace();
+
+ pos = out.output().find( "Copyright" ) + 14;
+ endPos = out.output().find( "\n", pos );
+ bin->copyright = out.output().mid( pos, endPos-pos ).stripWhiteSpace();
+ }
+ else {
+ kdDebug() << "(K3bVcdbuilderProgram) could not start " << path << endl;
+ return false;
+ }
+
+ addBin(bin);
+ return true;
+}
+
+
+K3bNormalizeProgram::K3bNormalizeProgram()
+ : K3bExternalProgram( "normalize" )
+{
+}
+
+
+bool K3bNormalizeProgram::scan( const QString& p )
+{
+ if( p.isEmpty() )
+ return false;
+
+ QString path = p;
+ QFileInfo fi( path );
+ if( fi.isDir() ) {
+ if( path[path.length()-1] != '/' )
+ path.append("/");
+ path.append("normalize");
+ }
+
+ if( !QFile::exists( path ) )
+ return false;
+
+ K3bExternalBin* bin = 0;
+
+ // probe version
+ KProcess vp;
+ K3bProcessOutputCollector out( &vp );
+
+ vp << path << "--version";
+ if( vp.start( KProcess::Block, KProcess::AllOutput ) ) {
+ int pos = out.output().find( "normalize" );
+ if( pos < 0 )
+ return false;
+
+ pos = out.output().find( QRegExp("\\d"), pos );
+ if( pos < 0 )
+ return false;
+
+ int endPos = out.output().find( QRegExp("\\s"), pos+1 );
+ if( endPos < 0 )
+ return false;
+
+ bin = new K3bExternalBin( this );
+ bin->path = path;
+ bin->version = out.output().mid( pos, endPos-pos );
+
+ pos = out.output().find( "Copyright" )+14;
+ endPos = out.output().find( "\n", pos );
+ bin->copyright = out.output().mid( pos, endPos-pos ).stripWhiteSpace();
+ }
+ else {
+ kdDebug() << "(K3bCdrecordProgram) could not start " << path << endl;
+ return false;
+ }
+
+ addBin( bin );
+ return true;
+}
+
+
+K3bGrowisofsProgram::K3bGrowisofsProgram()
+ : K3bExternalProgram( "growisofs" )
+{
+}
+
+bool K3bGrowisofsProgram::scan( const QString& p )
+{
+ if( p.isEmpty() )
+ return false;
+
+ QString path = p;
+ QFileInfo fi( path );
+ if( fi.isDir() ) {
+ if( path[path.length()-1] != '/' )
+ path.append("/");
+ path.append("growisofs");
+ }
+
+ if( !QFile::exists( path ) )
+ return false;
+
+ K3bExternalBin* bin = 0;
+
+ // probe version
+ KProcess vp;
+ K3bProcessOutputCollector out( &vp );
+
+ vp << path << "-version";
+ if( vp.start( KProcess::Block, KProcess::AllOutput ) ) {
+ int pos = out.output().find( "growisofs" );
+ if( pos < 0 )
+ return false;
+
+ pos = out.output().find( QRegExp("\\d"), pos );
+ if( pos < 0 )
+ return false;
+
+ int endPos = out.output().find( ",", pos+1 );
+ if( endPos < 0 )
+ return false;
+
+ bin = new K3bExternalBin( this );
+ bin->path = path;
+ bin->version = out.output().mid( pos, endPos-pos );
+ }
+ else {
+ kdDebug() << "(K3bGrowisofsProgram) could not start " << path << endl;
+ return false;
+ }
+
+ // fixed Copyright:
+ bin->copyright = "Andy Polyakov <appro at fy.chalmers.se>";
+
+ // check if we run growisofs as root
+ struct stat s;
+ if( !::stat( QFile::encodeName(path), &s ) ) {
+ if( (s.st_mode & S_ISUID) && s.st_uid == 0 )
+ bin->addFeature( "suidroot" );
+ }
+
+ addBin( bin );
+ return true;
+}
+
+
+K3bDvdformatProgram::K3bDvdformatProgram()
+ : K3bExternalProgram( "dvd+rw-format" )
+{
+}
+
+bool K3bDvdformatProgram::scan( const QString& p )
+{
+ if( p.isEmpty() )
+ return false;
+
+ QString path = p;
+ QFileInfo fi( path );
+ if( fi.isDir() ) {
+ if( path[path.length()-1] != '/' )
+ path.append("/");
+ path.append("dvd+rw-format");
+ }
+
+ if( !QFile::exists( path ) )
+ return false;
+
+ K3bExternalBin* bin = 0;
+
+ // probe version
+ KProcess vp;
+ K3bProcessOutputCollector out( &vp );
+
+ vp << path;
+ if( vp.start( KProcess::Block, KProcess::AllOutput ) ) {
+ // different locales make searching for the +- char difficult
+ // so we simply ignore it.
+ int pos = out.output().find( QRegExp("DVD.*RW(/-RAM)? format utility") );
+ if( pos < 0 )
+ return false;
+
+ pos = out.output().find( "version", pos );
+ if( pos < 0 )
+ return false;
+
+ pos += 8;
+
+ // the version ends in a dot.
+ int endPos = out.output().find( QRegExp("\\.\\D"), pos );
+ if( endPos < 0 )
+ return false;
+
+ bin = new K3bExternalBin( this );
+ bin->path = path;
+ bin->version = out.output().mid( pos, endPos-pos );
+ }
+ else {
+ kdDebug() << "(K3bDvdformatProgram) could not start " << path << endl;
+ return false;
+ }
+
+ // fixed Copyright:
+ bin->copyright = "Andy Polyakov <appro at fy.chalmers.se>";
+
+ // check if we run dvd+rw-format as root
+ struct stat s;
+ if( !::stat( QFile::encodeName(path), &s ) ) {
+ if( (s.st_mode & S_ISUID) && s.st_uid == 0 )
+ bin->addFeature( "suidroot" );
+ }
+
+ addBin( bin );
+ return true;
+}
+
+
+K3bDvdBooktypeProgram::K3bDvdBooktypeProgram()
+ : K3bExternalProgram( "dvd+rw-booktype" )
+{
+}
+
+bool K3bDvdBooktypeProgram::scan( const QString& p )
+{
+ if( p.isEmpty() )
+ return false;
+
+ QString path = p;
+ QFileInfo fi( path );
+ if( fi.isDir() ) {
+ if( path[path.length()-1] != '/' )
+ path.append("/");
+ path.append("dvd+rw-booktype");
+ }
+
+ if( !QFile::exists( path ) )
+ return false;
+
+ K3bExternalBin* bin = 0;
+
+ // probe version
+ KProcess vp;
+ K3bProcessOutputCollector out( &vp );
+
+ vp << path;
+ if( vp.start( KProcess::Block, KProcess::AllOutput ) ) {
+ int pos = out.output().find( "dvd+rw-booktype" );
+ if( pos < 0 )
+ return false;
+
+ bin = new K3bExternalBin( this );
+ bin->path = path;
+ // No version information. Create dummy version
+ bin->version = K3bVersion( 1, 0, 0 );
+ }
+ else {
+ kdDebug() << "(K3bDvdBooktypeProgram) could not start " << path << endl;
+ return false;
+ }
+
+ addBin( bin );
+ return true;
+}
+
+
+
+K3bCdda2wavProgram::K3bCdda2wavProgram()
+ : K3bExternalProgram( "cdda2wav" )
+{
+}
+
+bool K3bCdda2wavProgram::scan( const QString& p )
+{
+ if( p.isEmpty() )
+ return false;
+
+ QString path = p;
+ QFileInfo fi( path );
+ if( fi.isDir() ) {
+ if( path[path.length()-1] != '/' )
+ path.append("/");
+ path.append("cdda2wav");
+ }
+
+ if( !QFile::exists( path ) )
+ return false;
+
+ K3bExternalBin* bin = 0;
+
+ // probe version
+ KProcess vp;
+ K3bProcessOutputCollector out( &vp );
+
+ vp << path << "-h";
+ if( vp.start( KProcess::Block, KProcess::AllOutput ) ) {
+ int pos = out.output().find( "cdda2wav" );
+ if( pos < 0 )
+ return false;
+
+ pos = out.output().find( "Version", pos );
+ if( pos < 0 )
+ return false;
+
+ pos += 8;
+
+ // the version does not end in a space but the kernel info
+ int endPos = out.output().find( QRegExp("[^\\d\\.]"), pos );
+ if( endPos < 0 )
+ return false;
+
+ bin = new K3bExternalBin( this );
+ bin->path = path;
+ bin->version = out.output().mid( pos, endPos-pos );
+
+ // features (we do this since the cdda2wav help says that the short
+ // options will disappear soon)
+ if( out.output().find( "-info-only" ) )
+ bin->addFeature( "info-only" ); // otherwise use the -J option
+ if( out.output().find( "-no-infofile" ) )
+ bin->addFeature( "no-infofile" ); // otherwise use the -H option
+ if( out.output().find( "-gui" ) )
+ bin->addFeature( "gui" ); // otherwise use the -g option
+ if( out.output().find( "-bulk" ) )
+ bin->addFeature( "bulk" ); // otherwise use the -B option
+ if( out.output().find( "dev=" ) )
+ bin->addFeature( "dev" ); // otherwise use the -B option
+ }
+ else {
+ kdDebug() << "(K3bCdda2wavProgram) could not start " << path << endl;
+ return false;
+ }
+
+ // check if we run as root
+ struct stat s;
+ if( !::stat( QFile::encodeName(path), &s ) ) {
+ if( (s.st_mode & S_ISUID) && s.st_uid == 0 )
+ bin->addFeature( "suidroot" );
+ }
+
+ addBin( bin );
+ return true;
+}
+
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bdefaultexternalprograms.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bdefaultexternalprograms.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bdefaultexternalprograms.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,143 @@
+/*
+ *
+ * $Id: k3bdefaultexternalprograms.h 623768 2007-01-15 13:33:55Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+
+#ifndef _K3B_DEFAULT_EXTERNAL_BIN_PROGRAMS_H_
+#define _K3B_DEFAULT_EXTERNAL_BIN_PROGRAMS_H_
+
+#include "k3bexternalbinmanager.h"
+#include "k3b_export.h"
+class K3bExternalBinManager;
+
+namespace K3b
+{
+ LIBK3B_EXPORT void addDefaultPrograms( K3bExternalBinManager* );
+ LIBK3B_EXPORT void addTranscodePrograms( K3bExternalBinManager* );
+ LIBK3B_EXPORT void addVcdimagerPrograms( K3bExternalBinManager* );
+}
+
+
+class LIBK3B_EXPORT K3bCdrecordProgram : public K3bExternalProgram
+{
+ public:
+ K3bCdrecordProgram( bool dvdPro );
+
+ bool scan( const QString& );
+
+ private:
+ bool m_dvdPro;
+};
+
+
+class LIBK3B_EXPORT K3bMkisofsProgram : public K3bExternalProgram
+{
+ public:
+ K3bMkisofsProgram();
+
+ bool scan( const QString& );
+};
+
+
+class LIBK3B_EXPORT K3bReadcdProgram : public K3bExternalProgram
+{
+ public:
+ K3bReadcdProgram();
+
+ bool scan( const QString& );
+};
+
+
+class LIBK3B_EXPORT K3bCdrdaoProgram : public K3bExternalProgram
+{
+ public:
+ K3bCdrdaoProgram();
+
+ bool scan( const QString& );
+};
+
+
+class LIBK3B_EXPORT K3bTranscodeProgram : public K3bExternalProgram
+{
+ public:
+ K3bTranscodeProgram( const QString& transcodeProgram );
+
+ bool scan( const QString& );
+
+ // no user parameters (yet)
+ bool supportsUserParameters() const { return false; }
+
+ private:
+ QString m_transcodeProgram;
+};
+
+
+class LIBK3B_EXPORT K3bVcdbuilderProgram : public K3bExternalProgram
+{
+ public:
+ K3bVcdbuilderProgram( const QString& );
+
+ bool scan( const QString& );
+
+ private:
+ QString m_vcdbuilderProgram;
+};
+
+
+class LIBK3B_EXPORT K3bNormalizeProgram : public K3bExternalProgram
+{
+ public:
+ K3bNormalizeProgram();
+
+ bool scan( const QString& );
+};
+
+
+class LIBK3B_EXPORT K3bGrowisofsProgram : public K3bExternalProgram
+{
+ public:
+ K3bGrowisofsProgram();
+
+ bool scan( const QString& );
+};
+
+
+class LIBK3B_EXPORT K3bDvdformatProgram : public K3bExternalProgram
+{
+ public:
+ K3bDvdformatProgram();
+
+ bool scan( const QString& );
+};
+
+
+class LIBK3B_EXPORT K3bDvdBooktypeProgram : public K3bExternalProgram
+{
+ public:
+ K3bDvdBooktypeProgram();
+
+ bool scan( const QString& );
+};
+
+
+class LIBK3B_EXPORT K3bCdda2wavProgram : public K3bExternalProgram
+{
+ public:
+ K3bCdda2wavProgram();
+
+ bool scan( const QString& );
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bexternalbinmanager.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bexternalbinmanager.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bexternalbinmanager.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,389 @@
+/*
+ *
+ * $Id: k3bexternalbinmanager.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bexternalbinmanager.h"
+
+#include <kdebug.h>
+#include <kprocess.h>
+#include <kconfig.h>
+#include <kdeversion.h>
+
+#include <qstring.h>
+#include <qregexp.h>
+#include <qfile.h>
+#include <qfileinfo.h>
+#include <qptrlist.h>
+
+#include <unistd.h>
+#include <sys/stat.h>
+#include <stdlib.h>
+
+
+
+QString K3bExternalBinManager::m_noPath = "";
+
+
+// ///////////////////////////////////////////////////////////
+//
+// K3BEXTERNALBIN
+//
+// ///////////////////////////////////////////////////////////
+
+K3bExternalBin::K3bExternalBin( K3bExternalProgram* p )
+ : m_program(p)
+{
+}
+
+
+bool K3bExternalBin::isEmpty() const
+{
+ return !version.isValid();
+}
+
+
+const QString& K3bExternalBin::name() const
+{
+ return m_program->name();
+}
+
+
+bool K3bExternalBin::hasFeature( const QString& f ) const
+{
+ return m_features.contains( f );
+}
+
+
+void K3bExternalBin::addFeature( const QString& f )
+{
+ m_features.append( f );
+}
+
+
+const QStringList& K3bExternalBin::userParameters() const
+{
+ return m_program->userParameters();
+}
+
+
+
+// ///////////////////////////////////////////////////////////
+//
+// K3BEXTERNALPROGRAM
+//
+// ///////////////////////////////////////////////////////////
+
+
+K3bExternalProgram::K3bExternalProgram( const QString& name )
+ : m_name( name )
+{
+ m_bins.setAutoDelete( true );
+}
+
+
+K3bExternalProgram::~K3bExternalProgram()
+{
+}
+
+
+const K3bExternalBin* K3bExternalProgram::mostRecentBin() const
+{
+ QPtrListIterator<K3bExternalBin> it( m_bins );
+ K3bExternalBin* bin = *it;
+ ++it;
+ while( *it ) {
+ if( it.current()->version > bin->version )
+ bin = *it;
+ ++it;
+ }
+ return bin;
+}
+
+
+void K3bExternalProgram::addBin( K3bExternalBin* bin )
+{
+ if( !m_bins.contains( bin ) ) {
+ // insertion sort
+ // the first bin in the list is always the one used
+ // so we default to using the newest one
+ K3bExternalBin* oldBin = m_bins.first();
+ while( oldBin && oldBin->version > bin->version )
+ oldBin = m_bins.next();
+
+ m_bins.insert( oldBin ? m_bins.at() : m_bins.count(), bin );
+ }
+}
+
+void K3bExternalProgram::setDefault( const K3bExternalBin* bin )
+{
+ if( m_bins.contains( bin ) )
+ m_bins.take( m_bins.find( bin ) );
+
+ // the first bin in the list is always the one used
+ m_bins.insert( 0, bin );
+}
+
+
+void K3bExternalProgram::setDefault( const QString& path )
+{
+ for( QPtrListIterator<K3bExternalBin> it( m_bins ); it.current(); ++it ) {
+ if( it.current()->path == path ) {
+ setDefault( it.current() );
+ return;
+ }
+ }
+}
+
+
+void K3bExternalProgram::addUserParameter( const QString& p )
+{
+ if( !m_userParameters.contains( p ) )
+ m_userParameters.append(p);
+}
+
+
+
+// ///////////////////////////////////////////////////////////
+//
+// K3BEXTERNALBINMANAGER
+//
+// ///////////////////////////////////////////////////////////
+
+
+K3bExternalBinManager::K3bExternalBinManager( QObject* parent, const char* name )
+ : QObject( parent, name )
+{
+}
+
+
+K3bExternalBinManager::~K3bExternalBinManager()
+{
+ clear();
+}
+
+
+bool K3bExternalBinManager::readConfig( KConfig* c )
+{
+ loadDefaultSearchPath();
+
+ c->setGroup( "External Programs" );
+
+ if( c->hasKey( "search path" ) )
+ setSearchPath( c->readPathListEntry( "search path" ) );
+
+ search();
+
+ for ( QMap<QString, K3bExternalProgram*>::iterator it = m_programs.begin(); it != m_programs.end(); ++it ) {
+ K3bExternalProgram* p = it.data();
+ if( c->hasKey( p->name() + " default" ) ) {
+ p->setDefault( c->readEntry( p->name() + " default" ) );
+ }
+ if( c->hasKey( p->name() + " user parameters" ) ) {
+ QStringList list = c->readListEntry( p->name() + " user parameters" );
+ for( QStringList::iterator strIt = list.begin(); strIt != list.end(); ++strIt )
+ p->addUserParameter( *strIt );
+ }
+ if( c->hasKey( p->name() + " last seen newest version" ) ) {
+ K3bVersion lastMax( c->readEntry( p->name() + " last seen newest version" ) );
+ // now search for a newer version and use it (because it was installed after the last
+ // K3b run and most users would probably expect K3b to use a newly installed version)
+ const K3bExternalBin* newestBin = p->mostRecentBin();
+ if( newestBin && newestBin->version > lastMax )
+ p->setDefault( newestBin );
+ }
+ }
+
+ return true;
+}
+
+bool K3bExternalBinManager::saveConfig( KConfig* c )
+{
+ c->setGroup( "External Programs" );
+ c->writePathEntry( "search path", m_searchPath );
+
+ for ( QMap<QString, K3bExternalProgram*>::iterator it = m_programs.begin(); it != m_programs.end(); ++it ) {
+ K3bExternalProgram* p = it.data();
+ if( p->defaultBin() )
+ c->writeEntry( p->name() + " default", p->defaultBin()->path );
+
+ c->writeEntry( p->name() + " user parameters", p->userParameters() );
+
+ const K3bExternalBin* newestBin = p->mostRecentBin();
+ if( newestBin )
+ c->writeEntry( p->name() + " last seen newest version", newestBin->version );
+ }
+
+ return true;
+}
+
+
+bool K3bExternalBinManager::foundBin( const QString& name )
+{
+ if( m_programs.find( name ) == m_programs.end() )
+ return false;
+ else
+ return (m_programs[name]->defaultBin() != 0);
+}
+
+
+const QString& K3bExternalBinManager::binPath( const QString& name )
+{
+ if( m_programs.find( name ) == m_programs.end() )
+ return m_noPath;
+
+ if( m_programs[name]->defaultBin() != 0 )
+ return m_programs[name]->defaultBin()->path;
+ else
+ return m_noPath;
+}
+
+
+const K3bExternalBin* K3bExternalBinManager::binObject( const QString& name )
+{
+ if( m_programs.find( name ) == m_programs.end() )
+ return 0;
+
+ return m_programs[name]->defaultBin();
+}
+
+
+void K3bExternalBinManager::addProgram( K3bExternalProgram* p )
+{
+ m_programs.insert( p->name(), p );
+}
+
+
+void K3bExternalBinManager::clear()
+{
+ for( QMap<QString, K3bExternalProgram*>::Iterator it = m_programs.begin(); it != m_programs.end(); ++it )
+ delete it.data();
+ m_programs.clear();
+}
+
+
+void K3bExternalBinManager::search()
+{
+ if( m_searchPath.isEmpty() )
+ loadDefaultSearchPath();
+
+ for( QMap<QString, K3bExternalProgram*>::iterator it = m_programs.begin(); it != m_programs.end(); ++it ) {
+ it.data()->clear();
+ }
+
+ // do not search one path twice
+ QStringList paths;
+ for( QStringList::const_iterator it = m_searchPath.begin(); it != m_searchPath.end(); ++it ) {
+ QString p = *it;
+ if( p[p.length()-1] == '/' )
+ p.truncate( p.length()-1 );
+ if( !paths.contains( p ) && !paths.contains( p + "/" ) )
+ paths.append(p);
+ }
+
+ // get the environment path variable
+ char* env_path = ::getenv("PATH");
+ if( env_path ) {
+ QStringList env_pathList = QStringList::split(":", QString::fromLocal8Bit(env_path));
+ for( QStringList::const_iterator it = env_pathList.begin(); it != env_pathList.end(); ++it ) {
+ QString p = *it;
+ if( p[p.length()-1] == '/' )
+ p.truncate( p.length()-1 );
+ if( !paths.contains( p ) && !paths.contains( p + "/" ) )
+ paths.append(p);
+ }
+ }
+
+
+ for( QStringList::const_iterator it = paths.begin(); it != paths.end(); ++it )
+ for( QMap<QString, K3bExternalProgram*>::iterator pit = m_programs.begin(); pit != m_programs.end(); ++pit )
+ pit.data()->scan(*it);
+
+ // TESTING
+ // /////////////////////////
+ const K3bExternalBin* bin = program("cdrecord")->defaultBin();
+
+ if( !bin ) {
+ kdDebug() << "(K3bExternalBinManager) Probing cdrecord failed" << endl;
+ }
+ else {
+ kdDebug() << "(K3bExternalBinManager) Cdrecord " << bin->version << " features: "
+ << bin->features().join( ", " ) << endl;
+
+ if( bin->version >= K3bVersion("1.11a02") )
+ kdDebug() << "(K3bExternalBinManager) "
+ << bin->version.majorVersion() << " " << bin->version.minorVersion() << " " << bin->version.patchLevel()
+ << " " << bin->version.suffix()
+ << " seems to be cdrecord version >= 1.11a02, using burnfree instead of burnproof" << endl;
+ if( bin->version >= K3bVersion("1.11a31") )
+ kdDebug() << "(K3bExternalBinManager) seems to be cdrecord version >= 1.11a31, support for Just Link via burnfree "
+ << "driveroption" << endl;
+ }
+}
+
+
+K3bExternalProgram* K3bExternalBinManager::program( const QString& name ) const
+{
+ if( m_programs.find( name ) == m_programs.end() )
+ return 0;
+ else
+ return m_programs[name];
+}
+
+
+void K3bExternalBinManager::loadDefaultSearchPath()
+{
+ static const char* defaultSearchPaths[] = { "/usr/bin/",
+ "/usr/local/bin/",
+ "/usr/sbin/",
+ "/usr/local/sbin/",
+ "/opt/schily/bin/",
+ "/sbin",
+ 0 };
+
+ m_searchPath.clear();
+ for( int i = 0; defaultSearchPaths[i]; ++i ) {
+ m_searchPath.append( defaultSearchPaths[i] );
+ }
+}
+
+
+void K3bExternalBinManager::setSearchPath( const QStringList& list )
+{
+ loadDefaultSearchPath();
+
+ for( QStringList::const_iterator it = list.begin(); it != list.end(); ++it ) {
+ if( !m_searchPath.contains( *it ) )
+ m_searchPath.append( *it );
+ }
+}
+
+
+void K3bExternalBinManager::addSearchPath( const QString& path )
+{
+ if( !m_searchPath.contains( path ) )
+ m_searchPath.append( path );
+}
+
+
+
+const K3bExternalBin* K3bExternalBinManager::mostRecentBinObject( const QString& name )
+{
+ if( K3bExternalProgram* p = program( name ) )
+ return p->mostRecentBin();
+ else
+ return 0;
+}
+
+#include "k3bexternalbinmanager.moc"
+
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bexternalbinmanager.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bexternalbinmanager.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bexternalbinmanager.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,162 @@
+/*
+ *
+ * $Id: k3bexternalbinmanager.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef K3B_EXTERNAL_BIN_MANAGER_H
+#define K3B_EXTERNAL_BIN_MANAGER_H
+
+#include <qmap.h>
+#include <qobject.h>
+#include <qstring.h>
+#include <qstringlist.h>
+#include <qptrlist.h>
+#include "k3b_export.h"
+#include "k3bversion.h"
+
+class KConfig;
+class KProcess;
+
+
+class K3bExternalProgram;
+
+
+/**
+ * A K3bExternalBin represents an installed version of a program.
+ * All K3bExternalBin objects are managed by K3bExternalPrograms.
+ *
+ * A bin may have certain features that are represented by a string.
+ */
+class LIBK3B_EXPORT K3bExternalBin
+{
+ public:
+ K3bExternalBin( K3bExternalProgram* );
+ virtual ~K3bExternalBin() {}
+
+ K3bVersion version;
+ QString path;
+ QString copyright;
+
+ const QString& name() const;
+ bool isEmpty() const;
+ const QStringList& userParameters() const;
+ const QStringList& features() const { return m_features; }
+
+ bool hasFeature( const QString& ) const;
+ void addFeature( const QString& );
+
+ K3bExternalProgram* program() const { return m_program; }
+
+ private:
+ QStringList m_features;
+ K3bExternalProgram* m_program;
+};
+
+
+/**
+ * This is the main class that represents a program
+ * It's scan method has to be reimplemented for every program
+ * It manages a list of K3bExternalBin-objects that each represent
+ * one installed version of the program.
+ */
+class LIBK3B_EXPORT K3bExternalProgram
+{
+ public:
+ K3bExternalProgram( const QString& name );
+ virtual ~K3bExternalProgram();
+
+ const K3bExternalBin* defaultBin() const { return m_bins.getFirst(); }
+ const K3bExternalBin* mostRecentBin() const;
+
+ void addUserParameter( const QString& );
+ void setUserParameters( const QStringList& list ) { m_userParameters = list; }
+
+ const QStringList& userParameters() const { return m_userParameters; }
+ const QString& name() const { return m_name; }
+
+ void addBin( K3bExternalBin* );
+ void clear() { m_bins.clear(); }
+ void setDefault( const K3bExternalBin* );
+ void setDefault( const QString& path );
+
+ const QPtrList<K3bExternalBin>& bins() const { return m_bins; }
+
+ /**
+ * this scans for the program in the given path,
+ * adds the found bin object to the list and returnes true.
+ * if nothing could be found false is returned.
+ */
+ virtual bool scan( const QString& ) {return false;}//= 0;
+
+ /**
+ * reimplement this if it does not make sense to have the user be able
+ * to specify additional parameters
+ */
+ virtual bool supportsUserParameters() const { return true; }
+
+ private:
+ QString m_name;
+ QStringList m_userParameters;
+ QPtrList<K3bExternalBin> m_bins;
+};
+
+
+class LIBK3B_EXPORT K3bExternalBinManager : public QObject
+{
+ Q_OBJECT
+
+ public:
+ K3bExternalBinManager( QObject* parent = 0, const char* name = 0 );
+ ~K3bExternalBinManager();
+
+ void search();
+
+ /**
+ * read config and add changes to current map.
+ * Takes care of setting the config group
+ */
+ bool readConfig( KConfig* );
+
+ /**
+ * Takes care of setting the config group
+ */
+ bool saveConfig( KConfig* );
+
+ bool foundBin( const QString& name );
+ const QString& binPath( const QString& name );
+ const K3bExternalBin* binObject( const QString& name );
+ const K3bExternalBin* mostRecentBinObject( const QString& name );
+
+ K3bExternalProgram* program( const QString& ) const;
+ const QMap<QString, K3bExternalProgram*>& programs() const { return m_programs; }
+
+ /** always extends the default searchpath */
+ void setSearchPath( const QStringList& );
+ void addSearchPath( const QString& );
+ void loadDefaultSearchPath();
+
+ const QStringList& searchPath() const { return m_searchPath; }
+
+ void addProgram( K3bExternalProgram* );
+ void clear();
+
+ private:
+ QMap<QString, K3bExternalProgram*> m_programs;
+ QStringList m_searchPath;
+
+ static QString m_noPath; // used for binPath() to return const string
+
+ QString m_gatheredOutput;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bglobals.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bglobals.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bglobals.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,634 @@
+/*
+ *
+ * $Id: k3bglobals.cpp 659634 2007-04-30 14:51:32Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include <config.h>
+
+
+#include "k3bglobals.h"
+#include <k3bversion.h>
+#include <k3bdevice.h>
+#include <k3bdevicemanager.h>
+#include <k3bdeviceglobals.h>
+#include <k3bexternalbinmanager.h>
+#include <k3bcore.h>
+#include <k3bhalconnection.h>
+
+#include <kdeversion.h>
+#include <kglobal.h>
+#include <klocale.h>
+#include <kstandarddirs.h>
+#include <kconfig.h>
+#include <kapplication.h>
+#include <kdebug.h>
+#include <kio/job.h>
+#include <kio/netaccess.h>
+#include <kurl.h>
+#include <dcopref.h>
+#include <kprocess.h>
+
+#include <qdatastream.h>
+#include <qdir.h>
+#include <qfile.h>
+
+#include <cmath>
+#include <sys/utsname.h>
+#include <sys/stat.h>
+
+#if defined(__FreeBSD__) || defined(__NetBSD__)
+# include <sys/param.h>
+# include <sys/mount.h>
+# include <sys/endian.h>
+# define bswap_16(x) bswap16(x)
+# define bswap_32(x) bswap32(x)
+# define bswap_64(x) bswap64(x)
+#else
+# include <byteswap.h>
+#endif
+#ifdef HAVE_SYS_STATVFS_H
+# include <sys/statvfs.h>
+#endif
+#ifdef HAVE_SYS_VFS_H
+# include <sys/vfs.h>
+#endif
+
+
+/*
+struct Sample {
+ unsigned char msbLeft;
+ unsigned char lsbLeft;
+ unsigned char msbRight;
+ unsigned char lsbRight;
+
+ short left() const {
+ return ( msbLeft << 8 ) | lsbLeft;
+ }
+ short right() const {
+ return ( msbRight << 8 ) | lsbRight;
+ }
+ void left( short d ) {
+ msbLeft = d >> 8;
+ lsbLeft = d;
+ }
+ void right( short d ) {
+ msbRight = d >> 8;
+ lsbRight = d;
+ }
+};
+*/
+
+QString K3b::framesToString( int h, bool showFrames )
+{
+ int m = h / 4500;
+ int s = (h % 4500) / 75;
+ int f = h % 75;
+
+ QString str;
+
+ if( showFrames ) {
+ // cdrdao needs the MSF format where 1 second has 75 frames!
+ str.sprintf( "%.2i:%.2i:%.2i", m, s, f );
+ }
+ else
+ str.sprintf( "%.2i:%.2i", m, s );
+
+ return str;
+}
+
+/*QString K3b::sizeToTime(long size)
+{
+ int h = size / sizeof(Sample) / 588;
+ return framesToString(h, false);
+}*/
+
+
+Q_INT16 K3b::swapByteOrder( const Q_INT16& i )
+{
+ return bswap_16( i );
+ //((i << 8) & 0xff00) | ((i >> 8 ) & 0xff);
+}
+
+
+Q_INT32 K3b::swapByteOrder( const Q_INT32& i )
+{
+ //return ((i << 24) & 0xff000000) | ((i << 8) & 0xff0000) | ((i >> 8) & 0xff00) | ((i >> 24) & 0xff );
+ return bswap_32( i );
+}
+
+
+Q_INT64 K3b::swapByteOrder( const Q_INT64& i )
+{
+ return bswap_64( i );
+}
+
+
+int K3b::round( double d )
+{
+ return (int)( floor(d) + 0.5 <= d ? ceil(d) : floor(d) );
+}
+
+
+QString K3b::findUniqueFilePrefix( const QString& _prefix, const QString& path )
+{
+ QString url;
+ if( path.isEmpty() || !QFile::exists(path) )
+ url = defaultTempPath();
+ else
+ url = prepareDir( path );
+
+ QString prefix = _prefix;
+ if( prefix.isEmpty() )
+ prefix = "k3b_";
+
+ // now create the unique prefix
+ QDir dir( url );
+ QStringList entries = dir.entryList( QDir::DefaultFilter, QDir::Name );
+ int i = 0;
+ for( QStringList::iterator it = entries.begin();
+ it != entries.end(); ++it ) {
+ if( (*it).startsWith( prefix + QString::number(i) ) ) {
+ i++;
+ it = entries.begin();
+ }
+ }
+
+ return url + prefix + QString::number(i);
+}
+
+
+QString K3b::findTempFile( const QString& ending, const QString& d )
+{
+ return findUniqueFilePrefix( "k3b_", d ) + ( ending.isEmpty() ? QString::null : (QString::fromLatin1(".") + ending) );
+}
+
+
+QString K3b::defaultTempPath()
+{
+ QString oldGroup = kapp->config()->group();
+ kapp->config()->setGroup( "General Options" );
+ QString url = kapp->config()->readPathEntry( "Temp Dir", KGlobal::dirs()->resourceDirs( "tmp" ).first() );
+ kapp->config()->setGroup( oldGroup );
+ return prepareDir(url);
+}
+
+
+QString K3b::prepareDir( const QString& dir )
+{
+ return (dir + (dir[dir.length()-1] != '/' ? "/" : ""));
+}
+
+
+QString K3b::parentDir( const QString& path )
+{
+ QString parent = path;
+ if( path[path.length()-1] == '/' )
+ parent.truncate( parent.length()-1 );
+
+ int pos = parent.findRev( '/' );
+ if( pos >= 0 )
+ parent.truncate( pos+1 );
+ else // relative path, do anything...
+ parent = "/";
+
+ return parent;
+}
+
+
+QString K3b::fixupPath( const QString& path )
+{
+ QString s;
+ bool lastWasSlash = false;
+ for( unsigned int i = 0; i < path.length(); ++i ) {
+ if( path[i] == '/' ) {
+ if( !lastWasSlash ) {
+ lastWasSlash = true;
+ s.append( "/" );
+ }
+ }
+ else {
+ lastWasSlash = false;
+ s.append( path[i] );
+ }
+ }
+
+ return s;
+}
+
+
+K3bVersion K3b::kernelVersion()
+{
+ // initialize kernel version
+ K3bVersion v;
+ utsname unameinfo;
+ if( ::uname(&unameinfo) == 0 ) {
+ v = QString::fromLocal8Bit( unameinfo.release );
+ kdDebug() << "kernel version: " << v << endl;
+ }
+ else
+ kdError() << "could not determine kernel version." << endl;
+ return v;
+}
+
+
+K3bVersion K3b::simpleKernelVersion()
+{
+ return kernelVersion().simplify();
+}
+
+
+QString K3b::systemName()
+{
+ QString v;
+ utsname unameinfo;
+ if( ::uname(&unameinfo) == 0 ) {
+ v = QString::fromLocal8Bit( unameinfo.sysname );
+ }
+ else
+ kdError() << "could not determine system name." << endl;
+ return v;
+}
+
+
+bool K3b::kbFreeOnFs( const QString& path, unsigned long& size, unsigned long& avail )
+{
+ struct statvfs fs;
+ if( ::statvfs( QFile::encodeName(path), &fs ) == 0 ) {
+ unsigned long kBfak = fs.f_frsize/1024;
+
+ size = fs.f_blocks*kBfak;
+ avail = fs.f_bavail*kBfak;
+
+ return true;
+ }
+ else
+ return false;
+}
+
+
+KIO::filesize_t K3b::filesize( const KURL& url )
+{
+ if( url.isLocalFile() ) {
+ k3b_struct_stat buf;
+ if ( !k3b_stat( QFile::encodeName( url.path() ), &buf ) ) {
+ return (KIO::filesize_t)buf.st_size;
+ }
+ }
+
+ KIO::UDSEntry uds;
+ KIO::NetAccess::stat( url, uds, 0 );
+ for( KIO::UDSEntry::const_iterator it = uds.begin(); it != uds.end(); ++it ) {
+ if( (*it).m_uds == KIO::UDS_SIZE ) {
+ return (*it).m_long;
+ }
+ }
+
+ return ( KIO::filesize_t )0;
+}
+
+
+KIO::filesize_t K3b::imageFilesize( const KURL& url )
+{
+ KIO::filesize_t size = K3b::filesize( url );
+ int cnt = 0;
+ while( KIO::NetAccess::exists( KURL::fromPathOrURL( url.url() + '.' + QString::number(cnt).rightJustify( 3, '0' ) ), true ) )
+ size += K3b::filesize( KURL::fromPathOrURL( url.url() + '.' + QString::number(cnt++).rightJustify( 3, '0' ) ) );
+ return size;
+}
+
+
+QString K3b::cutFilename( const QString& name, unsigned int len )
+{
+ if( name.length() > len ) {
+ QString ret = name;
+
+ // determine extension (we think of an extension to be at most 5 chars in length)
+ int pos = name.find( '.', -6 );
+ if( pos > 0 )
+ len -= (name.length() - pos);
+
+ ret.truncate( len );
+
+ if( pos > 0 )
+ ret.append( name.mid( pos ) );
+
+ return ret;
+ }
+ else
+ return name;
+}
+
+
+QString K3b::removeFilenameExtension( const QString& name )
+{
+ QString v = name;
+ int dotpos = v.findRev( '.' );
+ if( dotpos > 0 )
+ v.truncate( dotpos );
+ return v;
+}
+
+
+QString K3b::appendNumberToFilename( const QString& name, int num, unsigned int maxlen )
+{
+ // determine extension (we think of an extension to be at most 5 chars in length)
+ QString result = name;
+ QString ext;
+ int pos = name.find( '.', -6 );
+ if( pos > 0 ) {
+ ext = name.mid(pos);
+ result.truncate( pos );
+ }
+
+ ext.prepend( QString::number(num) );
+ result.truncate( maxlen - ext.length() );
+
+ return result + ext;
+}
+
+
+bool K3b::plainAtapiSupport()
+{
+ // FIXME: what about BSD?
+ return ( K3b::simpleKernelVersion() >= K3bVersion( 2, 5, 40 ) );
+}
+
+
+bool K3b::hackedAtapiSupport()
+{
+ // IMPROVEME!!!
+ // FIXME: since when does the kernel support this?
+ return ( K3b::simpleKernelVersion() >= K3bVersion( 2, 4, 0 ) );
+}
+
+
+QString K3b::externalBinDeviceParameter( K3bDevice::Device* dev, const K3bExternalBin* bin )
+{
+#ifdef Q_OS_LINUX
+ //
+ // experimental: always use block devices on 2.6 kernels
+ //
+ if( simpleKernelVersion() >= K3bVersion( 2, 6, 0 ) )
+ return dev->blockDeviceName();
+ else
+#endif
+ if( dev->interfaceType() == K3bDevice::SCSI )
+ return dev->busTargetLun();
+ else if( (plainAtapiSupport() && bin->hasFeature("plain-atapi") ) )
+ return dev->blockDeviceName();
+ else
+ return QString("ATAPI:%1").arg(dev->blockDeviceName());
+}
+
+
+int K3b::writingAppFromString( const QString& s )
+{
+ if( s.lower() == "cdrdao" )
+ return K3b::CDRDAO;
+ else if( s.lower() == "cdrecord" )
+ return K3b::CDRECORD;
+ else if( s.lower() == "dvdrecord" )
+ return K3b::DVDRECORD;
+ else if( s.lower() == "growisofs" )
+ return K3b::GROWISOFS;
+ else if( s.lower() == "dvd+rw-format" )
+ return K3b::DVD_RW_FORMAT;
+ else
+ return K3b::DEFAULT;
+}
+
+
+QString K3b::writingModeString( int mode )
+{
+ if( mode == WRITING_MODE_AUTO )
+ return i18n("Auto");
+ else
+ return K3bDevice::writingModeString( mode );
+}
+
+
+QString K3b::resolveLink( const QString& file )
+{
+ QFileInfo f( file );
+ QStringList steps( f.absFilePath() );
+ while( f.isSymLink() ) {
+ QString p = f.readLink();
+ if( !p.startsWith( "/" ) )
+ p.prepend( f.dirPath(true) + "/" );
+ f.setFile( p );
+ if( steps.contains( f.absFilePath() ) ) {
+ kdDebug() << "(K3b) symlink loop detected." << endl;
+ break;
+ }
+ else
+ steps.append( f.absFilePath() );
+ }
+ return f.absFilePath();
+}
+
+
+K3bDevice::Device* K3b::urlToDevice( const KURL& deviceUrl )
+{
+ if( deviceUrl.protocol() == "media" || deviceUrl.protocol() == "system" ) {
+ kdDebug() << "(K3b) Asking mediamanager for " << deviceUrl.fileName() << endl;
+ DCOPRef mediamanager("kded", "mediamanager");
+ DCOPReply reply = mediamanager.call("properties(QString)", deviceUrl.fileName());
+ QStringList properties = reply;
+ if( !reply.isValid() || properties.count() < 6 ) {
+ kdError() << "(K3b) Invalid reply from mediamanager" << endl;
+ return 0;
+ }
+ else {
+ kdDebug() << "(K3b) Reply from mediamanager " << properties[5] << endl;
+ return k3bcore->deviceManager()->findDevice( properties[5] );
+ }
+ }
+
+ return k3bcore->deviceManager()->findDevice( deviceUrl.path() );
+}
+
+
+KURL K3b::convertToLocalUrl( const KURL& url )
+{
+ if( !url.isLocalFile() ) {
+#if KDE_IS_VERSION(3,4,91)
+ return KIO::NetAccess::mostLocalURL( url, 0 );
+#else
+#ifndef UDS_LOCAL_PATH
+#define UDS_LOCAL_PATH (72 | KIO::UDS_STRING)
+#else
+ using namespace KIO;
+#endif
+ KIO::UDSEntry e;
+ if( KIO::NetAccess::stat( url, e, 0 ) ) {
+ const KIO::UDSEntry::ConstIterator end = e.end();
+ for( KIO::UDSEntry::ConstIterator it = e.begin(); it != end; ++it ) {
+ if( (*it).m_uds == UDS_LOCAL_PATH && !(*it).m_str.isEmpty() )
+ return KURL::fromPathOrURL( (*it).m_str );
+ }
+ }
+#endif
+ }
+
+ return url;
+}
+
+
+KURL::List K3b::convertToLocalUrls( const KURL::List& urls )
+{
+ KURL::List r;
+ for( KURL::List::const_iterator it = urls.constBegin(); it != urls.constEnd(); ++it )
+ r.append( convertToLocalUrl( *it ) );
+ return r;
+}
+
+
+Q_INT16 K3b::fromLe16( char* data )
+{
+#ifdef WORDS_BIGENDIAN // __BYTE_ORDER == __BIG_ENDIAN
+ return swapByteOrder( *((Q_INT16*)data) );
+#else
+ return *((Q_INT16*)data);
+#endif
+}
+
+
+Q_INT32 K3b::fromLe32( char* data )
+{
+#ifdef WORDS_BIGENDIAN // __BYTE_ORDER == __BIG_ENDIAN
+ return swapByteOrder( *((Q_INT32*)data) );
+#else
+ return *((Q_INT32*)data);
+#endif
+}
+
+
+Q_INT64 K3b::fromLe64( char* data )
+{
+#ifdef WORDS_BIGENDIAN // __BYTE_ORDER == __BIG_ENDIAN
+ return swapByteOrder( *((Q_INT64*)data) );
+#else
+ return *((Q_INT64*)data);
+#endif
+}
+
+
+QString K3b::findExe( const QString& name )
+{
+ // first we search the path
+ QString bin = KStandardDirs::findExe( name );
+
+ // then go on with our own little list
+ if( bin.isEmpty() )
+ bin = KStandardDirs::findExe( name, k3bcore->externalBinManager()->searchPath().join(":") );
+
+ return bin;
+}
+
+
+bool K3b::isMounted( K3bDevice::Device* dev )
+{
+ if( !dev )
+ return false;
+
+ return !KIO::findDeviceMountPoint( dev->blockDeviceName() ).isEmpty();
+}
+
+
+bool K3b::unmount( K3bDevice::Device* dev )
+{
+ if( !dev )
+ return false;
+
+ QString mntDev = dev->blockDeviceName();
+
+#if KDE_IS_VERSION(3,4,0)
+ // first try to unmount it the standard way
+ if( KIO::NetAccess::synchronousRun( KIO::unmount( mntDev, false ), 0 ) )
+ return true;
+#endif
+
+ QString umountBin = K3b::findExe( "umount" );
+ if( !umountBin.isEmpty() ) {
+ KProcess p;
+ p << umountBin;
+ p << "-l"; // lazy unmount
+ p << dev->blockDeviceName();
+ p.start( KProcess::Block );
+ if( !p.exitStatus() )
+ return true;
+ }
+
+ // now try pmount
+ QString pumountBin = K3b::findExe( "pumount" );
+ if( !pumountBin.isEmpty() ) {
+ KProcess p;
+ p << pumountBin;
+ p << "-l"; // lazy unmount
+ p << dev->blockDeviceName();
+ p.start( KProcess::Block );
+ return !p.exitStatus();
+ }
+ else {
+#ifdef HAVE_HAL
+ return !K3bDevice::HalConnection::instance()->unmount( dev );
+#else
+ return false;
+#endif
+ }
+}
+
+
+bool K3b::mount( K3bDevice::Device* dev )
+{
+ if( !dev )
+ return false;
+
+ QString mntDev = dev->blockDeviceName();
+
+#if KDE_IS_VERSION(3,4,0)
+ // first try to mount it the standard way
+ if( KIO::NetAccess::synchronousRun( KIO::mount( true, 0, mntDev, false ), 0 ) )
+ return true;
+#endif
+
+#ifdef HAVE_HAL
+ if( !K3bDevice::HalConnection::instance()->mount( dev ) )
+ return true;
+#endif
+
+ // now try pmount
+ QString pmountBin = K3b::findExe( "pmount" );
+ if( !pmountBin.isEmpty() ) {
+ KProcess p;
+ p << pmountBin;
+ p << mntDev;
+ p.start( KProcess::Block );
+ return !p.exitStatus();
+ }
+ return false;
+}
+
+
+bool K3b::eject( K3bDevice::Device* dev )
+{
+#ifdef HAVE_HAL
+ if( !K3bDevice::HalConnection::instance()->eject( dev ) )
+ return true;
+#endif
+
+ if( K3b::isMounted( dev ) )
+ K3b::unmount( dev );
+
+ return dev->eject();
+}
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bglobals.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bglobals.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bglobals.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,257 @@
+/*
+ *
+ * $Id: k3bglobals.h 630384 2007-02-05 09:33:17Z mlaurent $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef K3BGLOBALS_H
+#define K3BGLOBALS_H
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <qstring.h>
+#include <qfile.h>
+#include <kio/global.h>
+#include <kurl.h>
+#include <k3bdevicetypes.h>
+#include "k3b_export.h"
+
+class KConfig;
+class K3bVersion;
+class K3bExternalBin;
+
+
+#include <sys/stat.h>
+
+
+#ifdef HAVE_STAT64
+#define k3b_struct_stat struct stat64
+#define k3b_stat ::stat64
+#define k3b_lstat ::lstat64
+#else
+#define k3b_struct_stat struct stat
+#define k3b_stat ::stat
+#define k3b_lstat ::lstat
+#endif
+
+
+namespace K3bDevice {
+ class Device;
+}
+
+namespace K3b
+{
+ enum WritingApp {
+ DEFAULT = 1,
+ CDRECORD = 2,
+ CDRDAO = 4,
+ DVDRECORD = 8,
+ GROWISOFS = 16,
+ DVD_RW_FORMAT = 32
+ };
+
+ LIBK3B_EXPORT int writingAppFromString( const QString& );
+
+ /**
+ * DATA_MODE_AUTO - let K3b determine the best mode
+ * MODE1 - refers to the default Yellow book mode1
+ * MODE2 - refers to CDROM XA mode2 form1
+ */
+ enum DataMode {
+ DATA_MODE_AUTO,
+ MODE1,
+ MODE2
+ };
+
+ /**
+ * The sector size denotes the number of bytes K3b provides per sector.
+ * This is based on the sizes cdrecord's -data, -xa, and -xamix parameters
+ * demand.
+ */
+ enum SectorSize {
+ SECTORSIZE_AUDIO = 2352,
+ SECTORSIZE_DATA_2048 = 2048,
+ SECTORSIZE_DATA_2048_SUBHEADER = 2056,
+ SECTORSIZE_DATA_2324 = 2324,
+ SECTORSIZE_DATA_2324_SUBHEADER = 2332,
+ SECTORSIZE_RAW = 2448
+ };
+
+ /**
+ * AUTO - let K3b determine the best mode
+ * TAO - Track at once
+ * DAO - Disk at once (or session at once)
+ * RAW - Raw mode
+ *
+ * may be or'ed together (except for WRITING_MODE_AUTO of course)
+ */
+ enum WritingMode {
+ WRITING_MODE_AUTO = 0,
+ TAO = K3bDevice::WRITINGMODE_TAO,
+ DAO = K3bDevice::WRITINGMODE_SAO,
+ RAW = K3bDevice::WRITINGMODE_RAW,
+ WRITING_MODE_INCR_SEQ = K3bDevice::WRITINGMODE_INCR_SEQ, // Incremental Sequential
+ WRITING_MODE_RES_OVWR = K3bDevice::WRITINGMODE_RES_OVWR // Restricted Overwrite
+ };
+
+ LIBK3B_EXPORT QString writingModeString( int );
+
+ LIBK3B_EXPORT QString framesToString( int h, bool showFrames = true );
+ /*LIBK3B_EXPORT QString sizeToTime( long size );*/
+
+ LIBK3B_EXPORT Q_INT16 swapByteOrder( const Q_INT16& i );
+ LIBK3B_EXPORT Q_INT32 swapByteOrder( const Q_INT32& i );
+ LIBK3B_EXPORT Q_INT64 swapByteOrder( const Q_INT64& i );
+
+ int round( double );
+
+ /**
+ * This checks the free space on the filesystem path is in.
+ * We use this since we encountered problems with the KDE version.
+ * @returns true on success.
+ */
+ LIBK3B_EXPORT bool kbFreeOnFs( const QString& path, unsigned long& size, unsigned long& avail );
+
+ /**
+ * Cut a filename preserving the extension
+ */
+ LIBK3B_EXPORT QString cutFilename( const QString& name, unsigned int len );
+
+ LIBK3B_EXPORT QString removeFilenameExtension( const QString& name );
+
+ /**
+ * Append a number to a filename preserving the extension.
+ * The resulting name's length will not exceed @p maxlen
+ */
+ LIBK3B_EXPORT QString appendNumberToFilename( const QString& name, int num, unsigned int maxlen );
+
+ LIBK3B_EXPORT QString findUniqueFilePrefix( const QString& _prefix = QString::null, const QString& path = QString::null );
+
+ /**
+ * Find a unique filename in directory d (if d is empty the method uses the defaultTempPath)
+ */
+ LIBK3B_EXPORT QString findTempFile( const QString& ending = QString::null, const QString& d = QString::null );
+
+ /**
+ * Wrapper around KStandardDirs::findExe which searches the PATH and some additional
+ * directories to find system tools which are normally only in root's PATH.
+ */
+ LIBK3B_EXPORT QString findExe( const QString& name );
+
+ /**
+ * get the default K3b temp path to store image files
+ */
+ LIBK3B_EXPORT QString defaultTempPath();
+
+ /**
+ * makes sure a path ends with a "/"
+ */
+ LIBK3B_EXPORT QString prepareDir( const QString& dir );
+
+ /**
+ * returns the parent dir of a path.
+ * CAUTION: this does only work well with absolut paths.
+ *
+ * Example: /usr/share/doc -> /usr/share/
+ */
+ QString parentDir( const QString& path );
+
+ /**
+ * For now this just replaces multiple occurrences of / with a single /
+ */
+ LIBK3B_EXPORT QString fixupPath( const QString& );
+
+ /**
+ * resolves a symlinks completely. Meaning it also handles links to links to links...
+ */
+ LIBK3B_EXPORT QString resolveLink( const QString& );
+
+ LIBK3B_EXPORT K3bVersion kernelVersion();
+
+ /**
+ * Kernel version stripped of all suffixes
+ */
+ LIBK3B_EXPORT K3bVersion simpleKernelVersion();
+
+ QString systemName();
+
+ LIBK3B_EXPORT KIO::filesize_t filesize( const KURL& );
+
+ /**
+ * Calculate the total size of an image file. This also includes
+ * images splitted by a K3bFileSplitter.
+ *
+ * \returns the total size of the image file at url
+ */
+ LIBK3B_EXPORT KIO::filesize_t imageFilesize( const KURL& url );
+
+ /**
+ * true if the kernel supports ATAPI devices without SCSI emulation.
+ * use in combination with the K3bExternalProgram feature "plain-atapi"
+ */
+ LIBK3B_EXPORT bool plainAtapiSupport();
+
+ /**
+ * true if the kernel supports ATAPI devices without SCSI emulation
+ * via the ATAPI: pseudo stuff
+ * use in combination with the K3bExternalProgram feature "hacked-atapi"
+ */
+ LIBK3B_EXPORT bool hackedAtapiSupport();
+
+ /**
+ * Used to create a parameter for cdrecord, cdrdao or readcd.
+ * Takes care of SCSI and ATAPI.
+ */
+ QString externalBinDeviceParameter( K3bDevice::Device* dev, const K3bExternalBin* );
+
+ /**
+ * Convert an url pointing to a local device to a K3bDevice.
+ * Supports media:// and system::// urls.
+ */
+ LIBK3B_EXPORT K3bDevice::Device* urlToDevice( const KURL& deviceUrl );
+
+ /**
+ * Tries to convert urls from local protocols != "file" to file (for now supports media:/)
+ */
+ LIBK3B_EXPORT KURL convertToLocalUrl( const KURL& url );
+ LIBK3B_EXPORT KURL::List convertToLocalUrls( const KURL::List& l );
+
+ LIBK3B_EXPORT Q_INT16 fromLe16( char* );
+ LIBK3B_EXPORT Q_INT32 fromLe32( char* );
+ LIBK3B_EXPORT Q_INT64 fromLe64( char* );
+
+ LIBK3B_EXPORT bool isMounted( K3bDevice::Device* );
+
+ /**
+ * Tries to unmount the device ignoring its actual mounting state.
+ * This method uses both KIO::unmount and pumount if available.
+ */
+ LIBK3B_EXPORT bool unmount( K3bDevice::Device* );
+
+ /**
+ * Tries to mount the medium. Since K3b does not gather any information
+ * about mount points the only methods used are pmount and HAL::mount
+ */
+ LIBK3B_EXPORT bool mount( K3bDevice::Device* );
+
+ /**
+ * Ejects the medium in the device or simply opens the tray.
+ * This method improves over K3bDevice::Device::eject in that it
+ * unmounts before ejecting and introduces HAL support.
+ */
+ LIBK3B_EXPORT bool eject( K3bDevice::Device* );
+}
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bglobalsettings.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bglobalsettings.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bglobalsettings.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,61 @@
+/*
+ *
+ * $Id: k3bglobalsettings.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2005 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bglobalsettings.h"
+
+#include <kconfig.h>
+
+
+K3bGlobalSettings::K3bGlobalSettings()
+ : m_eject(true),
+ m_burnfree(true),
+ m_overburn(false),
+ m_useManualBufferSize(false),
+ m_bufferSize(4),
+ m_force(false)
+{
+}
+
+
+void K3bGlobalSettings::readSettings( KConfig* c )
+{
+ QString lastG = c->group();
+ c->setGroup( "General Options" );
+
+ m_eject = !c->readBoolEntry( "No cd eject", false );
+ m_burnfree = c->readBoolEntry( "burnfree", true );
+ m_overburn = c->readBoolEntry( "Allow overburning", false );
+ m_useManualBufferSize = c->readBoolEntry( "Manual buffer size", false );
+ m_bufferSize = c->readNumEntry( "Fifo buffer", 4 );
+ m_force = c->readBoolEntry( "Force unsafe operations", false );
+
+ c->setGroup( lastG );
+}
+
+
+void K3bGlobalSettings::saveSettings( KConfig* c )
+{
+ QString lastG = c->group();
+ c->setGroup( "General Options" );
+
+ c->writeEntry( "No cd eject", !m_eject );
+ c->writeEntry( "burnfree", m_burnfree );
+ c->writeEntry( "Allow overburning", m_overburn );
+ c->writeEntry( "Manual buffer size", m_useManualBufferSize );
+ c->writeEntry( "Fifo buffer", m_bufferSize );
+ c->writeEntry( "Force unsafe operations", m_force );
+
+ c->setGroup( lastG );
+}
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bglobalsettings.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bglobalsettings.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bglobalsettings.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,70 @@
+/*
+ *
+ * $Id: k3bglobalsettings.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2005 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_GLOBAL_SETTINGS_H_
+#define _K3B_GLOBAL_SETTINGS_H_
+#include "k3b_export.h"
+class KConfig;
+
+/**
+ * Some global settings used throughout K3b.
+ */
+class LIBK3B_EXPORT K3bGlobalSettings
+{
+ public:
+ K3bGlobalSettings();
+
+ /**
+ * This method takes care of settings the config group
+ */
+ void readSettings( KConfig* );
+
+ /**
+ * This method takes care of settings the config group
+ */
+ void saveSettings( KConfig* );
+
+ bool ejectMedia() const { return m_eject; }
+ bool burnfree() const { return m_burnfree; }
+ bool overburn() const { return m_overburn; }
+ bool useManualBufferSize() const { return m_useManualBufferSize; }
+ int bufferSize() const { return m_bufferSize; }
+
+ /**
+ * If force is set to true K3b will continue in certain "unsafe" situations.
+ * The most common being a medium not suitable for the writer in terms of
+ * writing speed.
+ * Compare cdrecord's parameter -force
+ */
+ bool force() const { return m_force; }
+
+ void setEjectMedia( bool b ) { m_eject = b; }
+ void setBurnfree( bool b ) { m_burnfree = b; }
+ void setOverburn( bool b ) { m_overburn = b; }
+ void setUseManualBufferSize( bool b ) { m_useManualBufferSize = b; }
+ void setBufferSize( int size ) { m_bufferSize = size; }
+ void setForce( bool b ) { m_force = b; }
+
+ private:
+ bool m_eject;
+ bool m_burnfree;
+ bool m_overburn;
+ bool m_useManualBufferSize;
+ int m_bufferSize;
+ bool m_force;
+};
+
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bjob.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bjob.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bjob.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,253 @@
+/*
+ *
+ * $Id: k3bjob.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#include "k3bjob.h"
+#include <k3bglobals.h>
+#include <k3bcore.h>
+
+#include <klocale.h>
+#include <kprocess.h>
+
+#include <qstringlist.h>
+#include <kdebug.h>
+
+
+class K3bJob::Private
+{
+public:
+};
+
+
+const char* K3bJob::DEFAULT_SIGNAL_CONNECTION = "K3bJobDefault";
+
+
+K3bJob::K3bJob( K3bJobHandler* handler, QObject* parent, const char* name )
+ : QObject( parent, name ),
+ m_jobHandler( handler ),
+ m_canceled(false),
+ m_active(false)
+{
+ connect( this, SIGNAL(canceled()),
+ this, SLOT(slotCanceled()) );
+}
+
+K3bJob::~K3bJob()
+{
+ //
+ // Normally a job (or the user of a job should take care of this
+ // but we do this here for security reasons.
+ //
+ if( m_active )
+ jobFinished( false );
+}
+
+
+void K3bJob::setJobHandler( K3bJobHandler* jh )
+{
+ m_jobHandler = jh;
+}
+
+
+void K3bJob::jobStarted()
+{
+ m_canceled = false;
+ m_active = true;
+
+ if( jobHandler() && jobHandler()->isJob() )
+ static_cast<K3bJob*>(jobHandler())->registerSubJob( this );
+ else
+ k3bcore->registerJob( this );
+
+ emit started();
+}
+
+
+void K3bJob::jobFinished( bool success )
+{
+ m_active = false;
+
+ if( jobHandler() && jobHandler()->isJob() )
+ static_cast<K3bJob*>(jobHandler())->unregisterSubJob( this );
+ else
+ k3bcore->unregisterJob( this );
+
+ emit finished( success );
+}
+
+
+void K3bJob::slotCanceled()
+{
+ m_canceled = true;
+}
+
+
+int K3bJob::waitForMedia( K3bDevice::Device* device,
+ int mediaState,
+ int mediaType,
+ const QString& message )
+{
+ // TODO: What about: emit newSubTask( i18n("Waiting for media") );
+ return m_jobHandler->waitForMedia( device, mediaState, mediaType, message );
+}
+
+
+bool K3bJob::questionYesNo( const QString& text,
+ const QString& caption,
+ const QString& yesText,
+ const QString& noText )
+{
+ return m_jobHandler->questionYesNo( text, caption, yesText, noText );
+}
+
+
+void K3bJob::blockingInformation( const QString& text,
+ const QString& caption )
+{
+ return m_jobHandler->blockingInformation( text, caption );
+}
+
+
+void K3bJob::connectSubJob( K3bJob* subJob,
+ const char* finishedSlot,
+ bool connectProgress,
+ const char* progressSlot,
+ const char* subProgressSlot,
+ const char* processedSizeSlot,
+ const char* processedSubSizeSlot )
+{
+ connect( subJob, SIGNAL(newTask(const QString&)), this, SIGNAL(newSubTask(const QString&)) );
+ connect( subJob, SIGNAL(newSubTask(const QString&)), this, SLOT(slotNewSubTask(const QString&)) );
+ connect( subJob, SIGNAL(debuggingOutput(const QString&, const QString&)),
+ this, SIGNAL(debuggingOutput(const QString&, const QString&)) );
+ connect( subJob, SIGNAL(infoMessage(const QString&, int)),
+ this, SIGNAL(infoMessage(const QString&, int)) );
+ connect( subJob, SIGNAL(finished(bool)), this, finishedSlot );
+
+ if( connectProgress ) {
+ connect( subJob, SIGNAL(percent(int)),
+ this, progressSlot != 0 ? progressSlot : SIGNAL(subPercent(int)) );
+ if( subProgressSlot )
+ connect( subJob, SIGNAL(subPercent(int)), this, subProgressSlot );
+ connect( subJob, SIGNAL(processedSize(int, int)),
+ this, processedSizeSlot != 0 ? processedSizeSlot : SIGNAL(processedSubSize(int, int)) );
+ if( processedSubSizeSlot )
+ connect( subJob, SIGNAL(processedSubSize(int, int)), this, processedSubSizeSlot );
+ }
+}
+
+
+void K3bJob::connectSubJob( K3bJob* subJob,
+ const char* finishedSlot,
+ const char* newTaskSlot,
+ const char* newSubTaskSlot,
+ const char* progressSlot,
+ const char* subProgressSlot,
+ const char* processedSizeSlot,
+ const char* processedSubSizeSlot )
+{
+ // standard connections
+ connect( subJob, SIGNAL(debuggingOutput(const QString&, const QString&)),
+ this, SIGNAL(debuggingOutput(const QString&, const QString&)) );
+ connect( subJob, SIGNAL(infoMessage(const QString&, int)),
+ this, SIGNAL(infoMessage(const QString&, int)) );
+
+ // task connections
+ if( newTaskSlot == DEFAULT_SIGNAL_CONNECTION )
+ connect( subJob, SIGNAL(newTask(const QString&)), this, SIGNAL(newSubTask(const QString&)) );
+ else if( newTaskSlot )
+ connect( subJob, SIGNAL(newTask(const QString&)), this, newTaskSlot );
+
+ if( newSubTaskSlot == DEFAULT_SIGNAL_CONNECTION )
+ connect( subJob, SIGNAL(newSubTask(const QString&)), this, SLOT(slotNewSubTask(const QString&)) );
+ else if( newSubTaskSlot )
+ connect( subJob, SIGNAL(newSubTask(const QString&)), this, newSubTaskSlot );
+
+ if( finishedSlot && finishedSlot != DEFAULT_SIGNAL_CONNECTION )
+ connect( subJob, SIGNAL(finished(bool)), this, finishedSlot );
+
+ // progress
+ if( progressSlot == DEFAULT_SIGNAL_CONNECTION )
+ connect( subJob, SIGNAL(percent(int)), this, SIGNAL(subPercent(int)) );
+ else if( progressSlot )
+ connect( subJob, SIGNAL(percent(int)), this, progressSlot );
+
+ if( subProgressSlot && subProgressSlot != DEFAULT_SIGNAL_CONNECTION )
+ connect( subJob, SIGNAL(subPercent(int)), this, subProgressSlot );
+
+ // processed size
+ if( processedSizeSlot == DEFAULT_SIGNAL_CONNECTION )
+ connect( subJob, SIGNAL(processedSize(int, int)), this, SIGNAL(processedSubSize(int, int)) );
+ else if( processedSizeSlot )
+ connect( subJob, SIGNAL(processedSize(int, int)), this, processedSizeSlot );
+
+ if( processedSubSizeSlot && processedSubSizeSlot != DEFAULT_SIGNAL_CONNECTION )
+ connect( subJob, SIGNAL(processedSubSize(int, int)), this, processedSubSizeSlot );
+}
+
+
+unsigned int K3bJob::numRunningSubJobs() const
+{
+ return m_runningSubJobs.count();
+}
+
+
+void K3bJob::slotNewSubTask( const QString& str )
+{
+ emit infoMessage( str, INFO );
+}
+
+
+void K3bJob::registerSubJob( K3bJob* job )
+{
+ m_runningSubJobs.append( job );
+}
+
+
+void K3bJob::unregisterSubJob( K3bJob* job )
+{
+ m_runningSubJobs.removeRef( job );
+}
+
+
+
+
+class K3bBurnJob::Private
+{
+public:
+};
+
+
+
+K3bBurnJob::K3bBurnJob( K3bJobHandler* handler, QObject* parent, const char* name )
+ : K3bJob( handler, parent, name ),
+ m_writeMethod( K3b::DEFAULT )
+{
+ d = new Private;
+}
+
+
+K3bBurnJob::~K3bBurnJob()
+{
+ delete d;
+}
+
+
+int K3bBurnJob::supportedWritingApps() const
+{
+ return K3b::DEFAULT | K3b::CDRDAO | K3b::CDRECORD;
+}
+
+#include "k3bjob.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bjob.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bjob.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bjob.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,311 @@
+/*
+ *
+ * $Id: k3bjob.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef K3BJOB_H
+#define K3BJOB_H
+
+#include <qobject.h>
+#include <qptrlist.h>
+#include "k3bjobhandler.h"
+#include "k3b_export.h"
+
+class K3bDoc;
+namespace K3bDevice {
+ class Device;
+}
+
+
+/**
+ * This is the baseclass for all the jobs in K3b which actually do the work like burning a cd!
+ * The K3bJob object takes care of registering with the k3bcore or with a parent K3bJob.
+ *
+ * Every job has a jobhandler which can be another job (in which case the job is handled as
+ * a subjob) or an arbitrary class implementing the K3bJobHandler interface.
+ *
+ * A Job should never create any widgets. User interaction should be done through the methods
+ * questionYesNo, waitForMedia.
+ *
+ * @author Sebastian Trueg
+ */
+class LIBK3B_EXPORT K3bJob : public QObject, public K3bJobHandler
+{
+ Q_OBJECT
+
+ public:
+ virtual ~K3bJob();
+
+ /**
+ * \reimplemented from K3bJobHandler
+ */
+ bool isJob() const { return true; }
+
+ K3bJobHandler* jobHandler() const { return m_jobHandler; }
+
+ /**
+ * Is the job active?
+ * The default implementation is based on the jobStarted() and jobFinished()
+ * methods and there is normally no need to reimplement this.
+ */
+ virtual bool active() const { return m_active; }
+
+ /**
+ * The default implementation is based on the canceled() signal.
+ *
+ * This means that one cannot count on this value being valid
+ * in a slot connected to the canceled() signal. It is, however, save
+ * to call this method from a slot connected to the finished() signal
+ * in case the job makes proper usage of the jobStarted/jobFinished
+ * methods.
+ */
+ virtual bool hasBeenCanceled() const { return m_canceled; }
+
+ virtual QString jobDescription() const { return "K3bJob"; }
+ virtual QString jobDetails() const { return QString::null; }
+
+ /**
+ * @returns the number of running subjobs.
+ * this is useful for proper cancellation of jobs.
+ */
+ unsigned int numRunningSubJobs() const;
+
+ const QPtrList<K3bJob>& runningSubJobs() const { return m_runningSubJobs; }
+
+ /**
+ * \deprecated
+ */
+ virtual void connectSubJob( K3bJob* subJob,
+ const char* finishedSlot = 0,
+ bool progress = false,
+ const char* progressSlot = 0,
+ const char* subProgressSot = 0,
+ const char* processedSizeSlot = 0,
+ const char* processedSubSizeSlot = 0 );
+
+ static const char* DEFAULT_SIGNAL_CONNECTION;
+
+ /**
+ * \param newTaskSlot If DEFAULT_SIGNAL_CONNECTION the newTask signal from the subjob will
+ * be connected to the newSubTask signal
+ * \param newSubTaskSlot If DEFAULT_SIGNAL_CONNECTION the newSubTask signal from the subjob
+ * will create an infoMessage signal
+ * \param progressSlot If DEFAULT_SIGNAL_CONNECTION the percent signal of the subjob will be
+ * connected to the subPercent signal.
+ * debuggingOutput and infoMessage will always be direcctly connected.
+ *
+ * If a parameter is set to 0 it will not be connected at all
+ */
+ virtual void connectSubJob( K3bJob* subJob,
+ const char* finishedSlot = DEFAULT_SIGNAL_CONNECTION,
+ const char* newTaskSlot = DEFAULT_SIGNAL_CONNECTION,
+ const char* newSubTaskSlot = DEFAULT_SIGNAL_CONNECTION,
+ const char* progressSlot = DEFAULT_SIGNAL_CONNECTION,
+ const char* subProgressSlot = DEFAULT_SIGNAL_CONNECTION,
+ const char* processedSizeSlot = DEFAULT_SIGNAL_CONNECTION,
+ const char* processedSubSizeSlot = DEFAULT_SIGNAL_CONNECTION );
+
+ /**
+ * Message types to be used in combination with the infoMessage signal.
+ *
+ * \see infoMessage()
+ */
+ enum MessageType {
+ INFO, /**< Informational message. For example a message that informs the user about what is
+ currently going on */
+ WARNING, /**< A warning message. Something did not go perfectly but the job may continue. */
+ ERROR, /**< An error. Only use this message type if the job will actually fail afterwards
+ with a call to jobFinished( false ) */
+ SUCCESS /**< This message type may be used to inform the user that a sub job has
+ been successfully finished. */
+ };
+
+ /**
+ * reimplemented from K3bJobHandler
+ */
+ int waitForMedia( K3bDevice::Device*,
+ int mediaState = K3bDevice::STATE_EMPTY,
+ int mediaType = K3bDevice::MEDIA_WRITABLE_CD,
+ const QString& message = QString::null );
+
+ /**
+ * reimplemented from K3bJobHandler
+ */
+ bool questionYesNo( const QString& text,
+ const QString& caption = QString::null,
+ const QString& yesText = QString::null,
+ const QString& noText = QString::null );
+
+ /**
+ * reimplemented from K3bJobHandler
+ */
+ void blockingInformation( const QString& text,
+ const QString& caption = QString::null );
+
+ public slots:
+ /**
+ * This is the slot that starts the job. The first call should always
+ * be jobStarted().
+ *
+ * Once the job has finished it has to call jobFinished() with the result as
+ * a parameter.
+ *
+ * \see jobStarted()
+ * \see jobFinished()
+ */
+ virtual void start() = 0;
+
+ /**
+ * This slot should cancel the job. The job has to emit the canceled() signal and make a call
+ * to jobFinished().
+ * It is not important to do any of those two directly in this slot though.
+ */
+ virtual void cancel() = 0;
+
+ void setJobHandler( K3bJobHandler* );
+
+ signals:
+ void infoMessage( const QString& msg, int type );
+ void percent( int p );
+ void subPercent( int p );
+ void processedSize( int processed, int size );
+ void processedSubSize( int processed, int size );
+ void newTask( const QString& job );
+ void newSubTask( const QString& job );
+ void debuggingOutput(const QString&, const QString&);
+ void data( const char* data, int len );
+ void nextTrack( int track, int numTracks );
+
+ void canceled();
+
+ /**
+ * Emitted once the job has been started. Never emit this signal directly.
+ * Use jobStarted() instead, otherwise the job will not be properly registered
+ */
+ void started();
+
+ /**
+ * Emitted once the job has been finshed. Never emit this signal directly.
+ * Use jobFinished() instead, otherwise the job will not be properly deregistered
+ */
+ void finished( bool success );
+
+ protected:
+ /**
+ * \param hdl the handler of the job. This allows for some user interaction without
+ * specifying any details (like the GUI).
+ * The job handler can also be another job. In that case this job is a sub job
+ * and will be part of the parents running sub jobs.
+ *
+ * \see runningSubJobs()
+ * \see numRunningSubJobs()
+ */
+ K3bJob( K3bJobHandler* hdl, QObject* parent = 0, const char* name = 0 );
+
+ /**
+ * Call this in start() to properly register the job and emit the started() signal.
+ * Do never emit the started() signal manually.
+ *
+ * Always call K3bJob::jobStarted in reimplementations.
+ */
+ virtual void jobStarted();
+
+ /**
+ * Call this at the end of the job to properly deregister the job and emit the finished() signal.
+ * Do never emit the started() signal manually.
+ *
+ * Always call K3bJob::jobFinished in reimplementations.
+ */
+ virtual void jobFinished( bool success );
+
+ private slots:
+ void slotCanceled();
+ void slotNewSubTask( const QString& str );
+
+ private:
+ void registerSubJob( K3bJob* );
+ void unregisterSubJob( K3bJob* );
+
+ K3bJobHandler* m_jobHandler;
+ QPtrList<K3bJob> m_runningSubJobs;
+
+ bool m_canceled;
+ bool m_active;
+
+ class Private;
+ Private* d;
+};
+
+
+/**
+ * Every job used to actually burn a medium is derived from K3bBurnJob.
+ * This class implements additional signals like buffer status or writing speed
+ * as well as a handling of the used writing application.
+ */
+class LIBK3B_EXPORT K3bBurnJob : public K3bJob
+{
+ Q_OBJECT
+
+ public:
+ K3bBurnJob( K3bJobHandler* hdl, QObject* parent = 0, const char* name = 0 );
+ virtual ~K3bBurnJob();
+
+ /**
+ * The writing device used by this job.
+ */
+ virtual K3bDevice::Device* writer() const { return 0; }
+
+ /**
+ * use K3b::WritingApp
+ */
+ int writingApp() const { return m_writeMethod; }
+
+ /**
+ * K3b::WritingApp "ored" together
+ */
+ virtual int supportedWritingApps() const;
+
+ public slots:
+ /**
+ * use K3b::WritingApp
+ */
+ void setWritingApp( int w ) { m_writeMethod = w; }
+
+ signals:
+ void bufferStatus( int );
+
+ void deviceBuffer( int );
+
+ /**
+ * @param speed current writing speed in Kb
+ * @param multiplicator use 150 for CDs and 1380 for DVDs
+ * FIXME: maybe one should be able to ask the burnjob if it burns a CD or a DVD and remove the
+ * multiplicator parameter)
+ */
+ void writeSpeed( int speed, int multiplicator );
+
+ /**
+ * This signal may be used to inform when the burning starts or ends
+ * The BurningProgressDialog for example uses it to enable and disable
+ * the buffer and writing speed displays.
+ */
+ void burning(bool);
+
+ private:
+ int m_writeMethod;
+
+ class Private;
+ Private* d;
+};
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bjobhandler.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bjobhandler.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bjobhandler.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,64 @@
+/*
+ *
+ * $Id: k3bjobhandler.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2004 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_JOB_HANDLER_H_
+#define _K3B_JOB_HANDLER_H_
+
+
+#include <k3bdiskinfo.h>
+#include <k3bdevice.h>
+
+
+/**
+ * See @p K3bJobProgressDialog as an example for the usage of
+ * the K3bJobHandler interface.
+ */
+class K3bJobHandler
+{
+ public:
+ K3bJobHandler() {}
+ virtual ~K3bJobHandler() {}
+
+ /**
+ * \return true if the handler itself is also a job
+ */
+ virtual bool isJob() const { return false; }
+
+ /**
+ * @return K3bDevice::MediaType on success,
+ * 0 if forced (no media info available),
+ * and -1 on error (canceled)
+ */
+ virtual int waitForMedia( K3bDevice::Device*,
+ int mediaState = K3bDevice::STATE_EMPTY,
+ int mediaType = K3bDevice::MEDIA_WRITABLE_CD,
+ const QString& message = QString::null ) = 0;
+
+ // FIXME: use KGuiItem
+ virtual bool questionYesNo( const QString& text,
+ const QString& caption = QString::null,
+ const QString& yesText = QString::null,
+ const QString& noText = QString::null ) = 0;
+
+ /**
+ * Use this if you need the user to do something before the job is able to continue.
+ * In all other cases an infoMessage should be used.
+ */
+ virtual void blockingInformation( const QString& text,
+ const QString& caption = QString::null ) = 0;
+
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bprocess.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bprocess.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bprocess.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,452 @@
+/*
+ *
+ * $Id: k3bprocess.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+
+#include "k3bprocess.h"
+#include "k3bexternalbinmanager.h"
+
+#include <qstringlist.h>
+#include <qsocketnotifier.h>
+#include <qptrqueue.h>
+#include <qapplication.h>
+
+#include <kdebug.h>
+
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <unistd.h>
+#include <stdio.h>
+#include <fcntl.h>
+#include <string.h>
+#include <errno.h>
+
+
+class K3bProcess::Data
+{
+public:
+ QString unfinishedStdoutLine;
+ QString unfinishedStderrLine;
+
+ int dupStdoutFd;
+ int dupStdinFd;
+
+ bool rawStdin;
+ bool rawStdout;
+
+ int in[2];
+ int out[2];
+
+ bool suppressEmptyLines;
+};
+
+
+K3bProcess::K3bProcess()
+ : KProcess(),
+ m_bSplitStdout(false)
+{
+ d = new Data();
+ d->dupStdinFd = d->dupStdoutFd = -1;
+ d->rawStdout = d->rawStdin = false;
+ d->in[0] = d->in[1] = -1;
+ d->out[0] = d->out[1] = -1;
+ d->suppressEmptyLines = true;
+}
+
+K3bProcess::~K3bProcess()
+{
+ delete d;
+}
+
+
+K3bProcess& K3bProcess::operator<<( const K3bExternalBin* bin )
+{
+ return this->operator<<( bin->path );
+}
+
+K3bProcess& K3bProcess::operator<<( const QString& arg )
+{
+ static_cast<KProcess*>(this)->operator<<( arg );
+ return *this;
+}
+
+K3bProcess& K3bProcess::operator<<( const char* arg )
+{
+ static_cast<KProcess*>(this)->operator<<( arg );
+ return *this;
+}
+
+K3bProcess& K3bProcess::operator<<( const QCString& arg )
+{
+ static_cast<KProcess*>(this)->operator<<( arg );
+ return *this;
+}
+
+K3bProcess& K3bProcess::operator<<( const QStringList& args )
+{
+ static_cast<KProcess*>(this)->operator<<( args );
+ return *this;
+}
+
+
+bool K3bProcess::start( RunMode run, Communication com )
+{
+ if( com & Stderr ) {
+ connect( this, SIGNAL(receivedStderr(KProcess*, char*, int)),
+ this, SLOT(slotSplitStderr(KProcess*, char*, int)) );
+ }
+ if( com & Stdout ) {
+ connect( this, SIGNAL(receivedStdout(KProcess*, char*, int)),
+ this, SLOT(slotSplitStdout(KProcess*, char*, int)) );
+ }
+
+ return KProcess::start( run, com );
+}
+
+
+void K3bProcess::slotSplitStdout( KProcess*, char* data, int len )
+{
+ if( m_bSplitStdout ) {
+ QStringList lines = splitOutput( data, len, d->unfinishedStdoutLine, d->suppressEmptyLines );
+
+ for( QStringList::iterator it = lines.begin(); it != lines.end(); ++it ) {
+ QString& str = *it;
+
+ // just to be sure since something in splitOutput does not do this right
+ if( d->suppressEmptyLines && str.isEmpty() )
+ continue;
+
+ emit stdoutLine( str );
+ }
+ }
+}
+
+
+void K3bProcess::slotSplitStderr( KProcess*, char* data, int len )
+{
+ QStringList lines = splitOutput( data, len, d->unfinishedStderrLine, d->suppressEmptyLines );
+
+ for( QStringList::iterator it = lines.begin(); it != lines.end(); ++it ) {
+ QString& str = *it;
+
+ // just to be sure since something in splitOutput does not do this right
+ if( d->suppressEmptyLines && str.isEmpty() )
+ continue;
+
+ emit stderrLine( str );
+ }
+}
+
+
+QStringList K3bProcess::splitOutput( char* data, int len,
+ QString& unfinishedLine, bool suppressEmptyLines )
+{
+ //
+ // The stderr splitting is mainly used for parsing of messages
+ // That's why we simplify the data before proceeding
+ //
+
+ QString buffer;
+ for( int i = 0; i < len; i++ ) {
+ if( data[i] == '\b' ) {
+ while( data[i] == '\b' ) // we replace multiple backspaces with a single line feed
+ i++;
+ buffer += '\n';
+ }
+ if( data[i] == '\r' )
+ buffer += '\n';
+ else if( data[i] == '\t' ) // replace tabs with a single space
+ buffer += " ";
+ else
+ buffer += data[i];
+ }
+
+ QStringList lines = QStringList::split( '\n', buffer, !suppressEmptyLines );
+
+ // in case we suppress empty lines we need to handle the following separately
+ // to make sure we join unfinished lines correctly
+ if( suppressEmptyLines && buffer[0] == '\n' )
+ lines.prepend( QString::null );
+
+ if( !unfinishedLine.isEmpty() ) {
+ lines.first().prepend( unfinishedLine );
+ unfinishedLine.truncate(0);
+
+ kdDebug() << "(K3bProcess) joined line: '" << (lines.first()) << "'" << endl;
+ }
+
+ QStringList::iterator it;
+
+ // check if line ends with a newline
+ // if not save the last line because it is not finished
+ QChar c = buffer.right(1).at(0);
+ bool hasUnfinishedLine = ( c != '\n' && c != '\r' && c != QChar(46) ); // What is unicode 46?? It is printed as a point
+ if( hasUnfinishedLine ) {
+ kdDebug() << "(K3bProcess) found unfinished line: '" << lines.last() << "'" << endl;
+ kdDebug() << "(K3bProcess) last char: '" << buffer.right(1) << "'" << endl;
+ unfinishedLine = lines.last();
+ it = lines.end();
+ --it;
+ lines.remove(it);
+ }
+
+ return lines;
+}
+
+
+int K3bProcess::setupCommunication( Communication comm )
+{
+ if( KProcess::setupCommunication( comm ) ) {
+
+ //
+ // Setup our own socketpair
+ //
+
+ if( d->rawStdin ) {
+ if( socketpair(AF_UNIX, SOCK_STREAM, 0, d->in) == 0 ) {
+ fcntl(d->in[0], F_SETFD, FD_CLOEXEC);
+ fcntl(d->in[1], F_SETFD, FD_CLOEXEC);
+ }
+ else
+ return 0;
+ }
+
+ if( d->rawStdout ) {
+ if( socketpair(AF_UNIX, SOCK_STREAM, 0, d->out) == 0 ) {
+ fcntl(d->out[0], F_SETFD, FD_CLOEXEC);
+ fcntl(d->out[1], F_SETFD, FD_CLOEXEC);
+ }
+ else {
+ if( d->rawStdin || d->dupStdinFd ) {
+ close(d->in[0]);
+ close(d->in[1]);
+ }
+ return 0;
+ }
+ }
+
+ return 1;
+ }
+ else
+ return 0;
+}
+
+
+void K3bProcess::commClose()
+{
+ if( d->rawStdin ) {
+ close(d->in[1]);
+ d->in[1] = -1;
+ }
+ if( d->rawStdout ) {
+ close(d->out[0]);
+ d->out[0] = -1;
+ }
+
+ KProcess::commClose();
+}
+
+
+int K3bProcess::commSetupDoneP()
+{
+ int ok = KProcess::commSetupDoneP();
+
+ if( d->rawStdin )
+ close(d->in[0]);
+ if( d->rawStdout )
+ close(d->out[1]);
+
+ d->in[0] = d->out[1] = -1;
+
+ return ok;
+}
+
+
+int K3bProcess::commSetupDoneC()
+{
+ int ok = KProcess::commSetupDoneC();
+
+ if( d->dupStdoutFd != -1 ) {
+ //
+ // make STDOUT_FILENO a duplicate of d->dupStdoutFd such that writes to STDOUT_FILENO are "redirected"
+ // to d->dupStdoutFd
+ //
+ if( ::dup2( d->dupStdoutFd, STDOUT_FILENO ) < 0 ) {
+ kdDebug() << "(K3bProcess) Error while dup( " << d->dupStdoutFd << ", " << STDOUT_FILENO << endl;
+ ok = 0;
+ }
+ }
+ else if( d->rawStdout ) {
+ if( ::dup2( d->out[1], STDOUT_FILENO ) < 0 ) {
+ kdDebug() << "(K3bProcess) Error while dup( " << d->out[1] << ", " << STDOUT_FILENO << endl;
+ ok = 0;
+ }
+ }
+
+ if( d->dupStdinFd != -1 ) {
+ if( ::dup2( d->dupStdinFd, STDIN_FILENO ) < 0 ) {
+ kdDebug() << "(K3bProcess) Error while dup( " << d->dupStdinFd << ", " << STDIN_FILENO << endl;
+ ok = 0;
+ }
+ }
+ else if( d->rawStdin ) {
+ if( ::dup2( d->in[0], STDIN_FILENO ) < 0 ) {
+ kdDebug() << "(K3bProcess) Error while dup( " << d->in[0] << ", " << STDIN_FILENO << endl;
+ ok = 0;
+ }
+ }
+
+ return ok;
+}
+
+
+
+int K3bProcess::stdinFd() const
+{
+ if( d->rawStdin )
+ return d->in[1];
+ else if( d->dupStdinFd != -1 )
+ return d->dupStdinFd;
+ else
+ return -1;
+}
+
+int K3bProcess::stdoutFd() const
+{
+ if( d->rawStdout )
+ return d->out[0];
+ else if( d->dupStdoutFd != -1 )
+ return d->dupStdoutFd;
+ else
+ return -1;
+}
+
+
+void K3bProcess::dupStdout( int fd )
+{
+ writeToFd( fd );
+}
+
+void K3bProcess::dupStdin( int fd )
+{
+ readFromFd( fd );
+}
+
+
+void K3bProcess::writeToFd( int fd )
+{
+ d->dupStdoutFd = fd;
+ if( fd != -1 )
+ d->rawStdout = false;
+}
+
+void K3bProcess::readFromFd( int fd )
+{
+ d->dupStdinFd = fd;
+ if( fd != -1 )
+ d->rawStdin = false;
+}
+
+
+void K3bProcess::setRawStdin(bool b)
+{
+ if( b ) {
+ d->rawStdin = true;
+ d->dupStdinFd = -1;
+ }
+ else
+ d->rawStdin = false;
+}
+
+
+void K3bProcess::setRawStdout(bool b)
+{
+ if( b ) {
+ d->rawStdout = true;
+ d->dupStdoutFd = -1;
+ }
+ else
+ d->rawStdout = false;
+}
+
+
+void K3bProcess::setSuppressEmptyLines( bool b )
+{
+ d->suppressEmptyLines = b;
+}
+
+
+bool K3bProcess::closeStdin()
+{
+ if( d->rawStdin ) {
+ close(d->in[1]);
+ d->in[1] = -1;
+ return true;
+ }
+ else
+ return KProcess::closeStdin();
+}
+
+
+bool K3bProcess::closeStdout()
+{
+ if( d->rawStdout ) {
+ close(d->out[0]);
+ d->out[0] = -1;
+ return true;
+ }
+ else
+ return KProcess::closeStdout();
+}
+
+
+K3bProcessOutputCollector::K3bProcessOutputCollector( KProcess* p )
+ : m_process(0)
+{
+ setProcess( p );
+}
+
+void K3bProcessOutputCollector::setProcess( KProcess* p )
+{
+ if( m_process )
+ m_process->disconnect( this );
+
+ m_process = p;
+ if( p ) {
+ connect( p, SIGNAL(receivedStdout(KProcess*, char*, int)),
+ this, SLOT(slotGatherStdout(KProcess*, char*, int)) );
+ connect( p, SIGNAL(receivedStderr(KProcess*, char*, int)),
+ this, SLOT(slotGatherStderr(KProcess*, char*, int)) );
+ }
+
+ m_gatheredOutput.truncate( 0 );
+ m_stderrOutput.truncate( 0 );
+ m_stdoutOutput.truncate( 0 );
+}
+
+void K3bProcessOutputCollector::slotGatherStderr( KProcess*, char* data, int len )
+{
+ m_gatheredOutput.append( QString::fromLocal8Bit( data, len ) );
+ m_stderrOutput.append( QString::fromLocal8Bit( data, len ) );
+}
+
+void K3bProcessOutputCollector::slotGatherStdout( KProcess*, char* data, int len )
+{
+ m_gatheredOutput.append( QString::fromLocal8Bit( data, len ) );
+ m_stdoutOutput.append( QString::fromLocal8Bit( data, len ) );
+}
+
+
+#include "k3bprocess.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bprocess.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bprocess.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bprocess.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,204 @@
+/*
+ *
+ * $Id: k3bprocess.h 621644 2007-01-09 12:53:09Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef K3B_PROCESS_H
+#define K3B_PROCESS_H
+
+
+#include <kprocess.h>
+#include <qstring.h>
+#include "k3b_export.h"
+
+class K3bExternalBin;
+
+
+/**
+ * This is an enhanced KProcess.
+ * It splits the stderr output to lines making sure the client gets every line as it
+ * was written by the process.
+ * Aditionally one may set raw stdout and stdin handling using the stdin() and stdout() methods
+ * to get the process' file descriptors.
+ * Last but not least K3bProcess is able to duplicate stdout making it possible to connect two
+ * K3bProcesses like used in K3bDataJob to duplicate mkisofs' stdout to the stdin of the writer
+ * (cdrecord or cdrdao)
+ */
+class LIBK3B_EXPORT K3bProcess : public KProcess
+{
+ Q_OBJECT
+
+ public:
+ class OutputCollector;
+
+ public:
+ K3bProcess();
+ ~K3bProcess();
+
+ /**
+ * In the future this might also set the nice value
+ */
+ K3bProcess& operator<<( const K3bExternalBin* );
+
+ K3bProcess& operator<<( const QString& arg );
+ K3bProcess& operator<<( const char* arg );
+ K3bProcess& operator<<( const QCString& arg );
+ K3bProcess& operator<<( const QStringList& args );
+
+ bool start( RunMode run = NotifyOnExit, Communication com = NoCommunication );
+
+ /**
+ * get stdin file descriptor
+ * Only makes sense while process is running.
+ *
+ * Only use with setRawStdin
+ */
+ int stdinFd() const;
+
+ /**
+ * get stdout file descriptor
+ * Only makes sense while process is running.
+ *
+ * Only use with setRawStdout
+ */
+ int stdoutFd() const;
+
+ /**
+ * @deprecated use writeToFd
+ */
+ void dupStdout( int fd );
+
+ /**
+ * @deprecated use readFromFd
+ */
+ void dupStdin( int fd );
+
+ /**
+ * Make the process write to @fd instead of Stdout.
+ * This means you won't get any stdoutReady() or receivedStdout()
+ * signals anymore.
+ *
+ * Only use this before starting the process.
+ */
+ void writeToFd( int fd );
+
+ /**
+ * Make the process read from @fd instead of Stdin.
+ * This means you won't get any wroteStdin()
+ * signals anymore.
+ *
+ * Only use this before starting the process.
+ */
+ void readFromFd( int fd );
+
+ /**
+ * If set true the process' stdin fd will be available
+ * through @stdinFd.
+ * Be aware that you will not get any wroteStdin signals
+ * anymore.
+ *
+ * Only use this before starting the process.
+ */
+ void setRawStdin(bool b);
+
+ /**
+ * If set true the process' stdout fd will be available
+ * through @stdoutFd.
+ * Be aware that you will not get any stdoutReady or receivedStdout
+ * signals anymore.
+ *
+ * Only use this before starting the process.
+ */
+ void setRawStdout(bool b);
+
+ public slots:
+ void setSplitStdout( bool b ) { m_bSplitStdout = b; }
+
+ /**
+ * default is true
+ */
+ void setSuppressEmptyLines( bool b );
+
+ bool closeStdin();
+ bool closeStdout();
+
+ private slots:
+ void slotSplitStderr( KProcess*, char*, int );
+ void slotSplitStdout( KProcess*, char*, int );
+
+ signals:
+ void stderrLine( const QString& line );
+ void stdoutLine( const QString& line );
+
+ /**
+ * Gets emitted if raw stdout mode has been requested
+ * The data has to be read from @p fd.
+ */
+ void stdoutReady( int fd );
+
+ protected:
+ /**
+ * reimplemeted from KProcess
+ */
+ int commSetupDoneP();
+
+ /**
+ * reimplemeted from KProcess
+ */
+ int commSetupDoneC();
+
+ /**
+ * reimplemeted from KProcess
+ */
+ int setupCommunication( Communication comm );
+
+ /**
+ * reimplemeted from KProcess
+ */
+ void commClose();
+
+ private:
+ static QStringList splitOutput( char*, int, QString&, bool );
+
+ class Data;
+ Data* d;
+
+ bool m_bSplitStdout;
+};
+
+class LIBK3B_EXPORT K3bProcessOutputCollector: public QObject
+{
+ Q_OBJECT
+
+ public:
+ K3bProcessOutputCollector( KProcess* );
+ void setProcess( KProcess* );
+
+ const QString& output() const { return m_gatheredOutput; }
+ const QString& stderrOutput() const { return m_stderrOutput; }
+ const QString& stdoutOutput() const { return m_stdoutOutput; }
+
+ private slots:
+ void slotGatherStderr( KProcess*, char*, int );
+ void slotGatherStdout( KProcess*, char*, int );
+
+ private:
+ QString m_gatheredOutput;
+ QString m_stderrOutput;
+ QString m_stdoutOutput;
+ KProcess* m_process;
+};
+
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bprogressinfoevent.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bprogressinfoevent.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bprogressinfoevent.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,85 @@
+/*
+ *
+ * $Id: k3bprogressinfoevent.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef K3B_PROGRESS_INFO_EVENT_H
+#define K3B_PROGRESS_INFO_EVENT_H
+
+#include <qevent.h>
+#include <qstring.h>
+
+
+/**
+ * Custom event class for posting events corresponding to the
+ * K3bJob signals. This is useful for a threaded job since
+ * in that case it's not possible to emit signals that directly
+ * change the GUI (see QThread docu).
+ */
+class K3bProgressInfoEvent : public QCustomEvent
+{
+ public:
+ K3bProgressInfoEvent( int type )
+ : QCustomEvent( type ),
+ m_type(type)
+ {}
+
+ K3bProgressInfoEvent( int type, const QString& v1, const QString& v2 = QString::null,
+ int value1 = 0, int value2 = 0 )
+ : QCustomEvent( type ),
+ m_type( type),
+ m_firstValue(value1),
+ m_secondValue(value2),
+ m_firstString(v1),
+ m_secondString(v2)
+ {}
+
+ K3bProgressInfoEvent( int type, int value1, int value2 = 0 )
+ : QCustomEvent( type ),
+ m_type( type),
+ m_firstValue(value1),
+ m_secondValue(value2)
+ {}
+
+ int type() const { return m_type; }
+ const QString& firstString() const { return m_firstString; }
+ const QString& secondString() const { return m_secondString; }
+ int firstValue() const { return m_firstValue; }
+ int secondValue() const { return m_secondValue; }
+
+ enum K3bProgressInfoEventType {
+ Progress = QEvent::User + 1,
+ SubProgress,
+ ProcessedSize,
+ ProcessedSubSize,
+ InfoMessage,
+ Started,
+ Canceled,
+ Finished,
+ NewTask,
+ NewSubTask,
+ DebuggingOutput,
+ BufferStatus,
+ WriteSpeed,
+ NextTrack
+ };
+
+ private:
+ int m_type;
+ int m_firstValue;
+ int m_secondValue;
+ QString m_firstString;
+ QString m_secondString;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bsimplejobhandler.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bsimplejobhandler.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bsimplejobhandler.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,62 @@
+/*
+ *
+ * $Id: sourceheader 511311 2006-02-19 14:51:05Z trueg $
+ * Copyright (C) 2006 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bsimplejobhandler.h"
+
+
+K3bSimpleJobHandler::K3bSimpleJobHandler( QObject* parent )
+ : QObject( parent ),
+ K3bJobHandler()
+{
+}
+
+K3bSimpleJobHandler::~K3bSimpleJobHandler()
+{
+}
+
+int K3bSimpleJobHandler::waitForMedia( K3bDevice::Device* dev,
+ int mediaState,
+ int mediaType,
+ const QString& message )
+{
+ Q_UNUSED( dev );
+ Q_UNUSED( mediaState );
+ Q_UNUSED( mediaType );
+ Q_UNUSED( message );
+
+ return 0;
+}
+
+bool K3bSimpleJobHandler::questionYesNo( const QString& text,
+ const QString& caption,
+ const QString& yesText,
+ const QString& noText )
+{
+ Q_UNUSED( text );
+ Q_UNUSED( caption );
+ Q_UNUSED( yesText );
+ Q_UNUSED( noText );
+
+ return true;
+}
+
+void K3bSimpleJobHandler::blockingInformation( const QString& text,
+ const QString& caption )
+{
+ Q_UNUSED( text );
+ Q_UNUSED( caption );
+}
+
+#include "k3bsimplejobhandler.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bsimplejobhandler.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bsimplejobhandler.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bsimplejobhandler.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,61 @@
+/*
+ *
+ * $Id: sourceheader 511311 2006-02-19 14:51:05Z trueg $
+ * Copyright (C) 2006 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_SIMPLE_JOB_HANDLER_H_
+#define _K3B_SIMPLE_JOB_HANDLER_H_
+
+#include <k3b_export.h>
+
+#include <qobject.h>
+#include <k3bjobhandler.h>
+
+
+/**
+ * This is a simplified job handler which just consumes the
+ * job handler calls without doing anything.
+ * Use it for very simple jobs that don't need the job handler
+ * methods.
+ */
+class LIBK3B_EXPORT K3bSimpleJobHandler : public QObject, public K3bJobHandler
+{
+ Q_OBJECT
+
+ public:
+ K3bSimpleJobHandler( QObject* parent = 0 );
+ ~K3bSimpleJobHandler();
+
+ /*
+ * \return 0
+ */
+ int waitForMedia( K3bDevice::Device*,
+ int mediaState = K3bDevice::STATE_EMPTY,
+ int mediaType = K3bDevice::MEDIA_WRITABLE_CD,
+ const QString& message = QString::null );
+ /**
+ * \return true
+ */
+ bool questionYesNo( const QString& text,
+ const QString& caption = QString::null,
+ const QString& yesText = QString::null,
+ const QString& noText = QString::null );
+
+ /**
+ * Does nothing
+ */
+ void blockingInformation( const QString& text,
+ const QString& caption = QString::null );
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bthread.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bthread.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bthread.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,221 @@
+/*
+ *
+ * $Id: k3bthread.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#include "k3bthread.h"
+#include "k3bprogressinfoevent.h"
+#include "k3bdataevent.h"
+
+#include <kdebug.h>
+
+#include <qapplication.h>
+
+
+static QPtrList<K3bThread> s_threads;
+
+
+void K3bThread::waitUntilFinished()
+{
+ QPtrListIterator<K3bThread> it( s_threads );
+ while( it.current() ) {
+ kdDebug() << "Waiting for thread " << it.current() << endl;
+ it.current()->wait();
+ ++it;
+ }
+
+ kdDebug() << "Thread waiting done." << endl;
+}
+
+
+class K3bThread::Private
+{
+public:
+ Private()
+ : eventHandler( 0 ) {
+ }
+
+ QObject* eventHandler;
+};
+
+
+K3bThread::K3bThread( QObject* eventHandler )
+ : QThread()
+{
+ d = new Private;
+ d->eventHandler = eventHandler;
+
+ s_threads.append(this);
+}
+
+
+K3bThread::K3bThread( unsigned int stackSize, QObject* eventHandler )
+ : QThread( stackSize )
+{
+ d = new Private;
+ d->eventHandler = eventHandler;
+
+ s_threads.append(this);
+}
+
+
+K3bThread::~K3bThread()
+{
+ s_threads.removeRef(this);
+ delete d;
+}
+
+
+void K3bThread::setProgressInfoEventHandler( QObject* eventHandler )
+{
+ d->eventHandler = eventHandler;
+}
+
+QString K3bThread::jobDescription() const
+{
+ return QString::null;
+}
+
+
+QString K3bThread::jobDetails() const
+{
+ return QString::null;
+}
+
+
+void K3bThread::init()
+{
+ // do nothing...
+}
+
+
+void K3bThread::cancel()
+{
+ if( running() ) {
+ terminate();
+ if( d->eventHandler ) {
+ emitCanceled();
+ emitFinished(false);
+ }
+ }
+}
+
+
+void K3bThread::emitInfoMessage( const QString& msg, int type )
+{
+ if( d->eventHandler )
+ QApplication::postEvent( d->eventHandler,
+ new K3bProgressInfoEvent( K3bProgressInfoEvent::InfoMessage, msg, QString::null, type ) );
+ else
+ kdWarning() << "(K3bThread) call to emitInfoMessage() without eventHandler." << endl;
+}
+
+void K3bThread::emitPercent( int p )
+{
+ if( d->eventHandler )
+ QApplication::postEvent( d->eventHandler,
+ new K3bProgressInfoEvent( K3bProgressInfoEvent::Progress, p ) );
+ else
+ kdWarning() << "(K3bThread) call to emitPercent() without eventHandler." << endl;
+}
+
+void K3bThread::emitSubPercent( int p )
+{
+ if( d->eventHandler )
+ QApplication::postEvent( d->eventHandler,
+ new K3bProgressInfoEvent( K3bProgressInfoEvent::SubProgress, p ) );
+ else
+ kdWarning() << "(K3bThread) call to emitSubPercent() without eventHandler." << endl;
+}
+
+void K3bThread::emitStarted()
+{
+ if( d->eventHandler )
+ QApplication::postEvent( d->eventHandler, new K3bProgressInfoEvent( K3bProgressInfoEvent::Started ) );
+ else
+ kdWarning() << "(K3bThread) call to emitStarted() without eventHandler." << endl;
+}
+
+void K3bThread::emitCanceled()
+{
+ if( d->eventHandler )
+ QApplication::postEvent( d->eventHandler, new K3bProgressInfoEvent( K3bProgressInfoEvent::Canceled ) );
+ else
+ kdWarning() << "(K3bThread) call to emitCanceled() without eventHandler." << endl;
+}
+
+void K3bThread::emitFinished( bool success )
+{
+ if( d->eventHandler )
+ QApplication::postEvent( d->eventHandler, new K3bProgressInfoEvent( K3bProgressInfoEvent::Finished, success ) );
+ else
+ kdWarning() << "(K3bThread) call to emitFinished() without eventHandler." << endl;
+}
+
+void K3bThread::emitProcessedSize( int p, int size )
+{
+ if( d->eventHandler )
+ QApplication::postEvent( d->eventHandler, new K3bProgressInfoEvent( K3bProgressInfoEvent::ProcessedSize, p, size ) );
+ else
+ kdWarning() << "(K3bThread) call to emitProcessedSize() without eventHandler." << endl;
+}
+
+void K3bThread::emitProcessedSubSize( int p, int size )
+{
+ if( d->eventHandler )
+ QApplication::postEvent( d->eventHandler, new K3bProgressInfoEvent( K3bProgressInfoEvent::ProcessedSubSize, p, size ) );
+ else
+ kdWarning() << "(K3bThread) call to emitProcessedSubSize() without eventHandler." << endl;
+}
+
+void K3bThread::emitNewTask( const QString& job )
+{
+ if( d->eventHandler )
+ QApplication::postEvent( d->eventHandler, new K3bProgressInfoEvent( K3bProgressInfoEvent::NewTask, job ) );
+ else
+ kdWarning() << "(K3bThread) call to emitNewTask() without eventHandler." << endl;
+}
+
+void K3bThread::emitNewSubTask( const QString& job )
+{
+ if( d->eventHandler )
+ QApplication::postEvent( d->eventHandler, new K3bProgressInfoEvent( K3bProgressInfoEvent::NewSubTask, job ) );
+ else
+ kdWarning() << "(K3bThread) call to emitNewSubTask() without eventHandler." << endl;
+}
+
+void K3bThread::emitDebuggingOutput(const QString& group, const QString& text)
+{
+ if( d->eventHandler )
+ QApplication::postEvent( d->eventHandler, new K3bProgressInfoEvent( K3bProgressInfoEvent::DebuggingOutput, group, text ) );
+ else
+ kdWarning() << "(K3bThread) call to emitDebuggingOutput() without eventHandler." << endl;
+}
+
+void K3bThread::emitData( const char* data, int len )
+{
+ if( d->eventHandler )
+ QApplication::postEvent( d->eventHandler, new K3bDataEvent( data, len ) );
+ else
+ kdWarning() << "(K3bThread) call to emitData() without eventHandler." << endl;
+}
+
+void K3bThread::emitNextTrack( int t, int n )
+{
+ if( d->eventHandler )
+ QApplication::postEvent( d->eventHandler, new K3bProgressInfoEvent( K3bProgressInfoEvent::NextTrack, t, n ) );
+ else
+ kdWarning() << "(K3bThread) call to emitNextTrack() without eventHandler." << endl;
+}
+
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bthread.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bthread.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bthread.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,95 @@
+/*
+ *
+ * $Id: k3bthread.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef _K3B_THREAD_H_
+#define _K3B_THREAD_H_
+
+#include <qthread.h>
+#include "k3b_export.h"
+
+class QObject;
+
+/**
+ * The threaded couterpart to K3bJob
+ * instead of emitting the information signals
+ * one has to use the emitXXX methods which will post
+ * K3bProgressInfoEvents to the eventhandler.
+ *
+ * K3bThreadJob can be used to automatically wrap the thread in a K3bJob.
+ *
+ * As in K3bJob it is important to call emitStarted and emitFinished.
+ *
+ * See K3bThreadJob for more information.
+ */
+class LIBK3B_EXPORT K3bThread : public QThread
+{
+ public:
+ K3bThread( QObject* eventHandler = 0 );
+ K3bThread( unsigned int stackSize, QObject* eventHandler = 0 );
+ virtual ~K3bThread();
+
+ void setProgressInfoEventHandler( QObject* eventHandler );
+
+ /**
+ * Initialize the thread before starting it in the GUi thread.
+ * K3bThreadJob automatically calls this.
+ *
+ * The default implementation does nothing.
+ */
+ virtual void init();
+
+ /**
+ * to provide the same api like K3bJob
+ * the default implementation calls terminate and
+ * emitCancled() and emitFinished(false)
+ */
+ virtual void cancel();
+
+ virtual QString jobDescription() const;
+ virtual QString jobDetails() const;
+
+ /**
+ * waits until all running K3bThread have finished.
+ * This is used by K3bApplication.
+ */
+ static void waitUntilFinished();
+
+ protected:
+ virtual void run() = 0;
+
+ /**
+ * uses the K3bJob::MessageType enum
+ */
+ void emitInfoMessage( const QString& msg, int type );
+ void emitPercent( int p );
+ void emitSubPercent( int p );
+ void emitStarted();
+ void emitCanceled();
+ void emitFinished( bool success );
+ void emitProcessedSize( int processed, int size );
+ void emitProcessedSubSize( int processed, int size );
+ void emitNewTask( const QString& job );
+ void emitNewSubTask( const QString& job );
+ void emitDebuggingOutput(const QString&, const QString&);
+ void emitData( const char* data, int len );
+ void emitNextTrack( int track, int trackNum );
+
+ private:
+ class Private;
+ Private* d;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bthreadjob.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bthreadjob.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bthreadjob.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,161 @@
+/*
+ *
+ * $Id: k3bthreadjob.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bthreadjob.h"
+#include "k3bthread.h"
+#include "k3bprogressinfoevent.h"
+#include "k3bdataevent.h"
+
+#include <kdebug.h>
+#include <kapplication.h>
+
+
+
+K3bThreadJob::K3bThreadJob( K3bJobHandler* jh, QObject* parent, const char* name )
+ : K3bJob( jh, parent, name ),
+ m_running(false)
+{
+}
+
+
+K3bThreadJob::K3bThreadJob( K3bThread* thread, K3bJobHandler* jh, QObject* parent, const char* name )
+ : K3bJob( jh, parent, name ),
+ m_running(false)
+{
+ setThread(thread);
+}
+
+
+K3bThreadJob::~K3bThreadJob()
+{
+}
+
+
+QString K3bThreadJob::jobDescription() const
+{
+ if( m_thread )
+ return m_thread->jobDescription();
+ else
+ return QString::null;
+}
+
+
+QString K3bThreadJob::jobDetails() const
+{
+ if( m_thread )
+ return m_thread->jobDetails();
+ else
+ return QString::null;
+}
+
+
+void K3bThreadJob::setThread( K3bThread* t )
+{
+ m_thread = t;
+ m_thread->setProgressInfoEventHandler(this);
+}
+
+
+void K3bThreadJob::start()
+{
+ if( m_thread ) {
+ if( !m_running ) {
+ m_thread->setProgressInfoEventHandler(this);
+ m_running = true;
+ m_thread->init();
+ m_thread->start();
+ }
+ else
+ kdDebug() << "(K3bThreadJob) thread not finished yet." << endl;
+ }
+ else {
+ kdError() << "(K3bThreadJob) no job set." << endl;
+ jobFinished(false);
+ }
+}
+
+
+void K3bThreadJob::cancel()
+{
+ m_thread->cancel();
+ // wait for the thread to finish
+ // m_thread->wait();
+}
+
+
+void K3bThreadJob::cleanupJob( bool success )
+{
+ Q_UNUSED( success );
+}
+
+
+void K3bThreadJob::customEvent( QCustomEvent* e )
+{
+ if( K3bDataEvent* de = dynamic_cast<K3bDataEvent*>(e) ) {
+ emit data( de->data(), de->length() );
+ }
+ else {
+ K3bProgressInfoEvent* be = static_cast<K3bProgressInfoEvent*>(e);
+ switch( be->type() ) {
+ case K3bProgressInfoEvent::Progress:
+ emit percent( be->firstValue() );
+ break;
+ case K3bProgressInfoEvent::SubProgress:
+ emit subPercent( be->firstValue() );
+ break;
+ case K3bProgressInfoEvent::ProcessedSize:
+ emit processedSize( be->firstValue(), be->secondValue() );
+ break;
+ case K3bProgressInfoEvent::ProcessedSubSize:
+ emit processedSubSize( be->firstValue(), be->secondValue() );
+ break;
+ case K3bProgressInfoEvent::InfoMessage:
+ emit infoMessage( be->firstString(), be->firstValue() );
+ break;
+ case K3bProgressInfoEvent::Started:
+ jobStarted();
+ break;
+ case K3bProgressInfoEvent::Canceled:
+ emit canceled();
+ break;
+ case K3bProgressInfoEvent::Finished:
+ // we wait until the thred really finished
+ // although this may be dangerous if some thread
+ // emits the finished signal although it has not finished yet
+ // but makes a lot stuff easier.
+ kdDebug() << "(K3bThreadJob) waiting for the thread to finish." << endl;
+ m_thread->wait();
+ kdDebug() << "(K3bThreadJob) thread finished." << endl;
+ cleanupJob( be->firstValue() );
+ m_running = false;
+ jobFinished( be->firstValue() );
+ break;
+ case K3bProgressInfoEvent::NewTask:
+ emit newTask( be->firstString() );
+ break;
+ case K3bProgressInfoEvent::NewSubTask:
+ emit newSubTask( be->firstString() );
+ break;
+ case K3bProgressInfoEvent::DebuggingOutput:
+ emit debuggingOutput( be->firstString(), be->secondString() );
+ break;
+ case K3bProgressInfoEvent::NextTrack:
+ emit nextTrack( be->firstValue(), be->secondValue() );
+ break;
+ }
+ }
+}
+
+#include "k3bthreadjob.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bthreadjob.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bthreadjob.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bthreadjob.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,89 @@
+/*
+ *
+ * $Id: k3bthreadjob.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef _K3B_THREAD_JOB_H_
+#define _K3B_THREAD_JOB_H_
+
+#include "k3bjob.h"
+#include "k3b_export.h"
+class QCustomEvent;
+class K3bThread;
+
+
+/**
+ * A Wrapper to use a K3bThread just like a K3bJob.
+ * Usage:
+ * <pre>
+ * K3bThread* thread = new MySuperThread(...);
+ * K3bThreadJob* job = new K3bThreadJob( thread, ... );
+ * K3bBurnProgressDialog d;
+ * d.setJob(job);
+ * job->start();
+ * d.exec();
+ * delete job;
+ * </pre>
+ * Be aware that K3bThreadJob'd destructor does NOT delete the thread.
+ */
+class LIBK3B_EXPORT K3bThreadJob : public K3bJob
+{
+ Q_OBJECT
+
+ public:
+ K3bThreadJob( K3bJobHandler*, QObject* parent = 0, const char* name = 0 );
+ K3bThreadJob( K3bThread*, K3bJobHandler*, QObject* parent = 0, const char* name = 0 );
+ virtual ~K3bThreadJob();
+
+ void setThread( K3bThread* t );
+ K3bThread* thread() const { return m_thread; }
+
+ /**
+ * \reimplemented from K3bJob
+ *
+ * \return true if the job has been started and has not yet
+ * emitted the finished signal
+ */
+ virtual bool active() const { return m_running; }
+
+ virtual QString jobDescription() const;
+ virtual QString jobDetails() const;
+
+ public slots:
+ virtual void start();
+ virtual void cancel();
+
+ protected:
+ /**
+ * converts K3bThread events to K3bJob signals
+ */
+ virtual void customEvent( QCustomEvent* );
+
+ /**
+ * Reimplement this method to do some housekeeping once
+ * the thread has finished.
+ *
+ * The default implementation does nothing.
+ *
+ * \param success True if the thread finished successfully
+ */
+ virtual void cleanupJob( bool success );
+
+ private:
+ K3bThread* m_thread;
+ bool m_running;
+};
+
+#endif
+
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bversion.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bversion.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bversion.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,318 @@
+/*
+ *
+ * $Id: k3bversion.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bversion.h"
+
+#include <qregexp.h>
+#include <kdebug.h>
+
+
+K3bVersion::K3bVersion()
+ : m_majorVersion( -1 ),
+ m_minorVersion( -1 ),
+ m_patchLevel( -1 )
+{
+}
+
+K3bVersion::K3bVersion( const K3bVersion& v )
+ : m_versionString( v.versionString() ),
+ m_majorVersion( v.majorVersion() ),
+ m_minorVersion( v.minorVersion() ),
+ m_patchLevel( v.patchLevel() ),
+ m_suffix( v.suffix() )
+{
+}
+
+K3bVersion::K3bVersion( const QString& version )
+{
+ setVersion( version );
+}
+
+K3bVersion::K3bVersion( int majorVersion,
+ int minorVersion,
+ int patchlevel,
+ const QString& suffix )
+{
+ setVersion( majorVersion, minorVersion, patchlevel, suffix );
+}
+
+void K3bVersion::setVersion( const QString& v )
+{
+ QString suffix;
+ splitVersionString( v.stripWhiteSpace(), m_majorVersion, suffix );
+ if( m_majorVersion >= 0 ) {
+ if( suffix.startsWith(".") ) {
+ suffix = suffix.mid( 1 );
+ splitVersionString( suffix, m_minorVersion, suffix );
+ if( m_minorVersion < 0 ) {
+ kdDebug() << "(K3bVersion) suffix must not start with a dot!" << endl;
+ m_majorVersion = -1;
+ m_minorVersion = -1;
+ m_patchLevel = -1;
+ m_suffix = "";
+ }
+ else {
+ if( suffix.startsWith(".") ) {
+ suffix = suffix.mid( 1 );
+ splitVersionString( suffix, m_patchLevel, suffix );
+ if( m_patchLevel < 0 ) {
+ kdDebug() << "(K3bVersion) suffix must not start with a dot!" << endl;
+ m_majorVersion = -1;
+ m_minorVersion = -1;
+ m_patchLevel = -1;
+ m_suffix = "";
+ }
+ else {
+ m_suffix = suffix;
+ }
+ }
+ else {
+ m_patchLevel = -1;
+ m_suffix = suffix;
+ }
+ }
+ }
+ else {
+ m_minorVersion = -1;
+ m_patchLevel = -1;
+ m_suffix = suffix;
+ }
+ }
+
+ m_versionString = createVersionString( m_majorVersion, m_minorVersion, m_patchLevel, m_suffix );
+}
+
+
+// splits the leading number from s and puts it in num
+// the dot is removed and the rest put in suffix
+// if s does not start with a digit or the first non-digit char is not a dot
+// suffix = s and num = -1 is returned
+void K3bVersion::splitVersionString( const QString& s, int& num, QString& suffix )
+{
+ int pos = s.find( QRegExp("\\D") );
+ if( pos < 0 ) {
+ num = s.toInt();
+ suffix = "";
+ }
+ else if( pos == 0 ) {
+ num = -1;
+ suffix = s;
+ }
+ else {
+ num = s.left( pos ).toInt();
+ suffix = s.mid( pos );
+ }
+}
+
+
+bool K3bVersion::isValid() const
+{
+ return (m_majorVersion >= 0);
+}
+
+
+void K3bVersion::setVersion( int majorVersion,
+ int minorVersion,
+ int patchlevel,
+ const QString& suffix )
+{
+ m_majorVersion = majorVersion;
+ m_minorVersion = minorVersion;
+ m_patchLevel = patchlevel;
+ m_suffix = suffix;
+ m_versionString = createVersionString( majorVersion, minorVersion, patchlevel, suffix );
+}
+
+K3bVersion& K3bVersion::operator=( const QString& v )
+{
+ setVersion( v );
+ return *this;
+}
+
+K3bVersion K3bVersion::simplify() const
+{
+ K3bVersion v( *this );
+ v.m_suffix.truncate(0);
+ return v;
+}
+
+QString K3bVersion::createVersionString( int majorVersion,
+ int minorVersion,
+ int patchlevel,
+ const QString& suffix )
+{
+ if( majorVersion >= 0 ) {
+ QString s = QString::number(majorVersion);
+
+ if( minorVersion > -1 ) {
+ s.append( QString(".%1").arg(minorVersion) );
+ if( patchlevel > -1 )
+ s.append( QString(".%1").arg(patchlevel) );
+ }
+
+ if( !suffix.isNull() )
+ s.append( suffix );
+
+ return s;
+ }
+ else
+ return "";
+}
+
+
+int K3bVersion::compareSuffix( const QString& suffix1, const QString& suffix2 )
+{
+ static QRegExp rcRx( "rc(\\d+)" );
+ static QRegExp preRx( "pre(\\d+)" );
+ static QRegExp betaRx( "beta(\\d+)" );
+ static QRegExp alphaRx( "a(?:lpha)?(\\d+)" );
+
+ // first we check if one of the suffixes (or both are empty) becasue that case if simple
+ if( suffix1.isEmpty() ) {
+ if( suffix2.isEmpty() )
+ return 0;
+ else
+ return 1; // empty greater than the non-empty (should we treat something like 1.0a as greater than 1.0?)
+ }
+ else if( suffix2.isEmpty() )
+ return -1;
+
+ // now search for our special suffixes
+ if( rcRx.exactMatch( suffix1 ) ) {
+ int v1 = rcRx.cap(1).toInt();
+
+ if( rcRx.exactMatch( suffix2 ) ) {
+ int v2 = rcRx.cap(1).toInt();
+ return ( v1 == v2 ? 0 : ( v1 < v2 ? -1 : 1 ) );
+ }
+ else if( preRx.exactMatch( suffix2 ) ||
+ betaRx.exactMatch( suffix2 ) ||
+ alphaRx.exactMatch( suffix2 ) )
+ return 1; // rc > than all the others
+ else
+ return QString::compare( suffix1, suffix2 );
+ }
+
+ else if( preRx.exactMatch( suffix1 ) ) {
+ int v1 = preRx.cap(1).toInt();
+
+ if( rcRx.exactMatch( suffix2 ) ) {
+ return -1; // pre is less than rc
+ }
+ else if( preRx.exactMatch( suffix2 ) ) {
+ int v2 = preRx.cap(1).toInt();
+ return ( v1 == v2 ? 0 : ( v1 < v2 ? -1 : 1 ) );
+ }
+ else if( betaRx.exactMatch( suffix2 ) ||
+ alphaRx.exactMatch( suffix2 ) )
+ return 1; // pre is greater than beta or alpha
+ else
+ return QString::compare( suffix1, suffix2 );
+ }
+
+ else if( betaRx.exactMatch( suffix1 ) ) {
+ int v1 = betaRx.cap(1).toInt();
+
+ if( rcRx.exactMatch( suffix2 ) ||
+ preRx.exactMatch( suffix2 ) )
+ return -1; // beta is less than rc or pre
+ else if( betaRx.exactMatch( suffix2 ) ) {
+ int v2 = betaRx.cap(1).toInt();
+ return ( v1 == v2 ? 0 : ( v1 < v2 ? -1 : 1 ) );
+ }
+ else if( alphaRx.exactMatch( suffix2 ) )
+ return 1; // beta is greater then alpha
+ else
+ return QString::compare( suffix1, suffix2 );
+ }
+
+ else if( alphaRx.exactMatch( suffix1 ) ) {
+ int v1 = alphaRx.cap(1).toInt();
+
+ if( rcRx.exactMatch( suffix2 ) ||
+ preRx.exactMatch( suffix2 ) ||
+ betaRx.exactMatch( suffix2 ) )
+ return -1; // alpha is less than all the others
+ else if( alphaRx.exactMatch( suffix2 ) ) {
+ int v2 = alphaRx.cap(1).toInt();
+ return ( v1 == v2 ? 0 : ( v1 < v2 ? -1 : 1 ) );
+ }
+ else
+ return QString::compare( suffix1, suffix2 );
+ }
+
+ else
+ return QString::compare( suffix1, suffix2 );
+}
+
+
+bool operator<( const K3bVersion& v1, const K3bVersion& v2 )
+{
+ // both version objects need to be valid
+
+ if( v1.majorVersion() == v2.majorVersion() ) {
+
+ // 1 == 1.0
+ if( ( v1.minorVersion() == v2.minorVersion() )
+ ||
+ ( v1.minorVersion() == -1 && v2.minorVersion() == 0 )
+ ||
+ ( v2.minorVersion() == -1 && v1.minorVersion() == 0 )
+ )
+ {
+ // 1.0 == 1.0.0
+ if( ( v1.patchLevel() == v2.patchLevel() )
+ ||
+ ( v1.patchLevel() == -1 && v2.patchLevel() == 0 )
+ ||
+ ( v2.patchLevel() == -1 && v1.patchLevel() == 0 )
+ )
+ {
+ return K3bVersion::compareSuffix( v1.suffix(), v2.suffix() ) < 0;
+ }
+ else
+ return ( v1.patchLevel() < v2.patchLevel() );
+ }
+ else
+ return ( v1.minorVersion() < v2.minorVersion() );
+ }
+ else
+ return ( v1.majorVersion() < v2.majorVersion() );
+}
+
+bool operator>( const K3bVersion& v1, const K3bVersion& v2 )
+{
+ return operator<( v2, v1 );
+}
+
+
+bool operator==( const K3bVersion& v1, const K3bVersion& v2 )
+{
+ return ( v1.majorVersion() == v2.majorVersion() &&
+ v1.minorVersion() == v2.minorVersion() &&
+ v1.patchLevel() == v2.patchLevel() &&
+ K3bVersion::compareSuffix( v1.suffix(), v2.suffix() ) == 0 );
+}
+
+
+bool operator<=( const K3bVersion& v1, const K3bVersion& v2 )
+{
+ return ( operator<( v1, v2 ) || operator==( v1, v2 ) );
+}
+
+bool operator>=( const K3bVersion& v1, const K3bVersion& v2 )
+{
+ return ( operator>( v1, v2 ) || operator==( v1, v2 ) );
+}
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bversion.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bversion.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/core/k3bversion.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,141 @@
+/*
+ *
+ * $Id: k3bversion.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef _K3B_VERSION_H_
+#define _K3B_VERSION_H_
+
+#include <qstring.h>
+#include "k3b_export.h"
+/**
+ * \brief Representation of a version.
+ *
+ * K3bVersion represents a version consisting of a major version (accessible via majorVersion()),
+ * a minor version (accessible via minorVersion()), a patchLevel (accessible via patchLevel()),
+ * and a suffix (accessible via suffix()).
+ *
+ * The major version is mandatory while all other fields are optional (in case of the minor version
+ * and the patchlevel -1 means that the field is undefined).
+ *
+ * K3bVersion tries to treat version suffixes in an "intelligent" way to properly compare versions
+ * (see compareSuffix() for more details).
+ *
+ * K3bVersion may also be used everywhere a QString is needed as it automatically converts to a
+ * string representation using createVersionString().
+ */
+class LIBK3B_EXPORT K3bVersion
+{
+ public:
+ /**
+ * construct an empty version object
+ * which is invalid
+ * @ see isValid()
+ */
+ K3bVersion();
+
+ /**
+ * copy constructor
+ */
+ K3bVersion( const K3bVersion& );
+
+ /**
+ * this constructor tries to parse the given version string
+ */
+ K3bVersion( const QString& version );
+
+ /**
+ * sets the version and generates a version string from it
+ */
+ K3bVersion( int majorVersion, int minorVersion, int pachlevel = -1, const QString& suffix = QString::null );
+
+ /**
+ * tries to parse the version string
+ * used by the constructor
+ */
+ void setVersion( const QString& );
+
+ bool isValid() const;
+
+ /**
+ * sets the version and generates a version string from it
+ * used by the constructor
+ *
+ * If minorVersion or pachlevel are -1 they will not be used when generating the version string.
+ */
+ void setVersion( int majorVersion, int minorVersion = -1, int patchlevel = -1, const QString& suffix = QString::null );
+
+ const QString& versionString() const { return m_versionString; }
+ int majorVersion() const { return m_majorVersion; }
+ int minorVersion() const { return m_minorVersion; }
+ int patchLevel() const { return m_patchLevel; }
+ const QString& suffix() const { return m_suffix; }
+
+ /**
+ * just to make it possible to use as a QString
+ */
+ operator const QString& () const { return m_versionString; }
+ K3bVersion& operator=( const QString& v );
+
+ /**
+ * \return A new K3bVersion object which equals this one except that the suffix is empty.
+ */
+ K3bVersion simplify() const;
+
+ /**
+ * If minorVersion or pachlevel are -1 they will not be used when generating the version string.
+ * If minorVersion is -1 patchlevel will be ignored.
+ */
+ static QString createVersionString( int majorVersion,
+ int minorVersion = -1,
+ int patchlevel = -1,
+ const QString& suffix = QString::null );
+
+ /**
+ * "Intelligent" comparison of two version suffixes.
+ *
+ * This method checks for the following types of suffixes and treats them in the
+ * following order:
+ *
+ * [empty prefix] > rcX > preX > betaX > alphaX = aX (where X is a number)
+ *
+ * Every other suffixes are compared alphanumerical.
+ * An empty prefix is always considered newer than an unknown non-emtpy suffix (e.g. not one of the above.)
+ *
+ * @return \li -1 if suffix1 is less than suffix2
+ * \li 0 if suffix1 equals suffix2 (be aware that this is not the same as comparing to strings as
+ * alphaX equals aX in this case.)
+ * \li 1 if suffix1 is greater than suffix2
+ */
+ static int compareSuffix( const QString& suffix1, const QString& suffix2 );
+
+ private:
+ static void splitVersionString( const QString& s, int& num, QString& suffix );
+
+ QString m_versionString;
+ int m_majorVersion;
+ int m_minorVersion;
+ int m_patchLevel;
+ QString m_suffix;
+};
+
+
+LIBK3B_EXPORT bool operator<( const K3bVersion& v1, const K3bVersion& v2 );
+LIBK3B_EXPORT bool operator>( const K3bVersion& v1, const K3bVersion& v2 );
+LIBK3B_EXPORT bool operator==( const K3bVersion& v1, const K3bVersion& v2 );
+LIBK3B_EXPORT bool operator<=( const K3bVersion& v1, const K3bVersion& v2 );
+LIBK3B_EXPORT bool operator>=( const K3bVersion& v1, const K3bVersion& v2 );
+
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/dummy.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/dummy.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/dummy.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1 @@
+/* dummy file to have anything around.*/
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/Makefile.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/Makefile.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/Makefile.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,43 @@
+AM_CPPFLAGS = -I$(srcdir)/../core \
+ -I$(srcdir)/../../libk3bdevice \
+ -I$(srcdir)/../../src \
+ -I$(srcdir)/../tools \
+ -I$(srcdir)/../cddb \
+ -I$(srcdir)/../plugin \
+ -I$(srcdir)/../projects \
+ -I$(srcdir)/../videodvd \
+ -I$(srcdir)/../projects/audiocd \
+ $(all_includes)
+
+METASOURCES = AUTO
+
+noinst_LTLIBRARIES = libjobs.la
+
+if include_videodvdrip
+libjobs_la_SOURCES = k3bdatatrackreader.cpp k3breadcdreader.cpp \
+ k3bcdcopyjob.cpp k3bclonejob.cpp k3baudiosessionreadingjob.cpp \
+ k3bdvdcopyjob.cpp k3bvideodvdtitletranscodingjob.cpp k3bvideodvdtitledetectclippingjob.cpp \
+ k3baudiocuefilewritingjob.cpp k3bbinimagewritingjob.cpp \
+ k3biso9660imagewritingjob.cpp \
+ k3bdvdformattingjob.cpp k3bblankingjob.cpp k3bclonetocreader.cpp \
+ k3bverificationjob.cpp
+
+include_HEADERS = k3bcdcopyjob.h k3bdvdcopyjob.h k3bclonejob.h \
+ k3baudiocuefilewritingjob.h k3bbinimagewritingjob.h \
+ k3biso9660imagewritingjob.h k3bdvdformattingjob.h \
+ k3bblankingjob.h k3bvideodvdtitletranscodingjob.h k3bvideodvdtitledetectclippingjob.h \
+ k3bverificationjob.h
+else
+libjobs_la_SOURCES = k3bdatatrackreader.cpp k3breadcdreader.cpp \
+ k3bcdcopyjob.cpp k3bclonejob.cpp k3baudiosessionreadingjob.cpp \
+ k3bdvdcopyjob.cpp \
+ k3baudiocuefilewritingjob.cpp k3bbinimagewritingjob.cpp \
+ k3biso9660imagewritingjob.cpp \
+ k3bdvdformattingjob.cpp k3bblankingjob.cpp k3bclonetocreader.cpp \
+ k3bverificationjob.cpp
+
+include_HEADERS = k3bcdcopyjob.h k3bdvdcopyjob.h k3bclonejob.h \
+ k3baudiocuefilewritingjob.h k3bbinimagewritingjob.h \
+ k3biso9660imagewritingjob.h k3bdvdformattingjob.h \
+ k3bblankingjob.h k3bverificationjob.h
+endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/Makefile.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/Makefile.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/Makefile.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,984 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 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.
+
+ at SET_MAKE@
+
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = libk3b/jobs
+DIST_COMMON = $(am__include_HEADERS_DIST) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+LTLIBRARIES = $(noinst_LTLIBRARIES)
+libjobs_la_LIBADD =
+am__libjobs_la_SOURCES_DIST = k3bdatatrackreader.cpp \
+ k3breadcdreader.cpp k3bcdcopyjob.cpp k3bclonejob.cpp \
+ k3baudiosessionreadingjob.cpp k3bdvdcopyjob.cpp \
+ k3baudiocuefilewritingjob.cpp k3bbinimagewritingjob.cpp \
+ k3biso9660imagewritingjob.cpp k3bdvdformattingjob.cpp \
+ k3bblankingjob.cpp k3bclonetocreader.cpp \
+ k3bverificationjob.cpp k3bvideodvdtitletranscodingjob.cpp \
+ k3bvideodvdtitledetectclippingjob.cpp
+#>- @include_videodvdrip_FALSE at am_libjobs_la_OBJECTS = \
+#>- @include_videodvdrip_FALSE@ k3bdatatrackreader.lo \
+#>- @include_videodvdrip_FALSE@ k3breadcdreader.lo k3bcdcopyjob.lo \
+#>- @include_videodvdrip_FALSE@ k3bclonejob.lo \
+#>- @include_videodvdrip_FALSE@ k3baudiosessionreadingjob.lo \
+#>- @include_videodvdrip_FALSE@ k3bdvdcopyjob.lo \
+#>- @include_videodvdrip_FALSE@ k3baudiocuefilewritingjob.lo \
+#>- @include_videodvdrip_FALSE@ k3bbinimagewritingjob.lo \
+#>- @include_videodvdrip_FALSE@ k3biso9660imagewritingjob.lo \
+#>- @include_videodvdrip_FALSE@ k3bdvdformattingjob.lo \
+#>- @include_videodvdrip_FALSE@ k3bblankingjob.lo \
+#>- @include_videodvdrip_FALSE@ k3bclonetocreader.lo \
+#>- @include_videodvdrip_FALSE@ k3bverificationjob.lo
+#>+ 15
+ at include_videodvdrip_FALSE@am_libjobs_la_final_OBJECTS = lo lo lo lo lo lo @include_videodvdrip_FALSE at am_libjobs_la.all_cpp.lo
+ at include_videodvdrip_FALSE@am_libjobs_la_nofinal_OBJECTS = @include_videodvdrip_FALSE@ k3bdatatrackreader.lo \
+ at include_videodvdrip_FALSE@ k3breadcdreader.lo k3bcdcopyjob.lo \
+ at include_videodvdrip_FALSE@ k3bclonejob.lo \
+ at include_videodvdrip_FALSE@ k3baudiosessionreadingjob.lo \
+ at include_videodvdrip_FALSE@ k3bdvdcopyjob.lo \
+ at include_videodvdrip_FALSE@ k3baudiocuefilewritingjob.lo \
+ at include_videodvdrip_FALSE@ k3bbinimagewritingjob.lo \
+ at include_videodvdrip_FALSE@ k3biso9660imagewritingjob.lo \
+ at include_videodvdrip_FALSE@ k3bdvdformattingjob.lo \
+ at include_videodvdrip_FALSE@ k3bblankingjob.lo \
+ at include_videodvdrip_FALSE@ k3bclonetocreader.lo \
+ at include_videodvdrip_FALSE@ k3bverificationjob.lo
+ at KDE_USE_FINAL_FALSE@@include_videodvdrip_FALSE at am_libjobs_la_OBJECTS = $(@include_videodvdrip_FALSE at am_libjobs_la_nofinal_OBJECTS)
+ at KDE_USE_FINAL_TRUE@@include_videodvdrip_FALSE at am_libjobs_la_OBJECTS = $(@include_videodvdrip_FALSE at am_libjobs_la_final_OBJECTS)
+ at include_videodvdrip_TRUE@am_libjobs_la_OBJECTS = \
+ at include_videodvdrip_TRUE@ k3bdatatrackreader.lo \
+ at include_videodvdrip_TRUE@ k3breadcdreader.lo k3bcdcopyjob.lo \
+ at include_videodvdrip_TRUE@ k3bclonejob.lo \
+ at include_videodvdrip_TRUE@ k3baudiosessionreadingjob.lo \
+ at include_videodvdrip_TRUE@ k3bdvdcopyjob.lo \
+ at include_videodvdrip_TRUE@ k3bvideodvdtitletranscodingjob.lo \
+ at include_videodvdrip_TRUE@ k3bvideodvdtitledetectclippingjob.lo \
+ at include_videodvdrip_TRUE@ k3baudiocuefilewritingjob.lo \
+ at include_videodvdrip_TRUE@ k3bbinimagewritingjob.lo \
+ at include_videodvdrip_TRUE@ k3biso9660imagewritingjob.lo \
+ at include_videodvdrip_TRUE@ k3bdvdformattingjob.lo \
+ at include_videodvdrip_TRUE@ k3bblankingjob.lo \
+ at include_videodvdrip_TRUE@ k3bclonetocreader.lo \
+ at include_videodvdrip_TRUE@ k3bverificationjob.lo
+libjobs_la_OBJECTS = $(am_libjobs_la_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
+am__depfiles_maybe = depfiles
+#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 2
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+#>- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 3
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+CXXLD = $(CXX)
+#>- CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
+#>- $(LDFLAGS) -o $@
+#>+ 3
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+SOURCES = $(libjobs_la_SOURCES)
+DIST_SOURCES = $(am__libjobs_la_SOURCES_DIST)
+am__include_HEADERS_DIST = k3bcdcopyjob.h k3bdvdcopyjob.h \
+ k3bclonejob.h k3baudiocuefilewritingjob.h \
+ k3bbinimagewritingjob.h k3biso9660imagewritingjob.h \
+ k3bdvdformattingjob.h k3bblankingjob.h k3bverificationjob.h \
+ k3bvideodvdtitletranscodingjob.h \
+ k3bvideodvdtitledetectclippingjob.h
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(includedir)"
+includeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(include_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ACLOCAL = @ACLOCAL@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+ARTS_LIBS = @ARTS_LIBS@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAM_LIB = @CAM_LIB@
+CC = @CC@
+CCAS = @CCAS@
+CCASDEPMODE = @CCASDEPMODE@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DBUSQT_INCS = @DBUSQT_INCS@
+DBUSQT_LIBS = @DBUSQT_LIBS@
+DBUS_INCS = @DBUS_INCS@
+DBUS_LIBS = @DBUS_LIBS@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+GREP = @GREP@
+GV_ASM_DEFS = @GV_ASM_DEFS@
+HAL_DBUS_LIBS = @HAL_DBUS_LIBS@
+HAL_INCS = @HAL_INCS@
+HAL_LIBS = @HAL_LIBS@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+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_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSAMPLERATE = @LIBSAMPLERATE@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAD_LIB = @MAD_LIB@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MPC_LIBS = @MPC_LIBS@
+MSGFMT = @MSGFMT@
+MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+RESMGR_LIB = @RESMGR_LIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+TAGLIB_CONFIG = @TAGLIB_CONFIG@
+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@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+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_kcfgdir = @kde_kcfgdir@
+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@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+taglib_includes = @taglib_includes@
+taglib_libs = @taglib_libs@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+AM_CPPFLAGS = -I$(srcdir)/../core \
+ -I$(srcdir)/../../libk3bdevice \
+ -I$(srcdir)/../../src \
+ -I$(srcdir)/../tools \
+ -I$(srcdir)/../cddb \
+ -I$(srcdir)/../plugin \
+ -I$(srcdir)/../projects \
+ -I$(srcdir)/../videodvd \
+ -I$(srcdir)/../projects/audiocd \
+ $(all_includes)
+
+#>- METASOURCES = AUTO
+noinst_LTLIBRARIES = libjobs.la
+ at include_videodvdrip_FALSE@libjobs_la_SOURCES = k3bdatatrackreader.cpp k3breadcdreader.cpp \
+ at include_videodvdrip_FALSE@ k3bcdcopyjob.cpp k3bclonejob.cpp k3baudiosessionreadingjob.cpp \
+ at include_videodvdrip_FALSE@ k3bdvdcopyjob.cpp \
+ at include_videodvdrip_FALSE@ k3baudiocuefilewritingjob.cpp k3bbinimagewritingjob.cpp \
+ at include_videodvdrip_FALSE@ k3biso9660imagewritingjob.cpp \
+ at include_videodvdrip_FALSE@ k3bdvdformattingjob.cpp k3bblankingjob.cpp k3bclonetocreader.cpp \
+ at include_videodvdrip_FALSE@ k3bverificationjob.cpp
+
+ at include_videodvdrip_TRUE@libjobs_la_SOURCES = k3bdatatrackreader.cpp k3breadcdreader.cpp \
+ at include_videodvdrip_TRUE@ k3bcdcopyjob.cpp k3bclonejob.cpp k3baudiosessionreadingjob.cpp \
+ at include_videodvdrip_TRUE@ k3bdvdcopyjob.cpp k3bvideodvdtitletranscodingjob.cpp k3bvideodvdtitledetectclippingjob.cpp \
+ at include_videodvdrip_TRUE@ k3baudiocuefilewritingjob.cpp k3bbinimagewritingjob.cpp \
+ at include_videodvdrip_TRUE@ k3biso9660imagewritingjob.cpp \
+ at include_videodvdrip_TRUE@ k3bdvdformattingjob.cpp k3bblankingjob.cpp k3bclonetocreader.cpp \
+ at include_videodvdrip_TRUE@ k3bverificationjob.cpp
+
+ at include_videodvdrip_FALSE@include_HEADERS = k3bcdcopyjob.h k3bdvdcopyjob.h k3bclonejob.h \
+ at include_videodvdrip_FALSE@ k3baudiocuefilewritingjob.h k3bbinimagewritingjob.h \
+ at include_videodvdrip_FALSE@ k3biso9660imagewritingjob.h k3bdvdformattingjob.h \
+ at include_videodvdrip_FALSE@ k3bblankingjob.h k3bverificationjob.h
+
+ at include_videodvdrip_TRUE@include_HEADERS = k3bcdcopyjob.h k3bdvdcopyjob.h k3bclonejob.h \
+ at include_videodvdrip_TRUE@ k3baudiocuefilewritingjob.h k3bbinimagewritingjob.h \
+ at include_videodvdrip_TRUE@ k3biso9660imagewritingjob.h k3bdvdformattingjob.h \
+ at include_videodvdrip_TRUE@ k3bblankingjob.h k3bvideodvdtitletranscodingjob.h k3bvideodvdtitledetectclippingjob.h \
+ at include_videodvdrip_TRUE@ k3bverificationjob.h
+
+#>- all: all-am
+#>+ 1
+all: docs-am all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/jobs/Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --gnu libk3b/jobs/Makefile
+#>+ 12
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/jobs/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu libk3b/jobs/Makefile
+ cd $(top_srcdir) && perl admin/am_edit libk3b/jobs/Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-noinstLTLIBRARIES:
+ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+ @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" != "$$p" || dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+libjobs.la: $(libjobs_la_OBJECTS) $(libjobs_la_DEPENDENCIES)
+ $(CXXLINK) $(libjobs_la_OBJECTS) $(libjobs_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudiocuefilewritingjob.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudiosessionreadingjob.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bbinimagewritingjob.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bblankingjob.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bcdcopyjob.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bclonejob.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bclonetocreader.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bdatatrackreader.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bdvdcopyjob.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bdvdformattingjob.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3biso9660imagewritingjob.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3breadcdreader.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bverificationjob.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bvideodvdtitledetectclippingjob.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bvideodvdtitletranscodingjob.Plo at am__quote@
+
+.cpp.o:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+ at am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+install-includeHEADERS: $(include_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
+ @list='$(include_HEADERS)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+ $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
+ done
+
+uninstall-includeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(include_HEADERS)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+ rm -f "$(DESTDIR)$(includedir)/$$f"; \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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 "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(includedir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-am
+#>+ 1
+clean: kde-rpo-clean clean-am
+
+#>- clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
+#>- mostlyclean-am
+#>+ 2
+clean-am: clean-metasources clean-bcheck clean-final clean-generic clean-libtool clean-noinstLTLIBRARIES \
+ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-includeHEADERS
+
+install-dvi: install-dvi-am
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-includeHEADERS
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+ clean-libtool clean-noinstLTLIBRARIES ctags distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-includeHEADERS install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags uninstall uninstall-am uninstall-includeHEADERS
+
+# 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:
+
+#>+ 3
+k3bbinimagewritingjob.moc: $(srcdir)/k3bbinimagewritingjob.h
+ $(MOC) $(srcdir)/k3bbinimagewritingjob.h -o k3bbinimagewritingjob.moc
+
+#>+ 2
+mocs: k3bbinimagewritingjob.moc
+
+#>+ 3
+k3breadcdreader.moc: $(srcdir)/k3breadcdreader.h
+ $(MOC) $(srcdir)/k3breadcdreader.h -o k3breadcdreader.moc
+
+#>+ 2
+mocs: k3breadcdreader.moc
+
+#>+ 3
+k3bclonejob.moc: $(srcdir)/k3bclonejob.h
+ $(MOC) $(srcdir)/k3bclonejob.h -o k3bclonejob.moc
+
+#>+ 2
+mocs: k3bclonejob.moc
+
+#>+ 3
+k3bverificationjob.moc: $(srcdir)/k3bverificationjob.h
+ $(MOC) $(srcdir)/k3bverificationjob.h -o k3bverificationjob.moc
+
+#>+ 2
+mocs: k3bverificationjob.moc
+
+#>+ 3
+k3bcdcopyjob.moc: $(srcdir)/k3bcdcopyjob.h
+ $(MOC) $(srcdir)/k3bcdcopyjob.h -o k3bcdcopyjob.moc
+
+#>+ 2
+mocs: k3bcdcopyjob.moc
+
+#>+ 3
+k3bcdda2wavreader.moc: $(srcdir)/k3bcdda2wavreader.h
+ $(MOC) $(srcdir)/k3bcdda2wavreader.h -o k3bcdda2wavreader.moc
+
+#>+ 2
+mocs: k3bcdda2wavreader.moc
+
+#>+ 3
+k3biso9660imagewritingjob.moc: $(srcdir)/k3biso9660imagewritingjob.h
+ $(MOC) $(srcdir)/k3biso9660imagewritingjob.h -o k3biso9660imagewritingjob.moc
+
+#>+ 2
+mocs: k3biso9660imagewritingjob.moc
+
+#>+ 3
+k3bdvdformattingjob.moc: $(srcdir)/k3bdvdformattingjob.h
+ $(MOC) $(srcdir)/k3bdvdformattingjob.h -o k3bdvdformattingjob.moc
+
+#>+ 2
+mocs: k3bdvdformattingjob.moc
+
+#>+ 3
+k3bvideodvdtitletranscodingjob.moc: $(srcdir)/k3bvideodvdtitletranscodingjob.h
+ $(MOC) $(srcdir)/k3bvideodvdtitletranscodingjob.h -o k3bvideodvdtitletranscodingjob.moc
+
+#>+ 2
+mocs: k3bvideodvdtitletranscodingjob.moc
+
+#>+ 3
+k3bvideodvdtitledetectclippingjob.moc: $(srcdir)/k3bvideodvdtitledetectclippingjob.h
+ $(MOC) $(srcdir)/k3bvideodvdtitledetectclippingjob.h -o k3bvideodvdtitledetectclippingjob.moc
+
+#>+ 2
+mocs: k3bvideodvdtitledetectclippingjob.moc
+
+#>+ 3
+k3baudiosessionreadingjob.moc: $(srcdir)/k3baudiosessionreadingjob.h
+ $(MOC) $(srcdir)/k3baudiosessionreadingjob.h -o k3baudiosessionreadingjob.moc
+
+#>+ 2
+mocs: k3baudiosessionreadingjob.moc
+
+#>+ 3
+k3bdvdcopyjob.moc: $(srcdir)/k3bdvdcopyjob.h
+ $(MOC) $(srcdir)/k3bdvdcopyjob.h -o k3bdvdcopyjob.moc
+
+#>+ 2
+mocs: k3bdvdcopyjob.moc
+
+#>+ 3
+k3baudiocuefilewritingjob.moc: $(srcdir)/k3baudiocuefilewritingjob.h
+ $(MOC) $(srcdir)/k3baudiocuefilewritingjob.h -o k3baudiocuefilewritingjob.moc
+
+#>+ 2
+mocs: k3baudiocuefilewritingjob.moc
+
+#>+ 3
+k3bblankingjob.moc: $(srcdir)/k3bblankingjob.h
+ $(MOC) $(srcdir)/k3bblankingjob.h -o k3bblankingjob.moc
+
+#>+ 2
+mocs: k3bblankingjob.moc
+
+#>+ 3
+clean-metasources:
+ -rm -f k3bbinimagewritingjob.moc k3breadcdreader.moc k3bclonejob.moc k3bverificationjob.moc k3bcdcopyjob.moc k3bcdda2wavreader.moc k3biso9660imagewritingjob.moc k3bdvdformattingjob.moc k3bvideodvdtitletranscodingjob.moc k3bvideodvdtitledetectclippingjob.moc k3baudiosessionreadingjob.moc k3bdvdcopyjob.moc k3baudiocuefilewritingjob.moc k3bblankingjob.moc
+
+#>+ 2
+KDE_DIST=k3bdatatrackreader.h k3bcdda2wavreader.h k3bcdda2wavreader.cpp k3breadcdreader.h k3baudiosessionreadingjob.h Makefile.in k3bclonetocreader.h Makefile.am
+
+#>+ 2
+docs-am:
+
+#>+ 15
+force-reedit:
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/jobs/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu libk3b/jobs/Makefile
+ cd $(top_srcdir) && perl admin/am_edit libk3b/jobs/Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-am
+
+bcheck-am:
+ @for i in $(include_HEADERS); do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXXCOMPILE) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 11
+ at include_videodvdrip_FALSE@am_libjobs_la.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/k3bdatatrackreader.cpp $(srcdir)/k3breadcdreader.cpp $(srcdir)/k3bcdcopyjob.cpp $(srcdir)/k3bclonejob.cpp $(srcdir)/k3baudiosessionreadingjob.cpp $(srcdir)/k3bdvdcopyjob.cpp $(srcdir)/k3baudiocuefilewritingjob.cpp $(srcdir)/k3bbinimagewritingjob.cpp $(srcdir)/k3biso9660imagewritingjob.cpp $(srcdir)/k3bdvdformattingjob.cpp $(srcdir)/k3bblankingjob.cpp $(srcdir)/k3bclonetocreader.cpp $(srcdir)/k3bverificationjob.cpp k3bbinimagewritingjob.moc k3breadcdreader.moc k3bclonejob.moc k3bcdcopyjob.moc k3bverificationjob.moc k3biso9660imagewritingjob.moc k3bdvdformattingjob.moc k3bdvdcopyjob.moc k3baudiosessionreadingjob.moc k3baudiocuefilewritingjob.moc k3bblankingjob.moc
+ @echo 'creating @include_videodvdrip_FALSE at am_libjobs_la.all_cpp.cpp ...'; \
+ rm -f @include_videodvdrip_FALSE at am_libjobs_la.all_cpp.files @include_videodvdrip_FALSE at am_libjobs_la.all_cpp.final; \
+ echo "#define KDE_USE_FINAL 1" >> @include_videodvdrip_FALSE at am_libjobs_la.all_cpp.final; \
+ for file in k3bdatatrackreader.cpp k3breadcdreader.cpp k3bcdcopyjob.cpp k3bclonejob.cpp k3baudiosessionreadingjob.cpp k3bdvdcopyjob.cpp k3baudiocuefilewritingjob.cpp k3bbinimagewritingjob.cpp k3biso9660imagewritingjob.cpp k3bdvdformattingjob.cpp k3bblankingjob.cpp k3bclonetocreader.cpp k3bverificationjob.cpp ; do \
+ echo "#include \"$$file\"" >> @include_videodvdrip_FALSE at am_libjobs_la.all_cpp.files; \
+ test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> @include_videodvdrip_FALSE at am_libjobs_la.all_cpp.final; \
+ done; \
+ cat @include_videodvdrip_FALSE at am_libjobs_la.all_cpp.final @include_videodvdrip_FALSE at am_libjobs_la.all_cpp.files > @include_videodvdrip_FALSE at am_libjobs_la.all_cpp.cpp; \
+ rm -f @include_videodvdrip_FALSE at am_libjobs_la.all_cpp.final @include_videodvdrip_FALSE at am_libjobs_la.all_cpp.files
+
+#>+ 3
+clean-final:
+ -rm -f @include_videodvdrip_FALSE at am_libjobs_la.all_cpp.cpp
+
+#>+ 3
+final:
+ $(MAKE) @include_videodvdrip_FALSE at am_libjobs_la_OBJECTS="$(@include_videodvdrip_FALSE at am_libjobs_la_final_OBJECTS)" all-am
+
+#>+ 3
+final-install:
+ $(MAKE) @include_videodvdrip_FALSE at am_libjobs_la_OBJECTS="$(@include_videodvdrip_FALSE at am_libjobs_la_final_OBJECTS)" install-am
+
+#>+ 3
+no-final:
+ $(MAKE) @include_videodvdrip_FALSE at am_libjobs_la_OBJECTS="$(@include_videodvdrip_FALSE at am_libjobs_la_nofinal_OBJECTS)" all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) @include_videodvdrip_FALSE at am_libjobs_la_OBJECTS="$(@include_videodvdrip_FALSE at am_libjobs_la_nofinal_OBJECTS)" install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 31
+k3bcdda2wavreader.lo: k3bcdda2wavreader.moc
+k3baudiocuefilewritingjob.o: k3baudiocuefilewritingjob.moc
+k3baudiosessionreadingjob.o: k3baudiosessionreadingjob.moc
+k3baudiocuefilewritingjob.lo: k3baudiocuefilewritingjob.moc
+k3bdvdformattingjob.lo: k3bdvdformattingjob.moc
+k3bverificationjob.o: k3bverificationjob.moc
+k3biso9660imagewritingjob.lo: k3biso9660imagewritingjob.moc
+k3biso9660imagewritingjob.o: k3biso9660imagewritingjob.moc
+k3bdvdcopyjob.lo: k3bdvdcopyjob.moc
+nmcheck-am: nmcheck
+k3bdvdformattingjob.o: k3bdvdformattingjob.moc
+k3bvideodvdtitledetectclippingjob.o: k3bvideodvdtitledetectclippingjob.moc
+k3bcdcopyjob.lo: k3bcdcopyjob.moc
+k3bdvdcopyjob.o: k3bdvdcopyjob.moc
+k3bclonejob.lo: k3bclonejob.moc
+k3breadcdreader.lo: k3breadcdreader.moc
+k3bverificationjob.lo: k3bverificationjob.moc
+k3bclonejob.o: k3bclonejob.moc
+k3breadcdreader.o: k3breadcdreader.moc
+k3bbinimagewritingjob.o: k3bbinimagewritingjob.moc
+k3bvideodvdtitletranscodingjob.o: k3bvideodvdtitletranscodingjob.moc
+k3bvideodvdtitledetectclippingjob.lo: k3bvideodvdtitledetectclippingjob.moc
+k3bcdcopyjob.o: k3bcdcopyjob.moc
+k3bvideodvdtitletranscodingjob.lo: k3bvideodvdtitletranscodingjob.moc
+nmcheck:
+k3baudiosessionreadingjob.lo: k3baudiosessionreadingjob.moc
+k3bcdda2wavreader.o: k3bcdda2wavreader.moc
+k3bblankingjob.o: k3bblankingjob.moc
+k3bbinimagewritingjob.lo: k3bbinimagewritingjob.moc
+k3bblankingjob.lo: k3bblankingjob.moc
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3baudiocuefilewritingjob.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3baudiocuefilewritingjob.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3baudiocuefilewritingjob.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,272 @@
+/*
+ *
+ * $Id: k3baudiocuefilewritingjob.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2005 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3baudiocuefilewritingjob.h"
+
+#include <k3baudiodoc.h>
+#include <k3baudiojob.h>
+#include <k3bdevice.h>
+#include <k3baudiodecoder.h>
+#include <k3baudiotrack.h>
+#include <k3baudiofile.h>
+#include <k3bcuefileparser.h>
+#include <k3bthread.h>
+#include <k3bthreadjob.h>
+
+#include <kdebug.h>
+#include <klocale.h>
+
+
+class K3bAudioCueFileWritingJob::AnalyserThread : public K3bThread
+{
+public:
+ AnalyserThread()
+ : K3bThread() {
+ }
+
+ void setDecoder( K3bAudioDecoder* dec ) { m_decoder = dec; }
+
+protected:
+ void run() {
+ emitStarted();
+ m_decoder->analyseFile();
+ emitFinished(true);
+ }
+
+private:
+ K3bAudioDecoder* m_decoder;
+};
+
+
+K3bAudioCueFileWritingJob::K3bAudioCueFileWritingJob( K3bJobHandler* jh, QObject* parent, const char* name )
+ : K3bBurnJob( jh, parent, name ),
+ m_decoder(0)
+{
+ m_analyserThread = new AnalyserThread();
+ m_analyserJob = new K3bThreadJob( m_analyserThread, this, this );
+ connect( m_analyserJob, SIGNAL(finished(bool)), this, SLOT(slotAnalyserThreadFinished(bool)) );
+
+ m_audioDoc = new K3bAudioDoc( this );
+ m_audioDoc->newDocument();
+ m_audioJob = new K3bAudioJob( m_audioDoc, this, this );
+
+ // just loop all through
+ connect( m_audioJob, SIGNAL(newTask(const QString&)), this, SIGNAL(newTask(const QString&)) );
+ connect( m_audioJob, SIGNAL(newSubTask(const QString&)), this, SIGNAL(newSubTask(const QString&)) );
+ connect( m_audioJob, SIGNAL(debuggingOutput(const QString&, const QString&)),
+ this, SIGNAL(debuggingOutput(const QString&, const QString&)) );
+ connect( m_audioJob, SIGNAL(infoMessage(const QString&, int)),
+ this, SIGNAL(infoMessage(const QString&, int)) );
+ connect( m_audioJob, SIGNAL(finished(bool)), this, SIGNAL(finished(bool)) );
+ connect( m_audioJob, SIGNAL(canceled()), this, SIGNAL(canceled()) );
+ connect( m_audioJob, SIGNAL(percent(int)), this, SIGNAL(percent(int)) );
+ connect( m_audioJob, SIGNAL(subPercent(int)), this, SIGNAL(subPercent(int)) );
+ connect( m_audioJob, SIGNAL(processedSize(int, int)), this, SIGNAL(processedSubSize(int, int)) );
+ connect( m_audioJob, SIGNAL(processedSubSize(int, int)), this, SIGNAL(processedSubSize(int, int)) );
+ connect( m_audioJob, SIGNAL(burning(bool)), this, SIGNAL(burning(bool)) );
+ connect( m_audioJob, SIGNAL(bufferStatus(int)), this, SIGNAL(bufferStatus(int)) );
+ connect( m_audioJob, SIGNAL(deviceBuffer(int)), this, SIGNAL(deviceBuffer(int)) );
+ connect( m_audioJob, SIGNAL(writeSpeed(int, int)), this, SIGNAL(writeSpeed(int, int)) );
+
+ m_canceled = false;
+ m_audioJobRunning = false;
+}
+
+
+K3bAudioCueFileWritingJob::~K3bAudioCueFileWritingJob()
+{
+ // the threadjob does not delete the thread
+ delete m_analyserThread;
+}
+
+
+K3bDevice::Device* K3bAudioCueFileWritingJob::writer() const
+{
+ return m_audioDoc->burner();
+}
+
+
+QString K3bAudioCueFileWritingJob::jobDescription() const
+{
+ return i18n("Writing Audio Cue File");
+}
+
+
+QString K3bAudioCueFileWritingJob::jobDetails() const
+{
+ return m_cueFile.section( '/', -1 );
+}
+
+
+void K3bAudioCueFileWritingJob::start()
+{
+ // FIXME: here we trust that a job won't be started twice :(
+ jobStarted();
+ m_canceled = false;
+ m_audioJobRunning = false;
+ importCueInProject();
+}
+
+
+void K3bAudioCueFileWritingJob::cancel()
+{
+ m_canceled = true;
+
+ // the AudioJob cancel method is very stupid. It emits the canceled signal even if it was never running :(
+ if( m_audioJobRunning )
+ m_audioJob->cancel();
+ m_analyserJob->cancel();
+}
+
+
+void K3bAudioCueFileWritingJob::setCueFile( const QString& s )
+{
+ m_cueFile = s;
+}
+
+
+void K3bAudioCueFileWritingJob::setOnTheFly( bool b )
+{
+ m_audioDoc->setOnTheFly( b );
+}
+
+
+void K3bAudioCueFileWritingJob::setSpeed( int s )
+{
+ m_audioDoc->setSpeed( s );
+}
+
+
+void K3bAudioCueFileWritingJob::setBurnDevice( K3bDevice::Device* dev )
+{
+ m_audioDoc->setBurner( dev );
+}
+
+
+void K3bAudioCueFileWritingJob::setWritingMode( int mode )
+{
+ m_audioDoc->setWritingMode( mode );
+}
+
+
+void K3bAudioCueFileWritingJob::setSimulate( bool b )
+{
+ m_audioDoc->setDummy( b );
+}
+
+
+void K3bAudioCueFileWritingJob::setCopies( int c )
+{
+ m_audioDoc->setCopies( c );
+}
+
+
+void K3bAudioCueFileWritingJob::setTempDir( const QString& s )
+{
+ m_audioDoc->setTempDir( s );
+}
+
+
+void K3bAudioCueFileWritingJob::slotAnalyserThreadFinished( bool )
+{
+ if( !m_canceled ) {
+ if( m_audioDoc->lastTrack()->length() == 0 ) {
+ emit infoMessage( i18n("Analysing the audio file failed. Corrupt file?"), ERROR );
+ jobFinished(false);
+ }
+ else {
+ // FIXME: m_audioJobRunning is never reset
+ m_audioJobRunning = true;
+ m_audioJob->start(); // from here on the audio job takes over completely
+ }
+ }
+ else {
+ emit canceled();
+ jobFinished(false);
+ }
+}
+
+
+void K3bAudioCueFileWritingJob::importCueInProject()
+{
+ // cleanup the project (this wil also delete the decoder)
+ // we do not use newDocument as that would overwrite the settings already made
+ while( m_audioDoc->firstTrack() )
+ delete m_audioDoc->firstTrack()->take();
+
+ m_decoder = 0;
+
+ K3bCueFileParser parser( m_cueFile );
+ if( parser.isValid() && parser.toc().contentType() == K3bDevice::AUDIO ) {
+
+ kdDebug() << "(K3bAudioCueFileWritingJob::importCueFile) parsed with image: " << parser.imageFilename() << endl;
+
+ // global cd-text
+ m_audioDoc->setTitle( parser.cdText().title() );
+ m_audioDoc->setPerformer( parser.cdText().performer() );
+ m_audioDoc->writeCdText( !parser.cdText().title().isEmpty() );
+
+ m_decoder = K3bAudioDecoderFactory::createDecoder( parser.imageFilename() );
+ if( m_decoder ) {
+ m_decoder->setFilename( parser.imageFilename() );
+
+ K3bAudioTrack* after = 0;
+ K3bAudioFile* newFile = 0;
+ unsigned int i = 0;
+ for( K3bDevice::Toc::const_iterator it = parser.toc().begin();
+ it != parser.toc().end(); ++it ) {
+ const K3bDevice::Track& track = *it;
+
+ newFile = new K3bAudioFile( m_decoder, m_audioDoc );
+ newFile->setStartOffset( track.firstSector() );
+ newFile->setEndOffset( track.lastSector()+1 );
+
+ K3bAudioTrack* newTrack = new K3bAudioTrack( m_audioDoc );
+ newTrack->addSource( newFile );
+ newTrack->moveAfter( after );
+
+ // cd-text
+ newTrack->setTitle( parser.cdText()[i].title() );
+ newTrack->setPerformer( parser.cdText()[i].performer() );
+
+ // add the next track after this one
+ after = newTrack;
+ ++i;
+ }
+
+ // let the last source use the data up to the end of the file
+ if( newFile )
+ newFile->setEndOffset(0);
+
+ // now analyze the source
+ emit newTask( i18n("Analysing the audio file") );
+ emit newSubTask( i18n("Analysing %1").arg( parser.imageFilename() ) );
+
+ // start the analyser thread
+ m_analyserThread->setDecoder( m_decoder );
+ m_analyserJob->start();
+ }
+ else {
+ emit infoMessage( i18n("Unable to handle '%1' due to an unsupported format.").arg( m_cueFile ), ERROR );
+ jobFinished(false);
+ }
+ }
+ else {
+ emit infoMessage( i18n("No valid audio cue file: '%1'").arg( m_cueFile ), ERROR );
+ jobFinished(false);
+ }
+}
+
+#include "k3baudiocuefilewritingjob.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3baudiocuefilewritingjob.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3baudiocuefilewritingjob.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3baudiocuefilewritingjob.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,79 @@
+/*
+ *
+ * $Id: k3baudiocuefilewritingjob.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2005 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_AUDIO_CUE_FILEWRITING_JOB_H_
+#define _K3B_AUDIO_CUE_FILEWRITING_JOB_H_
+
+#include <k3bjob.h>
+#include "k3b_export.h"
+class K3bAudioDoc;
+class K3bAudioJob;
+class K3bAudioDecoder;
+class K3bThreadJob;
+namespace K3bDevice {
+ class Device;
+}
+
+
+class LIBK3B_EXPORT K3bAudioCueFileWritingJob : public K3bBurnJob
+{
+ Q_OBJECT
+
+ public:
+ K3bAudioCueFileWritingJob( K3bJobHandler*, QObject* parent = 0, const char* name = 0 );
+ ~K3bAudioCueFileWritingJob();
+
+ K3bDevice::Device* writer() const;
+
+ QString jobDescription() const;
+ QString jobDetails() const;
+
+ const QString& cueFile() const { return m_cueFile; }
+
+ public slots:
+ void start();
+ void cancel();
+
+ void setCueFile( const QString& );
+ void setSpeed( int s );
+ void setBurnDevice( K3bDevice::Device* dev );
+ void setWritingMode( int mode );
+ void setSimulate( bool b );
+ void setCopies( int c );
+ void setOnTheFly( bool b );
+ void setTempDir( const QString& );
+
+ private slots:
+ void slotAnalyserThreadFinished(bool);
+
+ private:
+ void importCueInProject();
+
+ K3bDevice::Device* m_device;
+
+ QString m_cueFile;
+ K3bAudioDoc* m_audioDoc;
+ K3bAudioJob* m_audioJob;
+ K3bAudioDecoder* m_decoder;
+
+ bool m_canceled;
+ bool m_audioJobRunning;
+
+ class AnalyserThread;
+ AnalyserThread* m_analyserThread;
+ K3bThreadJob* m_analyserJob;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3baudiosessionreadingjob.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3baudiosessionreadingjob.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3baudiosessionreadingjob.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,278 @@
+/*
+ *
+ * $Id: k3baudiosessionreadingjob.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3baudiosessionreadingjob.h"
+
+#include <k3bthread.h>
+#include <k3btoc.h>
+#include <k3bcdparanoialib.h>
+#include <k3bwavefilewriter.h>
+#include <k3bglobals.h>
+#include <k3bdevice.h>
+#include <k3bcore.h>
+
+#include <kdebug.h>
+#include <klocale.h>
+
+#include <unistd.h>
+
+
+class K3bAudioSessionReadingJob::WorkThread : public K3bThread
+{
+public:
+ WorkThread();
+ ~WorkThread();
+
+ void init();
+ void run();
+ void cancel();
+
+ bool canceled;
+
+ int fd;
+ K3bCdparanoiaLib* paranoia;
+ K3bDevice::Device* device;
+ K3bDevice::Toc toc;
+ K3bWaveFileWriter* waveFileWriter;
+ QStringList filenames;
+ int paranoiaMode;
+ int retries;
+ bool neverSkip;
+};
+
+
+K3bAudioSessionReadingJob::WorkThread::WorkThread()
+ : K3bThread(),
+ fd(-1),
+ paranoia(0),
+ waveFileWriter(0),
+ paranoiaMode(0),
+ retries(50),
+ neverSkip(false)
+{
+}
+
+
+K3bAudioSessionReadingJob::WorkThread::~WorkThread()
+{
+ delete waveFileWriter;
+ delete paranoia;
+}
+
+
+void K3bAudioSessionReadingJob::WorkThread::init()
+{
+ canceled = false;
+}
+
+
+void K3bAudioSessionReadingJob::WorkThread::run()
+{
+ if( !paranoia )
+ paranoia = K3bCdparanoiaLib::create();
+
+ if( !paranoia ) {
+ emitInfoMessage( i18n("Could not load libcdparanoia."), K3bJob::ERROR );
+ emitFinished(false);
+ return;
+ }
+
+ if( toc.isEmpty() )
+ toc = device->readToc();
+
+ if( !paranoia->initParanoia( device, toc ) ) {
+ emitInfoMessage( i18n("Could not open device %1").arg(device->blockDeviceName()),
+ K3bJob::ERROR );
+ emitFinished(false);
+ return;
+ }
+
+ if( !paranoia->initReading() ) {
+ emitInfoMessage( i18n("Error while initializing audio ripping."), K3bJob::ERROR );
+ emitFinished(false);
+ return;
+ }
+
+ device->block( true );
+
+ // init settings
+ paranoia->setMaxRetries( retries );
+ paranoia->setParanoiaMode( paranoiaMode );
+ paranoia->setNeverSkip( neverSkip );
+
+ bool writeError = false;
+ unsigned int trackNum = 1;
+ unsigned int currentTrack = 0;
+ unsigned long trackRead = 0;
+ unsigned long totalRead = 0;
+ unsigned int lastTrackPercent = 0;
+ unsigned int lastTotalPercent = 0;
+ bool newTrack = true;
+ int status = 0;
+ char* buffer = 0;
+ while( !canceled && (buffer = paranoia->read( &status, &trackNum, fd == -1 /*when writing to a wav be want little endian */ )) ) {
+
+ if( currentTrack != trackNum ) {
+ emitNextTrack( trackNum, paranoia->toc().count() );
+ trackRead = 0;
+ lastTrackPercent = 0;
+
+ currentTrack = trackNum;
+ newTrack = true;
+ }
+
+ if( fd > 0 ) {
+ if( ::write( fd, buffer, CD_FRAMESIZE_RAW ) != CD_FRAMESIZE_RAW ) {
+ kdDebug() << "(K3bAudioSessionCopyJob::WorkThread) error while writing to fd " << fd << endl;
+ writeError = true;
+ break;
+ }
+ }
+ else {
+ if( newTrack ) {
+ newTrack = false;
+
+ if( !waveFileWriter )
+ waveFileWriter = new K3bWaveFileWriter();
+
+ if( filenames.count() < currentTrack ) {
+ kdDebug() << "(K3bAudioSessionCopyJob) not enough image filenames given: " << currentTrack << endl;
+ writeError = true;
+ break;
+ }
+
+ if( !waveFileWriter->open( filenames[currentTrack-1] ) ) {
+ emitInfoMessage( i18n("Unable to open '%1' for writing.").arg(filenames[currentTrack-1]), K3bJob::ERROR );
+ writeError = true;
+ break;
+ }
+ }
+
+ waveFileWriter->write( buffer,
+ CD_FRAMESIZE_RAW,
+ K3bWaveFileWriter::LittleEndian );
+ }
+
+ trackRead++;
+ totalRead++;
+
+ unsigned int trackPercent = 100 * trackRead / toc[currentTrack-1].length().lba();
+ if( trackPercent > lastTrackPercent ) {
+ lastTrackPercent = trackPercent;
+ emitSubPercent( lastTrackPercent );
+ }
+ unsigned int totalPercent = 100 * totalRead / paranoia->rippedDataLength();
+ if( totalPercent > lastTotalPercent ) {
+ lastTotalPercent = totalPercent;
+ emitPercent( lastTotalPercent );
+ }
+ }
+
+ if( waveFileWriter )
+ waveFileWriter->close();
+
+ paranoia->close();
+
+ device->block( false );
+
+ if( status != K3bCdparanoiaLib::S_OK ) {
+ emitInfoMessage( i18n("Unrecoverable error while ripping track %1.").arg(trackNum), K3bJob::ERROR );
+ emitFinished(false);
+ return;
+ }
+
+ emitFinished( !writeError & !canceled );
+}
+
+
+void K3bAudioSessionReadingJob::WorkThread::cancel()
+{
+ canceled = true;
+ // FIXME: add backup killing like in the audio ripping and make sure to close paranoia
+}
+
+
+
+
+K3bAudioSessionReadingJob::K3bAudioSessionReadingJob( K3bJobHandler* jh, QObject* parent, const char* name )
+ : K3bThreadJob( jh, parent, name )
+{
+ m_thread = new WorkThread();
+ setThread( m_thread );
+}
+
+
+K3bAudioSessionReadingJob::~K3bAudioSessionReadingJob()
+{
+ delete m_thread;
+}
+
+
+void K3bAudioSessionReadingJob::setDevice( K3bDevice::Device* dev )
+{
+ m_thread->device = dev;
+ m_thread->toc = K3bDevice::Toc();
+}
+
+
+void K3bAudioSessionReadingJob::setToc( const K3bDevice::Toc& toc )
+{
+ m_thread->toc = toc;
+}
+
+
+void K3bAudioSessionReadingJob::writeToFd( int fd )
+{
+ m_thread->fd = fd;
+}
+
+void K3bAudioSessionReadingJob::setImageNames( const QStringList& l )
+{
+ m_thread->filenames = l;
+ m_thread->fd = -1;
+}
+
+
+void K3bAudioSessionReadingJob::setParanoiaMode( int m )
+{
+ m_thread->paranoiaMode = m;
+}
+
+
+void K3bAudioSessionReadingJob::setReadRetries( int r )
+{
+ m_thread->retries = r;
+}
+
+void K3bAudioSessionReadingJob::setNeverSkip( bool b )
+{
+ m_thread->neverSkip = b;
+}
+
+
+void K3bAudioSessionReadingJob::start()
+{
+ k3bcore->blockDevice( m_thread->device );
+ K3bThreadJob::start();
+}
+
+
+void K3bAudioSessionReadingJob::cleanupJob( bool success )
+{
+ Q_UNUSED( success );
+ k3bcore->unblockDevice( m_thread->device );
+}
+
+#include "k3baudiosessionreadingjob.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3baudiosessionreadingjob.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3baudiosessionreadingjob.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3baudiosessionreadingjob.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,75 @@
+/*
+ *
+ * $Id: k3baudiosessionreadingjob.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_AUDIOSESSION_READING_JOB_H_
+#define _K3B_AUDIOSESSION_READING_JOB_H_
+
+#include <k3bthreadjob.h>
+
+#include <qstringlist.h>
+
+
+namespace K3bDevice {
+ class Device;
+ class Toc;
+}
+
+
+class K3bAudioSessionReadingJob : public K3bThreadJob
+{
+ Q_OBJECT
+
+ public:
+ K3bAudioSessionReadingJob( K3bJobHandler*, QObject* parent = 0, const char* name = 0 );
+ ~K3bAudioSessionReadingJob();
+
+ /**
+ * For now this simply reads all the audio tracks at the beginning
+ * since we only support CD-Extra mixed mode cds.
+ */
+ void setDevice( K3bDevice::Device* );
+
+ /**
+ * Use for faster initialization
+ */
+ void setToc( const K3bDevice::Toc& toc );
+
+ /**
+ * the data gets written directly into fd instead of imagefiles.
+ * To disable just set fd to -1 (the default)
+ */
+ void writeToFd( int fd );
+
+ /**
+ * Used if fd == -1
+ */
+ void setImageNames( const QStringList& l );
+
+ void setParanoiaMode( int m );
+ void setReadRetries( int );
+ void setNeverSkip( bool b );
+
+ public slots:
+ void start();
+
+ protected:
+ void cleanupJob( bool success );
+
+ private:
+ class WorkThread;
+ WorkThread* m_thread;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bbinimagewritingjob.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bbinimagewritingjob.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bbinimagewritingjob.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,234 @@
+/*
+ *
+ * $Id: k3bbinimagewritingjob.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Klaus-Dieter Krannich <kd at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#include "k3bbinimagewritingjob.h"
+#include <k3bcdrecordwriter.h>
+#include <k3bcdrdaowriter.h>
+#include <k3bcore.h>
+#include <k3bdevice.h>
+#include <k3bglobals.h>
+#include <k3bexternalbinmanager.h>
+
+#include <klocale.h>
+#include <kdebug.h>
+
+#include <qfile.h>
+#include <qtextstream.h>
+
+
+
+K3bBinImageWritingJob::K3bBinImageWritingJob( K3bJobHandler* hdl, QObject* parent )
+ : K3bBurnJob( hdl, parent ),
+ m_device(0),
+ m_simulate(false),
+ m_force(false),
+ m_noFix(false),
+ m_tocFile(0),
+ m_speed(2),
+ m_copies(1),
+ m_writer(0)
+{
+}
+
+K3bBinImageWritingJob::~K3bBinImageWritingJob()
+{
+}
+
+void K3bBinImageWritingJob::start()
+{
+ m_canceled = false;
+
+ if( m_copies < 1 )
+ m_copies = 1;
+ m_finishedCopies = 0;
+
+ jobStarted();
+ emit newTask( i18n("Write Binary Image") );
+
+ if( prepareWriter() )
+ writerStart();
+ else
+ cancel();
+
+}
+
+void K3bBinImageWritingJob::cancel()
+{
+ m_canceled = true;
+ m_writer->cancel();
+ emit canceled();
+ jobFinished( false );
+}
+
+bool K3bBinImageWritingJob::prepareWriter()
+{
+ if( m_writer )
+ delete m_writer;
+
+ int usedWritingApp = writingApp();
+ const K3bExternalBin* cdrecordBin = k3bcore->externalBinManager()->binObject("cdrecord");
+ if( usedWritingApp == K3b::CDRECORD ||
+ ( usedWritingApp == K3b::DEFAULT && cdrecordBin && cdrecordBin->hasFeature("cuefile") && m_device->dao() ) ) {
+ usedWritingApp = K3b::CDRECORD;
+
+ // IMPROVEME: check if it's a cdrdao toc-file
+ if( m_tocFile.right(4) == ".toc" ) {
+ kdDebug() << "(K3bBinImageWritingJob) imagefile has ending toc." << endl;
+ usedWritingApp = K3b::CDRDAO;
+ }
+ else {
+ // TODO: put this into K3bCueFileParser
+ // TODO: check K3bCueFileParser::imageFilenameInCue()
+ // let's see if cdrecord can handle the cue file
+ QFile f( m_tocFile );
+ if( f.open( IO_ReadOnly ) ) {
+ QTextStream fStr( &f );
+ if( fStr.read().contains( "MODE1/2352" ) ) {
+ kdDebug() << "(K3bBinImageWritingJob) cuefile contains MODE1/2352 track. using cdrdao." << endl;
+ usedWritingApp = K3b::CDRDAO;
+ }
+ f.close();
+ }
+ else
+ kdDebug() << "(K3bBinImageWritingJob) could not open file " << m_tocFile << endl;
+ }
+ }
+ else
+ usedWritingApp = K3b::CDRDAO;
+
+ if( usedWritingApp == K3b::CDRECORD ) {
+ // create cdrecord job
+ K3bCdrecordWriter* writer = new K3bCdrecordWriter( m_device, this );
+
+ writer->setDao( true );
+ writer->setSimulate( m_simulate );
+ writer->setBurnSpeed( m_speed );
+ writer->setCueFile ( m_tocFile );
+
+ if( m_noFix ) {
+ writer->addArgument("-multi");
+ }
+
+ if( m_force ) {
+ writer->addArgument("-force");
+ }
+
+ m_writer = writer;
+ }
+ else {
+ // create cdrdao job
+ K3bCdrdaoWriter* writer = new K3bCdrdaoWriter( m_device, this );
+ writer->setCommand( K3bCdrdaoWriter::WRITE );
+ writer->setSimulate( m_simulate );
+ writer->setBurnSpeed( m_speed );
+ writer->setForce( m_force );
+
+ // multisession
+ writer->setMulti( m_noFix );
+
+ writer->setTocFile( m_tocFile );
+
+ m_writer = writer;
+ }
+
+ connect( m_writer, SIGNAL(infoMessage(const QString&, int)), this, SIGNAL(infoMessage(const QString&, int)) );
+ connect( m_writer, SIGNAL(percent(int)), this, SLOT(copyPercent(int)) );
+ connect( m_writer, SIGNAL(subPercent(int)), this, SLOT(copySubPercent(int)) );
+ connect( m_writer, SIGNAL(processedSize(int, int)), this, SIGNAL(processedSize(int, int)) );
+ connect( m_writer, SIGNAL(buffer(int)), this, SIGNAL(bufferStatus(int)) );
+ connect( m_writer, SIGNAL(deviceBuffer(int)), this, SIGNAL(deviceBuffer(int)) );
+ connect( m_writer, SIGNAL(writeSpeed(int, int)), this, SIGNAL(writeSpeed(int, int)) );
+ connect( m_writer, SIGNAL(finished(bool)), this, SLOT(writerFinished(bool)) );
+ connect( m_writer, SIGNAL(newTask(const QString&)), this, SIGNAL(newTask(const QString&)) );
+ connect( m_writer, SIGNAL(newSubTask(const QString&)), this, SIGNAL(newSubTask(const QString&)) );
+ connect( m_writer, SIGNAL(nextTrack(int, int)), this, SLOT(slotNextTrack(int, int)) );
+ connect( m_writer, SIGNAL(debuggingOutput(const QString&, const QString&)), this, SIGNAL(debuggingOutput(const QString&, const QString&)) );
+
+ return true;
+}
+
+
+void K3bBinImageWritingJob::writerStart()
+{
+
+ if( waitForMedia( m_device ) < 0 ) {
+ cancel();
+ }
+ // just to be sure we did not get canceled during the async discWaiting
+ else if( !m_canceled ) {
+ emit burning(true);
+ m_writer->start();
+ }
+}
+
+void K3bBinImageWritingJob::copyPercent(int p)
+{
+ emit percent( (100*m_finishedCopies + p)/m_copies );
+}
+
+void K3bBinImageWritingJob::copySubPercent(int p)
+{
+ emit subPercent(p);
+}
+
+void K3bBinImageWritingJob::writerFinished(bool ok)
+{
+ if( m_canceled )
+ return;
+
+ if (ok) {
+ m_finishedCopies++;
+ if ( m_finishedCopies == m_copies ) {
+ emit infoMessage( i18n("%n copy successfully created", "%n copies successfully created", m_copies),K3bJob::INFO );
+ jobFinished( true );
+ }
+ else {
+ writerStart();
+ }
+ }
+ else {
+ jobFinished(false);
+ }
+}
+
+
+void K3bBinImageWritingJob::slotNextTrack( int t, int tt )
+{
+ emit newSubTask( i18n("Writing track %1 of %2").arg(t).arg(tt) );
+}
+
+
+QString K3bBinImageWritingJob::jobDescription() const
+{
+ return ( i18n("Writing cue/bin Image")
+ + ( m_copies > 1
+ ? i18n(" - %n Copy", " - %n Copies", m_copies)
+ : QString::null ) );
+}
+
+
+QString K3bBinImageWritingJob::jobDetails() const
+{
+ return m_tocFile.section("/", -1);
+}
+
+
+void K3bBinImageWritingJob::setTocFile(const QString& s)
+{
+ m_tocFile = s;
+}
+
+#include "k3bbinimagewritingjob.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bbinimagewritingjob.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bbinimagewritingjob.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bbinimagewritingjob.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,79 @@
+/*
+ *
+ * $Id$
+ * Copyright (C) 2003 Klaus-Dieter Krannich <kd at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef K3BBINIMAGEWRITINGJOB_H
+#define K3BBINIMAGEWRITINGJOB_H
+
+#include <k3bjob.h>
+#include "k3b_export.h"
+class K3bAbstractWriter;
+namespace K3bDevice {
+ class Device;
+}
+
+/**
+ *@author Klaus-Dieter Krannich
+ */
+class LIBK3B_EXPORT K3bBinImageWritingJob : public K3bBurnJob
+{
+ Q_OBJECT
+
+ public:
+ K3bBinImageWritingJob( K3bJobHandler*, QObject* parent = 0 );
+ ~K3bBinImageWritingJob();
+
+ K3bDevice::Device* writer() const { return m_device; };
+
+ QString jobDescription() const;
+ QString jobDetails() const;
+
+ public slots:
+ void start();
+ void cancel();
+
+ void setWriter( K3bDevice::Device* dev ) { m_device = dev; }
+ void setSimulate( bool b ) { m_simulate = b; }
+ void setForce(bool b) { m_force = b; }
+ void setMulti( bool b ) { m_noFix = b; }
+ void setTocFile( const QString& s);
+ void setCopies(int c) { m_copies = c; }
+ void setSpeed( int s ) { m_speed = s; }
+
+ private slots:
+ void writerFinished(bool);
+ void copyPercent(int p);
+ void copySubPercent(int p);
+ void slotNextTrack( int, int );
+
+ private:
+ void writerStart();
+ bool prepareWriter();
+
+ K3bDevice::Device* m_device;
+ bool m_simulate;
+ bool m_force;
+ bool m_noFix;
+ QString m_tocFile;
+ int m_speed;
+ int m_copies;
+ int m_finishedCopies;
+
+ bool m_canceled;
+
+ K3bAbstractWriter* m_writer;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bblankingjob.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bblankingjob.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bblankingjob.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,176 @@
+/*
+ *
+ * $Id: k3bblankingjob.cpp 630823 2007-02-06 14:07:10Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bblankingjob.h"
+#include "k3bcdrecordwriter.h"
+#include "k3bcdrdaowriter.h"
+
+#include <k3bglobals.h>
+#include <k3bdevice.h>
+#include <k3bdevicehandler.h>
+
+#include <kconfig.h>
+#include <klocale.h>
+#include <kio/global.h>
+#include <kio/job.h>
+#include <kdebug.h>
+
+#include <qstring.h>
+
+
+
+K3bBlankingJob::K3bBlankingJob( K3bJobHandler* hdl, QObject* parent )
+ : K3bBurnJob( hdl, parent ),
+ m_writerJob(0),
+ m_force(true),
+ m_device(0),
+ m_speed(0),
+ m_mode(Fast),
+ m_writingApp(K3b::DEFAULT),
+ m_canceled(false),
+ m_forceNoEject(false)
+{
+}
+
+
+K3bBlankingJob::~K3bBlankingJob()
+{
+ delete m_writerJob;
+}
+
+
+K3bDevice::Device* K3bBlankingJob::writer() const
+{
+ return m_device;
+}
+
+
+void K3bBlankingJob::setDevice( K3bDevice::Device* dev )
+{
+ m_device = dev;
+}
+
+
+void K3bBlankingJob::start()
+{
+ if( m_device == 0 )
+ return;
+
+ jobStarted();
+
+ slotStartErasing();
+}
+
+void K3bBlankingJob::slotStartErasing()
+{
+ m_canceled = false;
+
+ if( m_writerJob )
+ delete m_writerJob;
+
+ if( m_writingApp == K3b::CDRDAO ) {
+ K3bCdrdaoWriter* writer = new K3bCdrdaoWriter( m_device, this );
+ m_writerJob = writer;
+
+ writer->setCommand(K3bCdrdaoWriter::BLANK);
+ writer->setBlankMode( m_mode == Fast ? K3bCdrdaoWriter::MINIMAL : K3bCdrdaoWriter::FULL );
+ writer->setForce(m_force);
+ writer->setBurnSpeed(m_speed);
+ writer->setForceNoEject( m_forceNoEject );
+ }
+ else {
+ K3bCdrecordWriter* writer = new K3bCdrecordWriter( m_device, this );
+ m_writerJob = writer;
+
+ QString mode;
+ switch( m_mode ) {
+ case Fast:
+ mode = "fast";
+ break;
+ case Complete:
+ mode = "all";
+ break;
+ case Track:
+ mode = "track";
+ break;
+ case Unclose:
+ mode = "unclose";
+ break;
+ case Session:
+ mode = "session";
+ break;
+ }
+
+ writer->addArgument("blank="+ mode);
+
+ if (m_force)
+ writer->addArgument("-force");
+ writer->setBurnSpeed(m_speed);
+ writer->setForceNoEject( m_forceNoEject );
+ }
+
+ connect(m_writerJob, SIGNAL(finished(bool)), this, SLOT(slotFinished(bool)));
+ connect(m_writerJob, SIGNAL(infoMessage( const QString&, int)),
+ this,SIGNAL(infoMessage( const QString&, int)));
+ connect( m_writerJob, SIGNAL(debuggingOutput(const QString&, const QString&)),
+ this, SIGNAL(debuggingOutput(const QString&, const QString&)) );
+
+ if( waitForMedia( m_device,
+ K3bDevice::STATE_COMPLETE|K3bDevice::STATE_INCOMPLETE,
+ K3bDevice::MEDIA_CD_RW,
+ i18n("Please insert a rewritable CD medium into drive<p><b>%1 %2 (%3)</b>.")
+ .arg(m_device->vendor())
+ .arg(m_device->description())
+ .arg(m_device->devicename()) ) < 0 ) {
+ emit canceled();
+ jobFinished(false);
+ return;
+ }
+
+ m_writerJob->start();
+}
+
+
+void K3bBlankingJob::cancel()
+{
+ m_canceled = true;
+
+ if( m_writerJob )
+ m_writerJob->cancel();
+}
+
+
+void K3bBlankingJob::slotFinished(bool success)
+{
+ if( success ) {
+ emit infoMessage( i18n("Process completed successfully"), K3bJob::SUCCESS );
+ jobFinished( true );
+ }
+ else {
+ if( m_canceled ) {
+ emit infoMessage( i18n("Canceled."), ERROR );
+ emit canceled();
+ }
+ else {
+ emit infoMessage( i18n("Blanking error "), K3bJob::ERROR );
+ emit infoMessage( i18n("Sorry, no error handling yet."), K3bJob::ERROR );
+ }
+ jobFinished( false );
+ }
+}
+
+
+
+#include "k3bblankingjob.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bblankingjob.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bblankingjob.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bblankingjob.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,71 @@
+/*
+ *
+ * $Id: k3bblankingjob.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef K3B_BLANKING_JOB_H
+#define K3B_BLANKING_JOB_H
+
+#include <k3bjob.h>
+#include "k3b_export.h"
+class KProcess;
+class QString;
+class K3bDevice::Device;
+class K3bAbstractWriter;
+
+
+class LIBK3B_EXPORT K3bBlankingJob : public K3bBurnJob
+{
+ Q_OBJECT
+
+ public:
+ K3bBlankingJob( K3bJobHandler*, QObject* parent = 0 );
+ ~K3bBlankingJob();
+
+ K3bDevice::Device* writer() const;
+
+ bool hasBeenCanceled() const { return m_canceled; }
+
+ enum blank_mode { Fast, Complete, Track, Unclose, Session };
+
+ public slots:
+ void start();
+ void cancel();
+ void setForce( bool f ) { m_force = f; }
+ void setDevice( K3bDevice::Device* d );
+ void setSpeed( int s ) { m_speed = s; }
+ void setMode( int m ) { m_mode = m; }
+ void setWritingApp (int app) { m_writingApp = app; }
+
+ /**
+ * If set true the job ignores the global K3b setting
+ * and does not eject the CD-RW after finishing
+ */
+ void setForceNoEject( bool b ) { m_forceNoEject = b; }
+
+ private slots:
+ void slotFinished(bool);
+ void slotStartErasing();
+
+ private:
+ K3bAbstractWriter* m_writerJob;
+ bool m_force;
+ K3bDevice::Device* m_device;
+ int m_speed;
+ int m_mode;
+ int m_writingApp;
+ bool m_canceled;
+ bool m_forceNoEject;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bcdcopyjob.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bcdcopyjob.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bcdcopyjob.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,1213 @@
+/*
+ *
+ * $Id.cpp,v 1.82 2005/02/04 09:27:19 trueg Exp $
+ * Copyright (C) 2003-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#include "k3bcdcopyjob.h"
+#include "k3baudiosessionreadingjob.h"
+
+#include <k3bexternalbinmanager.h>
+#include <k3bdevice.h>
+#include <k3bdiskinfo.h>
+#include <k3btoc.h>
+#include <k3bglobals.h>
+#include <k3bdevicehandler.h>
+#include <k3breadcdreader.h>
+#include <k3bdatatrackreader.h>
+#include <k3bcdrecordwriter.h>
+#include <k3bcdtext.h>
+#include <k3bcddb.h>
+#include <k3bcddbresult.h>
+#include <k3bcddbquery.h>
+#include <k3bcore.h>
+#include <k3binffilewriter.h>
+
+#include <kconfig.h>
+#include <kstandarddirs.h>
+#include <klocale.h>
+#include <kdebug.h>
+#include <ktempfile.h>
+#include <kio/netaccess.h>
+#include <kio/job.h>
+#include <kio/global.h>
+
+#include <qtimer.h>
+#include <qstringlist.h>
+#include <qfile.h>
+#include <qregexp.h>
+#include <qtextstream.h>
+#include <qcstring.h>
+#include <qfileinfo.h>
+#include <qdir.h>
+#include <qapplication.h>
+
+
+class K3bCdCopyJob::Private
+{
+public:
+ Private()
+ : canceled(false),
+ running(false),
+ readcdReader(0),
+ dataTrackReader(0),
+ audioSessionReader(0),
+ cdrecordWriter(0),
+ infFileWriter(0),
+ cddb(0) {
+ }
+
+ bool canceled;
+ bool error;
+ bool readingSuccessful;
+ bool running;
+
+ unsigned int numSessions;
+ bool doNotCloseLastSession;
+
+ unsigned int doneCopies;
+ unsigned int currentReadSession;
+ unsigned int currentWrittenSession;
+
+ K3bDevice::Toc toc;
+ QByteArray cdTextRaw;
+
+ K3bReadcdReader* readcdReader;
+ K3bDataTrackReader* dataTrackReader;
+ K3bAudioSessionReadingJob* audioSessionReader;
+ K3bCdrecordWriter* cdrecordWriter;
+ K3bInfFileWriter* infFileWriter;
+
+ bool audioReaderRunning;
+ bool dataReaderRunning;
+ bool writerRunning;
+
+ // image filenames, one for every track
+ QStringList imageNames;
+
+ // inf-filenames for writing audio tracks
+ QStringList infNames;
+
+ // indicates if we created a dir or not
+ bool deleteTempDir;
+
+ K3bCddb* cddb;
+ K3bCddbResultEntry cddbInfo;
+
+ bool haveCddb;
+ bool haveCdText;
+
+ QValueVector<bool> dataSessionProbablyTAORecorded;
+
+ // used to determine progress
+ QValueVector<long> sessionSizes;
+ long overallSize;
+};
+
+
+K3bCdCopyJob::K3bCdCopyJob( K3bJobHandler* hdl, QObject* parent )
+ : K3bBurnJob( hdl, parent ),
+ m_simulate(false),
+ m_copies(1),
+ m_onlyCreateImages(false),
+ m_onTheFly(true),
+ m_ignoreDataReadErrors(false),
+ m_ignoreAudioReadErrors(true),
+ m_noCorrection(false),
+ m_dataReadRetries(128),
+ m_audioReadRetries(5),
+ m_preferCdText(false),
+ m_copyCdText(true),
+ m_writingMode( K3b::WRITING_MODE_AUTO )
+{
+ d = new Private();
+}
+
+
+K3bCdCopyJob::~K3bCdCopyJob()
+{
+ delete d->infFileWriter;
+ delete d;
+}
+
+
+void K3bCdCopyJob::start()
+{
+ d->running = true;
+ d->canceled = false;
+ d->error = false;
+ d->readingSuccessful = false;
+ d->audioReaderRunning = d->dataReaderRunning = d->writerRunning = false;
+ d->sessionSizes.clear();
+ d->dataSessionProbablyTAORecorded.clear();
+ d->deleteTempDir = false;
+ d->haveCdText = false;
+ d->haveCddb = false;
+
+ jobStarted();
+
+ emit newTask( i18n("Checking Source Medium") );
+
+ emit burning(false);
+ emit newSubTask( i18n("Waiting for source medium") );
+
+ // wait for a source disk
+ if( waitForMedia( m_readerDevice,
+ K3bDevice::STATE_COMPLETE|K3bDevice::STATE_INCOMPLETE,
+ K3bDevice::MEDIA_WRITABLE_CD|K3bDevice::MEDIA_CD_ROM ) < 0 ) {
+ finishJob( true, false );
+ return;
+ }
+
+ emit newSubTask( i18n("Checking source medium") );
+
+ // FIXME: read ISRCs and MCN
+
+ connect( K3bDevice::diskInfo( m_readerDevice ), SIGNAL(finished(K3bDevice::DeviceHandler*)),
+ this, SLOT(slotDiskInfoReady(K3bDevice::DeviceHandler*)) );
+}
+
+
+void K3bCdCopyJob::slotDiskInfoReady( K3bDevice::DeviceHandler* dh )
+{
+ if( dh->success() ) {
+ d->toc = dh->toc();
+
+ //
+ // for now we copy audio, pure data (aka 1 data track), cd-extra (2 session, audio and data),
+ // and data multisession which one track per session.
+ // Everything else will be rejected
+ //
+ bool canCopy = true;
+ bool audio = false;
+ d->numSessions = dh->diskInfo().numSessions();
+ d->doNotCloseLastSession = (dh->diskInfo().diskState() == K3bDevice::STATE_INCOMPLETE);
+ switch( dh->toc().contentType() ) {
+ case K3bDevice::DATA:
+ // check if every track is in it's own session
+ // only then we copy the cd
+ if( (int)dh->toc().count() != dh->diskInfo().numSessions() ) {
+ emit infoMessage( i18n("K3b does not copy CDs containing multiple data tracks."), ERROR );
+ canCopy = false;
+ }
+ else if( dh->diskInfo().numSessions() > 1 )
+ emit infoMessage( i18n("Copying Multisession Data CD."), INFO );
+ else
+ emit infoMessage( i18n("Copying Data CD."), INFO );
+ break;
+
+ case K3bDevice::MIXED:
+ audio = true;
+ if( dh->diskInfo().numSessions() != 2 || d->toc[0].type() != K3bDevice::Track::AUDIO ) {
+ emit infoMessage( i18n("K3b can only copy CD-Extra mixed mode CDs."), ERROR );
+ canCopy = false;
+ }
+ else
+ emit infoMessage( i18n("Copying Enhanced Audio CD (CD-Extra)."), INFO );
+ break;
+
+ case K3bDevice::AUDIO:
+ audio = true;
+ emit infoMessage( i18n("Copying Audio CD."), INFO );
+ break;
+
+ case K3bDevice::NONE:
+ default:
+ emit infoMessage( i18n("The source disk is empty."), ERROR );
+ canCopy = false;
+ break;
+ }
+
+ //
+ // A data track recorded in TAO mode has two run-out blocks which cannot be read and contain
+ // zero data anyway. The problem is that I do not know of a valid method to determine if a track
+ // was written in TAO (the control nibble does definitely not work, I never saw one which did not
+ // equal 4).
+ // So the solution for now is to simply try to read the last sector of a data track. If this is not
+ // possible we assume it was written in TAO mode and reduce the length by 2 sectors
+ //
+ unsigned char buffer[2048];
+ int i = 1;
+ for( K3bDevice::Toc::iterator it = d->toc.begin(); it != d->toc.end(); ++it ) {
+ if( (*it).type() == K3bDevice::Track::DATA ) {
+ // we try twice just to be sure
+ if( m_readerDevice->read10( buffer, 2048, (*it).lastSector().lba(), 1 ) ||
+ m_readerDevice->read10( buffer, 2048, (*it).lastSector().lba(), 1 ) ) {
+ d->dataSessionProbablyTAORecorded.append(false);
+ kdDebug() << "(K3bCdCopyJob) track " << i << " probably DAO recorded." << endl;
+ }
+ else {
+ d->dataSessionProbablyTAORecorded.append(true);
+ kdDebug() << "(K3bCdCopyJob) track " << i << " probably TAO recorded." << endl;
+ }
+ }
+
+ ++i;
+ }
+
+
+ //
+ // To copy mode2 data tracks we need cdrecord >= 2.01a12 which introduced the -xa1 and -xamix options
+ //
+ if( k3bcore->externalBinManager()->binObject("cdrecord") &&
+ !k3bcore->externalBinManager()->binObject("cdrecord")->hasFeature( "xamix" ) ) {
+ for( K3bDevice::Toc::const_iterator it = d->toc.begin(); it != d->toc.end(); ++it ) {
+ if( (*it).type() == K3bDevice::Track::DATA &&
+ ( (*it).mode() == K3bDevice::Track::XA_FORM1 ||
+ (*it).mode() == K3bDevice::Track::XA_FORM2 ) ) {
+ emit infoMessage( i18n("K3b needs cdrecord 2.01a12 or newer to copy Mode2 data tracks."), ERROR );
+ finishJob( true, false );
+ return;
+ }
+ }
+ }
+
+
+ //
+ // It is not possible to create multisession cds in raw writing mode
+ //
+ if( d->numSessions > 1 && m_writingMode == K3b::RAW ) {
+ if( !questionYesNo( i18n("You will only be able to copy the first session in raw writing mode. "
+ "Continue anyway?"),
+ i18n("Multisession CD") ) ) {
+ finishJob( true, false );
+ return;
+ }
+ else {
+ emit infoMessage( i18n("Only copying first session."), WARNING );
+ // TODO: remove the second session from the progress stuff
+ }
+ }
+
+
+ //
+ // We already create the temp filenames here since we need them to check the free space
+ //
+ if( !m_onTheFly || m_onlyCreateImages ) {
+ if( !prepareImageFiles() ) {
+ finishJob( false, true );
+ return;
+ }
+
+ //
+ // check free temp space
+ //
+ KIO::filesize_t imageSpaceNeeded = 0;
+ for( K3bDevice::Toc::const_iterator it = d->toc.begin(); it != d->toc.end(); ++it ) {
+ if( (*it).type() == K3bDevice::Track::AUDIO )
+ imageSpaceNeeded += (*it).length().audioBytes() + 44;
+ else
+ imageSpaceNeeded += (*it).length().mode1Bytes();
+ }
+
+ unsigned long avail, size;
+ QString pathToTest = m_tempPath.left( m_tempPath.findRev( '/' ) );
+ if( !K3b::kbFreeOnFs( pathToTest, size, avail ) ) {
+ emit infoMessage( i18n("Unable to determine free space in temporary directory '%1'.").arg(pathToTest), ERROR );
+ d->error = true;
+ canCopy = false;
+ }
+ else {
+ if( avail < imageSpaceNeeded/1024 ) {
+ emit infoMessage( i18n("Not enough space left in temporary directory."), ERROR );
+ d->error = true;
+ canCopy = false;
+ }
+ }
+ }
+
+ if( canCopy ) {
+ if( K3b::isMounted( m_readerDevice ) ) {
+ emit infoMessage( i18n("Unmounting source medium"), INFO );
+ K3b::unmount( m_readerDevice );
+ }
+
+ d->overallSize = 0;
+
+ // now create some progress helper values
+ for( K3bDevice::Toc::const_iterator it = d->toc.begin(); it != d->toc.end(); ++it ) {
+ d->overallSize += (*it).length().lba();
+ if( d->sessionSizes.isEmpty() || (*it).type() == K3bDevice::Track::DATA )
+ d->sessionSizes.append( (*it).length().lba() );
+ else
+ d->sessionSizes[0] += (*it).length().lba();
+ }
+
+ if( audio && !m_onlyCreateImages ) {
+ if( m_copyCdText )
+ searchCdText();
+ else
+ queryCddb();
+ }
+ else
+ startCopy();
+ }
+ else {
+ finishJob( false, true );
+ }
+ }
+ else {
+ emit infoMessage( i18n("Unable to read TOC"), ERROR );
+ finishJob( false, true );
+ }
+}
+
+
+void K3bCdCopyJob::searchCdText()
+{
+ emit newSubTask( i18n("Searching CD-TEXT") );
+
+ connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::CD_TEXT_RAW, m_readerDevice ),
+ SIGNAL(finished(K3bDevice::DeviceHandler*)),
+ this,
+ SLOT(slotCdTextReady(K3bDevice::DeviceHandler*)) );
+}
+
+
+void K3bCdCopyJob::slotCdTextReady( K3bDevice::DeviceHandler* dh )
+{
+ if( dh->success() ) {
+ if( K3bDevice::CdText::checkCrc( dh->cdTextRaw() ) ) {
+ K3bDevice::CdText cdt( dh->cdTextRaw() );
+ emit infoMessage( i18n("Found CD-TEXT (%1 - %2).").arg(cdt.performer()).arg(cdt.title()), SUCCESS );
+ d->haveCdText = true;
+ d->cdTextRaw = dh->cdTextRaw();
+ }
+ else {
+ emit infoMessage( i18n("Found corrupted CD-TEXT. Ignoring it."), WARNING );
+ d->haveCdText = false;
+ }
+
+ if( d->haveCdText && m_preferCdText )
+ startCopy();
+ else
+ queryCddb();
+ }
+ else {
+ emit infoMessage( i18n("No CD-TEXT found."), INFO );
+
+ d->haveCdText = false;
+
+ queryCddb();
+ }
+}
+
+
+void K3bCdCopyJob::queryCddb()
+{
+ emit newSubTask( i18n("Querying Cddb") );
+
+ d->haveCddb = false;
+
+ if( !d->cddb ) {
+ d->cddb = new K3bCddb( this );
+ connect( d->cddb, SIGNAL(queryFinished(int)),
+ this, SLOT(slotCddbQueryFinished(int)) );
+ }
+
+ KConfig* c = k3bcore->config();
+ c->setGroup("Cddb");
+
+ d->cddb->readConfig( c );
+ d->cddb->query( d->toc );
+}
+
+
+void K3bCdCopyJob::slotCddbQueryFinished( int error )
+{
+ if( error == K3bCddbQuery::SUCCESS ) {
+ d->cddbInfo = d->cddb->result();
+ d->haveCddb = true;
+
+ emit infoMessage( i18n("Found Cddb entry (%1 - %2).").arg(d->cddbInfo.cdArtist).arg(d->cddbInfo.cdTitle), SUCCESS );
+
+ // save the entry locally
+ KConfig* c = k3bcore->config();
+ c->setGroup( "Cddb" );
+ if( c->readBoolEntry( "save cddb entries locally", true ) )
+ d->cddb->saveEntry( d->cddbInfo );
+ }
+ else if( error == K3bCddbQuery::NO_ENTRY_FOUND ) {
+ emit infoMessage( i18n("No Cddb entry found."), WARNING );
+ }
+ else {
+ emit infoMessage( i18n("Cddb error (%1).").arg(d->cddb->errorString()), ERROR );
+ }
+
+ startCopy();
+}
+
+
+void K3bCdCopyJob::startCopy()
+{
+ d->currentWrittenSession = d->currentReadSession = 1;
+ d->doneCopies = 0;
+
+ if( m_onTheFly ) {
+ emit newSubTask( i18n("Preparing write process...") );
+
+ if( writeNextSession() )
+ readNextSession();
+ else {
+ finishJob( d->canceled, d->error );
+ }
+ }
+ else
+ readNextSession();
+}
+
+
+void K3bCdCopyJob::cancel()
+{
+ d->canceled = true;
+
+ if( d->writerRunning ) {
+ //
+ // we will handle cleanup in slotWriterFinished()
+ // if we are writing onthefly the reader won't be able to write
+ // anymore and will finish unsuccessfully, too
+ //
+ d->cdrecordWriter->cancel();
+ }
+ else if( d->audioReaderRunning )
+ d->audioSessionReader->cancel();
+ else if( d->dataReaderRunning )
+ // d->readcdReader->cancel();
+ d->dataTrackReader->cancel();
+}
+
+
+bool K3bCdCopyJob::prepareImageFiles()
+{
+ kdDebug() << "(K3bCdCopyJob) prepareImageFiles()" << endl;
+
+ d->imageNames.clear();
+ d->infNames.clear();
+ d->deleteTempDir = false;
+
+ QFileInfo fi( m_tempPath );
+
+ if( d->toc.count() > 1 || d->toc.contentType() == K3bDevice::AUDIO ) {
+ // create a directory which contains all the images and inf and stuff
+ // and save it in some cool structure
+
+ bool tempDirReady = false;
+ if( !fi.isDir() ) {
+ if( QFileInfo( m_tempPath.section( '/', 0, -2 ) ).isDir() ) {
+ if( !QFile::exists( m_tempPath ) ) {
+ QDir dir( m_tempPath.section( '/', 0, -2 ) );
+ dir.mkdir( m_tempPath.section( '/', -1 ) );
+ tempDirReady = true;
+ }
+ else
+ m_tempPath = m_tempPath.section( '/', 0, -2 );
+ }
+ else {
+ emit infoMessage( i18n("Specified an unusable temporary path. Using default."), WARNING );
+ m_tempPath = K3b::defaultTempPath();
+ }
+ }
+
+ // create temp dir
+ if( !tempDirReady ) {
+ QDir dir( m_tempPath );
+ m_tempPath = K3b::findUniqueFilePrefix( "k3bCdCopy", m_tempPath );
+ kdDebug() << "(K3bCdCopyJob) creating temp dir: " << m_tempPath << endl;
+ if( !dir.mkdir( m_tempPath, true ) ) {
+ emit infoMessage( i18n("Unable to create temporary directory '%1'.").arg(m_tempPath), ERROR );
+ return false;
+ }
+ d->deleteTempDir = true;
+ }
+
+ m_tempPath = K3b::prepareDir( m_tempPath );
+ emit infoMessage( i18n("Using temporary directory %1.").arg(m_tempPath), INFO );
+
+ // create temp filenames
+ int i = 1;
+ for( K3bDevice::Toc::const_iterator it = d->toc.begin(); it != d->toc.end(); ++it ) {
+ if( (*it).type() == K3bDevice::Track::AUDIO ) {
+ d->imageNames.append( m_tempPath + QString("Track%1.wav").arg(QString::number(i).rightJustify(2, '0')) );
+ d->infNames.append( m_tempPath + QString("Track%1.inf").arg(QString::number(i).rightJustify(2, '0')) );
+ }
+ else
+ d->imageNames.append( m_tempPath + QString("Track%1.iso").arg(QString::number(i).rightJustify(2, '0')) );
+ ++i;
+ }
+
+ kdDebug() << "(K3bCdCopyJob) created image filenames:" << endl;
+ for( unsigned int i = 0; i < d->imageNames.count(); ++i )
+ kdDebug() << "(K3bCdCopyJob) " << d->imageNames[i] << endl;
+
+ return true;
+ }
+ else {
+ // we only need a single image file
+ if( !fi.isFile() ||
+ questionYesNo( i18n("Do you want to overwrite %1?").arg(m_tempPath),
+ i18n("File Exists") ) ) {
+ if( fi.isDir() )
+ m_tempPath = K3b::findTempFile( "iso", m_tempPath );
+ else if( !QFileInfo( m_tempPath.section( '/', 0, -2 ) ).isDir() ) {
+ emit infoMessage( i18n("Specified an unusable temporary path. Using default."), WARNING );
+ m_tempPath = K3b::findTempFile( "iso" );
+ }
+ // else the user specified a file in an existing dir
+
+ emit infoMessage( i18n("Writing image file to %1.").arg(m_tempPath), INFO );
+ }
+ else
+ return false;
+
+ d->imageNames.append( m_tempPath );
+
+ return true;
+ }
+}
+
+
+void K3bCdCopyJob::readNextSession()
+{
+ if( !m_onTheFly || m_onlyCreateImages ) {
+ if( d->numSessions > 1 )
+ emit newTask( i18n("Reading Session %1").arg(d->currentReadSession) );
+ else
+ emit newTask( i18n("Reading Source Medium") );
+
+ if( d->currentReadSession == 1 )
+ emit newSubTask( i18n("Reading track %1 of %2").arg(1).arg(d->toc.count()) );
+ }
+
+ // there is only one situation where we need the audiosessionreader:
+ // if the first session is an audio session. That means the first track
+ // is an audio track
+ if( d->currentReadSession == 1 && d->toc[0].type() == K3bDevice::Track::AUDIO ) {
+ if( !d->audioSessionReader ) {
+ d->audioSessionReader = new K3bAudioSessionReadingJob( this, this );
+ connect( d->audioSessionReader, SIGNAL(nextTrack(int, int)),
+ this, SLOT(slotReadingNextTrack(int, int)) );
+ connectSubJob( d->audioSessionReader,
+ SLOT(slotSessionReaderFinished(bool)),
+ true,
+ SLOT(slotReaderProgress(int)),
+ SLOT(slotReaderSubProgress(int)) );
+ }
+
+ d->audioSessionReader->setDevice( m_readerDevice );
+ d->audioSessionReader->setToc( d->toc );
+ d->audioSessionReader->setParanoiaMode( m_paranoiaMode );
+ d->audioSessionReader->setReadRetries( m_audioReadRetries );
+ d->audioSessionReader->setNeverSkip( !m_ignoreAudioReadErrors );
+ if( m_onTheFly )
+ d->audioSessionReader->writeToFd( d->cdrecordWriter->fd() );
+ else
+ d->audioSessionReader->setImageNames( d->imageNames ); // the audio tracks are always the first tracks
+
+ d->audioReaderRunning = true;
+ d->audioSessionReader->start();
+ }
+ else {
+ if( !d->dataTrackReader ) {
+ d->dataTrackReader = new K3bDataTrackReader( this, this );
+ connect( d->dataTrackReader, SIGNAL(percent(int)), this, SLOT(slotReaderProgress(int)) );
+ connect( d->dataTrackReader, SIGNAL(processedSize(int, int)), this, SLOT(slotReaderProcessedSize(int, int)) );
+ connect( d->dataTrackReader, SIGNAL(finished(bool)), this, SLOT(slotSessionReaderFinished(bool)) );
+ connect( d->dataTrackReader, SIGNAL(infoMessage(const QString&, int)), this, SIGNAL(infoMessage(const QString&, int)) );
+ connect( d->dataTrackReader, SIGNAL(debuggingOutput(const QString&, const QString&)),
+ this, SIGNAL(debuggingOutput(const QString&, const QString&)) );
+ }
+
+ d->dataTrackReader->setDevice( m_readerDevice );
+ d->dataTrackReader->setIgnoreErrors( m_ignoreDataReadErrors );
+ d->dataTrackReader->setNoCorrection( m_noCorrection );
+ d->dataTrackReader->setRetries( m_dataReadRetries );
+ if( m_onlyCreateImages )
+ d->dataTrackReader->setSectorSize( K3bDataTrackReader::MODE1 );
+ else
+ d->dataTrackReader->setSectorSize( K3bDataTrackReader::AUTO );
+
+ K3bTrack* track = 0;
+ unsigned int dataTrackIndex = 0;
+ if( d->toc.contentType() == K3bDevice::MIXED ) {
+ track = &d->toc[d->toc.count()-1];
+ dataTrackIndex = 0;
+ }
+ else {
+ track = &d->toc[d->currentReadSession-1]; // only one track per session
+ dataTrackIndex = d->currentReadSession-1;
+ }
+
+ // HACK: if the track is TAO recorded cut the two run-out sectors
+ if( d->dataSessionProbablyTAORecorded.count() > dataTrackIndex &&
+ d->dataSessionProbablyTAORecorded[dataTrackIndex] )
+ d->dataTrackReader->setSectorRange( track->firstSector(), track->lastSector() - 2 );
+ else
+ d->dataTrackReader->setSectorRange( track->firstSector(), track->lastSector() );
+
+ int trackNum = d->currentReadSession;
+ if( d->toc.contentType() == K3bDevice::MIXED )
+ trackNum = d->toc.count();
+
+ if( m_onTheFly )
+ d->dataTrackReader->writeToFd( d->cdrecordWriter->fd() );
+ else
+ d->dataTrackReader->setImagePath( d->imageNames[trackNum-1] );
+
+ d->dataReaderRunning = true;
+ if( !m_onTheFly || m_onlyCreateImages )
+ slotReadingNextTrack( 1, 1 );
+
+ d->dataTrackReader->start();
+ }
+}
+
+
+bool K3bCdCopyJob::writeNextSession()
+{
+ // we emit our own task since the cdrecord task is way too simple
+ if( d->numSessions > 1 ) {
+ if( m_simulate )
+ emit newTask( i18n("Simulating Session %1").arg(d->currentWrittenSession) );
+ else if( m_copies > 1 )
+ emit newTask( i18n("Writing Copy %1 (Session %2)").arg(d->doneCopies+1).arg(d->currentWrittenSession) );
+ else
+ emit newTask( i18n("Writing Copy (Session %2)").arg(d->currentWrittenSession) );
+ }
+ else {
+ if( m_simulate )
+ emit newTask( i18n("Simulating") );
+ else if( m_copies > 1 )
+ emit newTask( i18n("Writing Copy %1").arg(d->doneCopies+1) );
+ else
+ emit newTask( i18n("Writing Copy") );
+ }
+
+ emit newSubTask( i18n("Waiting for media") );
+
+ // if session > 1 we wait for an appendable CD
+ if( waitForMedia( m_writerDevice,
+ d->currentWrittenSession > 1 && !m_simulate
+ ? K3bDevice::STATE_INCOMPLETE
+ : K3bDevice::STATE_EMPTY,
+ K3bDevice::MEDIA_WRITABLE_CD ) < 0 ) {
+
+ finishJob( true, false );
+ return false;
+ }
+
+ if( !d->cdrecordWriter ) {
+ d->cdrecordWriter = new K3bCdrecordWriter( m_writerDevice, this, this );
+ connect( d->cdrecordWriter, SIGNAL(infoMessage(const QString&, int)), this, SIGNAL(infoMessage(const QString&, int)) );
+ connect( d->cdrecordWriter, SIGNAL(percent(int)), this, SLOT(slotWriterProgress(int)) );
+ connect( d->cdrecordWriter, SIGNAL(processedSize(int, int)), this, SIGNAL(processedSize(int, int)) );
+ connect( d->cdrecordWriter, SIGNAL(subPercent(int)), this, SIGNAL(subPercent(int)) );
+ connect( d->cdrecordWriter, SIGNAL(processedSubSize(int, int)), this, SIGNAL(processedSubSize(int, int)) );
+ connect( d->cdrecordWriter, SIGNAL(nextTrack(int, int)), this, SLOT(slotWritingNextTrack(int, int)) );
+ connect( d->cdrecordWriter, SIGNAL(buffer(int)), this, SIGNAL(bufferStatus(int)) );
+ connect( d->cdrecordWriter, SIGNAL(deviceBuffer(int)), this, SIGNAL(deviceBuffer(int)) );
+ connect( d->cdrecordWriter, SIGNAL(writeSpeed(int, int)), this, SIGNAL(writeSpeed(int, int)) );
+ connect( d->cdrecordWriter, SIGNAL(finished(bool)), this, SLOT(slotWriterFinished(bool)) );
+ // connect( d->cdrecordWriter, SIGNAL(newTask(const QString&)), this, SIGNAL(newTask(const QString&)) );
+ connect( d->cdrecordWriter, SIGNAL(newSubTask(const QString&)), this, SIGNAL(newSubTask(const QString&)) );
+ connect( d->cdrecordWriter, SIGNAL(debuggingOutput(const QString&, const QString&)),
+ this, SIGNAL(debuggingOutput(const QString&, const QString&)) );
+ }
+
+ d->cdrecordWriter->setBurnDevice( m_writerDevice );
+ d->cdrecordWriter->clearArguments();
+ d->cdrecordWriter->setSimulate( m_simulate );
+ d->cdrecordWriter->setBurnSpeed( m_speed );
+
+
+ // create the cdrecord arguments
+ if( d->currentWrittenSession == 1 && d->toc[0].type() == K3bDevice::Track::AUDIO ) {
+ //
+ // Audio session
+ //
+
+
+ if( !d->infFileWriter )
+ d->infFileWriter = new K3bInfFileWriter();
+
+ //
+ // create the inf files if not already done
+ //
+ if( d->infNames.isEmpty() || !QFile::exists( d->infNames[0] ) ) {
+
+ unsigned int trackNumber = 1;
+
+ for( K3bDevice::Toc::const_iterator it = d->toc.begin(); it != d->toc.end(); ++it ) {
+ const K3bDevice::Track& track = *it;
+
+ if( track.type() == K3bDevice::Track::DATA )
+ break;
+
+ d->infFileWriter->setTrack( track );
+ d->infFileWriter->setTrackNumber( trackNumber );
+
+ if( d->haveCddb ) {
+ d->infFileWriter->setTrackTitle( d->cddbInfo.titles[trackNumber-1] );
+ d->infFileWriter->setTrackPerformer( d->cddbInfo.artists[trackNumber-1] );
+ d->infFileWriter->setTrackMessage( d->cddbInfo.extInfos[trackNumber-1] );
+
+ d->infFileWriter->setAlbumTitle( d->cddbInfo.cdTitle );
+ d->infFileWriter->setAlbumPerformer( d->cddbInfo.cdArtist );
+ }
+
+ if( m_onTheFly ) {
+
+ d->infFileWriter->setBigEndian( true );
+
+ // we let KTempFile choose a temp file but delete it on our own
+ // the same way we delete them when writing with images
+ // It is important that the files have the ending inf because
+ // cdrecord only checks this
+
+ KTempFile tmp( QString::null, ".inf" );
+ d->infNames.append( tmp.name() );
+ bool success = d->infFileWriter->save( *tmp.textStream() );
+ tmp.close();
+ if( !success )
+ return false;
+ }
+ else {
+ d->infFileWriter->setBigEndian( false );
+
+ if( !d->infFileWriter->save( d->infNames[trackNumber-1] ) )
+ return false;
+ }
+
+ ++trackNumber;
+ }
+ }
+
+ //
+ // the inf files are ready and named correctly when writing with images
+ //
+ int usedWritingMode = m_writingMode;
+ if( usedWritingMode == K3b::WRITING_MODE_AUTO ) {
+ //
+ // there are a lot of writers out there which produce coasters
+ // in dao mode if the CD contains pregaps of length 0 (or maybe already != 2 secs?)
+ //
+ bool zeroPregap = false;
+ if( d->numSessions == 1 ) {
+ for( K3bDevice::Toc::const_iterator it = d->toc.begin(); it != d->toc.end(); ++it ) {
+ const K3bDevice::Track& track = *it;
+ if( track.index0() == 0 ) {
+ ++it;
+ if( it != d->toc.end() )
+ zeroPregap = true;
+ --it;
+ }
+ }
+ }
+
+ if( zeroPregap && m_writerDevice->supportsRawWriting() ) {
+ if( d->numSessions == 1 )
+ usedWritingMode = K3b::RAW;
+ else
+ usedWritingMode = K3b::TAO;
+ }
+ else if( m_writerDevice->dao() )
+ usedWritingMode = K3b::DAO;
+ else if( m_writerDevice->supportsRawWriting() )
+ usedWritingMode = K3b::RAW;
+ else
+ usedWritingMode = K3b::TAO;
+ }
+ d->cdrecordWriter->setWritingMode( usedWritingMode );
+
+ if( d->numSessions > 1 )
+ d->cdrecordWriter->addArgument( "-multi" );
+
+ if( d->haveCddb || d->haveCdText ) {
+ if( usedWritingMode == K3b::TAO ) {
+ emit infoMessage( i18n("It is not possible to write CD-Text in TAO mode."), WARNING );
+ }
+ else if( d->haveCdText && ( !d->haveCddb || m_preferCdText ) ) {
+ // use the raw CDTEXT data
+ d->cdrecordWriter->setRawCdText( d->cdTextRaw );
+ }
+ else {
+ // make sure the writer job does not create raw cdtext
+ d->cdrecordWriter->setRawCdText( QByteArray() );
+ // cdrecord will use the cdtext data in the inf files
+ d->cdrecordWriter->addArgument( "-text" );
+ }
+ }
+
+ d->cdrecordWriter->addArgument( "-useinfo" );
+
+ //
+ // add all the audio tracks
+ //
+ d->cdrecordWriter->addArgument( "-audio" )->addArgument( "-shorttrack" );
+
+ for( unsigned int i = 0; i < d->infNames.count(); ++i ) {
+ if( m_onTheFly )
+ d->cdrecordWriter->addArgument( d->infNames[i] );
+ else
+ d->cdrecordWriter->addArgument( d->imageNames[i] );
+ }
+ }
+ else {
+ //
+ // Data Session
+ //
+ K3bTrack* track = 0;
+ unsigned int dataTrackIndex = 0;
+ if( d->toc.contentType() == K3bDevice::MIXED ) {
+ track = &d->toc[d->toc.count()-1];
+ dataTrackIndex = 0;
+ }
+ else {
+ track = &d->toc[d->currentWrittenSession-1];
+ dataTrackIndex = d->currentWrittenSession-1;
+ }
+
+ bool multi = d->doNotCloseLastSession || (d->numSessions > 1 && d->currentWrittenSession < d->toc.count());
+ int usedWritingMode = m_writingMode;
+ if( usedWritingMode == K3b::WRITING_MODE_AUTO ) {
+ // at least the NEC3540a does write 2056 byte sectors only in tao mode. Same for LG4040b
+ // since writing data tracks in TAO mode is no loss let's default to TAO in the case of 2056 byte
+ // sectors (which is when writing xa form1 sectors here)
+ if( m_writerDevice->dao() &&
+ d->toc.count() == 1 &&
+ !multi &&
+ track->mode() == K3bDevice::Track::MODE1 )
+ usedWritingMode = K3b::DAO;
+ else
+ usedWritingMode = K3b::TAO;
+ }
+ d->cdrecordWriter->setWritingMode( usedWritingMode );
+
+ //
+ // all but the last session of a multisession disk are written in multi mode
+ // and every data track has it's own session which we forced above
+ //
+ if( multi )
+ d->cdrecordWriter->addArgument( "-multi" );
+
+ // just to let the reader init
+ if( m_onTheFly )
+ d->cdrecordWriter->addArgument( "-waiti" );
+
+ if( track->mode() == K3bDevice::Track::MODE1 )
+ d->cdrecordWriter->addArgument( "-data" );
+ else if( track->mode() == K3bDevice::Track::XA_FORM1 )
+ d->cdrecordWriter->addArgument( "-xa1" );
+ else
+ d->cdrecordWriter->addArgument( "-xamix" );
+
+ if( m_onTheFly ) {
+ // HACK: if the track is TAO recorded cut the two run-out sectors
+ unsigned long trackLen = track->length().lba();
+ if( d->dataSessionProbablyTAORecorded.count() > dataTrackIndex &&
+ d->dataSessionProbablyTAORecorded[dataTrackIndex] )
+ trackLen -= 2;
+
+ if( track->mode() == K3bDevice::Track::MODE1 )
+ trackLen = trackLen * 2048;
+ else if( track->mode() == K3bDevice::Track::XA_FORM1 )
+ trackLen = trackLen * 2056; // see k3bdatatrackreader.h
+ else
+ trackLen = trackLen * 2332; // see k3bdatatrackreader.h
+ d->cdrecordWriter->addArgument( QString("-tsize=%1").arg(trackLen) )->addArgument("-");
+ }
+ else if( d->toc.contentType() == K3bDevice::MIXED )
+ d->cdrecordWriter->addArgument( d->imageNames[d->toc.count()-1] );
+ else
+ d->cdrecordWriter->addArgument( d->imageNames[d->currentWrittenSession-1] );
+
+ // clear cd text from previous sessions
+ d->cdrecordWriter->setRawCdText( QByteArray() );
+ }
+
+
+ //
+ // Finally start the writer
+ //
+ emit burning(true);
+ d->writerRunning = true;
+ d->cdrecordWriter->start();
+
+ return true;
+}
+
+
+// both the readcdreader and the audiosessionreader are connected to this slot
+void K3bCdCopyJob::slotSessionReaderFinished( bool success )
+{
+ d->audioReaderRunning = d->dataReaderRunning = false;
+
+ if( success ) {
+ if( d->numSessions > 1 )
+ emit infoMessage( i18n("Successfully read session %1.").arg(d->currentReadSession), SUCCESS );
+ else
+ emit infoMessage( i18n("Successfully read source disk."), SUCCESS );
+
+ if( !m_onTheFly ) {
+ if( d->numSessions > d->currentReadSession ) {
+ d->currentReadSession++;
+ readNextSession();
+ }
+ else {
+ d->readingSuccessful = true;
+ if( !m_onlyCreateImages ) {
+ if( m_readerDevice == m_writerDevice ) {
+ // eject the media (we do this blocking to know if it worked
+ // becasue if it did not it might happen that k3b overwrites a CD-RW
+ // source)
+ if( !m_readerDevice->eject() ) {
+ blockingInformation( i18n("K3b was unable to eject the source disk. Please do so manually.") );
+ }
+ }
+
+ if( !writeNextSession() ) {
+ // nothing is running here...
+ finishJob( d->canceled, d->error );
+ }
+ }
+ else {
+ finishJob( false, false );
+ }
+ }
+ }
+ }
+ else {
+ if( !d->canceled ) {
+ emit infoMessage( i18n("Error while reading session %1.").arg(d->currentReadSession), ERROR );
+ if( m_onTheFly )
+ d->cdrecordWriter->setSourceUnreadable(true);
+ }
+
+ finishJob( d->canceled, !d->canceled );
+ }
+}
+
+
+void K3bCdCopyJob::slotWriterFinished( bool success )
+{
+ emit burning(false);
+
+ d->writerRunning = false;
+
+ if( success ) {
+ //
+ // if this was the last written session we need to reset d->currentWrittenSession
+ // and start a new writing if more copies are wanted
+ //
+
+ if( d->currentWrittenSession < d->numSessions ) {
+ d->currentWrittenSession++;
+ d->currentReadSession++;
+
+ // reload the media
+ emit newSubTask( i18n("Reloading the medium") );
+ connect( K3bDevice::reload( m_writerDevice ), SIGNAL(finished(K3bDevice::DeviceHandler*)),
+ this, SLOT(slotMediaReloadedForNextSession(K3bDevice::DeviceHandler*)) );
+ }
+ else {
+ d->doneCopies++;
+
+ if( !m_simulate && d->doneCopies < m_copies ) {
+ // start next copy
+ K3bDevice::eject( m_writerDevice );
+
+ d->currentWrittenSession = 1;
+ d->currentReadSession = 1;
+ if( writeNextSession() ) {
+ if( m_onTheFly )
+ readNextSession();
+ }
+ else {
+ // nothing running here...
+ finishJob( d->canceled, d->error );
+ }
+ }
+ else {
+ finishJob( false, false );
+ }
+ }
+ }
+ else {
+ //
+ // If we are writing on the fly the reader will also stop when it is not able to write anymore
+ // The error handling will be done only here in that case
+ //
+
+ // the K3bCdrecordWriter emitted an error message
+
+ finishJob( d->canceled, !d->canceled );
+ }
+}
+
+
+void K3bCdCopyJob::slotMediaReloadedForNextSession( K3bDevice::DeviceHandler* dh )
+{
+ if( !dh->success() )
+ blockingInformation( i18n("Please reload the medium and press 'ok'"),
+ i18n("Unable to close the tray") );
+
+ if( !writeNextSession() ) {
+ // nothing is running here...
+ finishJob( d->canceled, d->error );
+ }
+ else if( m_onTheFly )
+ readNextSession();
+}
+
+
+void K3bCdCopyJob::cleanup()
+{
+ if( m_onTheFly || !m_keepImage || ((d->canceled || d->error) && !d->readingSuccessful) ) {
+ emit infoMessage( i18n("Removing temporary files."), INFO );
+ for( QStringList::iterator it = d->infNames.begin(); it != d->infNames.end(); ++it )
+ QFile::remove( *it );
+ }
+
+ if( !m_onTheFly && (!m_keepImage || ((d->canceled || d->error) && !d->readingSuccessful)) ) {
+ emit infoMessage( i18n("Removing image files."), INFO );
+ for( QStringList::iterator it = d->imageNames.begin(); it != d->imageNames.end(); ++it )
+ QFile::remove( *it );
+
+ // remove the tempdir created in prepareImageFiles()
+ if( d->deleteTempDir ) {
+ KIO::NetAccess::del( KURL::fromPathOrURL(m_tempPath), 0 );
+ d->deleteTempDir = false;
+ }
+ }
+}
+
+
+void K3bCdCopyJob::slotReaderProgress( int p )
+{
+ if( !m_onTheFly || m_onlyCreateImages ) {
+ int bigParts = ( m_onlyCreateImages ? 1 : (m_simulate ? 2 : m_copies + 1 ) );
+ double done = (double)p * (double)d->sessionSizes[d->currentReadSession-1] / 100.0;
+ for( unsigned int i = 0; i < d->currentReadSession-1; ++i )
+ done += (double)d->sessionSizes[i];
+ emit percent( (int)(100.0*done/(double)d->overallSize/(double)bigParts) );
+
+ if( d->dataReaderRunning )
+ emit subPercent(p);
+ }
+}
+
+
+void K3bCdCopyJob::slotReaderSubProgress( int p )
+{
+ // only if reading an audiosession
+ if( !m_onTheFly || m_onlyCreateImages ) {
+ emit subPercent( p );
+ }
+}
+
+
+void K3bCdCopyJob::slotReaderProcessedSize( int p, int pp )
+{
+ if( !m_onTheFly )
+ emit processedSubSize( p, pp );
+}
+
+
+void K3bCdCopyJob::slotWriterProgress( int p )
+{
+ int bigParts = ( m_simulate ? 1 : m_copies ) + ( m_onTheFly ? 0 : 1 );
+ long done = ( m_onTheFly ? d->doneCopies : d->doneCopies+1 ) * d->overallSize
+ + (p * d->sessionSizes[d->currentWrittenSession-1] / 100);
+ for( unsigned int i = 0; i < d->currentWrittenSession-1; ++i )
+ done += d->sessionSizes[i];
+ emit percent( 100*done/d->overallSize/bigParts );
+}
+
+
+void K3bCdCopyJob::slotWritingNextTrack( int t, int tt )
+{
+ if( d->toc.contentType() == K3bDevice::MIXED ) {
+ if( d->currentWrittenSession == 1 )
+ emit newSubTask( i18n("Writing track %1 of %2").arg(t).arg(d->toc.count()) );
+ else
+ emit newSubTask( i18n("Writing track %1 of %2").arg(d->toc.count()).arg(d->toc.count()) );
+ }
+ else if( d->numSessions > 1 )
+ emit newSubTask( i18n("Writing track %1 of %2").arg(d->currentWrittenSession).arg(d->toc.count()) );
+ else
+ emit newSubTask( i18n("Writing track %1 of %2").arg(t).arg(tt) );
+}
+
+
+void K3bCdCopyJob::slotReadingNextTrack( int t, int )
+{
+ if( !m_onTheFly || m_onlyCreateImages ) {
+ int track = t;
+ if( d->audioReaderRunning )
+ track = t;
+ else if( d->toc.contentType() == K3bDevice::MIXED )
+ track = d->toc.count();
+ else
+ track = d->currentReadSession;
+
+ emit newSubTask( i18n("Reading track %1 of %2").arg(track).arg(d->toc.count()) );
+ }
+}
+
+
+QString K3bCdCopyJob::jobDescription() const
+{
+ if( m_onlyCreateImages ) {
+ return i18n("Creating CD Image");
+ }
+ else if( m_simulate ) {
+ if( m_onTheFly )
+ return i18n("Simulating CD Copy On-The-Fly");
+ else
+ return i18n("Simulating CD Copy");
+ }
+ else {
+ if( m_onTheFly )
+ return i18n("Copying CD On-The-Fly");
+ else
+ return i18n("Copying CD");
+ }
+}
+
+
+QString K3bCdCopyJob::jobDetails() const
+{
+ return i18n("Creating 1 copy",
+ "Creating %n copies",
+ (m_simulate||m_onlyCreateImages) ? 1 : m_copies );
+}
+
+
+void K3bCdCopyJob::finishJob( bool c, bool e )
+{
+ if( d->running ) {
+ if( c ) {
+ d->canceled = true;
+ emit canceled();
+ }
+ if( e )
+ d->error = true;
+
+ cleanup();
+
+ d->running = false;
+
+ jobFinished( !(c||e) );
+ }
+}
+
+#include "k3bcdcopyjob.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bcdcopyjob.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bcdcopyjob.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bcdcopyjob.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,117 @@
+/*
+ *
+ * $Id: k3bcdcopyjob.h 690187 2007-07-20 09:18:03Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef _K3BCDCOPYJOB_H_
+#define _K3BCDCOPYJOB_H_
+
+#include <k3bjob.h>
+#include "k3b_export.h"
+
+namespace K3bDevice {
+ class Device;
+ class DeviceHandler;
+}
+
+
+/**
+ *@author Sebastian Trueg
+ */
+class LIBK3B_EXPORT K3bCdCopyJob : public K3bBurnJob
+{
+ Q_OBJECT
+
+ public:
+ K3bCdCopyJob( K3bJobHandler* hdl, QObject* parent = 0 );
+ ~K3bCdCopyJob();
+
+ K3bDevice::Device* writer() const { return m_onlyCreateImages ? 0 : m_writerDevice; }
+ K3bDevice::Device* reader() const { return m_readerDevice; }
+
+ QString jobDescription() const;
+ QString jobDetails() const;
+
+ public slots:
+ void start();
+ void cancel();
+
+ public:
+ void setWriterDevice( K3bDevice::Device* dev ) { m_writerDevice = dev; }
+ void setReaderDevice( K3bDevice::Device* dev ) { m_readerDevice = dev; }
+ void setWritingMode( int m ) { m_writingMode = m; }
+ void setSpeed( int s ) { m_speed = s; }
+ void setOnTheFly( bool b ) { m_onTheFly = b; }
+ void setKeepImage( bool b ) { m_keepImage = b; }
+ void setOnlyCreateImage( bool b ) { m_onlyCreateImages = b; }
+ void setSimulate( bool b ) { m_simulate = b; }
+ void setTempPath( const QString& path ) { m_tempPath= path; }
+ void setCopies( unsigned int c ) { m_copies = c; }
+ void setParanoiaMode( int i ) { m_paranoiaMode = i; }
+ void setIgnoreDataReadErrors( bool b ) { m_ignoreDataReadErrors = b; }
+ void setDataReadRetries( int i ) { m_dataReadRetries = i; }
+ void setIgnoreAudioReadErrors( bool b ) { m_ignoreAudioReadErrors = b; }
+ void setAudioReadRetries( int i ) { m_audioReadRetries = i; }
+ void setPreferCdText( bool b ) { m_preferCdText = b; }
+ void setCopyCdText( bool b ) { m_copyCdText = b; }
+ void setNoCorrection( bool b ) { m_noCorrection = b; }
+
+ private slots:
+ void slotDiskInfoReady( K3bDevice::DeviceHandler* );
+ void slotCdTextReady( K3bDevice::DeviceHandler* );
+ void slotMediaReloadedForNextSession( K3bDevice::DeviceHandler* dh );
+ void slotCddbQueryFinished(int);
+ void slotWritingNextTrack( int t, int tt );
+ void slotReadingNextTrack( int t, int tt );
+ void slotSessionReaderFinished( bool success );
+ void slotWriterFinished( bool success );
+ void slotReaderProgress( int p );
+ void slotReaderSubProgress( int p );
+ void slotWriterProgress( int p );
+ void slotReaderProcessedSize( int p, int pp );
+
+ private:
+ void startCopy();
+ void searchCdText();
+ void queryCddb();
+ bool writeNextSession();
+ void readNextSession();
+ bool prepareImageFiles();
+ void cleanup();
+ void finishJob( bool canceled, bool error );
+
+ K3bDevice::Device* m_writerDevice;
+ K3bDevice::Device* m_readerDevice;
+ bool m_simulate;
+ int m_speed;
+ int m_paranoiaMode;
+ unsigned int m_copies;
+ bool m_keepImage;
+ bool m_onlyCreateImages;
+ bool m_onTheFly;
+ bool m_ignoreDataReadErrors;
+ bool m_ignoreAudioReadErrors;
+ bool m_noCorrection;
+ int m_dataReadRetries;
+ int m_audioReadRetries;
+ bool m_preferCdText;
+ bool m_copyCdText;
+ QString m_tempPath;
+ int m_writingMode;
+
+ class Private;
+ Private* d;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bcdda2wavreader.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bcdda2wavreader.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bcdda2wavreader.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,254 @@
+/*
+ *
+ * $Id: k3bcdda2wavreader.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bcdda2wavreader.h"
+
+#include <k3bexternalbinmanager.h>
+#include <k3bdevice.h>
+#include <k3bdevicemanager.h>
+#include <k3bcore.h>
+#include <k3bprocess.h>
+
+#include <kdebug.h>
+#include <klocale.h>
+
+#include <qvaluevector.h>
+#include <qregexp.h>
+
+
+class K3bCdda2wavReader::Private
+{
+public:
+ Private()
+ : cdda2wavBin(0),
+ process(0),
+ cancaled(false),
+ running(false),
+ fdToWriteTo(-1) {
+ }
+
+ const K3bExternalBin* cdda2wavBin;
+ K3bProcess* process;
+
+ bool cancaled;
+ bool running;
+
+ int fdToWriteTo;
+
+ int currentTrack;
+ QValueVector<int> trackOffsets;
+};
+
+
+K3bCdda2wavReader::K3bCdda2wavReader( QObject* parent, const char* name )
+ : K3bJob( parent, name )
+{
+ d = new Private();
+}
+
+
+K3bCdda2wavReader::~K3bCdda2wavReader()
+{
+ delete d->process;
+ delete d;
+}
+
+
+bool K3bCdda2wavReader::active() const
+{
+ return d->running;
+}
+
+
+void K3bCdda2wavReader::writeToFd( int fd )
+{
+ d->fdToWriteTo = fd;
+}
+
+
+void K3bCdda2wavReader::start()
+{
+ start( false );
+}
+
+
+void K3bCdda2wavReader::start( bool onlyInfo )
+{
+ d->running = true;
+ d->cancaled = false;
+ d->currentTrack = 1;
+ d->trackOffsets.clear();
+
+ jobStarted();
+
+ d->cdda2wavBin = k3bcore->externalBinManager()->binObject( "cdda2wav" );
+ if( !d->cdda2wavBin ) {
+ emit infoMessage( i18n("Could not find %1 executable.").arg("cdda2wav"), ERROR );
+ jobFinished(false);
+ d->running = false;
+ return;
+ }
+
+ // prepare the process
+ delete d->process;
+ d->process = new K3bProcess();
+ d->process->setSplitStdout(true);
+ d->process->setSuppressEmptyLines(true);
+ d->process->setWorkingDirectory( m_imagePath );
+ connect( d->process, SIGNAL(stdoutLine(const QString&)), this, SLOT(slotProcessLine(const QString&)) );
+ connect( d->process, SIGNAL(stderrLine(const QString&)), this, SLOT(slotProcessLine(const QString&)) );
+ connect( d->process, SIGNAL(processExited(KProcess*)), this, SLOT(slotProcessExited(KProcess*)) );
+
+ // create the command line
+ *d->process << d->cdda2wavBin->path;
+ *d->process << "-vall" << ( d->cdda2wavBin->hasFeature( "gui" ) ? "-gui" : "-g" );
+ if( d->cdda2wavBin->hasFeature( "dev" ) )
+ *d->process << QString("dev=%1").arg(K3bDevice::externalBinDeviceParameter(m_device, d->cdda2wavBin));
+ else
+ *d->process << "-D" << K3bDevice::externalBinDeviceParameter(m_device, d->cdda2wavBin);
+ *d->process << ( d->cdda2wavBin->hasFeature( "bulk" ) ? "-bulk" : "-B" );
+ if( onlyInfo )
+ *d->process << ( d->cdda2wavBin->hasFeature( "info-only" ) ? "-info-only" : "-J" );
+ else if( d->fdToWriteTo != -1 )
+ *d->process << ( d->cdda2wavBin->hasFeature( "no-infofile" ) ? "-no-infofile" : "-H" );
+
+ // additional user parameters from config
+ const QStringList& params = d->cdda2wavBin->userParameters();
+ for( QStringList::const_iterator it = params.begin(); it != params.end(); ++it )
+ *d->process << *it;
+
+ // start the thing
+ if( !d->process->start( KProcess::NotifyOnExit, KProcess::All ) ) {
+ // something went wrong when starting the program
+ // it "should" be the executable
+ kdDebug() << "(K3bCdda2wavReader) could not start cdda2wav" << endl;
+ emit infoMessage( i18n("Could not start %1.").arg("cdda2wav"), K3bJob::ERROR );
+ d->running = false;
+ jobFinished(false);
+ }
+}
+
+
+void K3bCdda2wavReader::cancel()
+{
+ if( d->running ) {
+ d->cancaled = true;
+ if( d->process )
+ if( d->process->isRunning() )
+ d->process->kill();
+ }
+}
+
+
+void K3bCdda2wavReader::slotProcessLine( const QString& line )
+{
+ // Tracks:11 44:37.30
+ // CDINDEX discid: ZvzBXv614ACgzn1bWWy107cs0nA-
+ // CDDB discid: 0x8a0a730b
+ // CD-Text: not detected
+ // CD-Extra: not detected
+ // Album title: '' from ''
+ // T01: 0 3:39.70 audio linear copydenied stereo title '' from ''
+ // T02: 16495 3:10.47 audio linear copydenied stereo title '' from ''
+ // T03: 30792 3:30.00 audio linear copydenied stereo title '' from ''
+ // T04: 46542 4:05.05 audio linear copydenied stereo title '' from ''
+ // T05: 64922 3:44.35 audio linear copydenied stereo title '' from ''
+ // T06: 81757 4:36.45 audio linear copydenied stereo title '' from ''
+ // T07: 102502 3:59.30 audio linear copydenied stereo title '' from ''
+ // T08: 120457 5:24.30 audio linear copydenied stereo title '' from ''
+ // T09: 144787 3:26.28 audio linear copydenied stereo title '' from ''
+ // T10: 160265 4:07.20 audio linear copydenied stereo title '' from ''
+ // T11: 178810 4:51.20 audio linear copydenied stereo title '' from ''
+
+ // percent_done:
+ // 100% track 1 successfully recorded
+ // 100% track 2 successfully recorded
+ // 100% track 3 successfully recorded
+
+
+
+ static QRegExp rx( "T\\d\\d:" );
+ if( rx.exactMatch( line.left(4) ) || line.startsWith( "Leadout" ) ) {
+ int pos = line.find( " " );
+ int endpos = line.find( QRegExp( "\\d" ), pos );
+ endpos = line.find( " ", endpos );
+ bool ok;
+ int offset = line.mid( pos, endpos-pos ).toInt(&ok);
+ if( ok )
+ d->trackOffsets.append( offset );
+ else
+ kdDebug() << "(K3bCdda2wavReader) track offset parsing error: '" << line.mid( pos, endpos-pos ) << "'" << endl;
+ }
+
+ else if( line.startsWith( "percent_done" ) ) {
+ // the reading starts
+ d->currentTrack = 1;
+ emit nextTrack( d->currentTrack, d->trackOffsets.count() );
+ }
+
+ else if( line.contains("successfully recorded") ) {
+ d->currentTrack++;
+ emit nextTrack( d->currentTrack, d->trackOffsets.count() );
+ }
+
+ else if( line.contains("%") ) {
+ // parse progress
+ bool ok;
+ int p = line.left(3).toInt(&ok);
+ if( ok ) {
+ emit subPercent( p );
+
+ int overall = d->trackOffsets[d->currentTrack-1];
+ int tSize = d->trackOffsets[d->currentTrack] - d->trackOffsets[d->currentTrack-1];
+ overall += (tSize*p/100);
+
+ emit percent( overall*100/d->trackOffsets[d->trackOffsets.count()-1] );
+ }
+ else
+ kdDebug() << "(K3bCdda2wavReader) track progress parsing error: '" << line.left(3) << "'" << endl;
+ }
+}
+
+
+void K3bCdda2wavReader::slotProcessExited( KProcess* p )
+{
+ d->running = false;
+
+ if( d->cancaled ) {
+ emit canceled();
+ jobFinished(false);
+ return;
+ }
+
+ if( p->normalExit() ) {
+ // TODO: improve this
+
+ if( p->exitStatus() == 0 ) {
+ jobFinished( true );
+ }
+ else {
+ emit infoMessage( i18n("%1 returned an unknown error (code %2).")
+ .arg("Cdda2wav").arg(p->exitStatus()), ERROR );
+ jobFinished( false );
+ }
+ }
+ else {
+ emit infoMessage( i18n("%1 did not exit cleanly.").arg("Cdda2wav"),
+ ERROR );
+ jobFinished( false );
+ }
+}
+
+#include "k3bcdda2wavreader.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bcdda2wavreader.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bcdda2wavreader.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bcdda2wavreader.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,70 @@
+/*
+ *
+ * $Id: k3bcdda2wavreader.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_CDDA2WAV_READER_H_
+#define _K3B_CDDA2WAV_READER_H_
+
+#include <k3bjob.h>
+
+class KProcess;
+namespace K3bDevice {
+ class Device;
+};
+
+
+/**
+ * An Audio CD reader completely based on cdda2wav.
+ * It does not use K3bDevice::Device but parses the track offsets
+ * from the cdda2wav output.
+ */
+class K3bCdda2wavReader : public K3bJob
+{
+ Q_OBJECT
+
+ public:
+ K3bCdda2wavReader( QObject* parent = 0, const char* name = 0 );
+ ~K3bCdda2wavReader();
+
+ bool active() const;
+
+ public slots:
+ void start();
+ void start( bool onlyReadInfo );
+ void cancel();
+
+ void setReadDevice( K3bDevice::Device* dev ) { m_device = dev; }
+ void setImagePath( const QString& p ) { m_imagePath = p; }
+
+ /**
+ * the data gets written directly into fd instead of the imagefile.
+ * Be aware that this only makes sense before starting the job.
+ * To disable just set fd to -1
+ */
+ void writeToFd( int fd );
+
+ private slots:
+ void slotProcessLine( const QString& );
+ void slotProcessExited( KProcess* );
+
+ private:
+ K3bDevice::Device* m_device;
+
+ QString m_imagePath;
+
+ class Private;
+ Private* d;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bclonejob.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bclonejob.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bclonejob.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,375 @@
+/*
+ *
+ * $Id: k3bclonejob.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bclonejob.h"
+
+#include <k3breadcdreader.h>
+#include <k3bcdrecordwriter.h>
+#include <k3bexternalbinmanager.h>
+#include <k3bdevice.h>
+#include <k3bdevicehandler.h>
+#include <k3bglobals.h>
+#include <k3bcore.h>
+#include <k3bclonetocreader.h>
+
+#include <kdebug.h>
+#include <klocale.h>
+
+#include <qfile.h>
+#include <qfileinfo.h>
+
+
+
+class K3bCloneJob::Private
+{
+public:
+ Private()
+ : doneCopies(0) {
+ }
+
+ int doneCopies;
+};
+
+
+K3bCloneJob::K3bCloneJob( K3bJobHandler* hdl, QObject* parent, const char* name )
+ : K3bBurnJob( hdl, parent, name ),
+ m_writerDevice(0),
+ m_readerDevice(0),
+ m_writerJob(0),
+ m_readcdReader(0),
+ m_removeImageFiles(false),
+ m_canceled(false),
+ m_running(false),
+ m_simulate(false),
+ m_speed(1),
+ m_copies(1),
+ m_onlyCreateImage(false),
+ m_onlyBurnExistingImage(false),
+ m_readRetries(128)
+{
+ d = new Private;
+}
+
+
+K3bCloneJob::~K3bCloneJob()
+{
+ delete d;
+}
+
+
+void K3bCloneJob::start()
+{
+ jobStarted();
+
+ m_canceled = false;
+ m_running = true;
+
+
+ // TODO: check the cd size and warn the user if not enough space
+
+ //
+ // We first check if cdrecord has clone support
+ // The readcdReader will check the same for readcd
+ //
+ const K3bExternalBin* cdrecordBin = k3bcore->externalBinManager()->binObject( "cdrecord" );
+ if( !cdrecordBin ) {
+ emit infoMessage( i18n("Could not find %1 executable.").arg("cdrecord"), ERROR );
+ jobFinished(false);
+ m_running = false;
+ return;
+ }
+ else if( !cdrecordBin->hasFeature( "clone" ) ) {
+ emit infoMessage( i18n("Cdrecord version %1 does not have cloning support.").arg(cdrecordBin->version), ERROR );
+ jobFinished(false);
+ m_running = false;
+ return;
+ }
+
+ if( (!m_onlyCreateImage && !writer()) ||
+ (!m_onlyBurnExistingImage && !readingDevice()) ) {
+ emit infoMessage( i18n("No device set."), ERROR );
+ jobFinished(false);
+ m_running = false;
+ return;
+ }
+
+ if( !m_onlyCreateImage ) {
+ if( !writer()->supportsWritingMode( K3bDevice::RAW_R96R ) &&
+ !writer()->supportsWritingMode( K3bDevice::RAW_R16 ) ) {
+ emit infoMessage( i18n("CD writer %1 does not support cloning.")
+ .arg(writer()->vendor())
+ .arg(writer()->description()), ERROR );
+ m_running = false;
+ jobFinished(false);
+ return;
+ }
+ }
+
+ if( m_imagePath.isEmpty() ) {
+ m_imagePath = K3b::findTempFile( "img" );
+ }
+ else if( QFileInfo(m_imagePath).isDir() ) {
+ m_imagePath = K3b::findTempFile( "img", m_imagePath );
+ }
+
+ if( m_onlyBurnExistingImage ) {
+ startWriting();
+ }
+ else {
+ emit burning( false );
+
+ prepareReader();
+
+ if( waitForMedia( readingDevice(),
+ K3bDevice::STATE_COMPLETE,
+ K3bDevice::MEDIA_WRITABLE_CD|K3bDevice::MEDIA_CD_ROM ) < 0 ) {
+ m_running = false;
+ emit canceled();
+ jobFinished(false);
+ return;
+ }
+
+ emit newTask( i18n("Reading clone image") );
+
+ m_readcdReader->start();
+ }
+}
+
+
+void K3bCloneJob::prepareReader()
+{
+ if( !m_readcdReader ) {
+ m_readcdReader = new K3bReadcdReader( this, this );
+ connect( m_readcdReader, SIGNAL(percent(int)), this, SLOT(slotReadingPercent(int)) );
+ connect( m_readcdReader, SIGNAL(percent(int)), this, SIGNAL(subPercent(int)) );
+ connect( m_readcdReader, SIGNAL(processedSize(int, int)), this, SIGNAL(processedSubSize(int, int)) );
+ connect( m_readcdReader, SIGNAL(finished(bool)), this, SLOT(slotReadingFinished(bool)) );
+ connect( m_readcdReader, SIGNAL(infoMessage(const QString&, int)), this, SIGNAL(infoMessage(const QString&, int)) );
+ connect( m_readcdReader, SIGNAL(newTask(const QString&)), this, SIGNAL(newSubTask(const QString&)) );
+ connect( m_readcdReader, SIGNAL(debuggingOutput(const QString&, const QString&)),
+ this, SIGNAL(debuggingOutput(const QString&, const QString&)) );
+ }
+
+ m_readcdReader->setReadDevice( readingDevice() );
+ m_readcdReader->setReadSpeed( 0 ); // MAX
+ m_readcdReader->setDisableCorrection( m_noCorrection );
+ m_readcdReader->setImagePath( m_imagePath );
+ m_readcdReader->setClone( true );
+ m_readcdReader->setRetries( m_readRetries );
+}
+
+
+void K3bCloneJob::prepareWriter()
+{
+ if( !m_writerJob ) {
+ m_writerJob = new K3bCdrecordWriter( writer(), this, this );
+ connect( m_writerJob, SIGNAL(infoMessage(const QString&, int)), this, SIGNAL(infoMessage(const QString&, int)) );
+ connect( m_writerJob, SIGNAL(percent(int)), this, SLOT(slotWriterPercent(int)) );
+ connect( m_writerJob, SIGNAL(percent(int)), this, SIGNAL(subPercent(int)) );
+ connect( m_writerJob, SIGNAL(nextTrack(int, int)), this, SLOT(slotWriterNextTrack(int, int)) );
+ connect( m_writerJob, SIGNAL(processedSize(int, int)), this, SIGNAL(processedSubSize(int, int)) );
+ connect( m_writerJob, SIGNAL(buffer(int)), this, SIGNAL(bufferStatus(int)) );
+ connect( m_writerJob, SIGNAL(deviceBuffer(int)), this, SIGNAL(deviceBuffer(int)) );
+ connect( m_writerJob, SIGNAL(writeSpeed(int, int)), this, SIGNAL(writeSpeed(int, int)) );
+ connect( m_writerJob, SIGNAL(finished(bool)), this, SLOT(slotWriterFinished(bool)) );
+ // connect( m_writerJob, SIGNAL(newTask(const QString&)), this, SIGNAL(newTask(const QString&)) );
+ connect( m_writerJob, SIGNAL(newSubTask(const QString&)), this, SIGNAL(newSubTask(const QString&)) );
+ connect( m_writerJob, SIGNAL(debuggingOutput(const QString&, const QString&)),
+ this, SIGNAL(debuggingOutput(const QString&, const QString&)) );
+ }
+
+ m_writerJob->clearArguments();
+ m_writerJob->setWritingMode( K3b::RAW );
+ m_writerJob->setClone( true );
+ m_writerJob->setSimulate( m_simulate );
+ m_writerJob->setBurnSpeed( m_speed );
+ m_writerJob->addArgument( m_imagePath );
+}
+
+
+void K3bCloneJob::cancel()
+{
+ if( m_running ) {
+ m_canceled = true;
+ if( m_readcdReader )
+ m_readcdReader->cancel();
+ if( m_writerJob )
+ m_writerJob->cancel();
+ }
+}
+
+
+void K3bCloneJob::slotWriterPercent( int p )
+{
+ if( m_onlyBurnExistingImage )
+ emit percent( (int)((double)(d->doneCopies)*100.0/(double)(m_copies) + (double)p/(double)(m_copies)) );
+ else
+ emit percent( (int)((double)(1+d->doneCopies)*100.0/(double)(1+m_copies) + (double)p/(double)(1+m_copies)) );
+}
+
+
+void K3bCloneJob::slotWriterNextTrack( int t, int tt )
+{
+ emit newSubTask( i18n("Writing Track %1 of %2").arg(t).arg(tt) );
+}
+
+
+void K3bCloneJob::slotWriterFinished( bool success )
+{
+ if( m_canceled ) {
+ removeImageFiles();
+ m_running = false;
+ emit canceled();
+ jobFinished(false);
+ return;
+ }
+
+ if( success ) {
+ d->doneCopies++;
+
+ emit infoMessage( i18n("Successfully written clone copy %1.").arg(d->doneCopies), INFO );
+
+ if( d->doneCopies < m_copies ) {
+ K3bDevice::eject( writer() );
+ startWriting();
+ }
+ else {
+ if( m_removeImageFiles )
+ removeImageFiles();
+ m_running = false;
+ jobFinished(true);
+ }
+ }
+ else {
+ removeImageFiles();
+ m_running = false;
+ jobFinished(false);
+ }
+}
+
+
+void K3bCloneJob::slotReadingPercent( int p )
+{
+ emit percent( m_onlyCreateImage ? p : (int)((double)p/(double)(1+m_copies)) );
+}
+
+
+void K3bCloneJob::slotReadingFinished( bool success )
+{
+ if( m_canceled ) {
+ removeImageFiles();
+ m_running = false;
+ emit canceled();
+ jobFinished(false);
+ return;
+ }
+
+ if( success ) {
+ //
+ // Make a quick test if the image is really valid.
+ // Readcd does not seem to have proper exit codes
+ //
+ K3bCloneTocReader ctr( m_imagePath );
+ if( ctr.isValid() ) {
+ emit infoMessage( i18n("Successfully read disk."), INFO );
+ if( m_onlyCreateImage ) {
+ m_running = false;
+ jobFinished(true);
+ }
+ else {
+ if( writer() == readingDevice() )
+ K3bDevice::eject( writer() );
+ startWriting();
+ }
+ }
+ else {
+ emit infoMessage( i18n("Failed to read disk completely in clone mode."), ERROR );
+ removeImageFiles();
+ m_running = false;
+ jobFinished(false);
+ }
+ }
+ else {
+ emit infoMessage( i18n("Error while reading disk."), ERROR );
+ removeImageFiles();
+ m_running = false;
+ jobFinished(false);
+ }
+}
+
+
+void K3bCloneJob::startWriting()
+{
+ emit burning( true );
+
+ // start writing
+ prepareWriter();
+
+ if( waitForMedia( writer(),
+ K3bDevice::STATE_EMPTY,
+ K3bDevice::MEDIA_WRITABLE_CD ) < 0 ) {
+ removeImageFiles();
+ m_running = false;
+ emit canceled();
+ jobFinished(false);
+ return;
+ }
+
+ if( m_simulate )
+ emit newTask( i18n("Simulating clone copy") );
+ else
+ emit newTask( i18n("Writing clone copy %1").arg(d->doneCopies+1) );
+
+ m_writerJob->start();
+}
+
+
+void K3bCloneJob::removeImageFiles()
+{
+ if( !m_onlyBurnExistingImage ) {
+ emit infoMessage( i18n("Removing image files."), INFO );
+ if( QFile::exists( m_imagePath ) )
+ QFile::remove( m_imagePath );
+ if( QFile::exists( m_imagePath + ".toc" ) )
+ QFile::remove( m_imagePath + ".toc" );
+ }
+}
+
+
+QString K3bCloneJob::jobDescription() const
+{
+ if( m_onlyCreateImage )
+ return i18n("Creating Clone Image");
+ else if( m_onlyBurnExistingImage ) {
+ if( m_simulate )
+ return i18n("Simulating Clone Image");
+ else
+ return i18n("Burning Clone Image");
+ }
+ else if( m_simulate )
+ return i18n("Simulating CD Cloning");
+ else
+ return i18n("Cloning CD");
+}
+
+
+QString K3bCloneJob::jobDetails() const
+{
+ return i18n("Creating 1 clone copy",
+ "Creating %n clone copies",
+ (m_simulate||m_onlyCreateImage) ? 1 : m_copies );
+}
+
+#include "k3bclonejob.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bclonejob.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bclonejob.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bclonejob.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,99 @@
+/*
+ *
+ * $Id: k3bclonejob.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_CLONE_JOB_H_
+#define _K3B_CLONE_JOB_H_
+
+#include <k3bjob.h>
+#include "k3b_export.h"
+#include <qstring.h>
+
+
+namespace K3bDevice {
+ class Device;
+}
+class K3bCdrecordWriter;
+class K3bReadcdReader;
+
+
+class LIBK3B_EXPORT K3bCloneJob : public K3bBurnJob
+{
+ Q_OBJECT
+
+ public:
+ K3bCloneJob( K3bJobHandler*, QObject* parent = 0, const char* name = 0 );
+ ~K3bCloneJob();
+
+ K3bDevice::Device* writer() const { return m_writerDevice; }
+ K3bDevice::Device* readingDevice() const { return m_readerDevice; }
+
+ QString jobDescription() const;
+ QString jobDetails() const;
+
+ public slots:
+ void start();
+ void cancel();
+
+ void setWriterDevice( K3bDevice::Device* w ) { m_writerDevice = w; }
+ void setReaderDevice( K3bDevice::Device* w ) { m_readerDevice = w; }
+ void setImagePath( const QString& p ) { m_imagePath = p; }
+ void setNoCorrection( bool b ) { m_noCorrection = b; }
+ void setRemoveImageFiles( bool b ) { m_removeImageFiles = b; }
+ void setOnlyCreateImage( bool b ) { m_onlyCreateImage = b; }
+ void setOnlyBurnExistingImage( bool b ) { m_onlyBurnExistingImage = b; }
+ void setSimulate( bool b ) { m_simulate = b; }
+ void setWriteSpeed( int s ) { m_speed = s; }
+ void setCopies( int c ) { m_copies = c; }
+ void setReadRetries( int i ) { m_readRetries = i; }
+
+ private slots:
+ void slotWriterPercent( int );
+ void slotWriterFinished( bool );
+ void slotWriterNextTrack( int, int );
+ void slotReadingPercent( int );
+ void slotReadingFinished( bool );
+
+ private:
+ void removeImageFiles();
+ void prepareReader();
+ void prepareWriter();
+ void startWriting();
+
+ K3bDevice::Device* m_writerDevice;
+ K3bDevice::Device* m_readerDevice;
+ QString m_imagePath;
+
+ K3bCdrecordWriter* m_writerJob;
+ K3bReadcdReader* m_readcdReader;
+
+ bool m_noCorrection;
+ bool m_removeImageFiles;
+
+ bool m_canceled;
+ bool m_running;
+
+ bool m_simulate;
+ int m_speed;
+ int m_copies;
+ bool m_onlyCreateImage;
+ bool m_onlyBurnExistingImage;
+ int m_readRetries;
+
+ class Private;
+ Private* d;
+};
+
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bclonetocreader.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bclonetocreader.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bclonetocreader.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,235 @@
+/*
+ *
+ * $Id: k3bclonetocreader.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include <config.h>
+
+
+#include "k3bclonetocreader.h"
+
+#include <k3bdeviceglobals.h>
+#include <k3bglobals.h>
+
+#include <qfile.h>
+#include <qtextstream.h>
+
+#include <kdebug.h>
+
+
+class K3bCloneTocReader::Private
+{
+public:
+ Private()
+ : size(0) {
+ }
+
+ K3b::Msf size;
+ QString tocFile;
+};
+
+
+
+K3bCloneTocReader::K3bCloneTocReader( const QString& filename )
+ : K3bImageFileReader()
+{
+ d = new Private;
+ openFile( filename );
+}
+
+
+K3bCloneTocReader::~K3bCloneTocReader()
+{
+ delete d;
+}
+
+
+const K3b::Msf& K3bCloneTocReader::imageSize() const
+{
+ return d->size;
+}
+
+
+void K3bCloneTocReader::readFile()
+{
+ // first of all we check if we find the image file which contains the data for this toc
+ // cdrecord always uses this strange file naming:
+ // somedata
+ // somedata.toc
+
+ // filename should always be the toc file
+ if( filename().right( 4 ) == ".toc" )
+ d->tocFile = filename();
+ else
+ d->tocFile = filename() + ".toc";
+
+ // now get rid of the ".toc" extension
+ QString imageFileName = d->tocFile.left( d->tocFile.length()-4 );
+ if( !QFile::exists( imageFileName ) ) {
+ kdDebug() << "(K3bCloneTocReader) could not find image file " << imageFileName << endl;
+ return;
+ }
+
+ setImageFilename( imageFileName );
+
+ d->size = 0;
+
+ QFile f( d->tocFile );
+ if( f.open( IO_ReadOnly ) ) {
+ //
+ // Inspired by clone.c from the cdrecord sources
+ //
+ char buffer[2048];
+ int read = f.readBlock( buffer, 2048 );
+ f.close();
+
+ if( read == 2048 ) {
+ kdDebug() << "(K3bCloneTocReader) TOC too large." << endl;
+ return;
+ }
+
+ // the toc starts with a tocheader
+ struct tocheader {
+ unsigned char len[2];
+ unsigned char first; // first session
+ unsigned char last; // last session
+ };
+
+ struct tocheader* th = (struct tocheader*)buffer;
+ int dataLen = K3bDevice::from2Byte( th->len ) + 2; // the len field does not include it's own length
+
+ if( th->first != 1 ) {
+ kdDebug() << "(K3bCloneTocReader) first session != 1" << endl;
+ return;
+ }
+
+ // the following bytes are multiple instances of
+ struct ftrackdesc {
+ unsigned char sess_number;
+#ifdef WORDS_BIGENDIAN // __BYTE_ORDER == __BIG_ENDIAN
+ unsigned char adr : 4;
+ unsigned char control : 4;
+#else
+ unsigned char control : 4;
+ unsigned char adr : 4;
+#endif
+ unsigned char track;
+ unsigned char point;
+ unsigned char amin;
+ unsigned char asec;
+ unsigned char aframe;
+ unsigned char res7;
+ unsigned char pmin;
+ unsigned char psec;
+ unsigned char pframe;
+ };
+
+ for( int i = 4; i < dataLen; i += 11) {
+ struct ftrackdesc* ft = (struct ftrackdesc*)&buffer[i];
+
+ if( ft->sess_number != 1 ) {
+ kdDebug() << "(K3bCloneTocReader} session number != 1" << endl;
+ return;
+ }
+
+ // now we check some of the values
+ if( ft->point >= 0x1 && ft->point <= 0x63 ) {
+ if( ft->adr == 1 ) {
+ // check track starttime
+ if( ft->psec > 60 || ft->pframe > 75 ) {
+ kdDebug() << "(K3bCloneTocReader) invalid track start: "
+ << (int)ft->pmin << "."
+ << (int)ft->psec << "."
+ << (int)ft->pframe << endl;
+ return;
+ }
+ }
+ }
+ else {
+ switch( ft->point ) {
+ case 0xa0:
+ if( ft->adr != 1 ) {
+ kdDebug() << "(K3bCloneTocReader) adr != 1" << endl;
+ return;
+ }
+
+ // disk type in psec
+ if( ft->psec != 0x00 && ft->psec != 0x10 && ft->psec != 0x20 ) {
+ kdDebug() << "(K3bCloneTocReader) invalid disktype: " << ft->psec << endl;
+ return;
+ }
+
+ if( ft->pmin != 1 ) {
+ kdDebug() << "(K3bCloneTocReader) first track number != 1 " << endl;
+ return;
+ }
+
+ if( ft->pframe != 0x0 ) {
+ kdDebug() << "(K3bCloneTocReader) found data when there should be 0x0" << endl;
+ return;
+ }
+ break;
+
+ case 0xa1:
+ if( ft->adr != 1 ) {
+ kdDebug() << "(K3bCloneTocReader) adr != 1" << endl;
+ return;
+ }
+
+ if( !(ft->pmin >= 1) ) {
+ kdDebug() << "(K3bCloneTocReader) last track number needs to be >= 1." << endl;
+ return;
+ }
+ if( ft->psec != 0x0 || ft->pframe != 0x0 ) {
+ kdDebug() << "(K3bCloneTocReader) found data when there should be 0x0" << endl;
+ return;
+ }
+ break;
+
+ case 0xa2:
+ if( ft->adr != 1 ) {
+ kdDebug() << "(K3bCloneTocReader) adr != 1" << endl;
+ return;
+ }
+
+ // start of the leadout = size of the image
+ // substract 2 seconds since in cdrecord other than in K3b lba 0 = msf 2:00
+ // (the cdrecord way is actually more accurate but we use k3b::Msf for many
+ // things and it is simpler this way.)
+ d->size = K3b::Msf( ft->pmin, ft->psec, ft->pframe ) - K3b::Msf( 0, 2, 0 );
+
+ // leadout... no check so far...
+ break;
+
+ default:
+ if( ft->adr != 5 ) {
+ kdDebug() << "(K3bCloneTocReader) adr != 5" << endl;
+ return;
+ }
+ break;
+ }
+ }
+ }
+
+ if( d->size.rawBytes() != K3b::filesize( imageFileName ) ) {
+ kdDebug() << "(K3bCloneTocReader) image file size invalid." << endl;
+ return;
+ }
+
+ // ok, could be a cdrecord toc file
+ setValid(true);
+ }
+ else {
+ kdDebug() << "(K3bCloneTocReader) could not open file " << d->tocFile << endl;
+ }
+}
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bclonetocreader.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bclonetocreader.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bclonetocreader.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,45 @@
+/*
+ *
+ * $Id: k3bclonetocreader.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_CLONETOC_FILE_PARSER_H_
+#define _K3B_CLONETOC_FILE_PARSER_H_
+
+#include "k3bimagefilereader.h"
+
+#include <k3bmsf.h>
+
+#include "k3b_export.h"
+
+
+/**
+ * Reads a cdrecord clone toc file and searches for the
+ * corresponding image file.
+ */
+class LIBK3B_EXPORT K3bCloneTocReader : public K3bImageFileReader
+{
+ public:
+ K3bCloneTocReader( const QString& filename = QString::null );
+ ~K3bCloneTocReader();
+
+ const K3b::Msf& imageSize() const;
+
+ protected:
+ void readFile();
+
+ class Private;
+ Private* d;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdatatrackreader.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdatatrackreader.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdatatrackreader.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,515 @@
+/*
+ *
+ * $Id: k3bdatatrackreader.cpp 690529 2007-07-21 10:51:47Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bdatatrackreader.h"
+
+#include <k3blibdvdcss.h>
+#include <k3bdevice.h>
+#include <k3bdeviceglobals.h>
+#include <k3btrack.h>
+#include <k3bthread.h>
+#include <k3bcore.h>
+
+#include <klocale.h>
+#include <kdebug.h>
+
+#include <qfile.h>
+
+#include <unistd.h>
+
+
+
+// FIXME: determine max DMA buffer size
+static int s_bufferSizeSectors = 10;
+
+
+class K3bDataTrackReader::WorkThread : public K3bThread
+{
+public:
+ WorkThread();
+ ~WorkThread();
+
+ void init();
+ void run();
+ int read( unsigned char* buffer, unsigned long sector, unsigned int len );
+ bool retryRead( unsigned char* buffer, unsigned long startSector, unsigned int len );
+ bool setErrorRecovery( K3bDevice::Device* dev, int code );
+ void cancel();
+
+ bool m_canceled;
+ bool m_ignoreReadErrors;
+ bool m_noCorrection;
+ int m_retries;
+ K3bDevice::Device* m_device;
+ K3b::Msf m_firstSector;
+ K3b::Msf m_lastSector;
+ K3b::Msf m_nextReadSector;
+ int m_fd;
+ QString m_imagePath;
+ int m_sectorSize;
+ bool m_useLibdvdcss;
+ K3bLibDvdCss* m_libcss;
+
+ int m_oldErrorRecoveryMode;
+
+ int m_errorSectorCount;
+
+private:
+ int m_usedSectorSize;
+};
+
+
+K3bDataTrackReader::K3bDataTrackReader( K3bJobHandler* jh, QObject* parent, const char* name )
+ : K3bThreadJob( jh, parent, name )
+{
+ m_thread = new WorkThread();
+ setThread( m_thread );
+}
+
+
+K3bDataTrackReader::WorkThread::WorkThread()
+ : K3bThread(),
+ m_canceled(false),
+ m_ignoreReadErrors(false),
+ m_noCorrection(false),
+ m_retries(10),
+ m_device(0),
+ m_fd(-1),
+ m_libcss(0)
+{
+}
+
+
+K3bDataTrackReader::WorkThread::~WorkThread()
+{
+ delete m_libcss;
+}
+
+
+void K3bDataTrackReader::WorkThread::init()
+{
+ m_canceled = false;
+}
+
+
+void K3bDataTrackReader::WorkThread::run()
+{
+ emitStarted();
+
+ if( !m_device->open() ) {
+ emitInfoMessage( i18n("Could not open device %1").arg(m_device->blockDeviceName()), K3bJob::ERROR );
+ emitFinished(false);
+ return;
+ }
+
+ // 1. determine sector size by checking the first sectors mode
+ // if impossible or MODE2 (mode2 formless) finish(false)
+
+ m_useLibdvdcss = false;
+ m_usedSectorSize = m_sectorSize;
+ if( m_device->isDVD() ) {
+ m_usedSectorSize = MODE1;
+
+ //
+ // In case of an encrypted VideoDVD we read with libdvdcss which takes care of decrypting the vobs
+ //
+ if( m_device->copyrightProtectionSystemType() == 1 ) {
+
+ // close the device for libdvdcss
+ m_device->close();
+
+ kdDebug() << "(K3bDataTrackReader::WorkThread) found encrypted dvd. using libdvdcss." << endl;
+
+ // open the libdvdcss stuff
+ if( !m_libcss )
+ m_libcss = K3bLibDvdCss::create();
+ if( !m_libcss ) {
+ emitInfoMessage( i18n("Unable to open libdvdcss."), K3bJob::ERROR );
+ emitFinished(false);
+ return;
+ }
+
+ if( !m_libcss->open(m_device) ) {
+ emitInfoMessage( i18n("Could not open device %1").arg(m_device->blockDeviceName()), K3bJob::ERROR );
+ emitFinished(false);
+ return;
+ }
+
+ emitInfoMessage( i18n("Retrieving all CSS keys. This might take a while."), K3bJob::INFO );
+ if( !m_libcss->crackAllKeys() ) {
+ m_libcss->close();
+ emitInfoMessage( i18n("Failed to retrieve all CSS keys."), K3bJob::ERROR );
+ emitInfoMessage( i18n("Video DVD decryption failed."), K3bJob::ERROR );
+ emitFinished(false);
+ return;
+ }
+
+ m_useLibdvdcss = true;
+ }
+ }
+ else {
+ if( m_usedSectorSize == AUTO ) {
+ switch( m_device->getDataMode( m_firstSector ) ) {
+ case K3bDevice::Track::MODE1:
+ case K3bDevice::Track::DVD:
+ m_usedSectorSize = MODE1;
+ break;
+ case K3bDevice::Track::XA_FORM1:
+ m_usedSectorSize = MODE2FORM1;
+ break;
+ case K3bDevice::Track::XA_FORM2:
+ m_usedSectorSize = MODE2FORM2;
+ break;
+ case K3bDevice::Track::MODE2:
+ emitInfoMessage( i18n("No support for reading formless Mode2 sectors."), K3bJob::ERROR );
+ default:
+ emitInfoMessage( i18n("Unsupported sector type."), K3bJob::ERROR );
+ m_device->close();
+ emitFinished(false);
+ return;
+ }
+ }
+ }
+
+ emitInfoMessage( i18n("Reading with sector size %1.").arg(m_usedSectorSize), K3bJob::INFO );
+ emitDebuggingOutput( "K3bDataTrackReader",
+ QString("reading sectors %1 to %2 with sector size %3. Length: %4 sectors, %5 bytes.")
+ .arg( m_firstSector.lba() )
+ .arg( m_lastSector.lba() )
+ .arg( m_usedSectorSize )
+ .arg( m_lastSector.lba() - m_firstSector.lba() + 1 )
+ .arg( Q_UINT64(m_usedSectorSize) * (Q_UINT64)(m_lastSector.lba() - m_firstSector.lba() + 1) ) );
+
+ QFile file;
+ if( m_fd == -1 ) {
+ file.setName( m_imagePath );
+ if( !file.open( IO_WriteOnly ) ) {
+ m_device->close();
+ if( m_useLibdvdcss )
+ m_libcss->close();
+ emitInfoMessage( i18n("Unable to open '%1' for writing.").arg(m_imagePath), K3bJob::ERROR );
+ emitFinished( false );
+ return;
+ }
+ }
+
+ k3bcore->blockDevice( m_device );
+ m_device->block( true );
+
+ //
+ // set the error recovery mode to 0x21 or 0x20 depending on m_ignoreReadErrors
+ // TODO: should we also set RC=1 in m_ignoreReadErrors mode (0x11 because TB is ignored)
+ //
+ setErrorRecovery( m_device, m_noCorrection ? 0x21 : 0x20 );
+
+ //
+ // Let the drive determine the optimal reading speed
+ //
+ m_device->setSpeed( 0xffff, 0xffff );
+
+ s_bufferSizeSectors = 128;
+ unsigned char* buffer = new unsigned char[m_usedSectorSize*s_bufferSizeSectors];
+ while( s_bufferSizeSectors > 0 && read( buffer, m_firstSector.lba(), s_bufferSizeSectors ) < 0 ) {
+ kdDebug() << "(K3bDataTrackReader) determine max read sectors: "
+ << s_bufferSizeSectors << " too high." << endl;
+ s_bufferSizeSectors--;
+ }
+ kdDebug() << "(K3bDataTrackReader) determine max read sectors: "
+ << s_bufferSizeSectors << " is max." << endl;
+
+ // s_bufferSizeSectors = K3bDevice::determineMaxReadingBufferSize( m_device, m_firstSector );
+ if( s_bufferSizeSectors <= 0 ) {
+ emitInfoMessage( i18n("Error while reading sector %1.").arg(m_firstSector.lba()), K3bJob::ERROR );
+ emitFinished(false);
+ m_device->block( false );
+ k3bcore->unblockDevice( m_device );
+ return;
+ }
+
+ kdDebug() << "(K3bDataTrackReader) using buffer size of " << s_bufferSizeSectors << " blocks." << endl;
+ emitDebuggingOutput( "K3bDataTrackReader", QString("using buffer size of %1 blocks.").arg( s_bufferSizeSectors ) );
+
+ // 2. get it on
+ K3b::Msf currentSector = m_firstSector;
+ K3b::Msf totalReadSectors;
+ m_nextReadSector = 0;
+ m_errorSectorCount = 0;
+ bool writeError = false;
+ bool readError = false;
+ int lastPercent = 0;
+ unsigned long lastReadMb = 0;
+ int bufferLen = s_bufferSizeSectors*m_usedSectorSize;
+ while( !m_canceled && currentSector <= m_lastSector ) {
+
+ int maxReadSectors = QMIN( bufferLen/m_usedSectorSize, m_lastSector.lba()-currentSector.lba()+1 );
+
+ int readSectors = read( buffer,
+ currentSector.lba(),
+ maxReadSectors );
+ if( readSectors < 0 ) {
+ if( !retryRead( buffer,
+ currentSector.lba(),
+ maxReadSectors ) ) {
+ readError = true;
+ break;
+ }
+ else
+ readSectors = maxReadSectors;
+ }
+
+ totalReadSectors += readSectors;
+
+ int readBytes = readSectors * m_usedSectorSize;
+
+ if( m_fd != -1 ) {
+ if( ::write( m_fd, reinterpret_cast<void*>(buffer), readBytes ) != readBytes ) {
+ kdDebug() << "(K3bDataTrackReader::WorkThread) error while writing to fd " << m_fd
+ << " current sector: " << (currentSector.lba()-m_firstSector.lba()) << endl;
+ emitDebuggingOutput( "K3bDataTrackReader",
+ QString("Error while writing to fd %1. Current sector is %2.")
+ .arg(m_fd).arg(currentSector.lba()-m_firstSector.lba()) );
+ writeError = true;
+ break;
+ }
+ }
+ else {
+ if( file.writeBlock( reinterpret_cast<char*>(buffer), readBytes ) != readBytes ) {
+ kdDebug() << "(K3bDataTrackReader::WorkThread) error while writing to file " << m_imagePath
+ << " current sector: " << (currentSector.lba()-m_firstSector.lba()) << endl;
+ emitDebuggingOutput( "K3bDataTrackReader",
+ QString("Error while writing to file %1. Current sector is %2.")
+ .arg(m_imagePath).arg(currentSector.lba()-m_firstSector.lba()) );
+ writeError = true;
+ break;
+ }
+ }
+
+ currentSector += readSectors;
+
+ int percent = 100 * (currentSector.lba() - m_firstSector.lba() + 1 ) /
+ (m_lastSector.lba() - m_firstSector.lba() + 1 );
+
+ if( percent > lastPercent ) {
+ lastPercent = percent;
+ emitPercent( percent );
+ }
+
+ unsigned long readMb = (currentSector.lba() - m_firstSector.lba() + 1) / 512;
+ if( readMb > lastReadMb ) {
+ lastReadMb = readMb;
+ emitProcessedSize( readMb, ( m_lastSector.lba() - m_firstSector.lba() + 1 ) / 512 );
+ }
+ }
+
+ if( m_errorSectorCount > 0 )
+ emitInfoMessage( i18n("Ignored %n erroneous sector.", "Ignored a total of %n erroneous sectors.", m_errorSectorCount ),
+ K3bJob::ERROR );
+
+ // reset the error recovery mode
+ setErrorRecovery( m_device, m_oldErrorRecoveryMode );
+
+ m_device->block( false );
+ k3bcore->unblockDevice( m_device );
+
+ // cleanup
+ if( m_useLibdvdcss )
+ m_libcss->close();
+ m_device->close();
+ delete [] buffer;
+
+ emitDebuggingOutput( "K3bDataTrackReader",
+ QString("Read a total of %1 sectors (%2 bytes)")
+ .arg(totalReadSectors.lba())
+ .arg((Q_UINT64)totalReadSectors.lba()*(Q_UINT64)m_usedSectorSize) );
+
+ if( m_canceled )
+ emitCanceled();
+
+ emitFinished( !m_canceled && !writeError && !readError );
+}
+
+
+int K3bDataTrackReader::WorkThread::read( unsigned char* buffer, unsigned long sector, unsigned int len )
+{
+
+ //
+ // Encrypted DVD reading with libdvdcss
+ //
+ if( m_useLibdvdcss ) {
+ return m_libcss->readWrapped( reinterpret_cast<void*>(buffer), sector, len );
+ }
+
+ //
+ // Standard reading
+ //
+ else {
+ bool success = false;
+ // setErrorRecovery( m_device, m_ignoreReadErrors ? 0x21 : 0x20 );
+ if( m_usedSectorSize == 2048 )
+ success = m_device->read10( buffer, len*2048, sector, len );
+ else
+ success = m_device->readCd( buffer,
+ len*m_usedSectorSize,
+ 0, // all sector types
+ false, // no dap
+ sector,
+ len,
+ false, // no sync
+ false, // no header
+ m_usedSectorSize != MODE1, // subheader
+ true, // user data
+ false, // no edc/ecc
+ 0, // no c2 error info... FIXME: should we check this??
+ 0 // no subchannel data
+ );
+
+ if( success )
+ return len;
+ else
+ return -1;
+ }
+}
+
+
+// here we read every single sector for itself to find the troubleing ones
+bool K3bDataTrackReader::WorkThread::retryRead( unsigned char* buffer, unsigned long startSector, unsigned int len )
+{
+ emitDebuggingOutput( "K3bDataTrackReader", QString( "Problem while reading. Retrying from sector %1.").arg(startSector) );
+ emitInfoMessage( i18n("Problem while reading. Retrying from sector %1.").arg(startSector), K3bJob::WARNING );
+
+ int sectorsRead = -1;
+ bool success = true;
+ for( unsigned long sector = startSector; sector < startSector+len; ++sector ) {
+ int retry = m_retries;
+ while( !m_canceled && retry && (sectorsRead = read( &buffer[( sector - startSector ) * m_usedSectorSize], sector, 1 )) < 0 )
+ --retry;
+
+ success = ( sectorsRead > 0 );
+
+ if( m_canceled )
+ return false;
+
+ if( !success ) {
+ if( m_ignoreReadErrors ) {
+ emitInfoMessage( i18n("Ignoring read error in sector %1.").arg(sector), K3bJob::ERROR );
+ emitDebuggingOutput( "K3bDataTrackReader", QString( "Ignoring read error in sector %1.").arg(sector) );
+
+ ++m_errorSectorCount;
+ // ::memset( &buffer[i], 0, 1 );
+ success = true;
+ }
+ else {
+ emitInfoMessage( i18n("Error while reading sector %1.").arg(sector), K3bJob::ERROR );
+ emitDebuggingOutput( "K3bDataTrackReader", QString( "Read error in sector %1.").arg(sector) );
+ break;
+ }
+ }
+ }
+
+ return success;
+}
+
+
+bool K3bDataTrackReader::WorkThread::setErrorRecovery( K3bDevice::Device* dev, int code )
+{
+ unsigned char* data = 0;
+ unsigned int dataLen = 0;
+ if( !dev->modeSense( &data, dataLen, 0x01 ) )
+ return false;
+
+ // in MMC1 the page has 8 bytes (12 in MMC4 but we only need the first 3 anyway)
+ if( dataLen < 8+8 ) {
+ kdDebug() << "(K3bDataTrackReader) modepage 0x01 data too small: " << dataLen << endl;
+ delete [] data;
+ return false;
+ }
+
+ m_oldErrorRecoveryMode = data[8+2];
+ data[8+2] = code;
+
+ if( m_oldErrorRecoveryMode != code )
+ kdDebug() << "(K3bDataTrackReader) changing data recovery mode from " << m_oldErrorRecoveryMode << " to " << code << endl;
+
+ bool success = dev->modeSelect( data, dataLen, true, false );
+
+ delete [] data;
+
+ return success;
+}
+
+
+void K3bDataTrackReader::WorkThread::cancel()
+{
+ m_canceled = true;
+}
+
+
+
+
+
+K3bDataTrackReader::~K3bDataTrackReader()
+{
+ delete m_thread;
+}
+
+
+void K3bDataTrackReader::setDevice( K3bDevice::Device* dev )
+{
+ m_thread->m_device = dev;
+}
+
+
+void K3bDataTrackReader::setSectorRange( const K3b::Msf& start, const K3b::Msf& end )
+{
+ m_thread->m_firstSector = start;
+ m_thread->m_lastSector = end;
+}
+
+
+void K3bDataTrackReader::setRetries( int r )
+{
+ m_thread->m_retries = r;
+}
+
+
+void K3bDataTrackReader::setIgnoreErrors( bool b )
+{
+ m_thread->m_ignoreReadErrors = b;
+}
+
+
+void K3bDataTrackReader::setNoCorrection( bool b )
+{
+ m_thread->m_noCorrection = b;
+}
+
+
+void K3bDataTrackReader::writeToFd( int fd )
+{
+ m_thread->m_fd = fd;
+}
+
+
+void K3bDataTrackReader::setImagePath( const QString& p )
+{
+ m_thread->m_imagePath = p;
+ m_thread->m_fd = -1;
+}
+
+
+void K3bDataTrackReader::setSectorSize( SectorSize size )
+{
+ m_thread->m_sectorSize = size;
+}
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdatatrackreader.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdatatrackreader.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdatatrackreader.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,87 @@
+/*
+ *
+ * $Id: k3bdatatrackreader.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_DATATRACK_READER_H_
+#define _K3B_DATATRACK_READER_H_
+
+
+#include <k3bthreadjob.h>
+#include <k3bmsf.h>
+#include <k3bglobals.h>
+
+namespace K3bDevice {
+ class Device;
+}
+
+
+/**
+ * This is a replacement for readcd. We need this since
+ * it is not possible to influence the sector size used
+ * by readcd and readcd is not very good to handle anyway.
+ *
+ * The sector size read is the following:
+ * @li Mode1: 2048 bytes (only user data)
+ * @li Mode2 Form1: 2056 bytes containing the subheader and the user data
+ * @li Mode2 Form2: 2332 bytes containing the subheader and the user data
+ *
+ * Formless Mode2 sectors will not be read.
+ */
+class K3bDataTrackReader : public K3bThreadJob
+{
+ public:
+ K3bDataTrackReader( K3bJobHandler*, QObject* parent = 0, const char* name = 0 );
+ ~K3bDataTrackReader();
+
+ enum SectorSize {
+ AUTO = 0,
+ MODE1 = K3b::SECTORSIZE_DATA_2048,
+ MODE2FORM1 = K3b::SECTORSIZE_DATA_2048_SUBHEADER,
+ MODE2FORM2 = K3b::SECTORSIZE_DATA_2324_SUBHEADER
+ };
+
+ void setSectorSize( SectorSize size );
+
+ void setDevice( K3bDevice::Device* );
+
+ /**
+ * @param start the first sector to be read
+ * @end the last sector to be read
+ */
+ void setSectorRange( const K3b::Msf& start, const K3b::Msf& end );
+ void setRetries( int );
+
+ /**
+ * If true unreadable sectors will be replaced by zero data to always
+ * maintain the track length.
+ */
+ void setIgnoreErrors( bool b );
+
+ void setNoCorrection( bool b );
+
+ /**
+ * the data gets written directly into fd instead of the imagefile.
+ * Be aware that this only makes sense before starting the job.
+ * To disable just set fd to -1
+ */
+ void writeToFd( int fd );
+
+ void setImagePath( const QString& p );
+
+ private:
+ class WorkThread;
+ WorkThread* m_thread;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdvdcopyjob.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdvdcopyjob.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdvdcopyjob.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,894 @@
+/*
+ *
+ * $Id: k3bdvdcopyjob.cpp 690529 2007-07-21 10:51:47Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bdvdcopyjob.h"
+#include "k3blibdvdcss.h"
+
+#include <k3breadcdreader.h>
+#include <k3bdatatrackreader.h>
+#include <k3bexternalbinmanager.h>
+#include <k3bdevice.h>
+#include <k3bdeviceglobals.h>
+#include <k3bdevicehandler.h>
+#include <k3bdiskinfo.h>
+#include <k3bglobals.h>
+#include <k3bcore.h>
+#include <k3bgrowisofswriter.h>
+#include <k3bversion.h>
+#include <k3biso9660.h>
+#include <k3bfilesplitter.h>
+#include <k3bchecksumpipe.h>
+#include <k3bverificationjob.h>
+
+#include <kdebug.h>
+#include <klocale.h>
+#include <kio/global.h>
+
+#include <qfile.h>
+#include <qfileinfo.h>
+#include <qapplication.h>
+
+
+class K3bDvdCopyJob::Private
+{
+public:
+ Private()
+ : doneCopies(0),
+ running(false),
+ canceled(false),
+ writerJob(0),
+ readcdReader(0),
+ dataTrackReader(0),
+ verificationJob(0),
+ usedWritingMode(0),
+ verifyData(false) {
+ outPipe.readFromIODevice( &imageFile );
+ }
+
+ int doneCopies;
+
+ bool running;
+ bool readerRunning;
+ bool writerRunning;
+ bool canceled;
+
+ K3bGrowisofsWriter* writerJob;
+ K3bReadcdReader* readcdReader;
+ K3bDataTrackReader* dataTrackReader;
+ K3bVerificationJob* verificationJob;
+
+ K3bDevice::DiskInfo sourceDiskInfo;
+
+ K3b::Msf lastSector;
+
+ int usedWritingMode;
+
+ K3bFileSplitter imageFile;
+ K3bChecksumPipe inPipe;
+ K3bActivePipe outPipe;
+
+ bool verifyData;
+};
+
+
+K3bDvdCopyJob::K3bDvdCopyJob( K3bJobHandler* hdl, QObject* parent, const char* name )
+ : K3bBurnJob( hdl, parent, name ),
+ m_writerDevice(0),
+ m_readerDevice(0),
+ m_onTheFly(false),
+ m_removeImageFiles(false),
+ m_simulate(false),
+ m_speed(1),
+ m_copies(1),
+ m_onlyCreateImage(false),
+ m_ignoreReadErrors(false),
+ m_readRetries(128),
+ m_writingMode( K3b::WRITING_MODE_AUTO )
+{
+ d = new Private();
+}
+
+
+K3bDvdCopyJob::~K3bDvdCopyJob()
+{
+ delete d;
+}
+
+
+void K3bDvdCopyJob::start()
+{
+ jobStarted();
+ emit burning(false);
+
+ d->canceled = false;
+ d->running = true;
+ d->readerRunning = d->writerRunning = false;
+
+ emit newTask( i18n("Checking Source Medium") );
+
+ if( m_onTheFly &&
+ k3bcore->externalBinManager()->binObject( "growisofs" )->version < K3bVersion( 5, 12 ) ) {
+ m_onTheFly = false;
+ emit infoMessage( i18n("K3b does not support writing on-the-fly with growisofs %1.")
+ .arg(k3bcore->externalBinManager()->binObject( "growisofs" )->version), ERROR );
+ emit infoMessage( i18n("Disabling on-the-fly writing."), INFO );
+ }
+
+ emit newSubTask( i18n("Waiting for source medium") );
+
+ // wait for a source disk
+ if( waitForMedia( m_readerDevice,
+ K3bDevice::STATE_COMPLETE|K3bDevice::STATE_INCOMPLETE,
+ K3bDevice::MEDIA_WRITABLE_DVD|K3bDevice::MEDIA_DVD_ROM ) < 0 ) {
+ emit canceled();
+ d->running = false;
+ jobFinished( false );
+ return;
+ }
+
+ emit newSubTask( i18n("Checking source medium") );
+
+ connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::DISKINFO, m_readerDevice ),
+ SIGNAL(finished(K3bDevice::DeviceHandler*)),
+ this,
+ SLOT(slotDiskInfoReady(K3bDevice::DeviceHandler*)) );
+}
+
+
+void K3bDvdCopyJob::slotDiskInfoReady( K3bDevice::DeviceHandler* dh )
+{
+ if( d->canceled ) {
+ emit canceled();
+ jobFinished(false);
+ d->running = false;
+ }
+
+ d->sourceDiskInfo = dh->diskInfo();
+
+ if( dh->diskInfo().empty() || dh->diskInfo().diskState() == K3bDevice::STATE_NO_MEDIA ) {
+ emit infoMessage( i18n("No source medium found."), ERROR );
+ jobFinished(false);
+ d->running = false;
+ }
+ else {
+ if( m_readerDevice->copyrightProtectionSystemType() == 1 ) {
+ emit infoMessage( i18n("Found encrypted DVD."), WARNING );
+ // check for libdvdcss
+ bool haveLibdvdcss = false;
+ kdDebug() << "(K3bDvdCopyJob) trying to open libdvdcss." << endl;
+ if( K3bLibDvdCss* libcss = K3bLibDvdCss::create() ) {
+ kdDebug() << "(K3bDvdCopyJob) succeeded." << endl;
+ kdDebug() << "(K3bDvdCopyJob) dvdcss_open(" << m_readerDevice->blockDeviceName() << ") = "
+ << libcss->open(m_readerDevice) << endl;
+ haveLibdvdcss = true;
+
+ delete libcss;
+ }
+ else
+ kdDebug() << "(K3bDvdCopyJob) failed." << endl;
+
+ if( !haveLibdvdcss ) {
+ emit infoMessage( i18n("Cannot copy encrypted DVDs."), ERROR );
+ d->running = false;
+ jobFinished( false );
+ return;
+ }
+ }
+
+
+ //
+ // We cannot rely on the kernel to determine the size of the DVD for some reason
+ // On the other hand it is not always a good idea to rely on the size from the ISO9660
+ // header since that may be wrong due to some buggy encoder or some boot code appended
+ // after creating the image.
+ // That is why we try our best to determine the size of the DVD. For DVD-ROM this is very
+ // easy since it has only one track. The same goes for single session DVD-R(W) and DVD+R.
+ // Multisession DVDs we will simply not copy. ;)
+ // For DVD+RW and DVD-RW in restricted overwrite mode we are left with no other choice but
+ // to use the ISO9660 header.
+ //
+ // On the other hand: in on-the-fly mode growisofs determines the size of the data to be written
+ // by looking at the ISO9660 header when writing in DAO mode. So in this case
+ // it would be best for us to do the same....
+ //
+ // With growisofs 5.15 we have the option to specify the size of the image to be written in DAO mode.
+ //
+
+ switch( dh->diskInfo().mediaType() ) {
+ case K3bDevice::MEDIA_DVD_ROM:
+ case K3bDevice::MEDIA_DVD_PLUS_R_DL:
+ case K3bDevice::MEDIA_DVD_R_DL:
+ case K3bDevice::MEDIA_DVD_R_DL_SEQ:
+ case K3bDevice::MEDIA_DVD_R_DL_JUMP:
+ if( !m_onlyCreateImage ) {
+ if( dh->diskInfo().numLayers() > 1 &&
+ dh->diskInfo().size().mode1Bytes() > 4700372992LL ) {
+ if( !(m_writerDevice->type() & (K3bDevice::DEVICE_DVD_R_DL|K3bDevice::DEVICE_DVD_PLUS_R_DL)) ) {
+ emit infoMessage( i18n("The writer does not support writing Double Layer DVD."), ERROR );
+ d->running = false;
+ jobFinished(false);
+ return;
+ }
+ // FIXME: check for growisofs 5.22 (or whatever version is needed) for DVD-R DL
+ else if( k3bcore->externalBinManager()->binObject( "growisofs" ) &&
+ k3bcore->externalBinManager()->binObject( "growisofs" )->version < K3bVersion( 5, 20 ) ) {
+ emit infoMessage( i18n("Growisofs >= 5.20 is needed to write Double Layer DVD+R."), ERROR );
+ d->running = false;
+ jobFinished(false);
+ return;
+ }
+ }
+ }
+ case K3bDevice::MEDIA_DVD_R:
+ case K3bDevice::MEDIA_DVD_R_SEQ:
+ case K3bDevice::MEDIA_DVD_RW:
+ case K3bDevice::MEDIA_DVD_RW_SEQ:
+ case K3bDevice::MEDIA_DVD_PLUS_R:
+
+ if( dh->diskInfo().numSessions() > 1 ) {
+ emit infoMessage( i18n("K3b does not support copying multi-session DVDs."), ERROR );
+ d->running = false;
+ jobFinished(false);
+ return;
+ }
+
+ // growisofs only uses the size from the PVD for reserving
+ // writable space in DAO mode
+ // with version >= 5.15 growisofs supports specifying the size of the track
+ if( m_writingMode != K3b::DAO || !m_onTheFly || m_onlyCreateImage ||
+ ( k3bcore->externalBinManager()->binObject( "growisofs" ) &&
+ k3bcore->externalBinManager()->binObject( "growisofs" )->version >= K3bVersion( 5, 15, -1 ) ) ) {
+ d->lastSector = dh->toc().lastSector();
+ break;
+ }
+
+ // fallthrough
+
+ case K3bDevice::MEDIA_DVD_PLUS_RW:
+ case K3bDevice::MEDIA_DVD_RW_OVWR:
+ {
+ emit infoMessage( i18n("K3b relies on the size saved in the ISO9660 header."), WARNING );
+ emit infoMessage( i18n("This might result in a corrupt copy if the source was mastered with buggy software."), WARNING );
+
+ K3bIso9660 isoF( m_readerDevice, 0 );
+ if( isoF.open() ) {
+ d->lastSector = ((long long)isoF.primaryDescriptor().logicalBlockSize*isoF.primaryDescriptor().volumeSpaceSize)/2048LL - 1;
+ }
+ else {
+ emit infoMessage( i18n("Unable to determine the ISO9660 filesystem size."), ERROR );
+ jobFinished(false);
+ d->running = false;
+ return;
+ }
+ }
+ break;
+
+ case K3bDevice::MEDIA_DVD_RAM:
+ emit infoMessage( i18n("K3b does not support copying DVD-RAM."), ERROR );
+ jobFinished(false);
+ d->running = false;
+ return;
+
+ default:
+ emit infoMessage( i18n("Unable to determine DVD media type."), ERROR );
+ jobFinished(false);
+ d->running = false;
+ return;
+ }
+
+
+ if( !m_onTheFly ) {
+ //
+ // Check the image path
+ //
+ QFileInfo fi( m_imagePath );
+ if( !fi.isFile() ||
+ questionYesNo( i18n("Do you want to overwrite %1?").arg(m_imagePath),
+ i18n("File Exists") ) ) {
+ if( fi.isDir() )
+ m_imagePath = K3b::findTempFile( "iso", m_imagePath );
+ else if( !QFileInfo( m_imagePath.section( '/', 0, -2 ) ).isDir() ) {
+ emit infoMessage( i18n("Specified an unusable temporary path. Using default."), WARNING );
+ m_imagePath = K3b::findTempFile( "iso" );
+ }
+ // else the user specified a file in an existing dir
+
+ emit infoMessage( i18n("Writing image file to %1.").arg(m_imagePath), INFO );
+ emit newSubTask( i18n("Reading source medium.") );
+ }
+
+ //
+ // check free temp space
+ //
+ KIO::filesize_t imageSpaceNeeded = (KIO::filesize_t)(d->lastSector.lba()+1)*2048;
+ unsigned long avail, size;
+ QString pathToTest = m_imagePath.left( m_imagePath.findRev( '/' ) );
+ if( !K3b::kbFreeOnFs( pathToTest, size, avail ) ) {
+ emit infoMessage( i18n("Unable to determine free space in temporary directory '%1'.").arg(pathToTest), ERROR );
+ jobFinished(false);
+ d->running = false;
+ return;
+ }
+ else {
+ if( avail < imageSpaceNeeded/1024 ) {
+ emit infoMessage( i18n("Not enough space left in temporary directory."), ERROR );
+ jobFinished(false);
+ d->running = false;
+ return;
+ }
+ }
+
+ d->imageFile.setName( m_imagePath );
+ if( !d->imageFile.open( IO_WriteOnly ) ) {
+ emit infoMessage( i18n("Unable to open '%1' for writing.").arg(m_imagePath), ERROR );
+ jobFinished( false );
+ d->running = false;
+ return;
+ }
+ }
+
+ if( K3b::isMounted( m_readerDevice ) ) {
+ emit infoMessage( i18n("Unmounting source medium"), INFO );
+ K3b::unmount( m_readerDevice );
+ }
+
+ if( m_onlyCreateImage || !m_onTheFly ) {
+ emit newTask( i18n("Creating DVD image") );
+ }
+ else if( m_onTheFly && !m_onlyCreateImage ) {
+ if( waitForDvd() ) {
+ prepareWriter();
+ if( m_simulate )
+ emit newTask( i18n("Simulating DVD copy") );
+ else if( m_copies > 1 )
+ emit newTask( i18n("Writing DVD copy %1").arg(d->doneCopies+1) );
+ else
+ emit newTask( i18n("Writing DVD copy") );
+
+ emit burning(true);
+ d->writerRunning = true;
+ d->writerJob->start();
+ }
+ else {
+ if( d->canceled )
+ emit canceled();
+ jobFinished(false);
+ d->running = false;
+ return;
+ }
+ }
+
+ prepareReader();
+ d->readerRunning = true;
+ d->dataTrackReader->start();
+ }
+}
+
+
+void K3bDvdCopyJob::cancel()
+{
+ if( d->running ) {
+ d->canceled = true;
+ if( d->readerRunning )
+ d->dataTrackReader->cancel();
+ if( d->writerRunning )
+ d->writerJob->cancel();
+ d->inPipe.close();
+ d->outPipe.close();
+ d->imageFile.close();
+ }
+ else {
+ kdDebug() << "(K3bDvdCopyJob) not running." << endl;
+ }
+}
+
+
+void K3bDvdCopyJob::prepareReader()
+{
+ if( !d->dataTrackReader ) {
+ d->dataTrackReader = new K3bDataTrackReader( this );
+ connect( d->dataTrackReader, SIGNAL(percent(int)), this, SLOT(slotReaderProgress(int)) );
+ connect( d->dataTrackReader, SIGNAL(processedSize(int, int)), this, SLOT(slotReaderProcessedSize(int, int)) );
+ connect( d->dataTrackReader, SIGNAL(finished(bool)), this, SLOT(slotReaderFinished(bool)) );
+ connect( d->dataTrackReader, SIGNAL(infoMessage(const QString&, int)), this, SIGNAL(infoMessage(const QString&, int)) );
+ connect( d->dataTrackReader, SIGNAL(newTask(const QString&)), this, SIGNAL(newSubTask(const QString&)) );
+ connect( d->dataTrackReader, SIGNAL(debuggingOutput(const QString&, const QString&)),
+ this, SIGNAL(debuggingOutput(const QString&, const QString&)) );
+ }
+
+ d->dataTrackReader->setDevice( m_readerDevice );
+ d->dataTrackReader->setIgnoreErrors( m_ignoreReadErrors );
+ d->dataTrackReader->setRetries( m_readRetries );
+ d->dataTrackReader->setSectorRange( 0, d->lastSector );
+
+ if( m_onTheFly && !m_onlyCreateImage )
+ d->inPipe.writeToFd( d->writerJob->fd(), true );
+ else
+ d->inPipe.writeToIODevice( &d->imageFile );
+
+ d->inPipe.open( true );
+ d->dataTrackReader->writeToFd( d->inPipe.in() );
+}
+
+
+// ALWAYS CALL WAITFORDVD BEFORE PREPAREWRITER!
+void K3bDvdCopyJob::prepareWriter()
+{
+ delete d->writerJob;
+
+ d->writerJob = new K3bGrowisofsWriter( m_writerDevice, this );
+
+ connect( d->writerJob, SIGNAL(infoMessage(const QString&, int)), this, SIGNAL(infoMessage(const QString&, int)) );
+ connect( d->writerJob, SIGNAL(percent(int)), this, SLOT(slotWriterProgress(int)) );
+ connect( d->writerJob, SIGNAL(processedSize(int, int)), this, SIGNAL(processedSize(int, int)) );
+ connect( d->writerJob, SIGNAL(processedSubSize(int, int)), this, SIGNAL(processedSubSize(int, int)) );
+ connect( d->writerJob, SIGNAL(buffer(int)), this, SIGNAL(bufferStatus(int)) );
+ connect( d->writerJob, SIGNAL(deviceBuffer(int)), this, SIGNAL(deviceBuffer(int)) );
+ connect( d->writerJob, SIGNAL(writeSpeed(int, int)), this, SIGNAL(writeSpeed(int, int)) );
+ connect( d->writerJob, SIGNAL(finished(bool)), this, SLOT(slotWriterFinished(bool)) );
+ // connect( d->writerJob, SIGNAL(newTask(const QString&)), this, SIGNAL(newTask(const QString&)) );
+ connect( d->writerJob, SIGNAL(newSubTask(const QString&)), this, SIGNAL(newSubTask(const QString&)) );
+ connect( d->writerJob, SIGNAL(debuggingOutput(const QString&, const QString&)),
+ this, SIGNAL(debuggingOutput(const QString&, const QString&)) );
+
+ // these do only make sense with DVD-R(W)
+ d->writerJob->setSimulate( m_simulate );
+ d->writerJob->setBurnSpeed( m_speed );
+ d->writerJob->setWritingMode( d->usedWritingMode );
+ d->writerJob->setCloseDvd( true );
+
+ //
+ // In case the first layer size is not known let the
+ // split be determined by growisofs
+ //
+ if( d->sourceDiskInfo.numLayers() > 1 &&
+ d->sourceDiskInfo.firstLayerSize() > 0 ) {
+ d->writerJob->setLayerBreak( d->sourceDiskInfo.firstLayerSize().lba() );
+ }
+ else {
+ // this is only used in DAO mode with growisofs >= 5.15
+ d->writerJob->setTrackSize( d->lastSector.lba()+1 );
+ }
+
+ d->writerJob->setImageToWrite( QString::null ); // write to stdin
+}
+
+
+void K3bDvdCopyJob::slotReaderProgress( int p )
+{
+ if( !m_onTheFly || m_onlyCreateImage ) {
+ emit subPercent( p );
+
+ int bigParts = ( m_onlyCreateImage ? 1 : (m_simulate ? 2 : ( d->verifyData ? m_copies*2 : m_copies ) + 1 ) );
+ emit percent( p/bigParts );
+ }
+}
+
+
+void K3bDvdCopyJob::slotReaderProcessedSize( int p, int c )
+{
+ if( !m_onTheFly || m_onlyCreateImage )
+ emit processedSubSize( p, c );
+
+ if( m_onlyCreateImage )
+ emit processedSize( p, c );
+}
+
+
+void K3bDvdCopyJob::slotWriterProgress( int p )
+{
+ int bigParts = ( m_simulate ? 1 : ( d->verifyData ? m_copies*2 : m_copies ) ) + ( m_onTheFly ? 0 : 1 );
+ int doneParts = ( m_simulate ? 0 : ( d->verifyData ? d->doneCopies*2 : d->doneCopies ) ) + ( m_onTheFly ? 0 : 1 );
+ emit percent( 100*doneParts/bigParts + p/bigParts );
+
+ emit subPercent( p );
+}
+
+
+void K3bDvdCopyJob::slotVerificationProgress( int p )
+{
+ int bigParts = ( m_simulate ? 1 : ( d->verifyData ? m_copies*2 : m_copies ) ) + ( m_onTheFly ? 0 : 1 );
+ int doneParts = ( m_simulate ? 0 : ( d->verifyData ? d->doneCopies*2 : d->doneCopies ) ) + ( m_onTheFly ? 0 : 1 ) + 1;
+ emit percent( 100*doneParts/bigParts + p/bigParts );
+}
+
+
+void K3bDvdCopyJob::slotReaderFinished( bool success )
+{
+ d->readerRunning = false;
+
+ d->inPipe.close();
+
+ // close the socket
+ // otherwise growisofs will never quit.
+ // FIXME: is it posiible to do this in a generic manner?
+ if( d->writerJob )
+ d->writerJob->closeFd();
+
+ // already finished?
+ if( !d->running )
+ return;
+
+ if( d->canceled ) {
+ removeImageFiles();
+ emit canceled();
+ jobFinished(false);
+ d->running = false;
+ }
+
+ if( success ) {
+ emit infoMessage( i18n("Successfully read source DVD."), SUCCESS );
+ if( m_onlyCreateImage ) {
+ jobFinished(true);
+ d->running = false;
+ }
+ else {
+ if( m_writerDevice == m_readerDevice ) {
+ // eject the media (we do this blocking to know if it worked
+ // because if it did not it might happen that k3b overwrites a CD-RW
+ // source)
+ if( !m_readerDevice->eject() ) {
+ blockingInformation( i18n("K3b was unable to eject the source disk. Please do so manually.") );
+ }
+ }
+
+ if( !m_onTheFly ) {
+ if( waitForDvd() ) {
+ prepareWriter();
+ if( m_copies > 1 )
+ emit newTask( i18n("Writing DVD copy %1").arg(d->doneCopies+1) );
+ else
+ emit newTask( i18n("Writing DVD copy") );
+
+ emit burning(true);
+
+ d->writerRunning = true;
+ d->writerJob->start();
+ d->outPipe.writeToFd( d->writerJob->fd(), true );
+ d->outPipe.open( true );
+ }
+ else {
+ if( m_removeImageFiles )
+ removeImageFiles();
+ if( d->canceled )
+ emit canceled();
+ jobFinished(false);
+ d->running = false;
+ }
+ }
+ }
+ }
+ else {
+ removeImageFiles();
+ jobFinished(false);
+ d->running = false;
+ }
+}
+
+
+void K3bDvdCopyJob::slotWriterFinished( bool success )
+{
+ d->writerRunning = false;
+
+ d->outPipe.close();
+
+ // already finished?
+ if( !d->running )
+ return;
+
+ if( d->canceled ) {
+ if( m_removeImageFiles )
+ removeImageFiles();
+ emit canceled();
+ jobFinished(false);
+ d->running = false;
+ }
+
+ if( success ) {
+ emit infoMessage( i18n("Successfully written DVD copy %1.").arg(d->doneCopies+1), INFO );
+
+ if( d->verifyData && !m_simulate ) {
+ if( !d->verificationJob ) {
+ d->verificationJob = new K3bVerificationJob( this, this );
+ connect( d->verificationJob, SIGNAL(infoMessage(const QString&, int)),
+ this, SIGNAL(infoMessage(const QString&, int)) );
+ connect( d->verificationJob, SIGNAL(newTask(const QString&)),
+ this, SIGNAL(newSubTask(const QString&)) );
+ connect( d->verificationJob, SIGNAL(percent(int)),
+ this, SLOT(slotVerificationProgress(int)) );
+ connect( d->verificationJob, SIGNAL(percent(int)),
+ this, SIGNAL(subPercent(int)) );
+ connect( d->verificationJob, SIGNAL(finished(bool)),
+ this, SLOT(slotVerificationFinished(bool)) );
+ connect( d->verificationJob, SIGNAL(debuggingOutput(const QString&, const QString&)),
+ this, SIGNAL(debuggingOutput(const QString&, const QString&)) );
+
+ }
+ d->verificationJob->setDevice( m_writerDevice );
+ d->verificationJob->addTrack( 1, d->inPipe.checksum(), d->lastSector+1 );
+
+ if( m_copies > 1 )
+ emit newTask( i18n("Verifying DVD copy %1").arg(d->doneCopies+1) );
+ else
+ emit newTask( i18n("Verifying DVD copy") );
+
+ emit burning( false );
+
+ d->verificationJob->start();
+ }
+
+ else if( ++d->doneCopies < m_copies ) {
+
+ if ( !m_writerDevice->eject() ) {
+ blockingInformation( i18n("K3b was unable to eject the written disk. Please do so manually.") );
+ }
+
+ if( waitForDvd() ) {
+ prepareWriter();
+ emit newTask( i18n("Writing DVD copy %1").arg(d->doneCopies+1) );
+
+ emit burning(true);
+
+ d->writerRunning = true;
+ d->writerJob->start();
+ }
+ else {
+ if( d->canceled )
+ emit canceled();
+ jobFinished(false);
+ d->running = false;
+ return;
+ }
+
+ if( m_onTheFly ) {
+ prepareReader();
+ d->readerRunning = true;
+ d->dataTrackReader->start();
+ }
+ else {
+ d->outPipe.writeToFd( d->writerJob->fd(), true );
+ d->outPipe.open( true );
+ }
+ }
+ else {
+ if( m_removeImageFiles )
+ removeImageFiles();
+ d->running = false;
+ jobFinished(true);
+ }
+ }
+ else {
+ if( m_removeImageFiles )
+ removeImageFiles();
+ d->running = false;
+ jobFinished(false);
+ }
+}
+
+
+void K3bDvdCopyJob::slotVerificationFinished( bool success )
+{
+ // we simply ignore the results from the verification, the verification
+ // job already emits a message
+ if( ++d->doneCopies < m_copies ) {
+
+ if( waitForDvd() ) {
+ prepareWriter();
+ emit newTask( i18n("Writing DVD copy %1").arg(d->doneCopies+1) );
+
+ emit burning(true);
+
+ d->writerRunning = true;
+ d->writerJob->start();
+ }
+ else {
+ if( d->canceled )
+ emit canceled();
+ jobFinished(false);
+ d->running = false;
+ return;
+ }
+
+ if( m_onTheFly ) {
+ prepareReader();
+ d->readerRunning = true;
+ d->dataTrackReader->start();
+ }
+ else {
+ d->outPipe.writeToFd( d->writerJob->fd(), true );
+ d->outPipe.open( true );
+ }
+ }
+ else {
+ if( m_removeImageFiles )
+ removeImageFiles();
+ d->running = false;
+ jobFinished( success );
+ }
+}
+
+
+// this is basically the same code as in K3bDvdJob... :(
+// perhaps this should be moved to some K3bGrowisofsHandler which also parses the growisofs output?
+bool K3bDvdCopyJob::waitForDvd()
+{
+ int mt = 0;
+ if( m_writingMode == K3b::WRITING_MODE_RES_OVWR ) // we treat DVD+R(W) as restricted overwrite media
+ mt = K3bDevice::MEDIA_DVD_RW_OVWR|K3bDevice::MEDIA_DVD_PLUS_RW|K3bDevice::MEDIA_DVD_PLUS_R;
+ else
+ mt = K3bDevice::MEDIA_WRITABLE_DVD_SL;
+
+ //
+ // in case the source is a double layer DVD we made sure above that the writer
+ // is capable of writing DVD+R-DL or DVD-R DL and here we wait for a DL DVD
+ //
+ if( d->sourceDiskInfo.numLayers() > 1 &&
+ d->sourceDiskInfo.size().mode1Bytes() > 4700372992LL ) {
+ mt = K3bDevice::MEDIA_WRITABLE_DVD_DL;
+ }
+
+ int m = waitForMedia( m_writerDevice, K3bDevice::STATE_EMPTY, mt );
+
+ if( m < 0 ) {
+ cancel();
+ return false;
+ }
+
+ if( m == 0 ) {
+ emit infoMessage( i18n("Forced by user. Growisofs will be called without further tests."), INFO );
+ }
+
+ else {
+ // -------------------------------
+ // DVD Plus
+ // -------------------------------
+ if( m & K3bDevice::MEDIA_DVD_PLUS_ALL ) {
+
+ d->usedWritingMode = K3b::WRITING_MODE_RES_OVWR;
+
+ if( m_simulate ) {
+ if( !questionYesNo( i18n("K3b does not support simulation with DVD+R(W) media. "
+ "Do you really want to continue? The media will actually be "
+ "written to."),
+ i18n("No Simulation with DVD+R(W)") ) ) {
+ cancel();
+ return false;
+ }
+
+// m_simulate = false;
+ emit newTask( i18n("Writing DVD copy") );
+ }
+
+ if( m_writingMode != K3b::WRITING_MODE_AUTO && m_writingMode != K3b::WRITING_MODE_RES_OVWR )
+ emit infoMessage( i18n("Writing mode ignored when writing DVD+R(W) media."), INFO );
+
+ if( m & K3bDevice::MEDIA_DVD_PLUS_RW )
+ emit infoMessage( i18n("Writing DVD+RW."), INFO );
+ else if( m & K3bDevice::MEDIA_DVD_PLUS_R_DL )
+ emit infoMessage( i18n("Writing Double Layer DVD+R."), INFO );
+ else
+ emit infoMessage( i18n("Writing DVD+R."), INFO );
+ }
+
+ // -------------------------------
+ // DVD Minus
+ // -------------------------------
+ else {
+ if( m_simulate && !m_writerDevice->dvdMinusTestwrite() ) {
+ if( !questionYesNo( i18n("Your writer (%1 %2) does not support simulation with DVD-R(W) media. "
+ "Do you really want to continue? The media will be written "
+ "for real.")
+ .arg(m_writerDevice->vendor())
+ .arg(m_writerDevice->description()),
+ i18n("No Simulation with DVD-R(W)") ) ) {
+ cancel();
+ return false;
+ }
+
+// m_simulate = false;
+ }
+
+ //
+ // We do not default to DAO in onthefly mode since otherwise growisofs would
+ // use the size from the PVD to reserve space on the DVD and that can be bad
+ // if this size is wrong
+ // With growisofs 5.15 we have the option to specify the size of the image to be written in DAO mode.
+ //
+// bool sizeWithDao = ( k3bcore->externalBinManager()->binObject( "growisofs" ) &&
+// k3bcore->externalBinManager()->binObject( "growisofs" )->version >= K3bVersion( 5, 15, -1 ) );
+
+
+ // TODO: check for feature 0x21
+
+ if( m & K3bDevice::MEDIA_DVD_RW_OVWR ) {
+ emit infoMessage( i18n("Writing DVD-RW in restricted overwrite mode."), INFO );
+ d->usedWritingMode = K3b::WRITING_MODE_RES_OVWR;
+ }
+ else if( m & (K3bDevice::MEDIA_DVD_RW_SEQ|
+ K3bDevice::MEDIA_DVD_RW) ) {
+ if( m_writingMode == K3b::DAO ) {
+// ( m_writingMode == K3b::WRITING_MODE_AUTO &&
+// ( sizeWithDao || !m_onTheFly ) ) ) {
+ emit infoMessage( i18n("Writing DVD-RW in DAO mode."), INFO );
+ d->usedWritingMode = K3b::DAO;
+ }
+ else {
+ emit infoMessage( i18n("Writing DVD-RW in incremental mode."), INFO );
+ d->usedWritingMode = K3b::WRITING_MODE_INCR_SEQ;
+ }
+ }
+ else {
+
+ // FIXME: DVD-R DL jump and stuff
+
+ if( m_writingMode == K3b::WRITING_MODE_RES_OVWR )
+ emit infoMessage( i18n("Restricted Overwrite is not possible with DVD-R media."), INFO );
+
+ if( m_writingMode == K3b::DAO ) {
+// ( m_writingMode == K3b::WRITING_MODE_AUTO &&
+// ( sizeWithDao || !m_onTheFly ) ) ) {
+ emit infoMessage( i18n("Writing %1 in DAO mode.").arg( K3bDevice::mediaTypeString(m, true) ), INFO );
+ d->usedWritingMode = K3b::DAO;
+ }
+ else {
+ emit infoMessage( i18n("Writing %1 in incremental mode.").arg( K3bDevice::mediaTypeString(m, true) ), INFO );
+ d->usedWritingMode = K3b::WRITING_MODE_INCR_SEQ;
+ }
+ }
+ }
+ }
+
+ return true;
+}
+
+
+
+void K3bDvdCopyJob::removeImageFiles()
+{
+ if( QFile::exists( m_imagePath ) ) {
+ d->imageFile.remove();
+ emit infoMessage( i18n("Removed image file %1").arg(m_imagePath), K3bJob::SUCCESS );
+ }
+}
+
+
+QString K3bDvdCopyJob::jobDescription() const
+{
+ if( m_onlyCreateImage ) {
+ return i18n("Creating DVD Image");
+ }
+ else {
+ if( m_onTheFly )
+ return i18n("Copying DVD On-The-Fly");
+ else
+ return i18n("Copying DVD");
+ }
+}
+
+
+QString K3bDvdCopyJob::jobDetails() const
+{
+ return i18n("Creating 1 copy",
+ "Creating %n copies",
+ (m_simulate||m_onlyCreateImage) ? 1 : m_copies );
+}
+
+
+void K3bDvdCopyJob::setVerifyData( bool b )
+{
+ d->verifyData = b;
+}
+
+#include "k3bdvdcopyjob.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdvdcopyjob.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdvdcopyjob.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdvdcopyjob.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,99 @@
+/*
+ *
+ * $Id: k3bdvdcopyjob.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_DVD_COPY_JOB_H_
+#define _K3B_DVD_COPY_JOB_H_
+
+#include <k3bjob.h>
+#include "k3b_export.h"
+#include <qstring.h>
+
+
+namespace K3bDevice {
+ class Device;
+ class DeviceHandler;
+}
+
+
+class LIBK3B_EXPORT K3bDvdCopyJob : public K3bBurnJob
+{
+ Q_OBJECT
+
+ public:
+ K3bDvdCopyJob( K3bJobHandler* hdl, QObject* parent = 0, const char* name = 0 );
+ ~K3bDvdCopyJob();
+
+ K3bDevice::Device* writer() const { return m_onlyCreateImage ? 0 : m_writerDevice; }
+ K3bDevice::Device* readingDevice() const { return m_readerDevice; }
+
+ QString jobDescription() const;
+ QString jobDetails() const;
+
+ public slots:
+ void start();
+ void cancel();
+
+ void setWriterDevice( K3bDevice::Device* w ) { m_writerDevice = w; }
+ void setReaderDevice( K3bDevice::Device* w ) { m_readerDevice = w; }
+ void setImagePath( const QString& p ) { m_imagePath = p; }
+ void setRemoveImageFiles( bool b ) { m_removeImageFiles = b; }
+ void setOnlyCreateImage( bool b ) { m_onlyCreateImage = b; }
+ void setSimulate( bool b ) { m_simulate = b; }
+ void setOnTheFly( bool b ) { m_onTheFly = b; }
+ void setWriteSpeed( int s ) { m_speed = s; }
+ void setCopies( int c ) { m_copies = c; }
+ void setWritingMode( int w ) { m_writingMode = w; }
+ void setIgnoreReadErrors( bool b ) { m_ignoreReadErrors = b; }
+ void setReadRetries( int i ) { m_readRetries = i; }
+ void setVerifyData( bool b );
+
+ private slots:
+ void slotDiskInfoReady( K3bDevice::DeviceHandler* );
+ void slotReaderProgress( int );
+ void slotReaderProcessedSize( int, int );
+ void slotWriterProgress( int );
+ void slotReaderFinished( bool );
+ void slotWriterFinished( bool );
+ void slotVerificationFinished( bool );
+ void slotVerificationProgress( int p );
+
+ private:
+ bool waitForDvd();
+ void prepareReader();
+ void prepareWriter();
+ void removeImageFiles();
+
+ K3bDevice::Device* m_writerDevice;
+ K3bDevice::Device* m_readerDevice;
+ QString m_imagePath;
+
+ bool m_onTheFly;
+ bool m_removeImageFiles;
+
+ bool m_simulate;
+ int m_speed;
+ int m_copies;
+ bool m_onlyCreateImage;
+ bool m_ignoreReadErrors;
+ int m_readRetries;
+
+ int m_writingMode;
+
+ class Private;
+ Private* d;
+};
+
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdvdformattingjob.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdvdformattingjob.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdvdformattingjob.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,536 @@
+/*
+ *
+ * $Id: k3bdvdformattingjob.cpp 696897 2007-08-06 07:14:14Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bdvdformattingjob.h"
+
+#include <k3bglobals.h>
+#include <k3bprocess.h>
+#include <k3bdevice.h>
+#include <k3bdeviceglobals.h>
+#include <k3bdevicehandler.h>
+#include <k3bdiskinfo.h>
+#include <k3bexternalbinmanager.h>
+#include <k3bcore.h>
+#include <k3bversion.h>
+#include <k3bglobalsettings.h>
+
+#include <klocale.h>
+#include <kdebug.h>
+
+#include <qvaluelist.h>
+#include <qregexp.h>
+
+#include <errno.h>
+#include <string.h>
+
+
+class K3bDvdFormattingJob::Private
+{
+public:
+ Private()
+ : quick(false),
+ force(false),
+ mode(K3b::WRITING_MODE_AUTO),
+ device(0),
+ process(0),
+ dvdFormatBin(0),
+ lastProgressValue(0),
+ running(false),
+ forceNoEject(false) {
+ }
+
+ bool quick;
+ bool force;
+ int mode;
+
+ K3bDevice::Device* device;
+ K3bProcess* process;
+ const K3bExternalBin* dvdFormatBin;
+
+ int lastProgressValue;
+
+ bool success;
+ bool canceled;
+ bool running;
+
+ bool forceNoEject;
+
+ bool error;
+};
+
+
+K3bDvdFormattingJob::K3bDvdFormattingJob( K3bJobHandler* jh, QObject* parent, const char* name )
+ : K3bBurnJob( jh, parent, name )
+{
+ d = new Private;
+}
+
+
+K3bDvdFormattingJob::~K3bDvdFormattingJob()
+{
+ delete d->process;
+ delete d;
+}
+
+
+K3bDevice::Device* K3bDvdFormattingJob::writer() const
+{
+ return d->device;
+}
+
+
+void K3bDvdFormattingJob::setForceNoEject( bool b )
+{
+ d->forceNoEject = b;
+}
+
+
+QString K3bDvdFormattingJob::jobDescription() const
+{
+ return i18n("Formatting DVD"); // Formatting DVD±RW
+}
+
+
+QString K3bDvdFormattingJob::jobDetails() const
+{
+ if( d->quick )
+ return i18n("Quick Format");
+ else
+ return QString::null;
+}
+
+
+void K3bDvdFormattingJob::start()
+{
+ d->canceled = false;
+ d->running = true;
+ d->error = false;
+
+ jobStarted();
+
+ if( !d->device ) {
+ emit infoMessage( i18n("No device set"), ERROR );
+ d->running = false;
+ jobFinished(false);
+ return;
+ }
+
+ // FIXME: check the return value
+ if( K3b::isMounted( d->device ) ) {
+ emit infoMessage( i18n("Unmounting medium"), INFO );
+ K3b::unmount( d->device );
+ }
+
+ //
+ // first wait for a dvd+rw or dvd-rw
+ // Be aware that an empty DVD-RW might be reformatted to another writing mode
+ // so we also wait for empty dvds
+ //
+ if( waitForMedia( d->device,
+ K3bDevice::STATE_COMPLETE|K3bDevice::STATE_INCOMPLETE|K3bDevice::STATE_EMPTY,
+ K3bDevice::MEDIA_WRITABLE_DVD,
+ i18n("Please insert a rewritable DVD medium into drive<p><b>%1 %2 (%3)</b>.")
+ .arg(d->device->vendor()).arg(d->device->description()).arg(d->device->devicename()) ) == -1 ) {
+ emit canceled();
+ d->running = false;
+ jobFinished(false);
+ return;
+ }
+
+ emit infoMessage( i18n("Checking media..."), INFO );
+ emit newTask( i18n("Checking media") );
+
+ connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::NG_DISKINFO, d->device ),
+ SIGNAL(finished(K3bDevice::DeviceHandler*)),
+ this,
+ SLOT(slotDeviceHandlerFinished(K3bDevice::DeviceHandler*)) );
+}
+
+
+void K3bDvdFormattingJob::start( const K3bDevice::DiskInfo& di )
+{
+ d->canceled = false;
+ d->running = true;
+
+ jobStarted();
+
+ startFormatting( di );
+}
+
+
+void K3bDvdFormattingJob::cancel()
+{
+ if( d->running ) {
+ d->canceled = true;
+ if( d->process )
+ d->process->kill();
+ }
+ else {
+ kdDebug() << "(K3bDvdFormattingJob) not running." << endl;
+ }
+}
+
+
+void K3bDvdFormattingJob::setDevice( K3bDevice::Device* dev )
+{
+ d->device = dev;
+}
+
+
+void K3bDvdFormattingJob::setMode( int m )
+{
+ d->mode = m;
+}
+
+
+void K3bDvdFormattingJob::setQuickFormat( bool b )
+{
+ d->quick = b;
+}
+
+
+void K3bDvdFormattingJob::setForce( bool b )
+{
+ d->force = b;
+}
+
+
+void K3bDvdFormattingJob::slotStderrLine( const QString& line )
+{
+// * DVD±RW format utility by <appro at fy.chalmers.se>, version 4.4.
+// * 4.7GB DVD-RW media in Sequential mode detected.
+// * blanking 100.0|
+
+// * formatting 100.0|
+
+ emit debuggingOutput( "dvd+rw-format", line );
+
+ // parsing for the -gui mode (since dvd+rw-format 4.6)
+ int pos = line.find( "blanking" );
+ if( pos < 0 )
+ pos = line.find( "formatting" );
+ if( pos >= 0 ) {
+ pos = line.find( QRegExp( "\\d" ), pos );
+ }
+ // parsing for \b\b... stuff
+ else if( !line.startsWith("*") ) {
+ pos = line.find( QRegExp( "\\d" ) );
+ }
+ else if( line.startsWith( ":-(" ) ) {
+ if( line.startsWith( ":-( unable to proceed with format" ) ) {
+ d->error = true;
+ }
+ }
+
+ if( pos >= 0 ) {
+ int endPos = line.find( QRegExp("[^\\d\\.]"), pos ) - 1;
+ bool ok;
+ int progress = (int)(line.mid( pos, endPos - pos ).toDouble(&ok));
+ if( ok ) {
+ d->lastProgressValue = progress;
+ emit percent( progress );
+ }
+ else {
+ kdDebug() << "(K3bDvdFormattingJob) parsing error: '" << line.mid( pos, endPos - pos ) << "'" << endl;
+ }
+ }
+}
+
+
+void K3bDvdFormattingJob::slotProcessFinished( KProcess* p )
+{
+ if( d->canceled ) {
+ emit canceled();
+ d->success = false;
+ }
+ else if( p->normalExit() ) {
+ if( !d->error && p->exitStatus() == 0 ) {
+ emit infoMessage( i18n("Formatting successfully completed"), K3bJob::SUCCESS );
+
+ if( d->lastProgressValue < 100 ) {
+ emit infoMessage( i18n("Do not be concerned with the progress stopping before 100%."), INFO );
+ emit infoMessage( i18n("The formatting will continue in the background while writing."), INFO );
+ }
+
+ d->success = true;
+ }
+ else {
+ emit infoMessage( i18n("%1 returned an unknown error (code %2).").arg(d->dvdFormatBin->name()).arg(p->exitStatus()),
+ K3bJob::ERROR );
+ emit infoMessage( i18n("Please send me an email with the last output."), K3bJob::ERROR );
+
+ d->success = false;
+ }
+ }
+ else {
+ emit infoMessage( i18n("%1 did not exit cleanly.").arg(d->dvdFormatBin->name()),
+ ERROR );
+ d->success = false;
+ }
+
+ if( d->forceNoEject ||
+ !k3bcore->globalSettings()->ejectMedia() ) {
+ d->running = false;
+ jobFinished(d->success);
+ }
+ else {
+ emit infoMessage( i18n("Ejecting DVD..."), INFO );
+ connect( K3bDevice::eject( d->device ),
+ SIGNAL(finished(K3bDevice::DeviceHandler*)),
+ this,
+ SLOT(slotEjectingFinished(K3bDevice::DeviceHandler*)) );
+ }
+}
+
+
+void K3bDvdFormattingJob::slotEjectingFinished( K3bDevice::DeviceHandler* dh )
+{
+ if( !dh->success() )
+ emit infoMessage( i18n("Unable to eject media."), ERROR );
+
+ d->running = false;
+ jobFinished(d->success);
+}
+
+
+void K3bDvdFormattingJob::slotDeviceHandlerFinished( K3bDevice::DeviceHandler* dh )
+{
+ if( d->canceled ) {
+ emit canceled();
+ jobFinished(false);
+ d->running = false;
+ }
+
+ if( dh->success() ) {
+ startFormatting( dh->diskInfo() );
+ }
+ else {
+ emit infoMessage( i18n("Unable to determine media state."), ERROR );
+ d->running = false;
+ jobFinished(false);
+ }
+}
+
+
+void K3bDvdFormattingJob::startFormatting( const K3bDevice::DiskInfo& diskInfo )
+{
+ //
+ // Now check the media type:
+ // if DVD-RW: use d->mode
+ // emit warning if formatting is full and stuff
+ //
+ // in overwrite mode: emit info that progress might stop before 100% since formatting will continue
+ // in the background once the media gets rewritten (only DVD+RW?)
+ //
+
+ // emit info about what kind of media has been found
+
+ if( !(diskInfo.mediaType() & (K3bDevice::MEDIA_DVD_RW|
+ K3bDevice::MEDIA_DVD_RW_SEQ|
+ K3bDevice::MEDIA_DVD_RW_OVWR|
+ K3bDevice::MEDIA_DVD_PLUS_RW)) ) {
+ emit infoMessage( i18n("No rewritable DVD media found. Unable to format."), ERROR );
+ d->running = false;
+ jobFinished(false);
+ return;
+ }
+
+
+ bool format = true; // do we need to format
+ bool blank = false; // blank is for DVD-RW sequential incremental
+ // DVD-RW restricted overwrite and DVD+RW uses the force option (or no option at all)
+
+
+
+ //
+ // DVD+RW is quite easy to handle. There is only one possible mode and it is always recommended to not
+ // format it more than once but to overwrite it once it is formatted
+ // Once the initial formatting has been done it's always "appendable" (or "complete"???)
+ //
+
+
+ if( diskInfo.mediaType() == K3bDevice::MEDIA_DVD_PLUS_RW ) {
+ emit infoMessage( i18n("Found %1 media.").arg(K3bDevice::mediaTypeString(K3bDevice::MEDIA_DVD_PLUS_RW)),
+ INFO );
+
+ // mode is ignored
+
+ if( diskInfo.empty() ) {
+ //
+ // The DVD+RW is blank and needs to be initially formatted
+ //
+ blank = false;
+ }
+ else {
+ emit infoMessage( i18n("No need to format %1 media more than once.")
+ .arg(K3bDevice::mediaTypeString(K3bDevice::MEDIA_DVD_PLUS_RW)), INFO );
+ emit infoMessage( i18n("It may simply be overwritten."), INFO );
+
+ if( d->force ) {
+ emit infoMessage( i18n("Forcing formatting anyway."), INFO );
+ emit infoMessage( i18n("It is not recommended to force formatting of DVD+RW media."), INFO );
+ emit infoMessage( i18n("Already after 10-20 reformats the media might be unusable."), INFO );
+ blank = false;
+ }
+ else {
+ format = false;
+ }
+ }
+
+ if( format )
+ emit newSubTask( i18n("Formatting DVD+RW") );
+ }
+
+
+
+ //
+ // DVD-RW has two modes: incremental sequential (the default which is also needed for DAO writing)
+ // and restricted overwrite which compares to the DVD+RW mode.
+ //
+
+ else { // MEDIA_DVD_RW
+ emit infoMessage( i18n("Found %1 media.").arg(K3bDevice::mediaTypeString(K3bDevice::MEDIA_DVD_RW)),
+ INFO );
+
+ if( diskInfo.currentProfile() != K3bDevice::MEDIA_UNKNOWN ) {
+ emit infoMessage( i18n("Formatted in %1 mode.").arg(K3bDevice::mediaTypeString(diskInfo.currentProfile())), INFO );
+
+
+ //
+ // Is it possible to have an empty DVD-RW in restricted overwrite mode???? I don't think so.
+ //
+
+ if( diskInfo.empty() &&
+ (d->mode == K3b::WRITING_MODE_AUTO ||
+ (d->mode == K3b::WRITING_MODE_INCR_SEQ &&
+ diskInfo.currentProfile() == K3bDevice::MEDIA_DVD_RW_SEQ) ||
+ (d->mode == K3b::WRITING_MODE_RES_OVWR &&
+ diskInfo.currentProfile() == K3bDevice::MEDIA_DVD_RW_OVWR) )
+ ) {
+ emit infoMessage( i18n("Media is already empty."), INFO );
+ if( d->force )
+ emit infoMessage( i18n("Forcing formatting anyway."), INFO );
+ else
+ format = false;
+ }
+ else if( diskInfo.currentProfile() == K3bDevice::MEDIA_DVD_RW_OVWR &&
+ d->mode != K3b::WRITING_MODE_INCR_SEQ ) {
+ emit infoMessage( i18n("No need to format %1 media more than once.")
+ .arg(K3bDevice::mediaTypeString(diskInfo.currentProfile())), INFO );
+ emit infoMessage( i18n("It may simply be overwritten."), INFO );
+
+ if( d->force )
+ emit infoMessage( i18n("Forcing formatting anyway."), INFO );
+ else
+ format = false;
+ }
+
+
+ if( format ) {
+ if( d->mode == K3b::WRITING_MODE_AUTO ) {
+ // just format in the same mode as the media is currently formatted
+ blank = (diskInfo.currentProfile() == K3bDevice::MEDIA_DVD_RW_SEQ);
+ }
+ else {
+ blank = (d->mode == K3b::WRITING_MODE_INCR_SEQ);
+ }
+
+ emit newSubTask( i18n("Formatting"
+ " DVD-RW in %1 mode.").arg(K3bDevice::mediaTypeString( blank ?
+ K3bDevice::MEDIA_DVD_RW_SEQ :
+ K3bDevice::MEDIA_DVD_RW_OVWR )) );
+ }
+ }
+ else {
+ emit infoMessage( i18n("Unable to determine the current formatting state of the DVD-RW media."), ERROR );
+ d->running = false;
+ jobFinished(false);
+ return;
+ }
+ }
+
+
+ if( format ) {
+ delete d->process;
+ d->process = new K3bProcess();
+ d->process->setRunPrivileged(true);
+ // d->process->setSuppressEmptyLines(false);
+ connect( d->process, SIGNAL(stderrLine(const QString&)), this, SLOT(slotStderrLine(const QString&)) );
+ connect( d->process, SIGNAL(processExited(KProcess*)), this, SLOT(slotProcessFinished(KProcess*)) );
+
+ d->dvdFormatBin = k3bcore->externalBinManager()->binObject( "dvd+rw-format" );
+ if( !d->dvdFormatBin ) {
+ emit infoMessage( i18n("Could not find %1 executable.").arg("dvd+rw-format"), ERROR );
+ d->running = false;
+ jobFinished(false);
+ return;
+ }
+
+ if( !d->dvdFormatBin->copyright.isEmpty() )
+ emit infoMessage( i18n("Using %1 %2 - Copyright (C) %3").arg(d->dvdFormatBin->name()).arg(d->dvdFormatBin->version).arg(d->dvdFormatBin->copyright), INFO );
+
+
+ *d->process << d->dvdFormatBin;
+
+ if( d->dvdFormatBin->version >= K3bVersion( 4, 6 ) )
+ *d->process << "-gui";
+
+ QString p;
+ if( blank )
+ p = "-blank";
+ else
+ p = "-force";
+ if( !d->quick )
+ p += "=full";
+
+ *d->process << p;
+
+ *d->process << d->device->blockDeviceName();
+
+ // additional user parameters from config
+ const QStringList& params = d->dvdFormatBin->userParameters();
+ for( QStringList::const_iterator it = params.begin(); it != params.end(); ++it )
+ *d->process << *it;
+
+ kdDebug() << "***** dvd+rw-format parameters:\n";
+ const QValueList<QCString>& args = d->process->args();
+ QString s;
+ for( QValueList<QCString>::const_iterator it = args.begin(); it != args.end(); ++it ) {
+ s += *it + " ";
+ }
+ kdDebug() << s << endl << flush;
+ emit debuggingOutput( "dvd+rw-format command:", s );
+
+ if( !d->process->start( KProcess::NotifyOnExit, KProcess::All ) ) {
+ // something went wrong when starting the program
+ // it "should" be the executable
+ kdDebug() << "(K3bDvdFormattingJob) could not start " << d->dvdFormatBin->path << endl;
+ emit infoMessage( i18n("Could not start %1.").arg(d->dvdFormatBin->name()), K3bJob::ERROR );
+ d->running = false;
+ jobFinished(false);
+ }
+ else {
+ emit newTask( i18n("Formatting") );
+ }
+ }
+ else {
+ // already formatted :)
+ d->running = false;
+ jobFinished(true);
+ }
+}
+
+
+#include "k3bdvdformattingjob.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdvdformattingjob.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdvdformattingjob.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bdvdformattingjob.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,91 @@
+/*
+ *
+ * $Id: k3bdvdformattingjob.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_DVD_FORMATTING_JOB_H_
+#define _K3B_DVD_FORMATTING_JOB_H_
+
+
+#include <k3bjob.h>
+#include "k3b_export.h"
+
+class KProcess;
+namespace K3bDevice {
+ class Device;
+ class DeviceHandler;
+}
+
+
+class LIBK3B_EXPORT K3bDvdFormattingJob : public K3bBurnJob
+{
+ Q_OBJECT
+
+ public:
+ K3bDvdFormattingJob( K3bJobHandler*, QObject* parent = 0, const char* name = 0 );
+ ~K3bDvdFormattingJob();
+
+ QString jobDescription() const;
+ QString jobDetails() const;
+
+ K3bDevice::Device* writer() const;
+
+ public slots:
+ void start();
+
+ /**
+ * Use this to force the start of the formatting without checking for a usable medium.
+ */
+ void start( const K3bDevice::DiskInfo& );
+
+ void cancel();
+
+ void setDevice( K3bDevice::Device* );
+
+ /**
+ * One of: WRITING_MODE_INCR_SEQ, WRITING_MODE_RES_OVWR
+ * Ignored for DVD+RW
+ */
+ void setMode( int );
+
+ /**
+ * Not all writers support this
+ */
+ void setQuickFormat( bool );
+
+ /**
+ * @param b If true empty DVDs will also be formatted
+ */
+ void setForce( bool b );
+
+ /**
+ * If set true the job ignores the global K3b setting
+ * and does not eject the CD-RW after finishing
+ */
+ void setForceNoEject( bool );
+
+ private slots:
+ void slotStderrLine( const QString& );
+ void slotProcessFinished( KProcess* );
+ void slotDeviceHandlerFinished( K3bDevice::DeviceHandler* );
+ void slotEjectingFinished( K3bDevice::DeviceHandler* );
+
+ private:
+ void startFormatting( const K3bDevice::DiskInfo& );
+
+ class Private;
+ Private* d;
+};
+
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3biso9660imagewritingjob.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3biso9660imagewritingjob.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3biso9660imagewritingjob.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,458 @@
+/*
+ *
+ * $Id: k3biso9660imagewritingjob.cpp 690187 2007-07-20 09:18:03Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#include "k3biso9660imagewritingjob.h"
+#include "k3bverificationjob.h"
+
+#include <k3bdevice.h>
+#include <k3bdiskinfo.h>
+#include <k3bdevicehandler.h>
+#include <k3bcdrecordwriter.h>
+#include <k3bcdrdaowriter.h>
+#include <k3bgrowisofswriter.h>
+#include <k3bglobals.h>
+#include <k3bcore.h>
+#include <k3bversion.h>
+#include <k3bexternalbinmanager.h>
+#include <k3bchecksumpipe.h>
+#include <k3bfilesplitter.h>
+
+#include <kdebug.h>
+#include <kconfig.h>
+#include <klocale.h>
+#include <ktempfile.h>
+#include <kio/global.h>
+
+#include <qstring.h>
+#include <qtextstream.h>
+#include <qfile.h>
+#include <qapplication.h>
+
+
+class K3bIso9660ImageWritingJob::Private
+{
+public:
+ K3bChecksumPipe checksumPipe;
+ K3bFileSplitter imageFile;
+};
+
+
+K3bIso9660ImageWritingJob::K3bIso9660ImageWritingJob( K3bJobHandler* hdl )
+ : K3bBurnJob( hdl ),
+ m_writingMode(K3b::WRITING_MODE_AUTO),
+ m_simulate(false),
+ m_device(0),
+ m_noFix(false),
+ m_speed(2),
+ m_dataMode(K3b::DATA_MODE_AUTO),
+ m_writer(0),
+ m_tocFile(0),
+ m_copies(1),
+ m_verifyJob(0)
+{
+ d = new Private;
+}
+
+K3bIso9660ImageWritingJob::~K3bIso9660ImageWritingJob()
+{
+ delete m_tocFile;
+ delete d;
+}
+
+
+void K3bIso9660ImageWritingJob::start()
+{
+ m_canceled = m_finished = false;
+ m_currentCopy = 1;
+
+ jobStarted();
+
+ if( m_simulate )
+ m_verifyData = false;
+
+ emit newTask( i18n("Preparing data") );
+
+ if( !QFile::exists( m_imagePath ) ) {
+ emit infoMessage( i18n("Could not find image %1").arg(m_imagePath), K3bJob::ERROR );
+ jobFinished( false );
+ return;
+ }
+
+ unsigned long gb = K3b::imageFilesize( m_imagePath )/1024/1024;
+
+ // very rough test but since most dvd images are 4,x or 8,x GB it should be enough
+ m_dvd = ( gb > 900 );
+
+ startWriting();
+}
+
+
+void K3bIso9660ImageWritingJob::slotWriterJobFinished( bool success )
+{
+ if( m_canceled ) {
+ m_finished = true;
+ emit canceled();
+ jobFinished(false);
+ return;
+ }
+
+ d->checksumPipe.close();
+
+ if( success ) {
+ if( !m_simulate && m_verifyData ) {
+ emit burning(false);
+
+ // allright
+ // the writerJob should have emited the "simulation/writing successful" signal
+
+ if( !m_verifyJob ) {
+ m_verifyJob = new K3bVerificationJob( this );
+ connectSubJob( m_verifyJob,
+ SLOT(slotVerificationFinished(bool)),
+ true,
+ SLOT(slotVerificationProgress(int)),
+ SIGNAL(subPercent(int)) );
+ }
+ m_verifyJob->setDevice( m_device );
+ m_verifyJob->clear();
+ m_verifyJob->addTrack( 1, d->checksumPipe.checksum(), K3b::imageFilesize( m_imagePath )/2048 );
+
+ if( m_copies == 1 )
+ emit newTask( i18n("Verifying written data") );
+ else
+ emit newTask( i18n("Verifying written copy %1 of %2").arg(m_currentCopy).arg(m_copies) );
+
+ m_verifyJob->start();
+ }
+ else if( m_currentCopy >= m_copies ) {
+ m_finished = true;
+ jobFinished(true);
+ }
+ else {
+ m_currentCopy++;
+ startWriting();
+ }
+ }
+ else {
+ m_finished = true;
+ jobFinished(false);
+ }
+}
+
+
+void K3bIso9660ImageWritingJob::slotVerificationFinished( bool success )
+{
+ if( m_canceled ) {
+ m_finished = true;
+ emit canceled();
+ jobFinished(false);
+ return;
+ }
+
+ if( success && m_currentCopy < m_copies ) {
+ m_currentCopy++;
+ connect( K3bDevice::eject( m_device ), SIGNAL(finished(bool)),
+ this, SLOT(startWriting()) );
+ return;
+ }
+
+ k3bcore->config()->setGroup("General Options");
+ if( !k3bcore->config()->readBoolEntry( "No cd eject", false ) )
+ K3bDevice::eject( m_device );
+
+ m_finished = true;
+ jobFinished( success );
+}
+
+
+void K3bIso9660ImageWritingJob::slotVerificationProgress( int p )
+{
+ emit percent( (int)(100.0 / (double)m_copies * ( (double)(m_currentCopy-1) + 0.5 + (double)p/200.0 )) );
+}
+
+
+void K3bIso9660ImageWritingJob::slotWriterPercent( int p )
+{
+ emit subPercent( p );
+
+ if( m_verifyData )
+ emit percent( (int)(100.0 / (double)m_copies * ( (double)(m_currentCopy-1) + ((double)p/200.0) )) );
+ else
+ emit percent( (int)(100.0 / (double)m_copies * ( (double)(m_currentCopy-1) + ((double)p/100.0) )) );
+}
+
+
+void K3bIso9660ImageWritingJob::slotNextTrack( int, int )
+{
+ if( m_copies == 1 )
+ emit newSubTask( i18n("Writing image") );
+ else
+ emit newSubTask( i18n("Writing copy %1 of %2").arg(m_currentCopy).arg(m_copies) );
+}
+
+
+void K3bIso9660ImageWritingJob::cancel()
+{
+ if( !m_finished ) {
+ m_canceled = true;
+
+ if( m_writer )
+ m_writer->cancel();
+ if( m_verifyData && m_verifyJob )
+ m_verifyJob->cancel();
+ }
+}
+
+
+void K3bIso9660ImageWritingJob::startWriting()
+{
+ emit newSubTask( i18n("Waiting for medium") );
+
+ // we wait for the following:
+ // 1. if writing mode auto and writing app auto: all writable media types
+ // 2. if writing mode auto and writing app not growisofs: all writable cd types
+ // 3. if writing mode auto and writing app growisofs: all writable dvd types
+ // 4. if writing mode TAO or RAW: all writable cd types
+ // 5. if writing mode DAO and writing app auto: all writable cd types and DVD-R(W)
+ // 6. if writing mode DAO and writing app GROWISOFS: DVD-R(W)
+ // 7. if writing mode DAO and writing app CDRDAO or CDRECORD: all writable cd types
+ // 8. if writing mode WRITING_MODE_INCR_SEQ: DVD-R(W)
+ // 9. if writing mode WRITING_MODE_RES_OVWR: DVD-RW or DVD+RW
+
+ int mt = 0;
+ if( m_writingMode == K3b::WRITING_MODE_AUTO ) {
+ if( writingApp() == K3b::DEFAULT ) {
+ if( m_dvd )
+ mt = K3bDevice::MEDIA_WRITABLE_DVD;
+ else
+ mt = K3bDevice::MEDIA_WRITABLE_CD;
+ }
+ else if( writingApp() != K3b::GROWISOFS )
+ mt = K3bDevice::MEDIA_WRITABLE_CD;
+ else
+ mt = K3bDevice::MEDIA_WRITABLE_DVD;
+ }
+ else if( m_writingMode == K3b::TAO || m_writingMode == K3b::RAW )
+ mt = K3bDevice::MEDIA_WRITABLE_CD;
+ else if( m_writingMode == K3b::DAO ) {
+ if( writingApp() == K3b::DEFAULT ) {
+ if( m_dvd )
+ mt = K3bDevice::MEDIA_WRITABLE_DVD;
+ else
+ mt = K3bDevice::MEDIA_WRITABLE_CD;
+ }
+ else if( writingApp() == K3b::GROWISOFS )
+ mt = K3bDevice::MEDIA_WRITABLE_DVD;
+ else
+ mt = K3bDevice::MEDIA_WRITABLE_CD;
+ }
+ else if( m_writingMode == K3b::WRITING_MODE_RES_OVWR )
+ mt = K3bDevice::MEDIA_DVD_PLUS_R|K3bDevice::MEDIA_DVD_PLUS_R_DL|K3bDevice::MEDIA_DVD_PLUS_RW|K3bDevice::MEDIA_DVD_RW_OVWR;
+ else
+ mt = K3bDevice::MEDIA_WRITABLE_DVD;
+
+
+ // wait for the media
+ int media = waitForMedia( m_device, K3bDevice::STATE_EMPTY, mt );
+ if( media < 0 ) {
+ m_finished = true;
+ emit canceled();
+ jobFinished(false);
+ return;
+ }
+
+ // we simply always calculate the checksum, thus making the code simpler
+ d->imageFile.close();
+ d->imageFile.setName( m_imagePath );
+ d->imageFile.open( IO_ReadOnly );
+ d->checksumPipe.close();
+ d->checksumPipe.readFromIODevice( &d->imageFile );
+
+ if( prepareWriter( media ) ) {
+ emit burning(true);
+ m_writer->start();
+ d->checksumPipe.writeToFd( m_writer->fd(), true );
+ d->checksumPipe.open( K3bChecksumPipe::MD5, true );
+ }
+ else {
+ m_finished = true;
+ jobFinished(false);
+ }
+}
+
+
+bool K3bIso9660ImageWritingJob::prepareWriter( int mediaType )
+{
+ if( mediaType == 0 ) { // media forced
+ // just to get it going...
+ if( writingApp() != K3b::GROWISOFS && !m_dvd )
+ mediaType = K3bDevice::MEDIA_CD_R;
+ else
+ mediaType = K3bDevice::MEDIA_DVD_R;
+ }
+
+ delete m_writer;
+
+ if( mediaType == K3bDevice::MEDIA_CD_R || mediaType == K3bDevice::MEDIA_CD_RW ) {
+ int usedWritingMode = m_writingMode;
+ if( usedWritingMode == K3b::WRITING_MODE_AUTO ) {
+ // cdrecord seems to have problems when writing in mode2 in dao mode
+ // so with cdrecord we use TAO
+ if( m_noFix || m_dataMode == K3b::MODE2 || !m_device->dao() )
+ usedWritingMode = K3b::TAO;
+ else
+ usedWritingMode = K3b::DAO;
+ }
+
+ int usedApp = writingApp();
+ if( usedApp == K3b::DEFAULT ) {
+ if( usedWritingMode == K3b::DAO &&
+ ( m_dataMode == K3b::MODE2 || m_noFix ) )
+ usedApp = K3b::CDRDAO;
+ else
+ usedApp = K3b::CDRECORD;
+ }
+
+
+ if( usedApp == K3b::CDRECORD ) {
+ K3bCdrecordWriter* writer = new K3bCdrecordWriter( m_device, this );
+
+ writer->setWritingMode( usedWritingMode );
+ writer->setSimulate( m_simulate );
+ writer->setBurnSpeed( m_speed );
+
+ if( m_noFix ) {
+ writer->addArgument("-multi");
+ }
+
+ if( (m_dataMode == K3b::DATA_MODE_AUTO && m_noFix) ||
+ m_dataMode == K3b::MODE2 ) {
+ if( k3bcore->externalBinManager()->binObject("cdrecord") &&
+ k3bcore->externalBinManager()->binObject("cdrecord")->hasFeature( "xamix" ) )
+ writer->addArgument( "-xa" );
+ else
+ writer->addArgument( "-xa1" );
+ }
+ else
+ writer->addArgument("-data");
+
+ // read from stdin
+ writer->addArgument( QString("-tsize=%1s").arg( K3b::imageFilesize( m_imagePath )/2048 ) )->addArgument( "-" );
+
+ m_writer = writer;
+ }
+ else {
+ // create cdrdao job
+ K3bCdrdaoWriter* writer = new K3bCdrdaoWriter( m_device, this );
+ writer->setCommand( K3bCdrdaoWriter::WRITE );
+ writer->setSimulate( m_simulate );
+ writer->setBurnSpeed( m_speed );
+ // multisession
+ writer->setMulti( m_noFix );
+
+ // now write the tocfile
+ delete m_tocFile;
+ m_tocFile = new KTempFile( QString::null, "toc" );
+ m_tocFile->setAutoDelete(true);
+
+ if( QTextStream* s = m_tocFile->textStream() ) {
+ if( (m_dataMode == K3b::DATA_MODE_AUTO && m_noFix) ||
+ m_dataMode == K3b::MODE2 ) {
+ *s << "CD_ROM_XA" << "\n";
+ *s << "\n";
+ *s << "TRACK MODE2_FORM1" << "\n";
+ }
+ else {
+ *s << "CD_ROM" << "\n";
+ *s << "\n";
+ *s << "TRACK MODE1" << "\n";
+ }
+ *s << "DATAFILE \"-\" " << QString::number( K3b::imageFilesize( m_imagePath ) ) << "\n";
+
+ m_tocFile->close();
+ }
+ else {
+ kdDebug() << "(K3bDataJob) could not write tocfile." << endl;
+ emit infoMessage( i18n("IO Error"), ERROR );
+ return false;
+ }
+
+ writer->setTocFile( m_tocFile->name() );
+
+ m_writer = writer;
+ }
+ }
+ else { // DVD
+ if( mediaType & K3bDevice::MEDIA_DVD_PLUS_ALL ) {
+ if( m_simulate ) {
+ if( questionYesNo( i18n("K3b does not support simulation with DVD+R(W) media. "
+ "Do you really want to continue? The media will be written "
+ "for real."),
+ i18n("No Simulation with DVD+R(W)") ) ) {
+ return false;
+ }
+ }
+
+ m_simulate = false;
+ }
+
+ K3bGrowisofsWriter* writer = new K3bGrowisofsWriter( m_device, this );
+ writer->setSimulate( m_simulate );
+ writer->setBurnSpeed( m_speed );
+ writer->setWritingMode( m_writingMode == K3b::DAO ? K3b::DAO : 0 );
+ writer->setImageToWrite( QString::null ); // read from stdin
+ writer->setCloseDvd( !m_noFix );
+ writer->setTrackSize( K3b::imageFilesize( m_imagePath )/2048 );
+
+ m_writer = writer;
+ }
+
+ connect( m_writer, SIGNAL(infoMessage(const QString&, int)), this, SIGNAL(infoMessage(const QString&, int)) );
+ connect( m_writer, SIGNAL(nextTrack(int, int)), this, SLOT(slotNextTrack(int, int)) );
+ connect( m_writer, SIGNAL(percent(int)), this, SLOT(slotWriterPercent(int)) );
+ connect( m_writer, SIGNAL(processedSize(int, int)), this, SIGNAL(processedSize(int, int)) );
+ connect( m_writer, SIGNAL(buffer(int)), this, SIGNAL(bufferStatus(int)) );
+ connect( m_writer, SIGNAL(deviceBuffer(int)), this, SIGNAL(deviceBuffer(int)) );
+ connect( m_writer, SIGNAL(writeSpeed(int, int)), this, SIGNAL(writeSpeed(int, int)) );
+ connect( m_writer, SIGNAL(finished(bool)), this, SLOT(slotWriterJobFinished(bool)) );
+ connect( m_writer, SIGNAL(newTask(const QString&)), this, SIGNAL(newTask(const QString&)) );
+ connect( m_writer, SIGNAL(newSubTask(const QString&)), this, SIGNAL(newSubTask(const QString&)) );
+ connect( m_writer, SIGNAL(debuggingOutput(const QString&, const QString&)),
+ this, SIGNAL(debuggingOutput(const QString&, const QString&)) );
+
+ return true;
+}
+
+
+QString K3bIso9660ImageWritingJob::jobDescription() const
+{
+ if( m_simulate )
+ return i18n("Simulating ISO9660 Image");
+ else
+ return ( i18n("Burning ISO9660 Image")
+ + ( m_copies > 1
+ ? i18n(" - %n Copy", " - %n Copies", m_copies)
+ : QString::null ) );
+}
+
+
+QString K3bIso9660ImageWritingJob::jobDetails() const
+{
+ return m_imagePath.section("/", -1) + QString( " (%1)" ).arg(KIO::convertSize(K3b::filesize(KURL::fromPathOrURL(m_imagePath))));
+}
+
+
+#include "k3biso9660imagewritingjob.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3biso9660imagewritingjob.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3biso9660imagewritingjob.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3biso9660imagewritingjob.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,98 @@
+/*
+ *
+ * $Id$
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef K3BISO9660_IMAGE_WRITING_JOB_H
+#define K3BISO9660_IMAGE_WRITING_JOB_H
+
+#include <k3bjob.h>
+#include "k3b_export.h"
+class QString;
+class K3bAbstractWriter;
+class KTempFile;
+namespace K3bDevice {
+ class Device;
+}
+class K3bVerificationJob;
+
+
+/**
+ *@author Sebastian Trueg
+ */
+class LIBK3B_EXPORT K3bIso9660ImageWritingJob : public K3bBurnJob
+{
+ Q_OBJECT
+
+ public:
+ K3bIso9660ImageWritingJob( K3bJobHandler* );
+ ~K3bIso9660ImageWritingJob();
+
+ K3bDevice::Device* writer() const { return m_device; };
+
+ QString jobDescription() const;
+ QString jobDetails() const;
+
+ public slots:
+ void cancel();
+ void start();
+
+ void setImagePath( const QString& path ) { m_imagePath = path; }
+ void setSpeed( int s ) { m_speed = s; }
+ void setBurnDevice( K3bDevice::Device* dev ) { m_device = dev; }
+ void setWritingMode( int mode ) { m_writingMode = mode; }
+ void setSimulate( bool b ) { m_simulate = b; }
+ void setNoFix( bool b ) { m_noFix = b; }
+ void setDataMode( int m ) { m_dataMode = m; }
+ void setVerifyData( bool b ) { m_verifyData = b; }
+ void setCopies( int c ) { m_copies = c; }
+
+ protected slots:
+ void slotWriterJobFinished( bool );
+ void slotVerificationFinished( bool );
+ void slotVerificationProgress( int );
+ void slotWriterPercent( int );
+ void slotNextTrack( int, int );
+ void startWriting();
+
+ private:
+ bool prepareWriter( int mediaType );
+
+ int m_writingMode;
+ bool m_simulate;
+ K3bDevice::Device* m_device;
+ bool m_noFix;
+ int m_speed;
+ int m_dataMode;
+ bool m_verifyData;
+ bool m_dvd;
+
+ QString m_imagePath;
+
+ K3bAbstractWriter* m_writer;
+ KTempFile* m_tocFile;
+
+ bool m_canceled;
+ bool m_finished;
+
+ int m_copies;
+ int m_currentCopy;
+
+ K3bVerificationJob* m_verifyJob;
+
+ class Private;
+ Private* d;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3breadcdreader.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3breadcdreader.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3breadcdreader.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,335 @@
+/*
+ *
+ * $Id: k3breadcdreader.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#include "k3breadcdreader.h"
+
+#include <k3bcore.h>
+#include <k3bexternalbinmanager.h>
+#include <k3bdevice.h>
+#include <k3bdevicemanager.h>
+#include <k3bprocess.h>
+#include <k3bmsf.h>
+#include <k3bglobals.h>
+
+#include <kdebug.h>
+#include <klocale.h>
+#include <kconfig.h>
+
+#include <qregexp.h>
+#include <qvaluelist.h>
+#include <qstringlist.h>
+
+
+
+class K3bReadcdReader::Private
+{
+public:
+ Private()
+ : process(0),
+ fdToWriteTo(-1),
+ canceled(false) {
+ }
+
+ K3b::Msf firstSector, lastSector;
+
+ K3bProcess* process;
+ const K3bExternalBin* readcdBinObject;
+
+ int fdToWriteTo;
+ bool canceled;
+
+ long blocksToRead;
+ int unreadableBlocks;
+
+ int lastProgress;
+ int lastProcessedSize;
+};
+
+
+
+K3bReadcdReader::K3bReadcdReader( K3bJobHandler* jh, QObject* parent, const char* name )
+ : K3bJob( jh, parent, name ),
+ m_noCorr(false),
+ m_clone(false),
+ m_noError(false),
+ m_c2Scan(false),
+ m_speed(0),
+ m_retries(128)
+{
+ d = new Private();
+}
+
+
+K3bReadcdReader::~K3bReadcdReader()
+{
+ delete d->process;
+ delete d;
+}
+
+
+bool K3bReadcdReader::active() const
+{
+ return (d->process ? d->process->isRunning() : false);
+}
+
+
+void K3bReadcdReader::writeToFd( int fd )
+{
+ d->fdToWriteTo = fd;
+}
+
+
+void K3bReadcdReader::start()
+{
+ jobStarted();
+
+ d->blocksToRead = 1;
+ d->unreadableBlocks = 0;
+ d->lastProgress = 0;
+ d->lastProcessedSize = 0;
+
+ // the first thing to do is to check for readcd
+ d->readcdBinObject = k3bcore->externalBinManager()->binObject( "readcd" );
+ if( !d->readcdBinObject ) {
+ emit infoMessage( i18n("Could not find %1 executable.").arg("readcd"), ERROR );
+ jobFinished(false);
+ return;
+ }
+
+ // check if we have clone support if we need it
+ if( m_clone ) {
+ bool foundCloneSupport = false;
+
+ if( !d->readcdBinObject->hasFeature( "clone" ) ) {
+ // search all readcd installations
+ K3bExternalProgram* readcdProgram = k3bcore->externalBinManager()->program( "readcd" );
+ const QPtrList<K3bExternalBin>& readcdBins = readcdProgram->bins();
+ for( QPtrListIterator<K3bExternalBin> it( readcdBins ); it.current(); ++it ) {
+ if( it.current()->hasFeature( "clone" ) ) {
+ d->readcdBinObject = it.current();
+ emit infoMessage( i18n("Using readcd %1 instead of default version for clone support.").arg(d->readcdBinObject->version), INFO );
+ foundCloneSupport = true;
+ break;
+ }
+ }
+
+ if( !foundCloneSupport ) {
+ emit infoMessage( i18n("Could not find readcd executable with cloning support."), ERROR );
+ jobFinished(false);
+ return;
+ }
+ }
+ }
+
+
+ // create the commandline
+ delete d->process;
+ d->process = new K3bProcess();
+ connect( d->process, SIGNAL(stderrLine(const QString&)), this, SLOT(slotStdLine(const QString&)) );
+ connect( d->process, SIGNAL(processExited(KProcess*)), this, SLOT(slotProcessExited(KProcess*)) );
+
+
+ *d->process << d->readcdBinObject;
+
+ // display progress
+ *d->process << "-v";
+
+ // Again we assume the device to be set!
+ *d->process << QString("dev=%1").arg(K3b::externalBinDeviceParameter(m_readDevice,
+ d->readcdBinObject));
+ if( m_speed > 0 )
+ *d->process << QString("speed=%1").arg(m_speed);
+
+
+ // output
+ if( d->fdToWriteTo != -1 ) {
+ *d->process << "f=-";
+ d->process->dupStdout( d->fdToWriteTo );
+ }
+ else {
+ emit newTask( i18n("Writing image to %1.").arg(m_imagePath) );
+ emit infoMessage( i18n("Writing image to %1.").arg(m_imagePath), INFO );
+ *d->process << "f=" + m_imagePath;
+ }
+
+
+ if( m_noError )
+ *d->process << "-noerror";
+ if( m_clone ) {
+ *d->process << "-clone";
+ // noCorr can only be used with cloning
+ if( m_noCorr )
+ *d->process << "-nocorr";
+ }
+ if( m_c2Scan )
+ *d->process << "-c2scan";
+
+ *d->process << QString("retries=%1").arg(m_retries);
+
+ // readcd does not read the last sector specified
+ if( d->firstSector < d->lastSector )
+ *d->process << QString("sectors=%1-%2").arg(d->firstSector.lba()).arg(d->lastSector.lba()+1);
+
+ // Joerg sais it is a Linux kernel bug, anyway, with the default value it does not work
+ *d->process << "ts=128k";
+
+ // additional user parameters from config
+ const QStringList& params = d->readcdBinObject->userParameters();
+ for( QStringList::const_iterator it = params.begin(); it != params.end(); ++it )
+ *d->process << *it;
+
+
+ kdDebug() << "***** readcd parameters:\n";
+ const QValueList<QCString>& args = d->process->args();
+ QString s;
+ for( QValueList<QCString>::const_iterator it = args.begin(); it != args.end(); ++it ) {
+ s += *it + " ";
+ }
+ kdDebug() << s << endl << flush;
+
+ emit debuggingOutput("readcd command:", s);
+
+ d->canceled = false;
+
+ if( !d->process->start( KProcess::NotifyOnExit, KProcess::AllOutput) ) {
+ // something went wrong when starting the program
+ // it "should" be the executable
+ kdError() << "(K3bReadcdReader) could not start readcd" << endl;
+ emit infoMessage( i18n("Could not start readcd."), K3bJob::ERROR );
+ jobFinished( false );
+ }
+}
+
+
+void K3bReadcdReader::cancel()
+{
+ if( d->process ) {
+ if( d->process->isRunning() ) {
+ d->canceled = true;
+ d->process->kill();
+ }
+ }
+}
+
+
+void K3bReadcdReader::slotStdLine( const QString& line )
+{
+ emit debuggingOutput( "readcd", line );
+
+ int pos = -1;
+
+ if( line.startsWith( "end:" ) ) {
+ bool ok;
+ d->blocksToRead = line.mid(4).toInt(&ok);
+ if( d->firstSector < d->lastSector )
+ d->blocksToRead -= d->firstSector.lba();
+ if( !ok )
+ kdError() << "(K3bReadcdReader) blocksToRead parsing error in line: "
+ << line.mid(4) << endl;
+ }
+
+ else if( line.startsWith( "addr:" ) ) {
+ bool ok;
+ long currentReadBlock = line.mid( 6, line.find("cnt")-7 ).toInt(&ok);
+ if( d->firstSector < d->lastSector )
+ currentReadBlock -= d->firstSector.lba();
+ if( ok ) {
+ int p = (int)(100.0 * (double)currentReadBlock / (double)d->blocksToRead);
+ if( p > d->lastProgress ) {
+ emit percent( p );
+ d->lastProgress = p;
+ }
+ int ps = currentReadBlock*2/1024;
+ if( ps > d->lastProcessedSize ) {
+ emit processedSize( ps, d->blocksToRead*2/1024 );
+ d->lastProcessedSize = ps;
+ }
+ }
+ else
+ kdError() << "(K3bReadcdReader) currentReadBlock parsing error in line: "
+ << line.mid( 6, line.find("cnt")-7 ) << endl;
+ }
+
+ else if( line.contains("Cannot read source disk") ) {
+ emit infoMessage( i18n("Cannot read source disk."), ERROR );
+ }
+
+ else if( (pos = line.find("Retrying from sector")) >= 0 ) {
+ // parse the sector
+ pos += 21;
+ bool ok;
+ int problemSector = line.mid( pos, line.find( QRegExp("\\D"), pos )-pos ).toInt(&ok);
+ if( !ok ) {
+ kdError() << "(K3bReadcdReader) problemSector parsing error in line: "
+ << line.mid( pos, line.find( QRegExp("\\D"), pos )-pos ) << endl;
+ }
+ emit infoMessage( i18n("Retrying from sector %1.").arg(problemSector), INFO );
+ }
+
+ else if( (pos = line.find("Error on sector")) >= 0 ) {
+ d->unreadableBlocks++;
+
+ pos += 16;
+ bool ok;
+ int problemSector = line.mid( pos, line.find( QRegExp("\\D"), pos )-pos ).toInt(&ok);
+ if( !ok ) {
+ kdError() << "(K3bReadcdReader) problemSector parsing error in line: "
+ << line.mid( pos, line.find( QRegExp("\\D"), pos )-pos ) << endl;
+ }
+
+ if( line.contains( "not corrected") ) {
+ emit infoMessage( i18n("Uncorrected error in sector %1").arg(problemSector), ERROR );
+ }
+ else {
+ emit infoMessage( i18n("Corrected error in sector %1").arg(problemSector), ERROR );
+ }
+ }
+
+ else {
+ kdDebug() << "(readcd) " << line << endl;
+ }
+}
+
+void K3bReadcdReader::slotProcessExited( KProcess* p )
+{
+ if( d->canceled ) {
+ emit canceled();
+ jobFinished(false);
+ }
+ else if( p->normalExit() ) {
+ if( p->exitStatus() == 0 ) {
+ jobFinished( true );
+ }
+ else {
+ emit infoMessage( i18n("%1 returned error: %2").arg("Readcd").arg(p->exitStatus()), ERROR );
+ jobFinished( false );
+ }
+ }
+ else {
+ emit infoMessage( i18n("Readcd exited abnormally."), ERROR );
+ jobFinished( false );
+ }
+}
+
+
+void K3bReadcdReader::setSectorRange( const K3b::Msf& first, const K3b::Msf& last )
+{
+ d->firstSector = first;
+ d->lastSector = last;
+}
+
+#include "k3breadcdreader.moc"
+
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3breadcdreader.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3breadcdreader.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3breadcdreader.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,91 @@
+/*
+ *
+ * $Id: k3breadcdreader.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef _K3B_READCD_READER_H_
+#define _K3B_READCD_READER_H_
+
+#include <k3bjob.h>
+
+
+class K3bProcess;
+class KProcess;
+class K3bExternalBin;
+namespace K3bDevice {
+ class Device;
+}
+namespace K3b {
+ class Msf;
+}
+
+
+class K3bReadcdReader : public K3bJob
+{
+ Q_OBJECT
+
+ public:
+ K3bReadcdReader( K3bJobHandler*, QObject* parent = 0, const char* name = 0 );
+ ~K3bReadcdReader();
+
+ bool active() const;
+
+ public slots:
+ void start();
+ void cancel();
+
+ void setReadDevice( K3bDevice::Device* dev ) { m_readDevice = dev; }
+
+ /** 0 means MAX */
+ void setReadSpeed( int s ) { m_speed = s; }
+ void setDisableCorrection( bool b ) { m_noCorr = b; }
+
+ /** default: true */
+ void setAbortOnError( bool b ) { m_noError = !b; }
+ void setC2Scan( bool b ) { m_c2Scan = b; }
+ void setClone( bool b ) { m_clone = b; }
+ void setRetries( int i ) { m_retries = i; }
+
+ void setSectorRange( const K3b::Msf&, const K3b::Msf& );
+
+ void setImagePath( const QString& p ) { m_imagePath = p; }
+
+ /**
+ * the data gets written directly into fd instead of the imagefile.
+ * Be aware that this only makes sense before starting the job.
+ * To disable just set fd to -1
+ */
+ void writeToFd( int fd );
+
+ private slots:
+ void slotStdLine( const QString& line );
+ void slotProcessExited(KProcess*);
+
+ private:
+ bool m_noCorr;
+ bool m_clone;
+ bool m_noError;
+ bool m_c2Scan;
+ int m_speed;
+ int m_retries;
+
+ K3bDevice::Device* m_readDevice;
+
+ QString m_imagePath;
+
+ class Private;
+ Private* d;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bverificationjob.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bverificationjob.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bverificationjob.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,384 @@
+/*
+ *
+ * $Id: k3bisoimageverificationjob.cpp 597651 2006-10-21 08:04:01Z trueg $
+ * Copyright (C) 2003-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bverificationjob.h"
+
+#include <k3bdevice.h>
+#include <k3bdevicehandler.h>
+#include <k3bmd5job.h>
+#include <k3bglobals.h>
+#include <k3bdatatrackreader.h>
+#include <k3bpipe.h>
+#include <k3biso9660.h>
+
+#include <kdebug.h>
+#include <klocale.h>
+#include <kio/global.h>
+#include <kio/job.h>
+#include <kio/netaccess.h>
+
+#include <qcstring.h>
+#include <qapplication.h>
+#include <qvaluelist.h>
+#include <qpair.h>
+
+
+class K3bVerificationJobTrackEntry
+{
+public:
+ K3bVerificationJobTrackEntry()
+ : trackNumber(0) {
+ }
+
+ K3bVerificationJobTrackEntry( int tn, const QCString& cs, const K3b::Msf& msf )
+ : trackNumber(tn),
+ checksum(cs),
+ length(msf) {
+ }
+
+ int trackNumber;
+ QCString checksum;
+ K3b::Msf length;
+};
+
+
+class K3bVerificationJob::Private
+{
+public:
+ Private()
+ : md5Job(0),
+ device(0),
+ dataTrackReader(0) {
+ }
+
+ bool canceled;
+ K3bMd5Job* md5Job;
+ K3bDevice::Device* device;
+
+ K3b::Msf grownSessionSize;
+
+ QValueList<K3bVerificationJobTrackEntry> tracks;
+ int currentTrackIndex;
+
+ K3bDevice::DiskInfo diskInfo;
+ K3bDevice::Toc toc;
+
+ K3bDataTrackReader* dataTrackReader;
+
+ K3b::Msf currentTrackSize;
+ K3b::Msf totalSectors;
+ K3b::Msf alreadyReadSectors;
+
+ K3bPipe pipe;
+
+ bool readSuccessful;
+
+ bool mediumHasBeenReloaded;
+};
+
+
+K3bVerificationJob::K3bVerificationJob( K3bJobHandler* hdl, QObject* parent, const char* name )
+ : K3bJob( hdl, parent, name )
+{
+ d = new Private();
+
+ d->md5Job = new K3bMd5Job( this );
+ connect( d->md5Job, SIGNAL(infoMessage(const QString&, int)), this, SIGNAL(infoMessage(const QString&, int)) );
+ connect( d->md5Job, SIGNAL(finished(bool)), this, SLOT(slotMd5JobFinished(bool)) );
+ connect( d->md5Job, SIGNAL(debuggingOutput(const QString&, const QString&)),
+ this, SIGNAL(debuggingOutput(const QString&, const QString&)) );
+}
+
+
+K3bVerificationJob::~K3bVerificationJob()
+{
+ delete d;
+}
+
+
+void K3bVerificationJob::cancel()
+{
+ d->canceled = true;
+ if( d->md5Job && d->md5Job->active() )
+ d->md5Job->cancel();
+ if( d->dataTrackReader && d->dataTrackReader->active() )
+ d->dataTrackReader->cancel();
+}
+
+
+void K3bVerificationJob::addTrack( int trackNum, const QCString& checksum, const K3b::Msf& length )
+{
+ d->tracks.append( K3bVerificationJobTrackEntry( trackNum, checksum, length ) );
+}
+
+
+void K3bVerificationJob::clear()
+{
+ d->tracks.clear();
+ d->grownSessionSize = 0;
+}
+
+
+void K3bVerificationJob::setDevice( K3bDevice::Device* dev )
+{
+ d->device = dev;
+}
+
+
+void K3bVerificationJob::setGrownSessionSize( const K3b::Msf& s )
+{
+ d->grownSessionSize = s;
+}
+
+
+void K3bVerificationJob::start()
+{
+ jobStarted();
+
+ d->canceled = false;
+ d->currentTrackIndex = 0;
+ d->alreadyReadSectors = 0;
+
+ emit newTask( i18n("Checking medium") );
+
+ d->mediumHasBeenReloaded = false;
+ connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::DISKINFO, d->device ),
+ SIGNAL(finished(K3bDevice::DeviceHandler*)),
+ this,
+ SLOT(slotDiskInfoReady(K3bDevice::DeviceHandler*)) );
+}
+
+
+void K3bVerificationJob::slotMediaReloaded( bool success )
+{
+ if( !success )
+ waitForMedia( d->device,
+ K3bDevice::STATE_COMPLETE|K3bDevice::STATE_INCOMPLETE,
+ K3bDevice::MEDIA_WRITABLE,
+ i18n("Unable to Close the Tray") );
+
+ d->mediumHasBeenReloaded = true;
+
+ emit newTask( i18n("Checking medium") );
+
+ connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::DISKINFO, d->device ),
+ SIGNAL(finished(K3bDevice::DeviceHandler*)),
+ this,
+ SLOT(slotDiskInfoReady(K3bDevice::DeviceHandler*)) );
+}
+
+
+void K3bVerificationJob::slotDiskInfoReady( K3bDevice::DeviceHandler* dh )
+{
+ if( d->canceled ) {
+ emit canceled();
+ jobFinished(false);
+ }
+
+ d->diskInfo = dh->diskInfo();
+ d->toc = dh->toc();
+ d->totalSectors = 0;
+
+ // just to be sure check if we actually have all the tracks
+ int i = 0;
+ for( QValueList<K3bVerificationJobTrackEntry>::iterator it = d->tracks.begin();
+ it != d->tracks.end(); ++i, ++it ) {
+
+ // 0 means "last track"
+ if( (*it).trackNumber == 0 )
+ (*it).trackNumber = d->toc.count();
+
+ if( (int)d->toc.count() < (*it).trackNumber ) {
+ if ( d->mediumHasBeenReloaded ) {
+ emit infoMessage( i18n("Internal Error: Verification job improperly initialized (%1)")
+ .arg( "Specified track number not found on medium" ), ERROR );
+ jobFinished( false );
+ return;
+ }
+ else {
+ // many drives need to reload the medium to return to a proper state
+ emit newTask( i18n("Reloading the medium") );
+ connect( K3bDevice::reload( d->device ),
+ SIGNAL(finished(bool)),
+ this,
+ SLOT(slotMediaReloaded(bool)) );
+ return;
+ }
+ }
+
+ d->totalSectors += trackLength( i );
+ }
+
+ readTrack( 0 );
+}
+
+
+void K3bVerificationJob::readTrack( int trackIndex )
+{
+ d->currentTrackIndex = trackIndex;
+ d->readSuccessful = true;
+
+ d->currentTrackSize = trackLength( trackIndex );
+ if( d->currentTrackSize == 0 ) {
+ jobFinished(false);
+ return;
+ }
+
+ emit newTask( i18n("Verifying track %1").arg( d->tracks[trackIndex].trackNumber ) );
+
+ d->pipe.open();
+
+ if( d->toc[d->tracks[trackIndex].trackNumber-1].type() == K3bDevice::Track::DATA ) {
+ if( !d->dataTrackReader ) {
+ d->dataTrackReader = new K3bDataTrackReader( this );
+ connect( d->dataTrackReader, SIGNAL(percent(int)), this, SLOT(slotReaderProgress(int)) );
+ // connect( d->dataTrackReader, SIGNAL(processedSize(int, int)), this, SLOT(slotReaderProcessedSize(int, int)) );
+ connect( d->dataTrackReader, SIGNAL(finished(bool)), this, SLOT(slotReaderFinished(bool)) );
+ connect( d->dataTrackReader, SIGNAL(infoMessage(const QString&, int)), this, SIGNAL(infoMessage(const QString&, int)) );
+ connect( d->dataTrackReader, SIGNAL(newTask(const QString&)), this, SIGNAL(newSubTask(const QString&)) );
+ connect( d->dataTrackReader, SIGNAL(debuggingOutput(const QString&, const QString&)),
+ this, SIGNAL(debuggingOutput(const QString&, const QString&)) );
+ }
+
+ d->dataTrackReader->setDevice( d->device );
+ d->dataTrackReader->setIgnoreErrors( false );
+ d->dataTrackReader->setSectorSize( K3bDataTrackReader::MODE1 );
+
+ // in case a session was grown the track size does not say anything about the verification data size
+ if( d->diskInfo.mediaType() & (K3bDevice::MEDIA_DVD_PLUS_RW|K3bDevice::MEDIA_DVD_RW_OVWR) &&
+ d->grownSessionSize > 0 ) {
+ K3bIso9660 isoF( d->device );
+ if( isoF.open() ) {
+ int firstSector = isoF.primaryDescriptor().volumeSpaceSize - d->grownSessionSize.lba();
+ d->dataTrackReader->setSectorRange( firstSector,
+ isoF.primaryDescriptor().volumeSpaceSize -1 );
+ }
+ else {
+ emit infoMessage( i18n("Unable to determine the ISO9660 filesystem size."), ERROR );
+ jobFinished( false );
+ return;
+ }
+ }
+ else
+ d->dataTrackReader->setSectorRange( d->toc[d->tracks[trackIndex].trackNumber-1].firstSector(),
+ d->toc[d->tracks[trackIndex].trackNumber-1].firstSector() + d->currentTrackSize -1 );
+
+ d->md5Job->setMaxReadSize( d->currentTrackSize.mode1Bytes() );
+
+ d->dataTrackReader->writeToFd( d->pipe.in() );
+ d->dataTrackReader->start();
+ }
+ else {
+ // FIXME: handle audio tracks
+ }
+
+ d->md5Job->setFd( d->pipe.out() );
+ d->md5Job->start();
+}
+
+
+void K3bVerificationJob::slotReaderProgress( int p )
+{
+ emit subPercent( p );
+
+ emit percent( 100 * ( d->alreadyReadSectors.lba() + ( p*d->currentTrackSize.lba()/100 ) ) / d->totalSectors.lba() );
+}
+
+
+void K3bVerificationJob::slotMd5JobFinished( bool success )
+{
+ d->pipe.close();
+
+ if( success && !d->canceled && d->readSuccessful ) {
+ // compare the two sums
+ if( d->tracks[d->currentTrackIndex].checksum != d->md5Job->hexDigest() ) {
+ emit infoMessage( i18n("Written data in track %1 differs from original.").arg(d->tracks[d->currentTrackIndex].trackNumber), ERROR );
+ jobFinished(false);
+ }
+ else {
+ emit infoMessage( i18n("Written data verified."), SUCCESS );
+ ++d->currentTrackIndex;
+ if( d->currentTrackIndex < (int)d->tracks.count() )
+ readTrack( d->currentTrackIndex );
+ else
+ jobFinished(true);
+ }
+ }
+ else {
+ // The md5job emitted an error message. So there is no need to do this again
+ jobFinished(false);
+ }
+}
+
+
+void K3bVerificationJob::slotReaderFinished( bool success )
+{
+ d->readSuccessful = success;
+ if( !d->readSuccessful )
+ d->md5Job->cancel();
+ else {
+ d->alreadyReadSectors += trackLength( d->currentTrackIndex );
+
+ // close the pipe and let the md5 job finish gracefully
+ d->pipe.closeIn();
+ // d->md5Job->stop();
+ }
+}
+
+
+K3b::Msf K3bVerificationJob::trackLength( int trackIndex )
+{
+ K3b::Msf& trackSize = d->tracks[trackIndex].length;
+ const int& trackNum = d->tracks[trackIndex].trackNumber;
+
+ if( trackSize == 0 ) {
+ trackSize = d->toc[trackNum-1].length();
+
+ if( d->diskInfo.mediaType() & (K3bDevice::MEDIA_DVD_PLUS_RW|K3bDevice::MEDIA_DVD_RW_OVWR) ) {
+ K3bIso9660 isoF( d->device, d->toc[trackNum-1].firstSector().lba() );
+ if( isoF.open() ) {
+ trackSize = isoF.primaryDescriptor().volumeSpaceSize;
+ }
+ else {
+ emit infoMessage( i18n("Unable to determine the ISO9660 filesystem size."), ERROR );
+ return 0;
+ }
+ }
+
+ //
+ // A data track recorded in TAO mode has two run-out blocks which cannot be read and contain
+ // zero data anyway. The problem is that I do not know of a valid method to determine if a track
+ // was written in TAO (the control nibble does definitely not work, I never saw one which did not
+ // equal 4).
+ // So the solution for now is to simply try to read the last sector of a data track. If this is not
+ // possible we assume it was written in TAO mode and reduce the length by 2 sectors
+ //
+ if( d->toc[trackNum-1].type() == K3bDevice::Track::DATA &&
+ d->diskInfo.mediaType() & K3bDevice::MEDIA_CD_ALL ) {
+ // we try twice just to be sure
+ unsigned char buffer[2048];
+ if( !d->device->read10( buffer, 2048, d->toc[trackNum-1].lastSector().lba(), 1 ) &&
+ !d->device->read10( buffer, 2048, d->toc[trackNum-1].lastSector().lba(), 1 ) ) {
+ trackSize -= 2;
+ kdDebug() << "(K3bCdCopyJob) track " << trackNum << " probably TAO recorded." << endl;
+ }
+ }
+ }
+
+ return trackSize;
+}
+
+
+#include "k3bverificationjob.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bverificationjob.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bverificationjob.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bverificationjob.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,92 @@
+/*
+ *
+ * $Id: k3bisoimageverificationjob.h 597651 2006-10-21 08:04:01Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_VERIFICATION_JOB_H_
+#define _K3B_VERIFICATION_JOB_H_
+
+#include <k3bjob.h>
+
+namespace K3bDevice {
+ class Device;
+ class DeviceHandler;
+}
+
+
+/**
+ * Generic verification job. Add tracks to be verified via addTrack.
+ * The job will then verifiy the tracks set against the set checksums.
+ *
+ * The different track types are handled as follows:
+ * \li Data/DVD tracks: Read the track with a 2048 bytes sector size.
+ * Tracks length on DVD+RW media will be read from the iso9660
+ * descriptor.
+ * \li Audio tracks: Rip the track with a 2352 bytes sector size.
+ * In the case of audio tracks the job will not fail if the checksums
+ * differ becasue audio CD tracks do not contain error correction data.
+ * In this case only a warning will be emitted.
+ *
+ * Other sector sizes than 2048 bytes for data tracks are not supported yet,
+ * i.e. Video CDs cannot be verified.
+ *
+ * TAO written tracks have two run-out sectors that are not read.
+ *
+ * The VerificationJob will also reload the medium before starting.
+ */
+class K3bVerificationJob : public K3bJob
+{
+ Q_OBJECT
+
+ public:
+ K3bVerificationJob( K3bJobHandler*, QObject* parent = 0, const char* name = 0 );
+ ~K3bVerificationJob();
+
+ public slots:
+ void start();
+ void cancel();
+ void setDevice( K3bDevice::Device* dev );
+
+ void clear();
+
+ /**
+ * Add a track to be verified.
+ * \param tracknum The number of the track. If \a tracknum is 0
+ * the last track will be verified.
+ * \param length Set to override the track length from the TOC. This may be
+ * useful when writing to DVD+RW media and the iso descriptor does not
+ * contain the exact image size (as true for many commercial Video DVDs)
+ */
+ void addTrack( int tracknum, const QCString& checksum, const K3b::Msf& length = K3b::Msf() );
+
+ /**
+ * Handle the special case of iso session growing
+ */
+ void setGrownSessionSize( const K3b::Msf& );
+
+ private slots:
+ void slotMediaReloaded( bool success );
+ void slotDiskInfoReady( K3bDevice::DeviceHandler* dh );
+ void readTrack( int trackIndex );
+ void slotMd5JobFinished( bool success );
+ void slotReaderProgress( int p );
+ void slotReaderFinished( bool success );
+
+ private:
+ K3b::Msf trackLength( int trackNum );
+
+ class Private;
+ Private* d;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bvideodvdtitledetectclippingjob.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bvideodvdtitledetectclippingjob.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bvideodvdtitledetectclippingjob.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,291 @@
+/*
+ *
+ * $Id: sourceheader 511311 2006-02-19 14:51:05Z trueg $
+ * Copyright (C) 2006 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bvideodvdtitledetectclippingjob.h"
+
+#include <k3bexternalbinmanager.h>
+#include <k3bprocess.h>
+#include <k3bcore.h>
+#include <k3bglobals.h>
+
+#include <klocale.h>
+#include <kdebug.h>
+
+
+static const int s_unrealisticHighClippingValue = 100000;
+
+
+class K3bVideoDVDTitleDetectClippingJob::Private
+{
+public:
+ const K3bExternalBin* usedTranscodeBin;
+
+ K3bProcess* process;
+
+ bool canceled;
+
+ unsigned int currentChapter;
+ unsigned int currentFrames;
+ unsigned int totalChapters;
+
+ int lastProgress;
+ int lastSubProgress;
+};
+
+
+
+K3bVideoDVDTitleDetectClippingJob::K3bVideoDVDTitleDetectClippingJob( K3bJobHandler* hdl, QObject* parent )
+ : K3bJob( hdl, parent ),
+ m_clippingTop( 0 ),
+ m_clippingBottom( 0 ),
+ m_clippingLeft( 0 ),
+ m_clippingRight( 0 ),
+ m_lowPriority( true )
+{
+ d = new Private;
+ d->process = 0;
+}
+
+
+K3bVideoDVDTitleDetectClippingJob::~K3bVideoDVDTitleDetectClippingJob()
+{
+ delete d->process;
+ delete d;
+}
+
+
+void K3bVideoDVDTitleDetectClippingJob::start()
+{
+ jobStarted();
+
+ d->canceled = false;
+ d->lastProgress = 0;
+
+ //
+ // It seems as if the last chapter is often way too short
+ //
+ d->totalChapters = m_dvd[m_titleNumber-1].numPTTs();
+ if( d->totalChapters > 1 && m_dvd[m_titleNumber-1][d->totalChapters-1].playbackTime().totalFrames() < 200 )
+ d->totalChapters--;
+
+ // initial values (some way to big value)
+ m_clippingTop = s_unrealisticHighClippingValue;
+ m_clippingBottom = s_unrealisticHighClippingValue;
+ m_clippingLeft = s_unrealisticHighClippingValue;
+ m_clippingRight = s_unrealisticHighClippingValue;
+
+ d->usedTranscodeBin = k3bcore->externalBinManager()->binObject("transcode");
+ if( !d->usedTranscodeBin ) {
+ emit infoMessage( i18n("%1 executable could not be found.").arg("transcode"), ERROR );
+ jobFinished( false );
+ return;
+ }
+
+ if( d->usedTranscodeBin->version < K3bVersion( 1, 0, 0 ) ){
+ emit infoMessage( i18n("%1 version %2 is too old.")
+ .arg("transcode")
+ .arg(d->usedTranscodeBin->version), ERROR );
+ jobFinished( false );
+ return;
+ }
+
+ emit debuggingOutput( "Used versions", "transcode: " + d->usedTranscodeBin->version );
+
+ if( !d->usedTranscodeBin->copyright.isEmpty() )
+ emit infoMessage( i18n("Using %1 %2 - Copyright (C) %3")
+ .arg(d->usedTranscodeBin->name())
+ .arg(d->usedTranscodeBin->version)
+ .arg(d->usedTranscodeBin->copyright), INFO );
+
+ emit newTask( i18n("Analysing Title %1 of Video DVD %2").arg(m_titleNumber).arg(m_dvd.volumeIdentifier()) );
+
+ startTranscode( 1 );
+}
+
+
+void K3bVideoDVDTitleDetectClippingJob::startTranscode( int chapter )
+{
+ d->currentChapter = chapter;
+ d->lastSubProgress = 0;
+
+ //
+ // If we have only one chapter and it is not longer than 2 minutes (value guessed based on some test DVD)
+ // use the whole chapter
+ //
+ if( d->totalChapters == 1 )
+ d->currentFrames = QMIN( 3000, QMAX( 1, m_dvd[m_titleNumber-1][d->currentChapter-1].playbackTime().totalFrames() ) );
+ else
+ d->currentFrames = QMIN( 200, QMAX( 1, m_dvd[m_titleNumber-1][d->currentChapter-1].playbackTime().totalFrames() ) );
+
+ //
+ // prepare the process
+ //
+ delete d->process;
+ d->process = new K3bProcess();
+ d->process->setSuppressEmptyLines(true);
+ d->process->setSplitStdout(true);
+ // connect( d->process, SIGNAL(stderrLine(const QString&)), this, SLOT(slotTranscodeStderr(const QString&)) );
+ connect( d->process, SIGNAL(stdoutLine(const QString&)), this, SLOT(slotTranscodeStderr(const QString&)) );
+ connect( d->process, SIGNAL(processExited(KProcess*)), this, SLOT(slotTranscodeExited(KProcess*)) );
+
+ // the executable
+ *d->process << d->usedTranscodeBin;
+
+ // low priority
+ if( m_lowPriority )
+ *d->process << "--nice" << "19";
+
+ // the input
+ *d->process << "-i" << m_dvd.device()->blockDeviceName();
+
+ // select the title number and chapter
+ *d->process << "-T" << QString("%1,%2").arg(m_titleNumber).arg(chapter);
+
+ // null output
+ *d->process << "-y" << "null,null" << "-o" << "/dev/null";
+
+ // analyze the first 200 frames
+ *d->process << "-J" << QString("detectclipping=range=0-%1/5").arg(d->currentFrames);
+
+ // also only decode the first 200 frames
+ *d->process << "-c" << QString("0-%1").arg(d->currentFrames+1);
+
+ // additional user parameters from config
+ const QStringList& params = d->usedTranscodeBin->userParameters();
+ for( QStringList::const_iterator it = params.begin(); it != params.end(); ++it )
+ *d->process << *it;
+
+ // produce some debugging output
+ kdDebug() << "***** transcode parameters:\n";
+ const QValueList<QCString>& args = d->process->args();
+ QString s;
+ for( QValueList<QCString>::const_iterator it = args.begin(); it != args.end(); ++it ) {
+ s += *it + " ";
+ }
+ kdDebug() << s << flush << endl;
+ emit debuggingOutput( d->usedTranscodeBin->name() + " command:", s);
+
+ // start the process
+ if( !d->process->start( KProcess::NotifyOnExit, KProcess::All ) ) {
+ // something went wrong when starting the program
+ // it "should" be the executable
+ emit infoMessage( i18n("Could not start %1.").arg(d->usedTranscodeBin->name()), K3bJob::ERROR );
+ jobFinished(false);
+ }
+ else {
+ emit newSubTask( i18n("Analysing Chapter %1 of %2").arg(chapter).arg(m_dvd[m_titleNumber-1].numPTTs()) );
+ emit subPercent( 0 );
+ }
+}
+
+
+void K3bVideoDVDTitleDetectClippingJob::cancel()
+{
+ d->canceled = true;
+ if( d->process && d->process->isRunning() )
+ d->process->kill();
+}
+
+
+void K3bVideoDVDTitleDetectClippingJob::slotTranscodeStderr( const QString& line )
+{
+ emit debuggingOutput( "transcode", line );
+
+ // parse progress
+ // encoding frame [185], 24.02 fps, 93.0%, ETA: 0:00:00, ( 0| 0| 0)
+ if( line.startsWith( "encoding frame" ) ) {
+ int pos1 = line.find( '[', 15 );
+ int pos2 = line.find( ']', pos1+1 );
+ if( pos1 > 0 && pos2 > 0 ) {
+ bool ok;
+ int encodedFrames = line.mid( pos1+1, pos2-pos1-1 ).toInt( &ok );
+ if( ok ) {
+ int progress = 100 * encodedFrames / d->currentFrames;
+
+ if( progress > d->lastSubProgress ) {
+ d->lastSubProgress = progress;
+ emit subPercent( progress );
+ }
+
+ double part = 100.0 / (double)d->totalChapters;
+
+ progress = (int)( ( (double)(d->currentChapter-1) * part )
+ + ( (double)progress / (double)d->totalChapters )
+ + 0.5 );
+
+ if( progress > d->lastProgress ) {
+ d->lastProgress = progress;
+ emit percent( progress );
+ }
+ }
+ }
+ }
+
+ // [detectclipping#0] valid area: X: 5..719 Y: 72..507 -> -j 72,6,68,0
+ else if( line.startsWith( "[detectclipping" ) ) {
+ int pos = line.find( "-j" );
+ if( pos > 0 ) {
+ QStringList values = QStringList::split( ',', line.mid( pos+3 ) );
+ m_clippingTop = QMIN( m_clippingTop, values[0].toInt() );
+ m_clippingLeft = QMIN( m_clippingLeft, values[1].toInt() );
+ m_clippingBottom = QMIN( m_clippingBottom, values[2].toInt() );
+ m_clippingRight = QMIN( m_clippingRight, values[3].toInt() );
+ }
+ else
+ kdDebug() << "(K3bVideoDVDTitleDetectClippingJob) failed to parse line: " << line << endl;
+ }
+}
+
+
+void K3bVideoDVDTitleDetectClippingJob::slotTranscodeExited( KProcess* p )
+{
+ switch( p->exitStatus() ) {
+ case 0:
+ d->currentChapter++;
+ if( d->currentChapter > d->totalChapters ) {
+ //
+ // check if we did set any values at all
+ //
+ if( m_clippingTop == s_unrealisticHighClippingValue )
+ m_clippingTop = m_clippingLeft = m_clippingBottom = m_clippingRight = 0;
+
+ if( d->totalChapters < m_dvd[m_titleNumber-1].numPTTs() )
+ emit infoMessage( i18n("Ignoring last chapter due to its short playback time."), INFO );
+
+ jobFinished( true );
+ }
+ else {
+ startTranscode( d->currentChapter );
+ }
+ break;
+
+ default:
+ // FIXME: error handling
+
+ if( d->canceled ) {
+ emit canceled();
+ }
+ else {
+ emit infoMessage( i18n("%1 returned an unknown error (code %2).")
+ .arg(d->usedTranscodeBin->name()).arg(p->exitStatus()),
+ K3bJob::ERROR );
+ emit infoMessage( i18n("Please send me an email with the last output."), K3bJob::ERROR );
+ }
+
+ jobFinished( false );
+ }
+}
+
+#include "k3bvideodvdtitledetectclippingjob.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bvideodvdtitledetectclippingjob.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bvideodvdtitledetectclippingjob.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bvideodvdtitledetectclippingjob.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,106 @@
+/*
+ *
+ * $Id: sourceheader 511311 2006-02-19 14:51:05Z trueg $
+ * Copyright (C) 2006 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_VIDEODVD_TITLE_DETECTCLIPPING_JOB_H_
+#define _K3B_VIDEODVD_TITLE_DETECTCLIPPING_JOB_H_
+
+#include <k3b_export.h>
+#include <k3bjob.h>
+#include <k3bvideodvd.h>
+
+class KProcess;
+
+/**
+ * Job to detect the clipping values for a Video DVD title.
+ */
+class LIBK3B_EXPORT K3bVideoDVDTitleDetectClippingJob : public K3bJob
+{
+ Q_OBJECT
+
+ public:
+ K3bVideoDVDTitleDetectClippingJob( K3bJobHandler* hdl, QObject* parent );
+ ~K3bVideoDVDTitleDetectClippingJob();
+
+ const K3bVideoDVD::VideoDVD& videoDVD() const { return m_dvd; }
+ int title() const { return m_titleNumber; }
+ bool lowPriority() const { return m_lowPriority; }
+
+ /**
+ * Only valid after a successful completion of the job.
+ */
+ int clippingTop() const { return m_clippingTop; }
+
+ /**
+ * Only valid after a successful completion of the job.
+ */
+ int clippingLeft() const { return m_clippingLeft; }
+
+ /**
+ * Only valid after a successful completion of the job.
+ */
+ int clippingBottom() const { return m_clippingBottom; }
+
+ /**
+ * Only valid after a successful completion of the job.
+ */
+ int clippingRight() const { return m_clippingRight; }
+
+ public slots:
+ void start();
+ void cancel();
+
+ /**
+ * The device containing the Video DVD
+ */
+ void setVideoDVD( const K3bVideoDVD::VideoDVD& dvd ) { m_dvd = dvd; }
+
+ /**
+ * Set the title number to be analysed
+ *
+ * The default value is 1, denoting the first title.
+ */
+ void setTitle( int t ) { m_titleNumber = t; }
+
+ /**
+ * If true the transcode processes will be run with a very low scheduling
+ * priority.
+ *
+ * The default is true.
+ */
+ void setLowPriority( bool b ) { m_lowPriority = b; }
+
+ private slots:
+ void slotTranscodeStderr( const QString& );
+ void slotTranscodeExited( KProcess* );
+
+ private:
+ void startTranscode( int chapter );
+
+ K3bVideoDVD::VideoDVD m_dvd;
+
+ int m_clippingTop;
+ int m_clippingBottom;
+ int m_clippingLeft;
+ int m_clippingRight;
+
+ int m_titleNumber;
+
+ bool m_lowPriority;
+
+ class Private;
+ Private* d;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bvideodvdtitletranscodingjob.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bvideodvdtitletranscodingjob.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bvideodvdtitletranscodingjob.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,583 @@
+/*
+ *
+ * $Id: sourceheader 511311 2006-02-19 14:51:05Z trueg $
+ * Copyright (C) 2006 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bvideodvdtitletranscodingjob.h"
+
+#include <k3bexternalbinmanager.h>
+#include <k3bprocess.h>
+#include <k3bcore.h>
+#include <k3bglobals.h>
+
+#include <klocale.h>
+#include <kdebug.h>
+#include <kstandarddirs.h>
+
+#include <qfile.h>
+#include <qfileinfo.h>
+
+
+class K3bVideoDVDTitleTranscodingJob::Private
+{
+public:
+ const K3bExternalBin* usedTranscodeBin;
+
+ K3bProcess* process;
+
+ QString twoPassEncodingLogFile;
+
+ int currentEncodingPass;
+
+ bool canceled;
+
+ int lastProgress;
+ int lastSubProgress;
+};
+
+
+
+K3bVideoDVDTitleTranscodingJob::K3bVideoDVDTitleTranscodingJob( K3bJobHandler* hdl, QObject* parent )
+ : K3bJob( hdl, parent ),
+ m_clippingTop( 0 ),
+ m_clippingBottom( 0 ),
+ m_clippingLeft( 0 ),
+ m_clippingRight( 0 ),
+ m_width( 0 ),
+ m_height( 0 ),
+ m_titleNumber( 1 ),
+ m_audioStreamIndex( 0 ),
+ m_videoCodec( VIDEO_CODEC_FFMPEG_MPEG4 ),
+ m_audioCodec( AUDIO_CODEC_MP3 ),
+ m_videoBitrate( 1800 ),
+ m_audioBitrate( 128 ),
+ m_audioVBR( false ),
+ m_resampleAudio( false ),
+ m_twoPassEncoding( false ),
+ m_lowPriority( true )
+{
+ d = new Private;
+ d->process = 0;
+}
+
+
+K3bVideoDVDTitleTranscodingJob::~K3bVideoDVDTitleTranscodingJob()
+{
+ delete d->process;
+ delete d;
+}
+
+
+void K3bVideoDVDTitleTranscodingJob::start()
+{
+ jobStarted();
+
+ d->canceled = false;
+ d->lastProgress = 0;
+
+ d->usedTranscodeBin = k3bcore->externalBinManager()->binObject("transcode");
+ if( !d->usedTranscodeBin ) {
+ emit infoMessage( i18n("%1 executable could not be found.").arg("transcode"), ERROR );
+ jobFinished( false );
+ return;
+ }
+
+ if( d->usedTranscodeBin->version < K3bVersion( 1, 0, 0 ) ){
+ emit infoMessage( i18n("%1 version %2 is too old.")
+ .arg("transcode")
+ .arg(d->usedTranscodeBin->version), ERROR );
+ jobFinished( false );
+ return;
+ }
+
+ emit debuggingOutput( "Used versions", "transcode: " + d->usedTranscodeBin->version );
+
+ if( !d->usedTranscodeBin->copyright.isEmpty() )
+ emit infoMessage( i18n("Using %1 %2 - Copyright (C) %3")
+ .arg(d->usedTranscodeBin->name())
+ .arg(d->usedTranscodeBin->version)
+ .arg(d->usedTranscodeBin->copyright), INFO );
+
+ //
+ // Let's take a look at the filename
+ //
+ if( m_filename.isEmpty() ) {
+ m_filename = K3b::findTempFile( "avi" );
+ }
+ else {
+ // let's see if the directory exists and we can write to it
+ QFileInfo fileInfo( m_filename );
+ QFileInfo dirInfo( fileInfo.dirPath() );
+ if( !dirInfo.exists() && !KStandardDirs::makeDir( dirInfo.absFilePath() ) ) {
+ emit infoMessage( i18n("Unable to create folder '%1'").arg(dirInfo.filePath()), ERROR );
+ return;
+ }
+ else if( !dirInfo.isDir() || !dirInfo.isWritable() ) {
+ emit infoMessage( i18n("Invalid filename: '%1'").arg(m_filename), ERROR );
+ jobFinished( false );
+ return;
+ }
+ }
+
+ //
+ // Determine a log file for two-pass encoding
+ //
+ d->twoPassEncodingLogFile = K3b::findTempFile( "log" );
+
+ emit newTask( i18n("Transcoding title %1 from Video DVD %2").arg(m_titleNumber).arg(m_dvd.volumeIdentifier()) );
+
+ //
+ // Ok then, let's begin
+ //
+ startTranscode( m_twoPassEncoding ? 1 : 0 );
+}
+
+
+void K3bVideoDVDTitleTranscodingJob::startTranscode( int pass )
+{
+ d->currentEncodingPass = pass;
+ d->lastSubProgress = 0;
+
+ QString videoCodecString;
+ switch( m_videoCodec ) {
+ case VIDEO_CODEC_XVID:
+ videoCodecString = "xvid";
+ break;
+
+ case VIDEO_CODEC_FFMPEG_MPEG4:
+ videoCodecString = "ffmpeg";
+ break;
+
+ default:
+ emit infoMessage( i18n("Invalid Video codec set: %1").arg(m_videoCodec), ERROR );
+ jobFinished( false );
+ return;
+ }
+
+ QString audioCodecString;
+ switch( m_audioCodec ) {
+ case AUDIO_CODEC_MP3:
+ audioCodecString = "0x55";
+ break;
+
+ // ogg only works (as in: transcode does something) with .y <codec>,ogg
+ // but then the video is garbage (at least to xine and mplayer on my system)
+ // case AUDIO_CODEC_OGG_VORBIS:
+ // audioCodecString = "0xfffe";
+ // break;
+
+ case AUDIO_CODEC_AC3_STEREO:
+ case AUDIO_CODEC_AC3_PASSTHROUGH:
+ audioCodecString = "0x2000";
+ break;
+
+ default:
+ emit infoMessage( i18n("Invalid Audio codec set: %1").arg(m_audioCodec), ERROR );
+ jobFinished( false );
+ return;
+ }
+
+ //
+ // prepare the process
+ //
+ delete d->process;
+ d->process = new K3bProcess();
+ d->process->setSuppressEmptyLines(true);
+ d->process->setSplitStdout(true);
+ connect( d->process, SIGNAL(stderrLine(const QString&)), this, SLOT(slotTranscodeStderr(const QString&)) );
+ connect( d->process, SIGNAL(stdoutLine(const QString&)), this, SLOT(slotTranscodeStderr(const QString&)) );
+ connect( d->process, SIGNAL(processExited(KProcess*)), this, SLOT(slotTranscodeExited(KProcess*)) );
+
+ // the executable
+ *d->process << d->usedTranscodeBin;
+
+ // low priority
+ if( m_lowPriority )
+ *d->process << "--nice" << "19";
+
+ // we only need 100 steps, but to make sure we use 150
+ if ( d->usedTranscodeBin->version.simplify() >= K3bVersion( 1, 1, 0 ) )
+ *d->process << "--progress_meter" << "2" << "--progress_rate" << QString::number(m_dvd[m_titleNumber-1].playbackTime().totalFrames()/150);
+ else
+ *d->process << "--print_status" << QString::number(m_dvd[m_titleNumber-1].playbackTime().totalFrames()/150);
+
+ // the input
+ *d->process << "-i" << m_dvd.device()->blockDeviceName();
+
+ // just to make sure
+ *d->process << "-x" << "dvd";
+
+ // select the title number
+ *d->process << "-T" << QString("%1,-1,1").arg( m_titleNumber );
+
+ // select the audio stream to extract
+ if ( m_dvd[m_titleNumber-1].numAudioStreams() > 0 )
+ *d->process << "-a" << QString::number( m_audioStreamIndex );
+
+ // clipping
+ *d->process << "-j" << QString("%1,%2,%3,%4")
+ .arg(m_clippingTop)
+ .arg(m_clippingLeft)
+ .arg(m_clippingBottom)
+ .arg(m_clippingRight);
+
+ // select the encoding type (single pass or two-pass) and the log file for two-pass encoding
+ // the latter is unused for pass = 0
+ *d->process << "-R" << QString("%1,%2").arg( pass ).arg( d->twoPassEncodingLogFile );
+
+ // depending on the pass we use different options
+ if( pass != 1 ) {
+ // select video codec
+ *d->process << "-y" << videoCodecString;
+
+ // select the audio codec to use
+ *d->process << "-N" << audioCodecString;
+
+ if( m_audioCodec == AUDIO_CODEC_AC3_PASSTHROUGH ) {
+ // keep 5.1 sound
+ *d->process << "-A";
+ }
+ else {
+ // audio quality settings
+ *d->process << "-b" << QString("%1,%2").arg(m_audioBitrate).arg(m_audioVBR ? 1 : 0);
+
+ // resample audio stream to 44.1 khz
+ if( m_resampleAudio )
+ *d->process << "-E" << "44100";
+ }
+
+ // the output filename
+ *d->process << "-o" << m_filename;
+ }
+ else {
+ // gather information about the video stream, ignore audio
+ *d->process << "-y" << QString("%1,null").arg( videoCodecString );
+
+ // we ignore the output from the first pass
+ *d->process << "-o" << "/dev/null";
+ }
+
+ // choose the ffmpeg codec
+ if( m_videoCodec == VIDEO_CODEC_FFMPEG_MPEG4 ) {
+ *d->process << "-F" << "mpeg4";
+ }
+
+ // video bitrate
+ *d->process << "-w" << QString::number( m_videoBitrate );
+
+ // video resizing
+ int usedWidth = m_width;
+ int usedHeight = m_height;
+ if( m_width == 0 || m_height == 0 ) {
+ //
+ // The "real" size of the video, considering anamorph encoding
+ //
+ int realHeight = m_dvd[m_titleNumber-1].videoStream().realPictureHeight();
+ int readWidth = m_dvd[m_titleNumber-1].videoStream().realPictureWidth();
+
+ //
+ // The clipped size with the correct aspect ratio
+ //
+ int clippedHeight = realHeight - m_clippingTop - m_clippingBottom;
+ int clippedWidth = readWidth - m_clippingLeft - m_clippingRight;
+
+ //
+ // Now simply resize the clipped video to the wanted size
+ //
+ if( usedWidth > 0 ) {
+ usedHeight = clippedHeight * usedWidth / clippedWidth;
+ }
+ else {
+ if( usedHeight == 0 ) {
+ //
+ // This is the default case in which both m_width and m_height are 0.
+ // The result will be a size of clippedWidth x clippedHeight
+ //
+ usedHeight = clippedHeight;
+ }
+ usedWidth = clippedWidth * usedHeight / clippedHeight;
+ }
+ }
+
+ //
+ // Now make sure both width and height are multiple of 16 the simple way
+ //
+ usedWidth -= usedWidth%16;
+ usedHeight -= usedHeight%16;
+
+ // we only give information about the resizing of the video once
+ if( pass < 2 )
+ emit infoMessage( i18n("Resizing picture of title %1 to %2x%3").arg(m_titleNumber).arg(usedWidth).arg(usedHeight), INFO );
+ *d->process << "-Z" << QString("%1x%2").arg(usedWidth).arg(usedHeight);
+
+ // additional user parameters from config
+ const QStringList& params = d->usedTranscodeBin->userParameters();
+ for( QStringList::const_iterator it = params.begin(); it != params.end(); ++it )
+ *d->process << *it;
+
+ // produce some debugging output
+ kdDebug() << "***** transcode parameters:\n";
+ const QValueList<QCString>& args = d->process->args();
+ QString s;
+ for( QValueList<QCString>::const_iterator it = args.begin(); it != args.end(); ++it ) {
+ s += *it + " ";
+ }
+ kdDebug() << s << flush << endl;
+ emit debuggingOutput( d->usedTranscodeBin->name() + " command:", s);
+
+ // start the process
+ if( !d->process->start( KProcess::NotifyOnExit, KProcess::All ) ) {
+ // something went wrong when starting the program
+ // it "should" be the executable
+ emit infoMessage( i18n("Could not start %1.").arg(d->usedTranscodeBin->name()), K3bJob::ERROR );
+ jobFinished(false);
+ }
+ else {
+ if( pass == 0 )
+ emit newSubTask( i18n("Single-pass Encoding") );
+ else if( pass == 1 )
+ emit newSubTask( i18n("Two-pass Encoding: First Pass") );
+ else
+ emit newSubTask( i18n("Two-pass Encoding: Second Pass") );
+
+ emit subPercent( 0 );
+ }
+}
+
+
+void K3bVideoDVDTitleTranscodingJob::cancel()
+{
+ // FIXME: do not cancel before one frame has been encoded. transcode seems to hang then
+ // find a way to determine all subprocess ids to kill all of them
+ d->canceled = true;
+ if( d->process && d->process->isRunning() )
+ d->process->kill();
+}
+
+
+void K3bVideoDVDTitleTranscodingJob::cleanup( bool success )
+{
+ if( QFile::exists( d->twoPassEncodingLogFile ) ) {
+ QFile::remove( d->twoPassEncodingLogFile );
+ }
+
+ if( !success && QFile::exists( m_filename ) ) {
+ emit infoMessage( i18n("Removing incomplete video file '%1'").arg(m_filename), INFO );
+ QFile::remove( m_filename );
+ }
+}
+
+
+void K3bVideoDVDTitleTranscodingJob::slotTranscodeStderr( const QString& line )
+{
+ emit debuggingOutput( "transcode", line );
+
+ // parse progress
+ // encoding frames [000000-000144], 27.58 fps, EMT: 0:00:05, ( 0| 0| 0)
+ if( line.startsWith( "encoding frame" ) ) {
+ int pos1 = line.find( '-', 15 );
+ int pos2 = line.find( ']', pos1+1 );
+ if( pos1 > 0 && pos2 > 0 ) {
+ bool ok;
+ int encodedFrames = line.mid( pos1+1, pos2-pos1-1 ).toInt( &ok );
+ if( ok ) {
+ int progress = 100 * encodedFrames / m_dvd[m_titleNumber-1].playbackTime().totalFrames();
+
+ if( progress > d->lastSubProgress ) {
+ d->lastSubProgress = progress;
+ emit subPercent( progress );
+ }
+
+ if( m_twoPassEncoding ) {
+ progress /= 2;
+ if( d->currentEncodingPass == 2 )
+ progress += 50;
+ }
+
+ if( progress > d->lastProgress ) {
+ d->lastProgress = progress;
+ emit percent( progress );
+ }
+ }
+ }
+ }
+}
+
+
+void K3bVideoDVDTitleTranscodingJob::slotTranscodeExited( KProcess* p )
+{
+ if( d->canceled ) {
+ emit canceled();
+ cleanup( false );
+ jobFinished( false );
+ }
+ else if( p->normalExit() ) {
+ switch( p->exitStatus() ) {
+ case 0:
+ if( d->currentEncodingPass == 1 ) {
+ emit percent( 50 );
+ // start second encoding pass
+ startTranscode( 2 );
+ }
+ else {
+ emit percent( 100 );
+ cleanup( true );
+ jobFinished( true );
+ }
+ break;
+
+ default:
+ // FIXME: error handling
+
+ emit infoMessage( i18n("%1 returned an unknown error (code %2).")
+ .arg(d->usedTranscodeBin->name()).arg(p->exitStatus()),
+ K3bJob::ERROR );
+ emit infoMessage( i18n("Please send me an email with the last output."), K3bJob::ERROR );
+
+ cleanup( false );
+ jobFinished( false );
+ }
+ }
+ else {
+ cleanup( false );
+ emit infoMessage( i18n("Execution of %1 failed.").arg("transcode"), ERROR );
+ emit infoMessage( i18n("Please consult the debugging output for details."), ERROR );
+ jobFinished( false );
+ }
+}
+
+
+void K3bVideoDVDTitleTranscodingJob::setClipping( int top, int left, int bottom, int right )
+{
+ m_clippingTop = top;
+ m_clippingLeft = left;
+ m_clippingBottom = bottom;
+ m_clippingRight = right;
+
+ //
+ // transcode seems unable to handle different clipping values for left and right
+ //
+ m_clippingLeft = m_clippingRight = QMIN( m_clippingRight, m_clippingLeft );
+}
+
+
+void K3bVideoDVDTitleTranscodingJob::setSize( int width, int height )
+{
+ m_width = width;
+ m_height = height;
+}
+
+
+QString K3bVideoDVDTitleTranscodingJob::audioCodecString( K3bVideoDVDTitleTranscodingJob::AudioCodec codec )
+{
+ switch( codec ) {
+ case AUDIO_CODEC_AC3_STEREO:
+ return i18n("AC3 (Stereo)");
+ case AUDIO_CODEC_AC3_PASSTHROUGH:
+ return i18n("AC3 (Pass-through)");
+ case AUDIO_CODEC_MP3:
+ return i18n("MPEG1 Layer III");
+ default:
+ return "unknown audio codec";
+ }
+}
+
+
+QString K3bVideoDVDTitleTranscodingJob::videoCodecString( K3bVideoDVDTitleTranscodingJob::VideoCodec codec )
+{
+ switch( codec ) {
+ case VIDEO_CODEC_FFMPEG_MPEG4:
+ return i18n("MPEG4 (FFMPEG)");
+ case VIDEO_CODEC_XVID:
+ return i18n("XviD");
+ default:
+ return "unknown video codec";
+ }
+}
+
+
+QString K3bVideoDVDTitleTranscodingJob::videoCodecDescription( K3bVideoDVDTitleTranscodingJob::VideoCodec codec )
+{
+ switch( codec ) {
+ case VIDEO_CODEC_FFMPEG_MPEG4:
+ return i18n("FFmpeg is an open-source project trying to support most video and audio codecs used "
+ "these days. Its subproject libavcodec forms the basis for multimedia players such as "
+ "xine or mplayer.")
+ + "<br>"
+ + i18n("FFmpeg contains an implementation of the MPEG-4 video encoding standard which produces "
+ "high quality results.");
+ case VIDEO_CODEC_XVID:
+ return i18n("XviD is a free and open source MPEG-4 video codec. XviD was created by a group of "
+ "volunteer programmers after the OpenDivX source was closed in July 2001.")
+ + "<br>"
+ + i18n("XviD features MPEG-4 Advanced Profile settings such as b-frames, global "
+ "and quarter pixel motion compensation, lumi masking, trellis quantization, and "
+ "H.263, MPEG and custom quantization matrices.")
+ + "<br>"
+ + i18n("XviD is a primary competitor of DivX (XviD being DivX spelled backwards). "
+ "While DivX is closed source and may only run on Windows, Mac OS and Linux, "
+ "XviD is open source and can potentially run on any platform.")
+ + "<br><em>"
+ + i18n("(Description taken from the Wikipedia article)")
+ + "</em>";
+ default:
+ return "unknown video codec";
+ }
+}
+
+
+QString K3bVideoDVDTitleTranscodingJob::audioCodecDescription( K3bVideoDVDTitleTranscodingJob::AudioCodec codec )
+{
+ static QString s_ac3General = i18n("AC3, better known as Dolby Digital is standardized as ATSC A/52. "
+ "It contains up to 6 total channels of sound.");
+ switch( codec ) {
+ case AUDIO_CODEC_AC3_STEREO:
+ return s_ac3General
+ + "<br>" + i18n("With this setting K3b will create a two-channel stereo "
+ "Dolby Digital audio stream.");
+ case AUDIO_CODEC_AC3_PASSTHROUGH:
+ return s_ac3General
+ + "<br>" + i18n("With this setting K3b will use the Dolby Digital audio stream "
+ "from the source DVD without changing it.")
+ + "<br>" + i18n("Use this setting to preserve 5.1 channel sound from the DVD.");
+ case AUDIO_CODEC_MP3:
+ return i18n("MPEG1 Layer III is better known as MP3 and is the most used lossy audio format.")
+ + "<br>" + i18n("With this setting K3b will create a two-channel stereo MPEG1 Layer III audio stream.");
+ default:
+ return "unknown audio codec";
+ }
+}
+
+
+bool K3bVideoDVDTitleTranscodingJob::transcodeBinaryHasSupportFor( K3bVideoDVDTitleTranscodingJob::VideoCodec codec, const K3bExternalBin* bin )
+{
+ static char* s_codecFeatures[] = { "xvid", "ffmpeg" };
+ if( !bin )
+ bin = k3bcore->externalBinManager()->binObject("transcode");
+ if( !bin )
+ return false;
+ return bin->hasFeature( QString::fromLatin1( s_codecFeatures[(int)codec] ) );
+}
+
+
+bool K3bVideoDVDTitleTranscodingJob::transcodeBinaryHasSupportFor( K3bVideoDVDTitleTranscodingJob::AudioCodec codec, const K3bExternalBin* bin )
+{
+ static char* s_codecFeatures[] = { "lame", "ac3", "ac3" };
+ if( !bin )
+ bin = k3bcore->externalBinManager()->binObject("transcode");
+ if( !bin )
+ return false;
+ return bin->hasFeature( QString::fromLatin1( s_codecFeatures[(int)codec] ) );
+}
+
+#include "k3bvideodvdtitletranscodingjob.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bvideodvdtitletranscodingjob.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bvideodvdtitletranscodingjob.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/jobs/k3bvideodvdtitletranscodingjob.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,275 @@
+/*
+ *
+ * $Id: sourceheader 511311 2006-02-19 14:51:05Z trueg $
+ * Copyright (C) 2006 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_VIDEODVD_TITLE_TRANSCODING_JOB_H_
+#define _K3B_VIDEODVD_TITLE_TRANSCODING_JOB_H_
+
+#include <k3b_export.h>
+#include <k3bjob.h>
+#include <k3bvideodvd.h>
+
+class KProcess;
+class K3bExternalBin;
+
+
+/**
+ * The K3bVideoDVDTitleTranscodingJob rips a Video DVD title directly
+ * from the medium and transcodes it on-the-fly to, for example, an XviD video
+ *
+ * For now only one audio stream is supported.
+ */
+class LIBK3B_EXPORT K3bVideoDVDTitleTranscodingJob : public K3bJob
+{
+ Q_OBJECT
+
+ public:
+ K3bVideoDVDTitleTranscodingJob( K3bJobHandler* hdl, QObject* parent );
+ ~K3bVideoDVDTitleTranscodingJob();
+
+ /**
+ * The video codecs supported by this job.
+ */
+ enum VideoCodec {
+ VIDEO_CODEC_XVID,
+ VIDEO_CODEC_FFMPEG_MPEG4,
+ VIDEO_CODEC_NUM_ENTRIES /**< Do not use this as a codec. */
+ };
+
+ /**
+ * The audio codecs supported by this job.
+ */
+ enum AudioCodec {
+ AUDIO_CODEC_MP3,
+ /* AUDIO_CODEC_OGG_VORBIS,*/
+ AUDIO_CODEC_AC3_STEREO,
+ AUDIO_CODEC_AC3_PASSTHROUGH,
+ AUDIO_CODEC_NUM_ENTRIES /**< Do not use this as a codec. */
+ };
+
+ const K3bVideoDVD::VideoDVD& videoDVD() const { return m_dvd; }
+ int title() const { return m_titleNumber; }
+ int audioStream() const { return m_audioStreamIndex; }
+ int clippingTop() const { return m_clippingTop; }
+ int clippingLeft() const { return m_clippingLeft; }
+ int clippingBottom() const { return m_clippingBottom; }
+ int clippingRight() const { return m_clippingRight; }
+ int height() const { return m_height; }
+ int width() const { return m_width; }
+ const QString& filename() { return m_filename; }
+ VideoCodec videoCodec() const { return m_videoCodec; }
+ int videoBitrate() const { return m_videoBitrate; }
+ bool twoPassEncoding() const { return m_twoPassEncoding; }
+ AudioCodec audioCodec() const { return m_audioCodec; }
+ int audioBitrate() const { return m_audioBitrate; }
+ bool audioVBR() const { return m_audioVBR; }
+ bool resampleAudioTo44100() const { return m_resampleAudio; }
+ bool lowPriority() const { return m_lowPriority; }
+
+ /**
+ * \param bin If 0 the default binary from K3bCore will be used
+ */
+ static bool transcodeBinaryHasSupportFor( VideoCodec codec, const K3bExternalBin* bin = 0 );
+
+ /**
+ * \param bin If 0 the default binary from K3bCore will be used
+ */
+ static bool transcodeBinaryHasSupportFor( AudioCodec codec, const K3bExternalBin* bin = 0 );
+
+ static QString videoCodecString( VideoCodec );
+ static QString audioCodecString( AudioCodec );
+
+ static QString videoCodecDescription( VideoCodec );
+ static QString audioCodecDescription( AudioCodec );
+
+ public slots:
+ void start();
+ void cancel();
+
+ /**
+ * The device containing the Video DVD
+ */
+ void setVideoDVD( const K3bVideoDVD::VideoDVD& dvd ) { m_dvd = dvd; }
+
+ /**
+ * Set the title number to be transcoded
+ *
+ * The default value is 1, denoting the first title.
+ */
+ void setTitle( int t ) { m_titleNumber = t; }
+
+ /**
+ * Set the audio stream to use.
+ *
+ * For now K3b does not support encoding multiple audio streams
+ * in one video file.
+ *
+ * The default value is 0, meaning that the first audio stream will
+ * be encoded.
+ */
+ void setAudioStream( int i ) { m_audioStreamIndex = i; }
+
+ /**
+ * Set the clipping values for the Video title.
+ * The clipping will be applied before the transcoding.
+ *
+ * For now it is not possible to use different clipping values for left
+ * and right as transcode cannot handle this. Thus, the job uses the
+ * smaller value for both the left and right clipping.
+ *
+ * The default is to not clip the video.
+ */
+ void setClipping( int top, int left, int bottom, int right );
+
+ /**
+ * The size of the resulting transcoded video.
+ *
+ * The default is to automatically adjust the size (width=height=0), which
+ * essentially means that anamorph encoded source material will be resized
+ * according to its aspect ratio.
+ *
+ * It is also possible to set just the width or just the height and leave
+ * the other value to 0 which will then be determined automatically.
+ *
+ * The clipping values will be taken into account if at least one value
+ * is determined automatically.
+ *
+ * The width and height values have to be a multiple of 16. If it is not,
+ * they will be changed accordingly.
+ *
+ * FIXME: GET INFORMATION: why a multiple of 16 and not 8 or 32?
+ */
+ void setSize( int width, int height );
+
+ /**
+ * The filename to write the resulting video to.
+ *
+ * The default is some automatically generated filename
+ * in the default K3b temp directory.
+ */
+ void setFilename( const QString& name ) { m_filename = name; }
+
+ /**
+ * Set the video codec used to encode the video title.
+ *
+ * The default is VIDEO_CODEC_FFMPEG_MPEG4
+ */
+ void setVideoCodec( VideoCodec codec ) { m_videoCodec = codec; }
+
+ /**
+ * Set the bitrate used to encode the video.
+ *
+ * The default is 1800
+ */
+ void setVideoBitrate( int bitrate ) { m_videoBitrate = bitrate; }
+
+ /**
+ * Set if the job should use two-pass encoding to improve
+ * the quality of the resulting video.
+ *
+ * The default is false.
+ */
+ void setTwoPassEncoding( bool b ) { m_twoPassEncoding = b; }
+
+ /**
+ * Set the audio codec used to encode the audio stream
+ * in the video title.
+ *
+ * The default is AUDIO_CODEC_MP3
+ */
+ void setAudioCodec( AudioCodec codec ) { m_audioCodec = codec; }
+
+ /**
+ * Set the bitrate used to encode the audio stream.
+ *
+ * The default is 128
+ *
+ * In case of the AC3 codec the bitrate can be some value between 32 and 640.
+ *
+ * For the AC3 passthrough mode the bitrate is ignored.
+ */
+ void setAudioBitrate( int bitrate ) { m_audioBitrate = bitrate; }
+
+ /**
+ * Set if the audio stream should be encoded with a variable bitrate.
+ *
+ * The default is false.
+ *
+ * For the AC3 passthrough mode the bitrate is ignored.
+ */
+ void setAudioVBR( bool vbr ) { m_audioVBR = vbr; }
+
+ /**
+ * Set if the audio data should be resampled to 44100 Hz/s
+ *
+ * The default is false.
+ *
+ * For the AC3 passthrough mode this is ignored.
+ */
+ void setResampleAudioTo44100( bool b ) { m_resampleAudio = b; }
+
+ /**
+ * If true the transcode processes will be run with a very low scheduling
+ * priority.
+ *
+ * The default is true.
+ */
+ void setLowPriority( bool b ) { m_lowPriority = b; }
+
+ private slots:
+ void slotTranscodeStderr( const QString& );
+ void slotTranscodeExited( KProcess* );
+
+ private:
+ /**
+ * \param 0 - single pass encoding
+ * 1 - two pass encoding/first pass
+ * 2 - two pass encoding/second pass
+ */
+ void startTranscode( int pass );
+
+ void cleanup( bool success );
+
+ K3bVideoDVD::VideoDVD m_dvd;
+
+ QString m_filename;
+
+ int m_clippingTop;
+ int m_clippingBottom;
+ int m_clippingLeft;
+ int m_clippingRight;
+
+ int m_width;
+ int m_height;
+
+ int m_titleNumber;
+ int m_audioStreamIndex;
+
+ VideoCodec m_videoCodec;
+ AudioCodec m_audioCodec;
+
+ int m_videoBitrate;
+ int m_audioBitrate;
+ bool m_audioVBR;
+
+ bool m_resampleAudio;
+ bool m_twoPassEncoding;
+
+ bool m_lowPriority;
+
+ class Private;
+ Private* d;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/k3bimage.xsd
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/k3bimage.xsd (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/k3bimage.xsd 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,175 @@
+<!--
+ This document describes the layout of the toc.xml file in a K3b image archive.
+ A K3b image archive is a TAR archive with a simple layout as follows.
+
+ Every K3b image archive contains the toc.xml file as described in this document
+ which describes the layout of the CD or DVD saved in the K3b image archive.
+ Additionally the K3b image archive contains an arbitrary number of files which
+ contain the CD/DVD sector data. These files are referenced in the elements of
+ type "file".
+
+ The most simple K3b image archive may look as follows:
+ Archive
+ |- toc.xml
+ |- image.iso
+ and the toc.xml may look as follows:
+ <image>
+ <numsessions>1</numsessions>
+ <numtracks>1</numtracks>
+ <session number="1">
+ <numtracks>1</numtracks>
+ <track number="1" type="Data Mode1">
+ <data sectorsize="2048">
+ <file>image.iso</file>
+ </data>
+ </track>
+ </session>
+ </image>
+
+
+ We used tar as a backend because K3b image archives tend to get really big when it
+ comes to DVD images and ZIP does not support archives bigger than 2 GB.
+ Although tar supports files bigger than 2 GB (inside the archive) K3b splits every
+ track bigger than 1 GB into chunks of 1 GB to avoid any problems with big filesizes.
+-->
+
+
+<!-- FIXME: introduce a version field! -->
+
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.k3b.org"
+ xmlns="http://www.k3b.org"
+ elementFormDefault="qualified">
+
+<!-- THE TYPES -->
+ <xs:simpleType name="tracktype">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="Audio" />
+ <xs:enumeration value="Data Mode1" />
+ <xs:enumeration value="Data Mode2" />
+ <xs:enumeration value="Data XA Form1" />
+ <xs:enumeration value="Data XA Form2" />
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="sector_size">
+ <xs:restriction base="xs:integer">
+ <xs:enumeration value="2048" /> <!-- Mode1/Mode2 Form1/DVD: plain user data -->
+ <xs:enumeration value="2056" /> <!-- Mode2 Form1: 2048 bytes user data + 8 bytes sub header FIXME: or does this include 4 bytes crc? -->
+ <xs:enumeration value="2324" /> <!-- Mode2 Form2: plain user data -->
+ <xs:enumeration value="2332" /> <!-- Mode2 Form2: 2324 bytes user data + 8 bytes sub header FIXME: or does this include 4 bytes crc? -->
+ <xs:enumeration value="2352" /> <!-- Audio: 16bit, stereo, 44100Hz, big endian -->
+ <xs:enumeration value="2448" /> <!-- Raw data -->
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:complexType name="filecontents">
+ <xs:simpleContent>
+ <!-- Filename in the image archive. -->
+ <xs:extension base="xs:string">
+ <!-- The start_sector allows for multiple tracks including the CD-TEXT to be defined in one file. Default: 0 -->
+ <xs:attribute name="start_offset" type="xs:nonNegativeInteger" use="optional" />
+
+ <!-- The number of bytes to be used. Default: up to end of the file -->
+ <xs:attribute name="length" type="xs:positiveInteger" use="optional" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:simpleType name="catalogname">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[0-9]{13}" />
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="isrcname">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[A-Z0-9]{5}[0-9]{7}" />
+ </xs:restriction>
+ </xs:simpleType>
+
+
+
+<!-- THE IMAGE DEFINITION -->
+
+ <xs:element name="image">
+ <xs:complexType>
+ <xs:sequence>
+ <!-- Number of session for convinience -->
+ <xs:element name="numsessions" type="xs:positiveInteger" />
+
+ <!-- Number of tracks for convinience -->
+ <xs:element name="numtracks" type="xs:positiveInteger" />
+
+ <!-- CD-TEXT is always stored in binary form -->
+ <xs:element name="cdtext" type="filecontents" minOccurs="0" />
+
+ <!-- The optional catalog name. -->
+ <xs:element name="catalog" type="catalogname" minOccurs="0" />
+
+ <!-- The tracks are splitted into sessions. In most cases there will only be one session. -->
+ <xs:element name="session" maxOccurs="99"> <!-- FIXME: what is the real max here? -->
+ <xs:complexType>
+ <xs:sequence>
+ <!-- Number of tracks in this session for convinience -->
+ <xs:element name="numtracks" type="xs:positiveInteger" />
+
+ <!-- And here come the tracks. -->
+ <xs:element name="track" maxOccurs="99">
+ <xs:complexType>
+ <xs:sequence>
+ <!-- The data tag contains file elements specifying where to find the data for the track.
+ The data may span over multiple files but all need to have the same sector size. -->
+ <xs:element name="data" minOccurs="1" maxOccurs="1">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element name="file" type="filecontents" />
+ </xs:sequence>
+ <xs:attribute name="sectorsize" type="sector_size" />
+ </xs:complexType>
+ </xs:element>
+
+ <!-- The index tag contains the start sector of the index relative to the start of the track. -->
+ <xs:element name="index" minOccurs="0" maxOccurs="100">
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:nonNegativeInteger">
+ <xs:attribute name="number" type="xs:nonNegativeInteger" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+
+ <!-- Pre emphasis. -->
+ <xs:element name="preemp" type="xs:boolean" minOccurs="0" default="false" />
+
+ <!-- Copy permitted. -->
+ <xs:element name="copy" type="xs:boolean" minOccurs="0" default="true" />
+
+ <!-- SCMS enabled (alternating copy control bit). Only useful in combination with
+ copy=true. -->
+ <xs:element name="scms" type="xs:boolean" minOccurs="0" default="false" />
+
+ <xs:element name="isrc" type="isrcname" minOccurs="0" />
+ </xs:sequence>
+
+ <!-- The track number for convinience. -->
+ <xs:attribute name="number" type="xs:positiveInteger" />
+
+ <!-- Type of the track as defined above. -->
+ <xs:attribute name="type" type="tracktype" />
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+
+ <!-- The session number for convinience. There is one special case in which the first session's number may be
+ bigger than 1. It is used internally by K3b to indicate that the image contains a session to be appended
+ to a multisession CD or DVD. It cannot be used in another situation since the data does only fit for the
+ multisession CD or DVD it was created for. -->
+ <xs:attribute name="number" type="xs:positiveInteger" />
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
\ No newline at end of file
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/Makefile.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/Makefile.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/Makefile.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,28 @@
+if compile_libsamplerate
+USED_LIBSAMPLERATE=./libsamplerate/libsamplerate.la
+SUBDIRS = libsamplerate
+else
+USED_LIBSAMPLERATE=$(LIBSAMPLERATE)
+endif
+
+
+AM_CPPFLAGS = -I$(srcdir)/.. -I$(srcdir)/../core/ -I$(srcdir)/../../src -I$(srcdir)/../../libk3bdevice $(all_includes)
+
+METASOURCES = AUTO
+
+noinst_LTLIBRARIES = libk3bplugin.la
+
+libk3bplugin_la_LIBADD = $(USED_LIBSAMPLERATE)
+
+libk3bplugin_la_LDFLAGS = $(all_libraries)
+
+libk3bplugin_la_SOURCES = k3bplugin.cpp \
+ k3bpluginconfigwidget.cpp \
+ k3bpluginmanager.cpp \
+ k3baudiodecoder.cpp \
+ k3baudioencoder.cpp \
+ k3baudioclient.cpp \
+ k3baudioserver.cpp
+
+
+include_HEADERS = k3bplugin.h k3bpluginfactory.h k3bpluginmanager.h k3baudiodecoder.h k3baudioencoder.h k3bpluginconfigwidget.h k3baudiooutputplugin.h k3bprojectplugin.h
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/Makefile.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/Makefile.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/Makefile.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,982 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 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.
+
+ at SET_MAKE@
+
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = libk3b/plugin
+DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+LTLIBRARIES = $(noinst_LTLIBRARIES)
+am__DEPENDENCIES_1 =
+ at compile_libsamplerate_FALSE@am__DEPENDENCIES_2 = \
+ at compile_libsamplerate_FALSE@ $(am__DEPENDENCIES_1)
+ at compile_libsamplerate_TRUE@am__DEPENDENCIES_2 = \
+ at compile_libsamplerate_TRUE@ ./libsamplerate/libsamplerate.la
+libk3bplugin_la_DEPENDENCIES = $(am__DEPENDENCIES_2)
+am_libk3bplugin_la_OBJECTS = k3bplugin.lo k3bpluginconfigwidget.lo \
+ k3bpluginmanager.lo k3baudiodecoder.lo k3baudioencoder.lo \
+ k3baudioclient.lo k3baudioserver.lo
+#>- libk3bplugin_la_OBJECTS = $(am_libk3bplugin_la_OBJECTS)
+#>+ 7
+libk3bplugin_la_final_OBJECTS = libk3bplugin_la.all_cpp.lo
+libk3bplugin_la_nofinal_OBJECTS = k3bplugin.lo k3bpluginconfigwidget.lo \
+ k3bpluginmanager.lo k3baudiodecoder.lo k3baudioencoder.lo \
+ k3baudioclient.lo k3baudioserver.lo\
+k3bprojectplugin.moc.lo k3baudiooutputplugin.moc.lo
+ at KDE_USE_FINAL_FALSE@libk3bplugin_la_OBJECTS = $(libk3bplugin_la_nofinal_OBJECTS)
+ at KDE_USE_FINAL_TRUE@libk3bplugin_la_OBJECTS = $(libk3bplugin_la_final_OBJECTS)
+#>- libk3bplugin_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+#>- $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+#>- $(CXXFLAGS) $(libk3bplugin_la_LDFLAGS) $(LDFLAGS) -o $@
+#>+ 3
+libk3bplugin_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+ $(CXXFLAGS) $(KDE_CXXFLAGS) $(libk3bplugin_la_LDFLAGS) $(LDFLAGS) -o $@
+DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
+am__depfiles_maybe = depfiles
+#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 2
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+#>- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 3
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+CXXLD = $(CXX)
+#>- CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
+#>- $(LDFLAGS) -o $@
+#>+ 3
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+SOURCES = $(libk3bplugin_la_SOURCES)
+DIST_SOURCES = $(libk3bplugin_la_SOURCES)
+#>- RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+#>- html-recursive info-recursive install-data-recursive \
+#>- install-dvi-recursive install-exec-recursive \
+#>- install-html-recursive install-info-recursive \
+#>- install-pdf-recursive install-ps-recursive install-recursive \
+#>- installcheck-recursive installdirs-recursive pdf-recursive \
+#>- ps-recursive uninstall-recursive
+#>+ 7
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-dvi-recursive install-exec-recursive \
+ install-html-recursive install-info-recursive \
+ install-pdf-recursive install-ps-recursive install-recursive \
+ installcheck-recursive installdirs-recursive pdf-recursive \
+ ps-recursive uninstall-recursive nmcheck-recursive bcheck-recursive
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(includedir)"
+includeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(include_HEADERS)
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = libsamplerate
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ACLOCAL = @ACLOCAL@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+ARTS_LIBS = @ARTS_LIBS@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAM_LIB = @CAM_LIB@
+CC = @CC@
+CCAS = @CCAS@
+CCASDEPMODE = @CCASDEPMODE@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DBUSQT_INCS = @DBUSQT_INCS@
+DBUSQT_LIBS = @DBUSQT_LIBS@
+DBUS_INCS = @DBUS_INCS@
+DBUS_LIBS = @DBUS_LIBS@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+GREP = @GREP@
+GV_ASM_DEFS = @GV_ASM_DEFS@
+HAL_DBUS_LIBS = @HAL_DBUS_LIBS@
+HAL_INCS = @HAL_INCS@
+HAL_LIBS = @HAL_LIBS@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+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_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSAMPLERATE = @LIBSAMPLERATE@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAD_LIB = @MAD_LIB@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MPC_LIBS = @MPC_LIBS@
+MSGFMT = @MSGFMT@
+MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+RESMGR_LIB = @RESMGR_LIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+TAGLIB_CONFIG = @TAGLIB_CONFIG@
+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@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+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_kcfgdir = @kde_kcfgdir@
+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@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+taglib_includes = @taglib_includes@
+taglib_libs = @taglib_libs@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+ at compile_libsamplerate_FALSE@USED_LIBSAMPLERATE = $(LIBSAMPLERATE)
+ at compile_libsamplerate_TRUE@USED_LIBSAMPLERATE = ./libsamplerate/libsamplerate.la
+ at compile_libsamplerate_TRUE@SUBDIRS = libsamplerate
+AM_CPPFLAGS = -I$(srcdir)/.. -I$(srcdir)/../core/ -I$(srcdir)/../../src -I$(srcdir)/../../libk3bdevice $(all_includes)
+#>- METASOURCES = AUTO
+noinst_LTLIBRARIES = libk3bplugin.la
+libk3bplugin_la_LIBADD = $(USED_LIBSAMPLERATE)
+libk3bplugin_la_LDFLAGS = $(all_libraries)
+libk3bplugin_la_SOURCES = k3bplugin.cpp \
+ k3bpluginconfigwidget.cpp \
+ k3bpluginmanager.cpp \
+ k3baudiodecoder.cpp \
+ k3baudioencoder.cpp \
+ k3baudioclient.cpp \
+ k3baudioserver.cpp
+
+include_HEADERS = k3bplugin.h k3bpluginfactory.h k3bpluginmanager.h k3baudiodecoder.h k3baudioencoder.h k3bpluginconfigwidget.h k3baudiooutputplugin.h k3bprojectplugin.h
+#>- all: all-recursive
+#>+ 1
+all: docs-am all-recursive
+
+.SUFFIXES:
+.SUFFIXES: .cpp .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/plugin/Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --gnu libk3b/plugin/Makefile
+#>+ 12
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/plugin/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu libk3b/plugin/Makefile
+ cd $(top_srcdir) && perl admin/am_edit libk3b/plugin/Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-noinstLTLIBRARIES:
+ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+ @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" != "$$p" || dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+libk3bplugin.la: $(libk3bplugin_la_OBJECTS) $(libk3bplugin_la_DEPENDENCIES)
+ $(libk3bplugin_la_LINK) $(libk3bplugin_la_OBJECTS) $(libk3bplugin_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudioclient.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudiodecoder.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudioencoder.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudioserver.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bplugin.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bpluginconfigwidget.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bpluginmanager.Plo at am__quote@
+
+.cpp.o:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+ at am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+install-includeHEADERS: $(include_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
+ @list='$(include_HEADERS)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+ $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
+ done
+
+uninstall-includeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(include_HEADERS)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+ rm -f "$(DESTDIR)$(includedir)/$$f"; \
+ done
+
+# 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):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ 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) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+$(RECURSIVE_CLEAN_TARGETS):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ 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) \
+ || eval $$failcom; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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
+tags: TAGS
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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 "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ distdir=`$(am__cd) $(distdir) && pwd`; \
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
+ (cd $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$top_distdir" \
+ distdir="$$distdir/$$subdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-recursive
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
+installdirs: installdirs-recursive
+installdirs-am:
+ for dir in "$(DESTDIR)$(includedir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+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)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-recursive
+#>+ 1
+clean: kde-rpo-clean clean-recursive
+
+#>- clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
+#>- mostlyclean-am
+#>+ 2
+clean-am: clean-metasources clean-bcheck clean-final clean-generic clean-libtool clean-noinstLTLIBRARIES \
+ mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+info: info-recursive
+
+info-am:
+
+install-data-am: install-includeHEADERS
+
+install-dvi: install-dvi-recursive
+
+install-exec-am:
+
+install-html: install-html-recursive
+
+install-info: install-info-recursive
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-ps: install-ps-recursive
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-includeHEADERS
+
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
+ install-strip
+
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
+ all all-am check check-am clean clean-generic clean-libtool \
+ clean-noinstLTLIBRARIES ctags ctags-recursive distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-includeHEADERS install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags tags-recursive uninstall uninstall-am \
+ uninstall-includeHEADERS
+
+# 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:
+
+#>+ 3
+k3bpluginmanager.moc: $(srcdir)/k3bpluginmanager.h
+ $(MOC) $(srcdir)/k3bpluginmanager.h -o k3bpluginmanager.moc
+
+#>+ 2
+mocs: k3bpluginmanager.moc
+
+#>+ 3
+k3bpluginconfigwidget.moc: $(srcdir)/k3bpluginconfigwidget.h
+ $(MOC) $(srcdir)/k3bpluginconfigwidget.h -o k3bpluginconfigwidget.moc
+
+#>+ 2
+mocs: k3bpluginconfigwidget.moc
+
+#>+ 3
+k3bprojectplugin.moc.cpp: $(srcdir)/k3bprojectplugin.h
+ $(MOC) $(srcdir)/k3bprojectplugin.h -o k3bprojectplugin.moc.cpp
+
+#>+ 2
+mocs: k3bprojectplugin.moc.cpp
+
+#>+ 3
+k3bplugin.moc: $(srcdir)/k3bplugin.h
+ $(MOC) $(srcdir)/k3bplugin.h -o k3bplugin.moc
+
+#>+ 2
+mocs: k3bplugin.moc
+
+#>+ 3
+k3baudiooutputplugin.moc.cpp: $(srcdir)/k3baudiooutputplugin.h
+ $(MOC) $(srcdir)/k3baudiooutputplugin.h -o k3baudiooutputplugin.moc.cpp
+
+#>+ 2
+mocs: k3baudiooutputplugin.moc.cpp
+
+#>+ 3
+k3baudioencoder.moc: $(srcdir)/k3baudioencoder.h
+ $(MOC) $(srcdir)/k3baudioencoder.h -o k3baudioencoder.moc
+
+#>+ 2
+mocs: k3baudioencoder.moc
+
+#>+ 3
+k3baudiodecoder.moc: $(srcdir)/k3baudiodecoder.h
+ $(MOC) $(srcdir)/k3baudiodecoder.h -o k3baudiodecoder.moc
+
+#>+ 2
+mocs: k3baudiodecoder.moc
+
+#>+ 3
+k3baudioserver.moc: $(srcdir)/k3baudioserver.h
+ $(MOC) $(srcdir)/k3baudioserver.h -o k3baudioserver.moc
+
+#>+ 2
+mocs: k3baudioserver.moc
+
+#>+ 3
+clean-metasources:
+ -rm -f k3bpluginmanager.moc k3bpluginconfigwidget.moc k3bprojectplugin.moc.cpp k3bplugin.moc k3baudiooutputplugin.moc.cpp k3baudioencoder.moc k3baudiodecoder.moc k3baudioserver.moc
+
+#>+ 2
+KDE_DIST=k3bpluginfactory.cpp k3baudioserver.h Makefile.in Makefile.am k3baudioclient.h
+
+#>+ 2
+docs-am:
+
+#>+ 15
+force-reedit:
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/plugin/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu libk3b/plugin/Makefile
+ cd $(top_srcdir) && perl admin/am_edit libk3b/plugin/Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-recursive
+
+bcheck-am:
+ @for i in $(include_HEADERS); do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXXCOMPILE) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 11
+libk3bplugin_la.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/k3bplugin.cpp $(srcdir)/k3bpluginconfigwidget.cpp $(srcdir)/k3bpluginmanager.cpp $(srcdir)/k3baudiodecoder.cpp $(srcdir)/k3baudioencoder.cpp $(srcdir)/k3baudioclient.cpp $(srcdir)/k3baudioserver.cpp k3bprojectplugin.moc.cpp k3baudiooutputplugin.moc.cpp k3bpluginmanager.moc k3bpluginconfigwidget.moc k3bplugin.moc k3baudioencoder.moc k3baudiodecoder.moc k3baudioserver.moc
+ @echo 'creating libk3bplugin_la.all_cpp.cpp ...'; \
+ rm -f libk3bplugin_la.all_cpp.files libk3bplugin_la.all_cpp.final; \
+ echo "#define KDE_USE_FINAL 1" >> libk3bplugin_la.all_cpp.final; \
+ for file in k3bplugin.cpp k3bpluginconfigwidget.cpp k3bpluginmanager.cpp k3baudiodecoder.cpp k3baudioencoder.cpp k3baudioclient.cpp k3baudioserver.cpp k3bprojectplugin.moc.cpp k3baudiooutputplugin.moc.cpp ; do \
+ echo "#include \"$$file\"" >> libk3bplugin_la.all_cpp.files; \
+ test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> libk3bplugin_la.all_cpp.final; \
+ done; \
+ cat libk3bplugin_la.all_cpp.final libk3bplugin_la.all_cpp.files > libk3bplugin_la.all_cpp.cpp; \
+ rm -f libk3bplugin_la.all_cpp.final libk3bplugin_la.all_cpp.files
+
+#>+ 3
+clean-final:
+ -rm -f libk3bplugin_la.all_cpp.cpp
+
+#>+ 3
+final:
+ $(MAKE) libk3bplugin_la_OBJECTS="$(libk3bplugin_la_final_OBJECTS)" all-am
+
+#>+ 3
+final-install:
+ $(MAKE) libk3bplugin_la_OBJECTS="$(libk3bplugin_la_final_OBJECTS)" install-am
+
+#>+ 3
+no-final:
+ $(MAKE) libk3bplugin_la_OBJECTS="$(libk3bplugin_la_nofinal_OBJECTS)" all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) libk3bplugin_la_OBJECTS="$(libk3bplugin_la_nofinal_OBJECTS)" install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 15
+k3bplugin.o: k3bplugin.moc
+k3bpluginconfigwidget.o: k3bpluginconfigwidget.moc
+k3bpluginmanager.o: k3bpluginmanager.moc
+k3baudioencoder.o: k3baudioencoder.moc
+nmcheck:
+k3bpluginconfigwidget.lo: k3bpluginconfigwidget.moc
+k3baudioserver.lo: k3baudioserver.moc
+k3bpluginmanager.lo: k3bpluginmanager.moc
+k3bplugin.lo: k3bplugin.moc
+nmcheck-am: nmcheck
+k3baudiodecoder.o: k3baudiodecoder.moc
+k3baudioencoder.lo: k3baudioencoder.moc
+k3baudioserver.o: k3baudioserver.moc
+k3baudiodecoder.lo: k3baudiodecoder.moc
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioclient.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioclient.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioclient.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,46 @@
+/*
+ *
+ * $Id: k3baudioclient.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2004 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3baudioclient.h"
+#include "k3baudioserver.h"
+
+
+K3bAudioClient::K3bAudioClient()
+ : m_attached(false)
+{
+}
+
+
+K3bAudioClient::~K3bAudioClient()
+{
+}
+
+
+void K3bAudioClient::startStreaming()
+{
+ if( !m_attached ) {
+ K3bAudioServer::instance()->attachClient( this );
+ m_attached = true;
+ }
+}
+
+
+void K3bAudioClient::stopStreaming()
+{
+ if( m_attached ) {
+ K3bAudioServer::instance()->detachClient( this );
+ m_attached = false;
+ }
+}
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioclient.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioclient.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioclient.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,51 @@
+/*
+ *
+ * $Id: k3baudioclient.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2004 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_AUDIO_CLIENT_H_
+#define _K3B_AUDIO_CLIENT_H_
+
+#include "k3b_export.h"
+/**
+ * Interface for all K3b audio client classes which may attach to
+ * a K3b Audio Server to play 44100 16bit stereo audio data.
+ */
+class LIBK3B_EXPORT K3bAudioClient
+{
+ public:
+ virtual ~K3bAudioClient();
+
+ /**
+ * if this method returns a value below 0 streaming is stopped.
+ */
+ virtual int read( char* data, int maxlen ) = 0;
+
+ protected:
+ K3bAudioClient();
+
+ /**
+ * This will start the streaming.
+ */
+ void startStreaming();
+
+ /**
+ * This stops the streaming,
+ */
+ void stopStreaming();
+
+ private:
+ bool m_attached;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudiodecoder.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudiodecoder.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudiodecoder.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,599 @@
+/*
+ *
+ * $Id: k3baudiodecoder.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include <config.h>
+
+#include <k3bcore.h>
+
+#include "k3baudiodecoder.h"
+#include "k3bpluginmanager.h"
+
+#include <kdebug.h>
+#include <kfilemetainfo.h>
+
+#include <qmap.h>
+
+#include <math.h>
+
+#ifdef HAVE_LIBSAMPLERATE
+#include <samplerate.h>
+#else
+#include "libsamplerate/samplerate.h"
+#endif
+
+#if !(HAVE_LRINT && HAVE_LRINTF)
+#define lrint(dbl) ((int) (dbl))
+#define lrintf(flt) ((int) (flt))
+#endif
+
+// use a one second buffer
+static const int DECODING_BUFFER_SIZE = 75*2352;
+
+class K3bAudioDecoder::Private
+{
+public:
+ Private()
+ : metaInfo(0),
+ resampleState(0),
+ resampleData(0),
+ inBuffer(0),
+ inBufferPos(0),
+ inBufferFill(0),
+ outBuffer(0),
+ monoBuffer(0),
+ decodingBufferPos(0),
+ decodingBufferFill(0),
+ valid(true) {
+ }
+
+ // the current position of the decoder
+ // This does NOT include the decodingBuffer
+ K3b::Msf currentPos;
+
+ // since the current position above is measured in frames
+ // there might be a little offset since the decoded data is not
+ // always a multiple of 2353 bytes
+ int currentPosOffset;
+
+ // already decoded bytes from last init or last seek
+ // TODO: replace alreadyDecoded with currentPos
+ unsigned long alreadyDecoded;
+
+ K3b::Msf decodingStartPos;
+
+ KFileMetaInfo* metaInfo;
+
+ // set to true once decodeInternal() returned 0
+ bool decoderFinished;
+
+ // resampling
+ SRC_STATE* resampleState;
+ SRC_DATA* resampleData;
+
+ float* inBuffer;
+ float* inBufferPos;
+ int inBufferFill;
+
+ float* outBuffer;
+
+ int samplerate;
+ int channels;
+
+ // mono -> stereo conversion
+ char* monoBuffer;
+
+ char decodingBuffer[DECODING_BUFFER_SIZE];
+ char* decodingBufferPos;
+ int decodingBufferFill;
+
+ QMap<QString, QString> technicalInfoMap;
+ QMap<MetaDataField, QString> metaInfoMap;
+
+ bool valid;
+};
+
+
+
+K3bAudioDecoder::K3bAudioDecoder( QObject* parent, const char* name )
+ : QObject( parent, name )
+{
+ d = new Private();
+}
+
+
+K3bAudioDecoder::~K3bAudioDecoder()
+{
+ cleanup();
+
+ if( d->inBuffer ) delete [] d->inBuffer;
+ if( d->outBuffer ) delete [] d->outBuffer;
+ if( d->monoBuffer ) delete [] d->monoBuffer;
+
+ delete d->metaInfo;
+ delete d->resampleData;
+ if( d->resampleState )
+ src_delete( d->resampleState );
+ delete d;
+}
+
+
+void K3bAudioDecoder::setFilename( const QString& filename )
+{
+ m_fileName = filename;
+ delete d->metaInfo;
+ d->metaInfo = 0;
+}
+
+
+bool K3bAudioDecoder::isValid() const
+{
+ return d->valid;
+}
+
+
+bool K3bAudioDecoder::analyseFile()
+{
+ d->technicalInfoMap.clear();
+ d->metaInfoMap.clear();
+ delete d->metaInfo;
+ d->metaInfo = 0;
+
+ cleanup();
+
+ bool ret = analyseFileInternal( m_length, d->samplerate, d->channels );
+ if( ret && ( d->channels == 1 || d->channels == 2 ) && m_length > 0 ) {
+ d->valid = initDecoder();
+ return d->valid;
+ }
+ else {
+ d->valid = false;
+ return false;
+ }
+}
+
+
+bool K3bAudioDecoder::initDecoder( const K3b::Msf& startOffset )
+{
+ if( initDecoder() ) {
+ if( startOffset > 0 )
+ return seek( startOffset );
+ else
+ return true;
+ }
+ else
+ return false;
+}
+
+
+bool K3bAudioDecoder::initDecoder()
+{
+ cleanup();
+
+ if( d->resampleState )
+ src_reset( d->resampleState );
+
+ d->alreadyDecoded = 0;
+ d->currentPos = 0;
+ d->currentPosOffset = 0;
+ d->decodingBufferFill = 0;
+ d->decodingBufferPos = 0;
+ d->decodingStartPos = 0;
+ d->inBufferFill = 0;
+
+ d->decoderFinished = false;
+
+ return initDecoderInternal();
+}
+
+
+int K3bAudioDecoder::decode( char* _data, int maxLen )
+{
+ unsigned long lengthToDecode = (m_length - d->decodingStartPos).audioBytes();
+
+ if( d->alreadyDecoded >= lengthToDecode )
+ return 0;
+
+ if( maxLen <= 0 )
+ return 0;
+
+ int read = 0;
+
+ if( d->decodingBufferFill == 0 ) {
+ //
+ // now we decode into the decoding buffer
+ // to ensure a minimum buffer size
+ //
+ d->decodingBufferFill = 0;
+ d->decodingBufferPos = d->decodingBuffer;
+
+ if( !d->decoderFinished ) {
+ if( d->samplerate != 44100 ) {
+
+ // check if we have data left from some previous conversion
+ if( d->inBufferFill > 0 ) {
+ read = resample( d->decodingBuffer, DECODING_BUFFER_SIZE );
+ }
+ else {
+ if( !d->inBuffer ) {
+ d->inBuffer = new float[DECODING_BUFFER_SIZE/2];
+ }
+
+ if( (read = decodeInternal( d->decodingBuffer, DECODING_BUFFER_SIZE )) == 0 )
+ d->decoderFinished = true;
+
+ d->inBufferFill = read/2;
+ d->inBufferPos = d->inBuffer;
+ from16bitBeSignedToFloat( d->decodingBuffer, d->inBuffer, d->inBufferFill );
+
+ read = resample( d->decodingBuffer, DECODING_BUFFER_SIZE );
+ }
+ }
+ else if( d->channels == 1 ) {
+ if( !d->monoBuffer ) {
+ d->monoBuffer = new char[DECODING_BUFFER_SIZE/2];
+ }
+
+ // we simply duplicate every frame
+ if( (read = decodeInternal( d->monoBuffer, DECODING_BUFFER_SIZE/2 )) == 0 )
+ d->decoderFinished = true;
+
+ for( int i = 0; i < read; i+=2 ) {
+ d->decodingBuffer[2*i] = d->decodingBuffer[2*i+2] = d->monoBuffer[i];
+ d->decodingBuffer[2*i+1] = d->decodingBuffer[2*i+3] = d->monoBuffer[i+1];
+ }
+
+ read *= 2;
+ }
+ else {
+ if( (read = decodeInternal( d->decodingBuffer, DECODING_BUFFER_SIZE )) == 0 )
+ d->decoderFinished = true;
+ }
+ }
+
+ if( read < 0 ) {
+ return -1;
+ }
+ else if( read == 0 ) {
+ // check if we need to pad
+ int bytesToPad = lengthToDecode - d->alreadyDecoded;
+ if( bytesToPad > 0 ) {
+ kdDebug() << "(K3bAudioDecoder) track length: " << lengthToDecode
+ << "; decoded module data: " << d->alreadyDecoded
+ << "; we need to pad " << bytesToPad << " bytes." << endl;
+
+ if( DECODING_BUFFER_SIZE < bytesToPad )
+ bytesToPad = DECODING_BUFFER_SIZE;
+
+ ::memset( d->decodingBuffer, 0, bytesToPad );
+
+ kdDebug() << "(K3bAudioDecoder) padded " << bytesToPad << " bytes." << endl;
+
+ read = bytesToPad;
+ }
+ else {
+ kdDebug() << "(K3bAudioDecoder) decoded " << d->alreadyDecoded << " bytes." << endl;
+ return 0;
+ }
+ }
+ else {
+
+ // check if we decoded too much
+ if( d->alreadyDecoded + read > lengthToDecode ) {
+ kdDebug() << "(K3bAudioDecoder) we decoded too much. Cutting output by "
+ << (read + d->alreadyDecoded - lengthToDecode) << endl;
+ read = lengthToDecode - d->alreadyDecoded;
+ }
+ }
+
+ d->decodingBufferFill = read;
+ }
+
+
+ // clear out the decoding buffer
+ read = QMIN( maxLen, d->decodingBufferFill );
+ ::memcpy( _data, d->decodingBufferPos, read );
+ d->decodingBufferPos += read;
+ d->decodingBufferFill -= read;
+
+ d->alreadyDecoded += read;
+ d->currentPos += (read+d->currentPosOffset)/2352;
+ d->currentPosOffset = (read+d->currentPosOffset)%2352;
+
+ return read;
+}
+
+
+// resample data in d->inBufferPos and save the result to data
+//
+//
+int K3bAudioDecoder::resample( char* data, int maxLen )
+{
+ if( !d->resampleState ) {
+ d->resampleState = src_new( SRC_SINC_MEDIUM_QUALITY, d->channels, 0 );
+ if( !d->resampleState ) {
+ kdDebug() << "(K3bAudioDecoder) unable to initialize resampler." << endl;
+ return -1;
+ }
+ d->resampleData = new SRC_DATA;
+ }
+
+ if( !d->outBuffer ) {
+ d->outBuffer = new float[DECODING_BUFFER_SIZE/2];
+ }
+
+ d->resampleData->data_in = d->inBufferPos;
+ d->resampleData->data_out = d->outBuffer;
+ d->resampleData->input_frames = d->inBufferFill/d->channels;
+ d->resampleData->output_frames = maxLen/2/2; // in case of mono files we need the space anyway
+ d->resampleData->src_ratio = 44100.0/(double)d->samplerate;
+ if( d->inBufferFill == 0 )
+ d->resampleData->end_of_input = 1; // this should force libsamplerate to output the last frames
+ else
+ d->resampleData->end_of_input = 0;
+
+ int len = 0;
+ if( (len = src_process( d->resampleState, d->resampleData ) ) ) {
+ kdDebug() << "(K3bAudioDecoder) error while resampling: " << src_strerror(len) << endl;
+ return -1;
+ }
+
+ if( d->channels == 2 )
+ fromFloatTo16BitBeSigned( d->outBuffer, data, d->resampleData->output_frames_gen*d->channels );
+ else {
+ for( int i = 0; i < d->resampleData->output_frames_gen; ++i ) {
+ fromFloatTo16BitBeSigned( &d->outBuffer[i], &data[4*i], 1 );
+ fromFloatTo16BitBeSigned( &d->outBuffer[i], &data[4*i+2], 1 );
+ }
+ }
+
+ d->inBufferPos += d->resampleData->input_frames_used*d->channels;
+ d->inBufferFill -= d->resampleData->input_frames_used*d->channels;
+ if( d->inBufferFill <= 0 ) {
+ d->inBufferPos = d->inBuffer;
+ d->inBufferFill = 0;
+ }
+
+ // 16 bit frames, so we need to multiply by 2
+ // and we always have two channels
+ return d->resampleData->output_frames_gen*2*2;
+}
+
+
+void K3bAudioDecoder::from16bitBeSignedToFloat( char* src, float* dest, int samples )
+{
+ while( samples ) {
+ samples--;
+ dest[samples] = static_cast<float>( Q_INT16(((src[2*samples]<<8)&0xff00)|(src[2*samples+1]&0x00ff)) / 32768.0 );
+ }
+}
+
+
+void K3bAudioDecoder::fromFloatTo16BitBeSigned( float* src, char* dest, int samples )
+{
+ while( samples ) {
+ samples--;
+
+ float scaled = src[samples] * 32768.0;
+ Q_INT16 val = 0;
+
+ // clipping
+ if( scaled >= ( 1.0 * 0x7FFF ) )
+ val = 32767;
+ else if( scaled <= ( -8.0 * 0x1000 ) )
+ val = -32768;
+ else
+ val = lrintf(scaled);
+
+ dest[2*samples] = val>>8;
+ dest[2*samples+1] = val;
+ }
+}
+
+
+void K3bAudioDecoder::from8BitTo16BitBeSigned( char* src, char* dest, int samples )
+{
+ while( samples ) {
+ samples--;
+
+ float scaled = static_cast<float>(Q_UINT8(src[samples])-128) / 128.0 * 32768.0;
+ Q_INT16 val = 0;
+
+ // clipping
+ if( scaled >= ( 1.0 * 0x7FFF ) )
+ val = 32767;
+ else if( scaled <= ( -8.0 * 0x1000 ) )
+ val = -32768;
+ else
+ val = lrintf(scaled);
+
+ dest[2*samples] = val>>8;
+ dest[2*samples+1] = val;
+ }
+}
+
+
+bool K3bAudioDecoder::seek( const K3b::Msf& pos )
+{
+ kdDebug() << "(K3bAudioDecoder) seek from " << d->currentPos.toString() << " (+" << d->currentPosOffset
+ << ") to " << pos.toString() << endl;
+
+ if( pos > length() )
+ return false;
+
+ d->decoderFinished = false;
+
+ if( pos == d->currentPos && d->currentPosOffset == 0 )
+ return true;
+
+ if( pos == 0 )
+ return initDecoder();
+
+ bool success = false;
+
+ //
+ // First check if we may do a "perfect seek".
+ // We cannot rely on the decoding plugins to seek perfectly. Especially
+ // the mp3 decoder does not. But in case we want to split a live recording
+ // it is absolutely nesseccary to perform a perfect seek.
+ // So if we did not already decode past the seek position and the difference
+ // between the current position and the seek position is less than some fixed
+ // value we simply decode up to the seek position.
+ //
+ if( ( pos > d->currentPos ||
+ ( pos == d->currentPos && d->currentPosOffset == 0 ) )
+ &&
+ ( pos - d->currentPos < K3b::Msf(0,10,0) ) ) { // < 10 seconds is ok
+ kdDebug() << "(K3bAudioDecoder) performing perfect seek from " << d->currentPos.toString()
+ << " to " << pos.toString() << ". :)" << endl;
+
+ unsigned long bytesToDecode = pos.audioBytes() - d->currentPos.audioBytes() - d->currentPosOffset;
+ kdDebug() << "(K3bAudioDecoder) seeking " << bytesToDecode << " bytes." << endl;
+ char buffi[10*2352];
+ while( bytesToDecode > 0 ) {
+ int read = decode( buffi, QMIN(10*2352, bytesToDecode) );
+ if( read <= 0 )
+ return false;
+
+ bytesToDecode -= read;
+ }
+
+ kdDebug() << "(K3bAudioDecoder) perfect seek done." << endl;
+
+ success = true;
+ }
+ else {
+ //
+ // Here we have to reset the resampling stuff since we restart decoding at another position.
+ //
+ if( d->resampleState )
+ src_reset( d->resampleState );
+ d->inBufferFill = 0;
+
+ //
+ // And also reset the decoding buffer to not return any garbage from previous decoding.
+ //
+ d->decodingBufferFill = 0;
+
+ success = seekInternal( pos );
+ }
+
+ d->alreadyDecoded = 0;
+ d->currentPos = d->decodingStartPos = pos;
+ d->currentPosOffset = 0;
+
+ return success;
+}
+
+
+void K3bAudioDecoder::cleanup()
+{
+}
+
+
+QString K3bAudioDecoder::metaInfo( MetaDataField f )
+{
+ if( d->metaInfoMap.contains( f ) )
+ return d->metaInfoMap[f];
+
+ // fall back to KFileMetaInfo
+ if( !d->metaInfo )
+ d->metaInfo = new KFileMetaInfo( filename() );
+
+ if( d->metaInfo->isValid() ) {
+ QString tag;
+ switch( f ) {
+ case META_TITLE:
+ tag = "Title";
+ break;
+ case META_ARTIST:
+ tag = "Artist";
+ break;
+ case META_SONGWRITER:
+ tag = "Songwriter";
+ break;
+ case META_COMPOSER:
+ tag = "Composer";
+ break;
+ case META_COMMENT:
+ tag = "Comment";
+ break;
+ }
+
+ KFileMetaInfoItem item = d->metaInfo->item( tag );
+ if( item.isValid() )
+ return item.string();
+ }
+
+ return QString::null;
+}
+
+
+void K3bAudioDecoder::addMetaInfo( MetaDataField f, const QString& value )
+{
+ if( !value.isEmpty() )
+ d->metaInfoMap[f] = value;
+ else
+ kdDebug() << "(K3bAudioDecoder) empty meta data field." << endl;
+}
+
+
+QStringList K3bAudioDecoder::supportedTechnicalInfos() const
+{
+ QStringList l;
+ for( QMap<QString, QString>::const_iterator it = d->technicalInfoMap.begin();
+ it != d->technicalInfoMap.end(); ++it )
+ l.append( it.key() );
+ return l;
+}
+
+
+QString K3bAudioDecoder::technicalInfo( const QString& key ) const
+{
+ return d->technicalInfoMap[key];
+}
+
+
+void K3bAudioDecoder::addTechnicalInfo( const QString& key, const QString& value )
+{
+ d->technicalInfoMap[key] = value;
+}
+
+
+K3bAudioDecoder* K3bAudioDecoderFactory::createDecoder( const KURL& url )
+{
+ kdDebug() << "(K3bAudioDecoderFactory::createDecoder( " << url.path() << " )" << endl;
+ QPtrList<K3bPlugin> fl = k3bcore->pluginManager()->plugins( "AudioDecoder" );
+
+ // first search for a single format decoder
+ for( QPtrListIterator<K3bPlugin> it( fl ); it.current(); ++it ) {
+ K3bAudioDecoderFactory* f = dynamic_cast<K3bAudioDecoderFactory*>( it.current() );
+ if( f && !f->multiFormatDecoder() && f->canDecode( url ) ) {
+ kdDebug() << "1" << endl; return f->createDecoder();}
+ }
+
+ // no single format decoder. Search for a multi format decoder
+ for( QPtrListIterator<K3bPlugin> it( fl ); it.current(); ++it ) {
+ K3bAudioDecoderFactory* f = dynamic_cast<K3bAudioDecoderFactory*>( it.current() );
+ if( f && f->multiFormatDecoder() && f->canDecode( url ) ) {
+ kdDebug() << "2" << endl; return f->createDecoder();}
+ }
+
+ kdDebug() << "(K3bAudioDecoderFactory::createDecoder( " << url.path() << " ) no success" << endl;
+
+ // nothing found
+ return 0;
+}
+
+#include "k3baudiodecoder.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudiodecoder.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudiodecoder.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudiodecoder.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,254 @@
+/*
+ *
+ * $Id: k3baudiodecoder.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_AUDIO_DECODER_H_
+#define _K3B_AUDIO_DECODER_H_
+
+
+#include <k3bplugin.h>
+#include <k3bmsf.h>
+#include "k3b_export.h"
+#include <kurl.h>
+
+
+
+/**
+ * Abstract streaming class for all the audio input.
+ * Has to output data in the following format:
+ * MSBLeft LSBLeft MSBRight LSBRight (big endian byte order)
+ *
+ * Instances are created by K3bAudioDecoderFactory
+ **/
+class LIBK3B_EXPORT K3bAudioDecoder : public QObject
+{
+ Q_OBJECT
+
+ public:
+ K3bAudioDecoder( QObject* parent = 0, const char* name = 0 );
+ virtual ~K3bAudioDecoder();
+
+
+ /**
+ * Set the file to decode. Be aware that one cannot rely
+ * on the file length until analyseFile() has been called.
+ */
+ void setFilename( const QString& );
+
+ /**
+ * Since this may take a while depending on the filetype it is best
+ * to run it in a separate thread.
+ *
+ * This method will also call initDecoder().
+ */
+ bool analyseFile();
+
+ /**
+ * @return true if the file was successfully analysed by analyseFile.
+ */
+ bool isValid() const;
+
+ /**
+ * Initialize the decoding.
+ * Normally there is no need to call this as analyseFile already does so.
+ */
+ bool initDecoder();
+
+ /**
+ * initialize the decoding.
+ * @param startOffset the number of frames to skip at the beginning of the file.
+ *
+ * This is the same as calling: initDecoder() and seek(startOffset)
+ */
+ bool initDecoder( const K3b::Msf& startOffset );
+
+ enum MetaDataField {
+ META_TITLE,
+ META_ARTIST,
+ META_SONGWRITER,
+ META_COMPOSER,
+ META_COMMENT
+ };
+
+ /**
+ * This should at least support "Title" and "Artist"
+ *
+ * the default implementation returns the infos set via @p addMetaInfo
+ * and uses KFileMetaInfo if none was set
+ */
+ virtual QString metaInfo( MetaDataField );
+
+ /**
+ * The filetype is only used for informational purposes.
+ * It is not necessary but highly recommended to implement this method
+ * as it enhances usability.
+ * @returne The filetype of the decoded file.
+ */
+ virtual QString fileType() const { return QString::null; }
+
+ /**
+ * This method may be reimplemented to provide technical information about
+ * the file. It should return localized strings.
+ *
+ * the default implementation returns the infos set via @p addTechnicalInfo
+ */
+ virtual QStringList supportedTechnicalInfos() const;
+
+ /**
+ * The framework will call this method with all strings returned by the
+ * supportedTechnicalInfos() method. It should return localized strings.
+ *
+ * the default implementation returns the infos set via @p addTechnicalInfo
+ */
+ virtual QString technicalInfo( const QString& ) const;
+
+ /**
+ * returnes -1 on error, 0 when finished, length of data otherwise
+ * takes care of padding
+ * calls decodeInternal() to actually decode data
+ *
+ * Fill the data buffer with maximal maxLen bytes.
+ */
+ int decode( char* data, int maxLen );
+
+ /**
+ * Cleanup after decoding like closing files.
+ * Be aware that this is the counterpart to @p initDecoder().
+ *
+ * There might happen multiple calls to initDecoder() and cleanup().
+ */
+ virtual void cleanup();
+
+ /**
+ * Seek to the position pos.
+ * Decoding is started new. That means that the data will be padded to
+ * length() - pos.
+ * returnes true on success;
+ */
+ bool seek( const K3b::Msf& pos );
+
+ /**
+ * Be aware that one cannot rely
+ * on the file length until analyseFile() has been called.
+ */
+ virtual K3b::Msf length() const { return m_length; }
+
+ const QString& filename() const { return m_fileName; }
+
+ // some helper methods
+ static void fromFloatTo16BitBeSigned( float* src, char* dest, int samples );
+ static void from16bitBeSignedToFloat( char* src, float* dest, int samples );
+ static void from8BitTo16BitBeSigned( char* src, char* dest, int samples );
+
+ protected:
+ /**
+ * Use this method if using the default implementation of @p metaInfo
+ */
+ void addMetaInfo( MetaDataField, const QString& );
+
+ /**
+ * Use this method if using the default implementation of @p technicalInfo
+ * and @p supportedTechnicalInfos.
+ */
+ void addTechnicalInfo( const QString&, const QString& );
+
+ /**
+ * This will be called once before the first call to decodeInternal.
+ * Use it to initialize decoding structures if necessary.
+ *
+ * There might happen multiple calls to initDecoder() and cleanup().
+ */
+ virtual bool initDecoderInternal() = 0;
+
+ /**
+ * This method should analyze the file to determine the exact length,
+ * the samplerate in Hz, and the number of channels. The framework takes care of
+ * resampling and converting mono to stereo data.
+ * This method may be time consuming.
+ */
+ virtual bool analyseFileInternal( K3b::Msf& length, int& samplerate, int& channels ) = 0;
+
+ /**
+ * fill the already allocated data with maximal maxLen bytes of decoded samples.
+ * The framework will take care of padding or cutting the decoded data as well
+ * as resampling to 44100 Hz and converting mono samples to stereo.
+ */
+ virtual int decodeInternal( char* data, int maxLen ) = 0;
+
+ virtual bool seekInternal( const K3b::Msf& ) { return false; }
+
+ private:
+ int resample( char* data, int maxLen );
+
+ QString m_fileName;
+ K3b::Msf m_length;
+
+ class Private;
+ Private* d;
+};
+
+
+
+/**
+ * PluginFactory that needs to be subclassed in order to create an
+ * audio decoder.
+ * We need this because K3b uses multiple AudioDecoders of the same type at the
+ * same time.
+ */
+class LIBK3B_EXPORT K3bAudioDecoderFactory : public K3bPlugin
+{
+ Q_OBJECT
+
+ public:
+ K3bAudioDecoderFactory( QObject* parent = 0, const char* name = 0 )
+ : K3bPlugin( parent, name ) {
+ }
+
+ virtual ~K3bAudioDecoderFactory() {
+ }
+
+ QString group() const { return "AudioDecoder"; }
+
+ /**
+ * K3b uses this flag to decide which plugins to test first
+ * when searching for an audio decoder.
+ *
+ * Decoders that are specialized on one format are favored over
+ * multi-format-decoders.
+ */
+ virtual bool multiFormatDecoder() const { return false; }
+
+ /**
+ * This is the most important method of the AudioDecoderFactory.
+ * It is used to determine if a certain file can be decoded by the
+ * decoder this factory creates.
+ * It is important that this method does not work lazy since it will
+ * be called with urls to every kind of files and if it returns true
+ * a decoder of this type is used for the file.
+ */
+ virtual bool canDecode( const KURL& filename ) = 0;
+
+ virtual K3bAudioDecoder* createDecoder( QObject* parent = 0, const char* name = 0 ) const = 0;
+
+ /**
+ * Searching for an audiodecoder for @p filename.
+ *
+ * It first searches the single format decoder and the the multiformat decoder.
+ *
+ * @returns a newly created decoder on success and 0 when no decoder could be found.
+ */
+ static K3bAudioDecoder* createDecoder( const KURL& url );
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioencoder.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioencoder.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioencoder.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,175 @@
+/*
+ *
+ * $Id: k3baudioencoder.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3baudioencoder.h"
+
+#include <qfile.h>
+
+#include <kdebug.h>
+
+
+class K3bAudioEncoder::Private
+{
+public:
+ Private()
+ : outputFile(0) {
+ }
+
+ QFile* outputFile;
+ QString outputFilename;
+
+ QString lastErrorString;
+};
+
+
+K3bAudioEncoder::K3bAudioEncoder( QObject* parent, const char* name )
+ : K3bPlugin( parent, name )
+{
+ d = new Private();
+}
+
+
+K3bAudioEncoder::~K3bAudioEncoder()
+{
+ closeFile();
+ delete d;
+}
+
+
+bool K3bAudioEncoder::openFile( const QString& ext, const QString& filename, const K3b::Msf& length )
+{
+ closeFile();
+
+ d->outputFile = new QFile( filename );
+ if( d->outputFile->open( IO_WriteOnly ) ) {
+ return initEncoder( ext, length );
+ }
+ else {
+ kdDebug() << "(K3bAudioEncoder) unable to open file " << filename << endl;
+ closeFile();
+ return false;
+ }
+}
+
+
+bool K3bAudioEncoder::isOpen() const
+{
+ if( d->outputFile )
+ return d->outputFile->isOpen();
+ else
+ return false;
+}
+
+
+void K3bAudioEncoder::closeFile()
+{
+ if( d->outputFile ) {
+ finishEncoder();
+ if( d->outputFile->isOpen() )
+ d->outputFile->close();
+ delete d->outputFile;
+ d->outputFile = 0;
+ d->outputFilename = QString::null;
+ }
+}
+
+
+const QString& K3bAudioEncoder::filename() const
+{
+ if( d->outputFile )
+ return d->outputFilename;
+ else
+ return QString::null;
+}
+
+
+
+void K3bAudioEncoder::setMetaData( K3bAudioEncoder::MetaDataField f, const QString& data )
+{
+ if( !data.isEmpty() )
+ return setMetaDataInternal( f, data );
+}
+
+
+long K3bAudioEncoder::encode( const char* data, Q_ULONG len )
+{
+ return encodeInternal( data, len );
+}
+
+
+bool K3bAudioEncoder::initEncoder( const QString& ext, const K3b::Msf& length )
+{
+ if( !isOpen() ) {
+ kdDebug() << "(K3bAudioEncoder) call to initEncoder without openFile!" << endl;
+ return false;
+ }
+
+ return initEncoderInternal( ext, length );
+}
+
+
+Q_LONG K3bAudioEncoder::writeData( const char* data, Q_ULONG len )
+{
+ if( d->outputFile ) {
+ return d->outputFile->writeBlock( data, len );
+ }
+ else {
+ kdDebug() << "(K3bAudioEncoder) call to writeData without opening a file first." << endl;
+ return -1;
+ }
+}
+
+
+bool K3bAudioEncoder::initEncoderInternal( const QString&, const K3b::Msf& )
+{
+ // do nothing
+ return true;
+}
+
+
+void K3bAudioEncoder::setMetaDataInternal( K3bAudioEncoder::MetaDataField, const QString& )
+{
+ // do nothing
+}
+
+
+void K3bAudioEncoder::finishEncoder()
+{
+ if( isOpen() )
+ finishEncoderInternal();
+}
+
+
+void K3bAudioEncoder::finishEncoderInternal()
+{
+ // do nothing
+}
+
+
+void K3bAudioEncoder::setLastError( const QString& e )
+{
+ d->lastErrorString = e;
+}
+
+
+QString K3bAudioEncoder::lastErrorString() const
+{
+ if( d->lastErrorString.isEmpty() )
+ return i18n("An unknown error occurred.");
+ else
+ return d->lastErrorString;
+}
+
+#include "k3baudioencoder.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioencoder.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioencoder.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioencoder.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,203 @@
+/*
+ *
+ * $Id: k3baudioencoder.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_AUDIO_ENCODER_H_
+#define _K3B_AUDIO_ENCODER_H_
+
+#include <k3bplugin.h>
+
+#include <k3bmsf.h>
+#include "k3b_export.h"
+
+
+/**
+ * The base class for all audio encoders.
+ * Do not be alarmed by the number of methods since most of them
+ * do not need to be touched. They are just there to keep the API
+ * clean and extendable.
+ *
+ * see the skeleton files for further help.
+ */
+class LIBK3B_EXPORT K3bAudioEncoder : public K3bPlugin
+{
+ Q_OBJECT
+
+ public:
+ K3bAudioEncoder( QObject* parent = 0, const char* name = 0 );
+ virtual ~K3bAudioEncoder();
+
+ // TODO: if the following methods are to be activated the config methods in
+ // K3bPluginConfigWidget also need to be changed since they do not allow
+ // to use an extern config object yet.
+ // Perhaps these two methods should even go into K3bPlugin.
+ /**
+ * This calls readConfig using the k3bcore config object
+ */
+ // void readConfig();
+
+ /**
+ * Force the plugin to read it's configuration
+ */
+ // virtual void readConfig( KConfig* );
+
+ QString group() const { return "AudioEncoder"; }
+
+ /**
+ * This should return the fileextensions supported by the filetype written in the
+ * encoder.
+ * May return an empty list in which case the encoder will not be usable (this may come
+ * in handy if the encoder is based on some external program or lib which is not
+ * available on runtime.)
+ */
+ virtual QStringList extensions() const = 0;
+
+ /**
+ * The filetype as presented to the user.
+ */
+ virtual QString fileTypeComment( const QString& extension ) const = 0;
+
+ /**
+ * Determine the filesize of the encoded file (~)
+ * default implementation returnes -1 (unknown)
+ * First parameter is the extension to be used
+ */
+ virtual long long fileSize( const QString&, const K3b::Msf& ) const { return -1; }
+
+ /**
+ * The default implementation openes the file for writing with
+ * writeData. Normally this does not need to be reimplemented.
+ * @param extension the filetype to be used.
+ *
+ */
+ virtual bool openFile( const QString& extension, const QString& filename, const K3b::Msf& length );
+
+
+ /**
+ * The default implementation returnes true if openFile (default implementation) has been
+ * successfully called. Normally this does not need to be reimplemented but it has to be
+ * if openFile is reimplemented.
+ */
+ virtual bool isOpen() const;
+
+ /**
+ * The default implementation closes the file opened by openFile
+ * (default implementation)
+ * Normally this does not need to be reimplemented but it has to be
+ * if openFile is reimplemented.
+ */
+ virtual void closeFile();
+
+ /**
+ * The default implementation returnes the filename set in openFile
+ * or QString::null if no file has been opened.
+ * Normally this does not need to be reimplemented but it has to be
+ * if openFile is reimplemented.
+ */
+ virtual const QString& filename() const;
+
+ enum MetaDataField {
+ META_TRACK_TITLE,
+ META_TRACK_ARTIST,
+ META_TRACK_COMMENT,
+ META_TRACK_NUMBER,
+ META_ALBUM_TITLE,
+ META_ALBUM_ARTIST,
+ META_ALBUM_COMMENT,
+ META_YEAR,
+ META_GENRE };
+
+ /**
+ * Calling this method does only make sense after successfully
+ * calling openFile and before calling encode.
+ * This calls setMetaDataInternal.
+ */
+ void setMetaData( MetaDataField, const QString& );
+
+ /**
+ * Returnes the amount of actually written bytes or -1 if an error
+ * occurred.
+ *
+ * Be aware that the returned amount of written data may very well differ
+ * from len since the data is encoded.
+ */
+ long encode( const char*, Q_ULONG len );
+
+ /**
+ * Use this signal in case of an error to provide the user with information
+ * about the problem.
+ */
+ virtual QString lastErrorString() const;
+
+ protected:
+ /**
+ * Called by the default implementation of openFile
+ * This calls initEncoderInternal.
+ */
+ bool initEncoder( const QString& extension, const K3b::Msf& length );
+
+ /**
+ * Called by the deafult implementation of openFile
+ * This calls finishEncoderInternal.
+ */
+ void finishEncoder();
+
+ /**
+ * Use this to write the data to the file when
+ * using the default implementation of openFile
+ * Returnes the number of bytes actually written.
+ */
+ Q_LONG writeData( const char*, Q_ULONG len );
+
+ /**
+ * initzialize the decoder structures.
+ * default implementation does nothing
+ * this may already write data.
+ */
+ virtual bool initEncoderInternal( const QString& extension, const K3b::Msf& length );
+
+ /**
+ * reimplement this if the encoder needs to do some
+ * finishing touch.
+ */
+ virtual void finishEncoderInternal();
+
+ /**
+ * encode the data and write it with writeData (when using
+ * the default)
+ * The data will always be 16bit 44100 Hz stereo little endian samples.
+ * Should return the amount of actually written bytes (may be 0) and -1
+ * on error.
+ */
+ // TODO: use Q_INT16* instead of char*
+ // FIXME: why little endian while CDs use big endian???
+ virtual long encodeInternal( const char*, Q_ULONG len ) = 0;
+
+ /**
+ * default implementation does nothing
+ * this may already write data.
+ */
+ virtual void setMetaDataInternal( MetaDataField, const QString& );
+
+ /**
+ * Use this in combination with the default implementation of lastError()
+ */
+ void setLastError( const QString& );
+
+ private:
+ class Private;
+ Private* d;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudiooutputplugin.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudiooutputplugin.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudiooutputplugin.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,69 @@
+/*
+ *
+ * $Id: k3baudiooutputplugin.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2004 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_AUDIO_OUTPUTPLUGIN_H_
+#define _K3B_AUDIO_OUTPUTPLUGIN_H_
+
+#include <k3bplugin.h>
+#include "k3b_export.h"
+
+/**
+ *
+ */
+class LIBK3B_EXPORT K3bAudioOutputPlugin : public K3bPlugin
+{
+ Q_OBJECT
+
+ public:
+ virtual ~K3bAudioOutputPlugin() {
+ }
+
+ QString group() const { return "AudioOutput"; }
+
+ /**
+ * This is the short name of the sound system which can be used
+ * to specify the sound system on the command line (like "arts", "alsa", or "oss")
+ */
+ virtual QCString soundSystem() const = 0;
+
+ /**
+ * Initialize the plugin.
+ *
+ * Return true on success.
+ * In case of a failure report the error through lastErrorMessage
+ */
+ virtual bool init() { return true; }
+
+ /**
+ * Cleanup the plugin. This is the counterpart to init()
+ */
+ virtual void cleanup() {}
+
+ virtual QString lastErrorMessage() const { return QString::null; }
+
+ /**
+ * Let there be sound...
+ *
+ * @returns number of written bytes or -1 on error.
+ */
+ virtual int write( char* data, int len ) = 0;
+
+ protected:
+ K3bAudioOutputPlugin( QObject* parent = 0, const char* name = 0 )
+ : K3bPlugin( parent, name ) {
+ }
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioserver.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioserver.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioserver.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,214 @@
+/*
+ *
+ * $Id: k3baudioserver.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2004 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include <k3bcore.h>
+#include <k3bthread.h>
+#include <k3bprogressinfoevent.h>
+#include "k3baudioserver.h"
+#include "k3baudioclient.h"
+#include "k3bpluginmanager.h"
+#include "k3baudiooutputplugin.h"
+
+#include <kdebug.h>
+#include <kapplication.h>
+#include <klocale.h>
+#include <kmessagebox.h>
+
+#include <k3bthread.h>
+
+
+
+K3bAudioServer* K3bAudioServer::s_instance = 0;
+
+
+
+class K3bAudioServer::Private : public K3bThread
+{
+public:
+ Private( K3bAudioServer* s )
+ : m_streaming(false),
+ m_server(s) {
+ setProgressInfoEventHandler( m_server );
+ }
+
+
+ void stop() {
+ m_streaming = false;
+ }
+
+protected:
+ void run() {
+ m_streaming = true;
+
+ char buffer[2048*10];
+
+ while( m_streaming ) {
+ int len = m_server->m_client->read( buffer, 2048*10 );
+ if( len > 0 ) {
+ if( m_server->m_pluginInitialized ) {
+ if( write( buffer, len ) < 0 ) {
+ kdDebug() << "Audio Streaming failed: " << m_server->m_usedOutputPlugin->lastErrorMessage() << endl;
+ emitInfoMessage( m_server->m_usedOutputPlugin->lastErrorMessage(), 0 );
+ return;
+ }
+ }
+ // else just drop the data into space...
+ }
+ else {
+ // FIXME: no data or error... what to do?
+ }
+ }
+ }
+
+ int write( char* buffer, int len ) {
+ int written = m_server->m_usedOutputPlugin->write( buffer, len );
+ return written;
+// if( written < 0 )
+// return -1;
+// else if( written < len )
+// return write( buffer+written, len-written ) + written;
+// else
+// return len;
+ }
+
+private:
+ bool m_streaming;
+ K3bAudioServer* m_server;
+};
+
+
+K3bAudioServer::K3bAudioServer( QObject* parent, const char* name )
+ : QObject( parent, name ),
+ m_usedOutputPlugin(0),
+ m_pluginInitialized(false),
+ m_client(0)
+{
+ s_instance = this;
+ d = new Private( this );
+}
+
+
+K3bAudioServer::~K3bAudioServer()
+{
+ delete d;
+ s_instance = 0;
+}
+
+
+bool K3bAudioServer::setOutputMethod( const QCString& name )
+{
+ if( K3bAudioOutputPlugin* p = findOutputPlugin( name ) ) {
+ setOutputPlugin( p );
+ return true;
+ }
+ else
+ return false;
+}
+
+
+void K3bAudioServer::setOutputPlugin( K3bAudioOutputPlugin* p )
+{
+ if( p != m_usedOutputPlugin ) {
+ bool restart = d->running();
+ if( restart ) {
+ d->stop();
+ d->wait();
+ }
+
+ if( m_usedOutputPlugin ) {
+ m_usedOutputPlugin->cleanup();
+ m_pluginInitialized = false;
+ }
+
+ m_usedOutputPlugin = p;
+
+ if( restart )
+ d->start();
+ }
+}
+
+
+void K3bAudioServer::attachClient( K3bAudioClient* c )
+{
+ // for now we simply allow only one client and stop the old one
+ if( m_client ) {
+ kdDebug() << "(K3bAudioServer) leaving old client hanging. :(" << endl;
+ detachClient( m_client );
+ }
+
+ m_client = c;
+
+ if( m_usedOutputPlugin && !m_pluginInitialized ) {
+ if( !m_usedOutputPlugin->init() ) {
+ emit error( i18n("Could not initialize Audio Output plugin %1 (%2)")
+ .arg(m_usedOutputPlugin->pluginInfo().name())
+ .arg(m_usedOutputPlugin->lastErrorMessage()) );
+ }
+ else
+ m_pluginInitialized = true;
+ }
+ else
+ kdDebug() << "(K3bAudioServer::attachClient) no output plugin selected. Using null output." << endl;
+
+ // start the streaming
+ d->start();
+}
+
+
+void K3bAudioServer::detachClient( K3bAudioClient* c )
+{
+ if( m_client == c ) {
+ m_client = 0;
+
+ // stop the streaming
+ d->stop();
+ d->wait();
+
+ if( m_usedOutputPlugin && m_pluginInitialized ) {
+ m_usedOutputPlugin->cleanup();
+ m_pluginInitialized = false;
+ }
+ }
+}
+
+
+K3bAudioOutputPlugin* K3bAudioServer::findOutputPlugin( const QCString& name )
+{
+ QPtrList<K3bPlugin> fl = k3bcore->pluginManager()->plugins( "AudioOutput" );
+
+ for( QPtrListIterator<K3bPlugin> it( fl ); it.current(); ++it ) {
+ K3bAudioOutputPlugin* f = dynamic_cast<K3bAudioOutputPlugin*>( it.current() );
+
+ if( f && f->soundSystem() == name ) {
+ return f;
+ }
+ }
+
+ kdDebug() << "(K3bAudioServer::findOutputPlugin) could not find output plugin " << name << endl;
+
+ return 0;
+}
+
+
+void K3bAudioServer::customEvent( QCustomEvent* e )
+{
+ if( K3bProgressInfoEvent* be = dynamic_cast<K3bProgressInfoEvent*>(e) ) {
+ if( be->type() == K3bProgressInfoEvent::InfoMessage ) {
+ emit error( be->firstString() );
+ }
+ }
+}
+
+#include "k3baudioserver.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioserver.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioserver.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3baudioserver.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,85 @@
+/*
+ *
+ * $Id$
+ * Copyright (C) 2004 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_AUDIO_SERVER_H_
+#define _K3B_AUDIO_SERVER_H_
+
+#include <qobject.h>
+#include "k3b_export.h"
+class K3bAudioOutputPlugin;
+class K3bAudioClient;
+
+
+/**
+ * The AudioServer manages AudioClients to play audio data through
+ * some output plugin.
+ */
+class LIBK3B_EXPORT K3bAudioServer : public QObject
+{
+ Q_OBJECT
+
+ public:
+ K3bAudioServer( QObject* parent = 0, const char* name = 0 );
+ ~K3bAudioServer();
+
+ /**
+ * Returns false in case the named output method could not be found.
+ */
+ bool setOutputMethod( const QCString& name );
+ void setOutputPlugin( K3bAudioOutputPlugin* p );
+
+ /**
+ * Start playing the clients data. It's up to the server if older
+ * clients are suspended, stopped or mixed into a single stream.
+ *
+ * This is called by K3bAudioClient
+ */
+ void attachClient( K3bAudioClient* );
+
+ /**
+ * Stop streaming data from the client.
+ * This is called by K3bAudioClient
+ */
+ void detachClient( K3bAudioClient* );
+
+ /**
+ * We need to be able to play data from everywhere in K3b.
+ */
+ static K3bAudioServer* instance() { return s_instance; }
+
+ /**
+ * Find a plugin by classname.
+ */
+ static K3bAudioOutputPlugin* findOutputPlugin( const QCString& name );
+
+ signals:
+ void error( const QString& );
+
+ private:
+ void customEvent( QCustomEvent* e );
+
+ class Private;
+ friend class Private;
+
+ static K3bAudioServer* s_instance;
+
+ K3bAudioOutputPlugin* m_usedOutputPlugin;
+ bool m_pluginInitialized;
+ K3bAudioClient* m_client;
+
+ Private* d;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bplugin.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bplugin.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bplugin.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,36 @@
+/*
+ *
+ * $Id: k3bplugin.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#include "k3bplugin.h"
+
+
+K3bPlugin::K3bPlugin( QObject* parent, const char* name )
+ : QObject( parent, name )
+{
+}
+
+
+K3bPlugin::~K3bPlugin()
+{
+}
+
+
+K3bPluginConfigWidget* K3bPlugin::createConfigWidget( QWidget*, const char* ) const
+{
+ return 0;
+}
+
+#include "k3bplugin.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bplugin.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bplugin.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bplugin.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,113 @@
+/*
+ *
+ * $Id: k3bplugin.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef _K3B_PLUGIN_H_
+#define _K3B_PLUGIN_H_
+
+#include <qobject.h>
+#include <kgenericfactory.h>
+#include "k3b_export.h"
+
+#define K3B_PLUGIN_SYSTEM_VERSION 3
+
+
+class K3bPluginConfigWidget;
+class QWidget;
+
+
+
+class K3bPluginInfo
+{
+ friend class K3bPluginManager;
+
+ public:
+ K3bPluginInfo() {
+ }
+
+ K3bPluginInfo( QString libraryName,
+ QString name,
+ QString author,
+ QString email,
+ QString comment,
+ QString version,
+ QString licence )
+ : m_libraryName(libraryName),
+ m_name(name),
+ m_author(author),
+ m_email(email),
+ m_comment(comment),
+ m_version(version),
+ m_licence(licence) {
+ }
+
+ const QString& name() const { return m_name; }
+ const QString& author() const { return m_author; }
+ const QString& email() const { return m_email; }
+ const QString& comment() const { return m_comment; }
+ const QString& version() const { return m_version; }
+ const QString& licence() const { return m_licence; }
+
+ const QString& libraryName() const { return m_libraryName; }
+
+ private:
+ QString m_libraryName;
+
+ QString m_name;
+ QString m_author;
+ QString m_email;
+ QString m_comment;
+ QString m_version;
+ QString m_licence;
+};
+
+
+/**
+ * Base class for all plugins. You may use the K3bPluginFactory to make your plugin available.
+ */
+class LIBK3B_EXPORT K3bPlugin : public QObject
+{
+ Q_OBJECT
+
+ friend class K3bPluginManager;
+
+ public:
+ K3bPlugin( QObject* parent = 0, const char* name = 0 );
+ virtual ~K3bPlugin();
+
+ const K3bPluginInfo& pluginInfo() const { return m_pluginInfo; }
+
+ /**
+ * Version of the plugin system this plugin was written for.
+ */
+ virtual int pluginSystemVersion() const = 0;
+
+ /**
+ * The plugin group.
+ */
+ virtual QString group() const = 0;
+
+ /**
+ * Returns a widget which configures the plugin.
+ *
+ * The caller has to destroy the widget
+ */
+ virtual K3bPluginConfigWidget* createConfigWidget( QWidget* parent = 0, const char* name = 0 ) const;
+
+ private:
+ K3bPluginInfo m_pluginInfo;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginconfigwidget.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginconfigwidget.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginconfigwidget.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,48 @@
+/*
+ *
+ * $Id: k3bpluginconfigwidget.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bpluginconfigwidget.h"
+#include "k3bpluginfactory.h"
+
+#include <k3bcore.h>
+
+#include <kinstance.h>
+#include <kdebug.h>
+
+
+K3bPluginConfigWidget::K3bPluginConfigWidget( QWidget* parent, const char* name )
+ : QWidget( parent, name )
+{
+}
+
+
+K3bPluginConfigWidget::~K3bPluginConfigWidget()
+{
+}
+
+
+void K3bPluginConfigWidget::loadConfig()
+{
+ // do nothing
+}
+
+
+void K3bPluginConfigWidget::saveConfig()
+{
+ // do nothing
+}
+
+
+#include "k3bpluginconfigwidget.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginconfigwidget.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginconfigwidget.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginconfigwidget.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,40 @@
+/*
+ *
+ * $Id: k3bpluginconfigwidget.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef _K3B_PLUGIN_CONFIG_WIDGET_H_
+#define _K3B_PLUGIN_CONFIG_WIDGET_H_
+
+#include <qwidget.h>
+#include "k3b_export.h"
+
+class LIBK3B_EXPORT K3bPluginConfigWidget : public QWidget
+{
+ Q_OBJECT
+
+ public:
+ K3bPluginConfigWidget( QWidget* parent = 0, const char* name = 0 );
+ virtual ~K3bPluginConfigWidget();
+
+ public slots:
+ /**
+ * Use k3bcore->config() to store the settings
+ * FIXME: add a KConfig parameter here
+ */
+ virtual void loadConfig();
+ virtual void saveConfig();
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginfactory.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginfactory.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginfactory.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,33 @@
+/*
+ *
+ * $Id: k3bpluginfactory.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bpluginfactory.h"
+
+
+template <class T>
+KInstance* K3bPluginFactory<T>::s_instance = 0;
+
+
+template <class T>
+K3bPluginFactory<T>* K3bPluginFactory<T>::s_self = 0;
+
+
+template <class T>
+KInstance* K3bPluginFactory<T>::instance()
+{
+ if( !s_instance && s_self )
+ s_instance = new KInstance( s_self->m_instanceName );
+ return s_instance;
+}
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginfactory.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginfactory.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginfactory.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,98 @@
+/*
+ *
+ * $Id: k3bpluginfactory.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+
+#ifndef _K3B_PLUGIN_FACTORY_H_
+#define _K3B_PLUGIN_FACTORY_H_
+
+#include <klibloader.h>
+#include <kinstance.h>
+#include <kglobal.h>
+#include <klocale.h>
+
+/**
+ * Template based on KGenericFactory. This is just here to avoid using the QStringList args parameter
+ * in every plugin's constructor.
+ *
+ * Use this as follows:
+ * K_EXPORT_COMPONENT_FACTORY( libk3bartsaudioserver, K3bPluginFactory<K3bArtsAudioServer>( "k3bartsaudioserver" ) )
+ *
+ * See KGenericFactory for more information.
+ */
+template <class T>
+class K3bPluginFactory : public KLibFactory
+{
+ public:
+ K3bPluginFactory( const char* instanceName )
+ : m_instanceName(instanceName) {
+ s_self = this;
+ m_catalogueInitialized = false;
+ }
+
+ ~K3bPluginFactory() {
+ if ( s_instance )
+ KGlobal::locale()->removeCatalogue( s_instance->instanceName() );
+ delete s_instance;
+ s_instance = 0;
+ s_self = 0;
+ }
+
+ static KInstance* instance();
+
+ protected:
+ virtual void setupTranslations( void ) {
+ if( instance() )
+ KGlobal::locale()->insertCatalogue( instance()->instanceName() );
+ }
+
+ void initializeMessageCatalogue() {
+ if( !m_catalogueInitialized ) {
+ m_catalogueInitialized = true;
+ setupTranslations();
+ }
+ }
+
+ virtual QObject* createObject( QObject *parent, const char *name,
+ const char*, const QStringList& ) {
+ initializeMessageCatalogue();
+ return new T( parent, name );
+ }
+
+ private:
+ QCString m_instanceName;
+ bool m_catalogueInitialized;
+
+ static KInstance* s_instance;
+ static K3bPluginFactory<T> *s_self;
+};
+
+
+template <class T>
+KInstance* K3bPluginFactory<T>::s_instance = 0;
+
+
+template <class T>
+K3bPluginFactory<T>* K3bPluginFactory<T>::s_self = 0;
+
+
+template <class T>
+KInstance* K3bPluginFactory<T>::instance()
+{
+ if( !s_instance && s_self )
+ s_instance = new KInstance( s_self->m_instanceName );
+ return s_instance;
+}
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginmanager.cpp
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginmanager.cpp (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginmanager.cpp 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,189 @@
+/*
+ *
+ * $Id: k3bpluginmanager.cpp 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#include "k3bpluginmanager.h"
+#include "k3bplugin.h"
+#include "k3bpluginconfigwidget.h"
+#include <k3bversion.h>
+
+#include <kdebug.h>
+#include <ksimpleconfig.h>
+#include <klocale.h>
+#include <kglobal.h>
+#include <kstandarddirs.h>
+#include <kdialogbase.h>
+#include <kmessagebox.h>
+#include <klibloader.h>
+
+#include <qptrlist.h>
+#include <qmap.h>
+#include <qdir.h>
+
+
+
+class K3bPluginManager::Private
+{
+public:
+ QPtrList<K3bPlugin> plugins;
+};
+
+
+
+
+K3bPluginManager::K3bPluginManager( QObject* parent, const char* name )
+ : QObject( parent, name )
+{
+ d = new Private();
+}
+
+
+K3bPluginManager::~K3bPluginManager()
+{
+ delete d;
+}
+
+
+
+QStringList K3bPluginManager::groups() const
+{
+ QStringList grps;
+
+ QPtrList<K3bPlugin> fl;
+ for( QPtrListIterator<K3bPlugin> it( d->plugins );
+ it.current(); ++it ) {
+ if( !grps.contains( it.current()->group() ) )
+ grps.append( it.current()->group() );
+ }
+
+ return grps;
+}
+
+
+QPtrList<K3bPlugin> K3bPluginManager::plugins( const QString& group ) const
+{
+ QPtrList<K3bPlugin> fl;
+ for( QPtrListIterator<K3bPlugin> it( d->plugins );
+ it.current(); ++it ) {
+ if( it.current()->group() == group || group.isEmpty() )
+ fl.append( it.current() );
+ }
+ return fl;
+}
+
+
+void K3bPluginManager::loadPlugin( const QString& fileName )
+{
+ KSimpleConfig c( fileName, true );
+ c.setGroup( "K3b Plugin" );
+
+ QString libName = c.readEntry( "Lib" );
+ if( libName.isEmpty() ) {
+ kdDebug() << "(K3bPluginManager) no Lib specified in " << fileName << endl;
+ return;
+ }
+
+ // read the lib
+ KLibFactory* factory = KLibLoader::self()->factory( libName.latin1() );
+ if( factory ) {
+ K3bPlugin* plugin = dynamic_cast<K3bPlugin*>( factory->create( this ) );
+ if( plugin ) {
+ // FIXME: improve this versioning stuff
+ if( plugin->pluginSystemVersion() != K3B_PLUGIN_SYSTEM_VERSION ) {
+ delete plugin;
+ kdDebug() << "(K3bPluginManager) plugin system does not fit lib " << libName << endl;
+ }
+ else {
+ plugin->m_pluginInfo = K3bPluginInfo( libName,
+ c.readEntry( "Name" ),
+ c.readEntry( "Author" ),
+ c.readEntry( "Email" ),
+ c.readEntry( "Comment" ),
+ c.readEntry( "Version" ),
+ c.readEntry( "License" ) );
+
+ // make sure to only use the latest version of one plugin
+ bool addPlugin = true;
+ for( QPtrListIterator<K3bPlugin> it( d->plugins ); *it; ++it ) {
+ if( it.current()->pluginInfo().name() == plugin->pluginInfo().name() ) {
+ if( K3bVersion(it.current()->pluginInfo().version()) < K3bVersion(plugin->pluginInfo().version()) ) {
+ K3bPlugin* p = it.current();
+ d->plugins.removeRef( p );
+ delete p;
+ }
+ else {
+ addPlugin = false;
+ }
+ break;
+ }
+ }
+ if( addPlugin )
+ d->plugins.append( plugin );
+ else
+ delete plugin;
+ }
+ }
+ else
+ kdDebug() << "(K3bPluginManager) lib " << libName << " not a K3b plugin" << endl;
+ }
+ else
+ kdDebug() << "(K3bPluginManager) lib " << libName << " not found" << endl;
+}
+
+
+void K3bPluginManager::loadAll()
+{
+ // we simply search the K3b plugin dir for now
+ QStringList dirs = KGlobal::dirs()->findDirs( "data", "k3b/plugins/" );
+
+ for( QStringList::const_iterator it = dirs.begin();
+ it != dirs.end(); ++it ) {
+ QStringList entries = QDir(*it).entryList( "*.plugin", QDir::Files );
+ for( QStringList::const_iterator it2 = entries.begin();
+ it2 != entries.end(); ++it2 ) {
+ loadPlugin( *it + *it2 );
+ }
+ }
+}
+
+int K3bPluginManager::pluginSystemVersion() const
+{
+ return K3B_PLUGIN_SYSTEM_VERSION;
+}
+
+
+int K3bPluginManager::execPluginDialog( K3bPlugin* plugin, QWidget* parent, const char* name )
+{
+ KDialogBase dlg( parent,
+ name,
+ true,
+ i18n("Configure plugin %1").arg( plugin->pluginInfo().name() ) );
+
+ K3bPluginConfigWidget* configWidget = plugin->createConfigWidget( &dlg );
+ if( configWidget ) {
+ dlg.setMainWidget( configWidget );
+ connect( &dlg, SIGNAL(applyClicked()), configWidget, SLOT(saveConfig()) );
+ connect( &dlg, SIGNAL(okClicked()), configWidget, SLOT(saveConfig()) );
+ configWidget->loadConfig();
+ int r = dlg.exec();
+ delete configWidget;
+ return r;
+ }
+ else {
+ KMessageBox::sorry( parent, i18n("No settings available for plugin %1.").arg( plugin->pluginInfo().name() ) );
+ return 0;
+ }
+}
+
+#include "k3bpluginmanager.moc"
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginmanager.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginmanager.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bpluginmanager.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,70 @@
+/*
+ *
+ * $Id: k3bpluginmanager.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2003 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_PLUGIN_MANAGER_H_
+#define _K3B_PLUGIN_MANAGER_H_
+
+#include <qobject.h>
+#include <qptrlist.h>
+#include <qstringlist.h>
+#include "k3b_export.h"
+
+
+class K3bPlugin;
+class QWidget;
+
+
+/**
+ * Use this class to access all K3b plugins (this does not include the
+ * KParts Plugins!).
+ * Like the K3bCore the single instance (which has to be created manually)
+ * can be obtained with the k3bpluginmanager macro.
+ */
+class LIBK3B_EXPORT K3bPluginManager : public QObject
+{
+ Q_OBJECT
+
+ public:
+ K3bPluginManager( QObject* parent = 0, const char* name = 0 );
+ ~K3bPluginManager();
+
+ /**
+ * if group is empty all plugins are returned
+ */
+ QPtrList<K3bPlugin> plugins( const QString& group = QString::null ) const;
+
+ /**
+ * Returnes a list of the available groups.
+ */
+ QStringList groups() const;
+
+ int pluginSystemVersion() const;
+
+ public slots:
+ /**
+ * Loads all plugins from the ressource directories.
+ */
+ void loadAll();
+
+ void loadPlugin( const QString& fileName );
+
+ int execPluginDialog( K3bPlugin*, QWidget* parent = 0, const char* name = 0 );
+
+ private:
+ class Private;
+ Private* d;
+};
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bprojectplugin.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bprojectplugin.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/k3bprojectplugin.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,161 @@
+/*
+ *
+ * $Id: k3bprojectplugin.h 619556 2007-01-03 17:38:12Z trueg $
+ * Copyright (C) 2004 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2007 Sebastian Trueg <trueg at k3b.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * See the file "COPYING" for the exact licensing terms.
+ */
+
+#ifndef _K3B_PROJECT_PLUGIN_H_
+#define _K3B_PROJECT_PLUGIN_H_
+
+#include <k3bplugin.h>
+#include <qstring.h>
+#include "k3b_export.h"
+class K3bDoc;
+
+/**
+ * In case your plugin provides a GUI it is recommended to use the
+ * K3bProjectPluginGUIBase interface. That way K3b can embed the GUI into
+ * a fancy dialog which fits the overall look.
+ *
+ * This is not derived from QWidget to make it possible to inherit
+ * from other QWidget derivates.
+ */
+class K3bProjectPluginGUIBase
+{
+ public:
+ K3bProjectPluginGUIBase() {}
+ virtual ~K3bProjectPluginGUIBase() {}
+
+ virtual QWidget* qWidget() = 0;
+
+ /**
+ * Title used for the GUI
+ */
+ virtual QString title() const = 0;
+ virtual QString subTitle() const { return QString::null; }
+
+ virtual void readSettings( KConfigBase* ) {}
+ virtual void saveSettings( KConfigBase* ) {}
+
+ /**
+ * Load system defaults for the GUI
+ */
+ virtual void loadDefaults() {}
+
+ /**
+ * Start the plugin. This method should do the actual work.
+ */
+ virtual void activate() = 0;
+};
+
+
+/**
+ * A K3bProjectPlugin is supposed to modify a k3b project in some way or
+ * create additional data based on the project.
+ *
+ * Reimplement createGUI or activate and use setText, setToolTip, setWhatsThis, and setIcon
+ * to specify the gui elements used when presenting the plugin to the user.
+ */
+class LIBK3B_EXPORT K3bProjectPlugin : public K3bPlugin
+{
+ Q_OBJECT
+
+ public:
+ /**
+ * @param type The type of the plugin
+ * @param gui If true the plugin is supposed to provide a widget via @p createGUI(). In that case
+ * @p activate() will not be used. A plugin has a GUI if it's functionality is started
+ * by some user input.
+ */
+ K3bProjectPlugin( int type, bool gui = false, QObject* parent = 0, const char* name = 0 )
+ : K3bPlugin( parent, name ),
+ m_type(type),
+ m_hasGUI(gui) {
+ }
+
+ virtual ~K3bProjectPlugin() {
+ }
+
+ // TODO: move this to K3bDoc?
+ enum Type {
+ AUDIO_CD = 0x1,
+ DATA_CD = 0x2,
+ MIXED_CD = 0x4,
+ VIDEO_CD = 0x8,
+ MOVIX_CD = 0x10,
+ DATA_DVD = 0x20,
+ VIDEO_DVD = 0x40,
+ MOVIX_DVD = 0x80,
+ DATA_PROJECTS = DATA_CD|DATA_DVD,
+ MOVIX_PROJECTS = MOVIX_CD|MOVIX_DVD
+ };
+
+ // TODO: maybe we should use something like "ProjectPlugin/AudioCD" based on the type?
+ QString group() const { return "ProjectPlugin"; }
+
+ /**
+ * audio, data, videocd, or videodvd
+ * Needs to return a proper type. The default implementation returns the type specified
+ * in the constructor.
+ */
+ virtual int type() const { return m_type; }
+
+ /**
+ * Text used for menu entries and the like.
+ */
+ const QString& text() const { return m_text; }
+ const QString& toolTip() const { return m_toolTip; }
+ const QString& whatsThis() const { return m_whatsThis; }
+ const QString& icon() const { return m_icon; }
+
+ bool hasGUI() const { return m_hasGUI; }
+
+ /**
+ * Create the GUI which provides the features for the plugin.
+ * This only needs to be implemented in case hasGUI returns true.
+ * The returned object has to be a QWidget based class.
+ *
+ * @param doc based on the type returned by the factory
+ * this will be the doc to work on. It should
+ * be dynamically casted to the needed project type.
+ */
+ virtual K3bProjectPluginGUIBase* createGUI( K3bDoc* doc, QWidget* = 0, const char* = 0 ) { Q_UNUSED(doc); return 0; }
+
+ /**
+ * This is where the action happens.
+ * There is no need to implement this in case hasGUI returns true.
+ *
+ * @param doc based on the type returned by the factory
+ * this will be the doc to work on. It should
+ * be dynamically casted to the needed project type.
+ *
+ * @param parent the parent widget to be used for things like progress dialogs.
+ */
+ virtual void activate( K3bDoc* doc, QWidget* parent ) { Q_UNUSED(doc); Q_UNUSED(parent); }
+
+ protected:
+ void setText( const QString& s ) { m_text = s; }
+ void setToolTip( const QString& s ) { m_toolTip = s; }
+ void setWhatsThis( const QString& s ) { m_whatsThis = s; }
+ void setIcon( const QString& s ) { m_icon = s; }
+
+ private:
+ int m_type;
+ bool m_hasGUI;
+ QString m_text;
+ QString m_toolTip;
+ QString m_whatsThis;
+ QString m_icon;
+};
+
+
+#endif
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/Makefile.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/Makefile.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/Makefile.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,20 @@
+# This file was automatically generated from the Makefile.am
+# DO NOT EDIT!
+
+noinst_LTLIBRARIES = libsamplerate.la
+#include_HEADERS = samplerate.h
+
+EXTRA_DIST = config.h.in Version_script.in
+
+COEFF_HDRS = high_qual_coeffs.h mid_qual_coeffs.h fastest_coeffs.h
+
+noinst_HEADERS = common.h float_cast.h $(COEFF_HDRS)
+
+SRC_SOURCES = samplerate.c src_sinc.c src_zoh.c src_linear.c
+
+libsamplerate_la_SOURCES = $(SRC_SOURCES)
+#libsamplerate_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@
+libsamplerate_la_LIBADD = -lm
+
+# Disable autoheader.
+#AUTOHEADER=echo
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/Makefile.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/Makefile.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/Makefile.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,708 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 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.
+
+ at SET_MAKE@
+
+# This file was automatically generated from the Makefile.am
+# DO NOT EDIT!
+
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = libk3b/plugin/libsamplerate
+DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+LTLIBRARIES = $(noinst_LTLIBRARIES)
+libsamplerate_la_DEPENDENCIES =
+am__objects_1 = samplerate.lo src_sinc.lo src_zoh.lo src_linear.lo
+am_libsamplerate_la_OBJECTS = $(am__objects_1)
+#>- libsamplerate_la_OBJECTS = $(am_libsamplerate_la_OBJECTS)
+#>+ 1
+libsamplerate_la_OBJECTS = $(am__objects_1)
+DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+SOURCES = $(libsamplerate_la_SOURCES)
+DIST_SOURCES = $(libsamplerate_la_SOURCES)
+HEADERS = $(noinst_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ACLOCAL = @ACLOCAL@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+ARTS_LIBS = @ARTS_LIBS@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAM_LIB = @CAM_LIB@
+CC = @CC@
+CCAS = @CCAS@
+CCASDEPMODE = @CCASDEPMODE@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DBUSQT_INCS = @DBUSQT_INCS@
+DBUSQT_LIBS = @DBUSQT_LIBS@
+DBUS_INCS = @DBUS_INCS@
+DBUS_LIBS = @DBUS_LIBS@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+GREP = @GREP@
+GV_ASM_DEFS = @GV_ASM_DEFS@
+HAL_DBUS_LIBS = @HAL_DBUS_LIBS@
+HAL_INCS = @HAL_INCS@
+HAL_LIBS = @HAL_LIBS@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+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_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSAMPLERATE = @LIBSAMPLERATE@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAD_LIB = @MAD_LIB@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MPC_LIBS = @MPC_LIBS@
+MSGFMT = @MSGFMT@
+MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+RESMGR_LIB = @RESMGR_LIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+TAGLIB_CONFIG = @TAGLIB_CONFIG@
+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@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+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_kcfgdir = @kde_kcfgdir@
+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@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+taglib_includes = @taglib_includes@
+taglib_libs = @taglib_libs@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+noinst_LTLIBRARIES = libsamplerate.la
+#include_HEADERS = samplerate.h
+EXTRA_DIST = config.h.in Version_script.in
+COEFF_HDRS = high_qual_coeffs.h mid_qual_coeffs.h fastest_coeffs.h
+noinst_HEADERS = common.h float_cast.h $(COEFF_HDRS)
+SRC_SOURCES = samplerate.c src_sinc.c src_zoh.c src_linear.c
+libsamplerate_la_SOURCES = $(SRC_SOURCES)
+#libsamplerate_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@
+libsamplerate_la_LIBADD = -lm
+#>- all: all-am
+#>+ 1
+all: docs-am all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/plugin/libsamplerate/Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --gnu libk3b/plugin/libsamplerate/Makefile
+#>+ 12
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/plugin/libsamplerate/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu libk3b/plugin/libsamplerate/Makefile
+ cd $(top_srcdir) && perl admin/am_edit libk3b/plugin/libsamplerate/Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-noinstLTLIBRARIES:
+ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+ @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" != "$$p" || dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+libsamplerate.la: $(libsamplerate_la_OBJECTS) $(libsamplerate_la_DEPENDENCIES)
+ $(LINK) $(libsamplerate_la_OBJECTS) $(libsamplerate_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/samplerate.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/src_linear.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/src_sinc.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/src_zoh.Plo at am__quote@
+
+.c.o:
+ at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(COMPILE) -c $<
+
+.c.obj:
+ at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+ at am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+ at am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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 "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-am
+#>+ 1
+clean: kde-rpo-clean clean-am
+
+#>- clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
+#>- mostlyclean-am
+#>+ 2
+clean-am: clean-bcheck clean-generic clean-libtool clean-noinstLTLIBRARIES \
+ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+ clean-libtool clean-noinstLTLIBRARIES ctags distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
+ pdf pdf-am ps ps-am tags uninstall uninstall-am
+
+
+# Disable autoheader.
+#AUTOHEADER=echo
+# 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
+KDE_DIST=configure.in.in fastest_coeffs.h Makefile.in high_qual_coeffs.h Makefile.am mid_qual_coeffs.h
+
+#>+ 2
+docs-am:
+
+#>+ 15
+force-reedit:
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/plugin/libsamplerate/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu libk3b/plugin/libsamplerate/Makefile
+ cd $(top_srcdir) && perl admin/am_edit libk3b/plugin/libsamplerate/Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-am
+
+bcheck-am:
+ @for i in ; do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXX) $(DEFS) -I. -I$(srcdir) -I$(top_builddir) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 3
+final:
+ $(MAKE) all-am
+
+#>+ 3
+final-install:
+ $(MAKE) install-am
+
+#>+ 3
+no-final:
+ $(MAKE) all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 3
+nmcheck:
+nmcheck-am: nmcheck
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/common.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/common.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/common.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,105 @@
+/*
+** Copyright (C) 2002,2003 Erik de Castro Lopo <erikd at mega-nerd.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 of the License, or
+** (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA.
+*/
+
+#ifndef COMMON_H_INCLUDED
+#define COMMON_H_INCLUDED
+
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#elif (SIZEOF_INT == 4)
+typedef int int32_t ;
+#elif (SIZEOF_LONG == 4)
+typedef long int32_t ;
+#endif
+
+#define SRC_MAX_RATIO 12
+#define SRC_MIN_RATIO_DIFF (1e-20)
+
+#define MAX(a,b) (((a) > (b)) ? (a) : (b))
+#define MIN(a,b) (((a) < (b)) ? (a) : (b))
+
+#define MAKE_MAGIC(a,b,c,d,e,f) ((a)+((b)<<4)+((c)<<8)+((d)<<12)+((e)<<16)+((f)<<20))
+
+#include "samplerate.h"
+
+enum
+{ SRC_FALSE = 0,
+ SRC_TRUE = 1
+} ;
+
+enum
+{ SRC_ERR_NO_ERROR = 0,
+
+ SRC_ERR_MALLOC_FAILED,
+ SRC_ERR_BAD_STATE,
+ SRC_ERR_BAD_DATA,
+ SRC_ERR_BAD_DATA_PTR,
+ SRC_ERR_NO_PRIVATE,
+ SRC_ERR_BAD_SRC_RATIO,
+ SRC_ERR_BAD_PROC_PTR,
+ SRC_ERR_SHIFT_BITS,
+ SRC_ERR_FILTER_LEN,
+ SRC_ERR_BAD_CONVERTER,
+ SRC_ERR_BAD_CHANNEL_COUNT,
+ SRC_ERR_SINC_BAD_BUFFER_LEN,
+ SRC_ERR_SIZE_INCOMPATIBILITY,
+ SRC_ERR_BAD_PRIV_PTR,
+ SRC_ERR_BAD_SINC_STATE,
+ SRC_ERR_DATA_OVERLAP,
+
+ /* This must be the last error number. */
+ SRC_ERR_MAX_ERROR
+} ;
+
+typedef struct SRC_PRIVATE_tag
+{ double last_ratio, last_position ;
+
+ void *private_data ;
+
+ int (*process) (struct SRC_PRIVATE_tag *psrc, SRC_DATA *data) ;
+ void (*reset) (struct SRC_PRIVATE_tag *psrc) ;
+
+ int error ;
+ int channels ;
+} SRC_PRIVATE ;
+
+/* In src_sinc.c */
+int sinc_process (SRC_PRIVATE *psrc, SRC_DATA *data) ;
+
+const char* sinc_get_name (int src_enum) ;
+const char* sinc_get_description (int src_enum) ;
+
+int sinc_set_converter (SRC_PRIVATE *psrc, int src_enum) ;
+
+/* In src_linear.c */
+int linear_process (SRC_PRIVATE *psrc, SRC_DATA *data) ;
+
+const char* linear_get_name (int src_enum) ;
+const char* linear_get_description (int src_enum) ;
+
+int linear_set_converter (SRC_PRIVATE *psrc, int src_enum) ;
+
+/* In src_zoh.c */
+int zoh_process (SRC_PRIVATE *psrc, SRC_DATA *data) ;
+
+const char* zoh_get_name (int src_enum) ;
+const char* zoh_get_description (int src_enum) ;
+
+int zoh_set_converter (SRC_PRIVATE *psrc, int src_enum) ;
+
+#endif /* COMMON_H_INCLUDED */
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/configure.in.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/configure.in.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/configure.in.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,13 @@
+LIBS="-lm $all_libraries"
+
+AC_CHECK_DECL(lrint,
+ AC_DEFINE(HAVE_LRINT,1,[Define if lrint is supported]),
+ AC_DEFINE(HAVE_LRINT,0,[Define if lrint is not supported]),
+ [#include <math.h>]
+)
+
+AC_CHECK_DECL(lrintf,
+ AC_DEFINE(HAVE_LRINTF,1,[Define if lrintf is supported]),
+ AC_DEFINE(HAVE_LRINTF,0,[Define if lrintf is not supported]),
+ [#include <math.h>]
+)
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/fastest_coeffs.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/fastest_coeffs.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/fastest_coeffs.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,2493 @@
+/*
+** Copyright (C) 2002,2003 Erik de Castro Lopo <erikd at mega-nerd.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 of the License, or
+** (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA.
+*/
+
+
+/*
+** f = make_filter (8, 128, 100.3) ;
+** Pass band width : 0.0039062 (should be 0.0039062)
+** Stop band atten. : 100.71 dB
+** -3dB band width : 0.484
+** half length : 2463
+** increment : 128
+*/
+
+ 8.31472372954840555082e-01,
+ 8.31414005540308198583e-01,
+ 8.31238918266223869580e-01,
+ 8.30947156036480505392e-01,
+ 8.30538793675450581766e-01,
+ 8.30013935904800659316e-01,
+ 8.29372717311066987023e-01,
+ 8.28615302303967515840e-01,
+ 8.27741885065490623496e-01,
+ 8.26752689489751890761e-01,
+ 8.25647969113678215081e-01,
+ 8.24428007038499943704e-01,
+ 8.23093115842108757896e-01,
+ 8.21643637482293187624e-01,
+ 8.20079943190897053817e-01,
+ 8.18402433358933589780e-01,
+ 8.16611537412689103554e-01,
+ 8.14707713680854150873e-01,
+ 8.12691449252757824873e-01,
+ 8.10563259827706050764e-01,
+ 8.08323689555523805517e-01,
+ 8.05973310868314363198e-01,
+ 8.03512724303517833491e-01,
+ 8.00942558318331943035e-01,
+ 7.98263469095534694553e-01,
+ 7.95476140340800830231e-01,
+ 7.92581283071560838138e-01,
+ 7.89579635397499868255e-01,
+ 7.86471962292734527722e-01,
+ 7.83259055359786127148e-01,
+ 7.79941732585400893107e-01,
+ 7.76520838088307852054e-01,
+ 7.72997241859018080490e-01,
+ 7.69371839491718167992e-01,
+ 7.65645551908390675777e-01,
+ 7.61819325075220210586e-01,
+ 7.57894129711408459649e-01,
+ 7.53870960990470018181e-01,
+ 7.49750838234153449413e-01,
+ 7.45534804599028211314e-01,
+ 7.41223926755909090502e-01,
+ 7.36819294562192195208e-01,
+ 7.32322020727209643809e-01,
+ 7.27733240470738174110e-01,
+ 7.23054111174766811487e-01,
+ 7.18285812028632841830e-01,
+ 7.13429543667664534112e-01,
+ 7.08486527805442301009e-01,
+ 7.03458006859804640953e-01,
+ 6.98345243572719653891e-01,
+ 6.93149520624175785599e-01,
+ 6.87872140240182283755e-01,
+ 6.82514423795047564525e-01,
+ 6.77077711408058502407e-01,
+ 6.71563361534684655219e-01,
+ 6.65972750552474845875e-01,
+ 6.60307272341742135247e-01,
+ 6.54568337861228477514e-01,
+ 6.48757374718860524432e-01,
+ 6.42875826737744904271e-01,
+ 6.36925153517562181449e-01,
+ 6.30906829991492501541e-01,
+ 6.24822345978837789815e-01,
+ 6.18673205733470954470e-01,
+ 6.12460927488293727095e-01,
+ 6.06187042995817604307e-01,
+ 5.99853097065060292259e-01,
+ 5.93460647094893878339e-01,
+ 5.87011262603992944875e-01,
+ 5.80506524757569142281e-01,
+ 5.73948025891025337408e-01,
+ 5.67337369030688098981e-01,
+ 5.60676167411809700525e-01,
+ 5.53966043993961543279e-01,
+ 5.47208630974010734604e-01,
+ 5.40405569296826038261e-01,
+ 5.33558508163880174102e-01,
+ 5.26669104539922661168e-01,
+ 5.19739022657876970079e-01,
+ 5.12769933522119303326e-01,
+ 5.05763514410336290084e-01,
+ 4.98721448374081555155e-01,
+ 4.91645423738241937883e-01,
+ 4.84537133599546865348e-01,
+ 4.77398275324308896117e-01,
+ 4.70230550045545592219e-01,
+ 4.63035662159660077464e-01,
+ 4.55815318822846149427e-01,
+ 4.48571229447379538069e-01,
+ 4.41305105197960123586e-01,
+ 4.34018658488283970431e-01,
+ 4.26713602477997000495e-01,
+ 4.19391650570203500248e-01,
+ 4.12054515909689722530e-01,
+ 4.04703910882034223473e-01,
+ 3.97341546613763640927e-01,
+ 3.89969132473721613596e-01,
+ 3.82588375575806771689e-01,
+ 3.75200980283257823356e-01,
+ 3.67808647714624070701e-01,
+ 3.60413075251609871241e-01,
+ 3.53015956048925771960e-01,
+ 3.45618978546330835044e-01,
+ 3.38223825983006376461e-01,
+ 3.30832175914426429575e-01,
+ 3.23445699731881031180e-01,
+ 3.16066062184803764357e-01,
+ 3.08694920906066150312e-01,
+ 3.01333925940378832831e-01,
+ 2.93984719275965256102e-01,
+ 2.86648934379644393378e-01,
+ 2.79328195735489559492e-01,
+ 2.72024118387182545220e-01,
+ 2.64738307484245039003e-01,
+ 2.57472357832259801658e-01,
+ 2.50227853447243409057e-01,
+ 2.43006367114305704691e-01,
+ 2.35809459950733935063e-01,
+ 2.28638680973647728800e-01,
+ 2.21495566672345989279e-01,
+ 2.14381640585498134399e-01,
+ 2.07298412883298144305e-01,
+ 2.00247379954717363848e-01,
+ 1.93230023999986955108e-01,
+ 1.86247812628430653437e-01,
+ 1.79302198461779749294e-01,
+ 1.72394618743085786816e-01,
+ 1.65526494951356295537e-01,
+ 1.58699232422028796430e-01,
+ 1.51914219973401071195e-01,
+ 1.45172829539132269838e-01,
+ 1.38476415806921215879e-01,
+ 1.31826315863480453272e-01,
+ 1.25223848845901208904e-01,
+ 1.18670315599523901184e-01,
+ 1.12166998342411894374e-01,
+ 1.05715160336527447260e-01,
+ 9.93160455657086521652e-02,
+ 9.29708784205405536216e-02,
+ 8.66808633902153846673e-02,
+ 8.04471847614677826321e-02,
+ 7.42710063246745516574e-02,
+ 6.81534710872001986415e-02,
+ 6.20957009940759641076e-02,
+ 5.60987966560835549235e-02,
+ 5.01638370853247708703e-02,
+ 4.42918794383505357026e-02,
+ 3.84839587669171534490e-02,
+ 3.27410877764400740086e-02,
+ 2.70642565922108620236e-02,
+ 2.14544325334371267788e-02,
+ 1.59125598951669576520e-02,
+ 1.04395597381551803740e-02,
+ 5.03632968672305773861e-03,
+-2.96256265336385191805e-04,
+-5.55734794075828358179e-03,
+-1.07461191566687631893e-02,
+-1.58617678942645466689e-02,
+-2.09035164602743607498e-02,
+-2.58706116401622790435e-02,
+-3.07623248430414844568e-02,
+-3.55779522382659724178e-02,
+-4.03168148836769782428e-02,
+-4.49782588454727128013e-02,
+-4.95616553096875425699e-02,
+-5.40664006852556791594e-02,
+-5.84919166986474642345e-02,
+-6.28376504800633867154e-02,
+-6.71030746411782619276e-02,
+-7.12876873444269476554e-02,
+-7.53910123638282386738e-02,
+-7.94125991373483691715e-02,
+-8.33520228108008270906e-02,
+-8.72088842732959695914e-02,
+-9.09828101842390379872e-02,
+-9.46734529918955292072e-02,
+-9.82804909435327500589e-02,
+-1.01803628087157427284e-01,
+-1.05242594264867719844e-01,
+-1.08597145097841310535e-01,
+-1.11867061962988789681e-01,
+-1.15052151961296145188e-01,
+-1.18152247877890054228e-01,
+-1.21167208133862752684e-01,
+-1.24096916729885473063e-01,
+-1.26941283181660202750e-01,
+-1.29700242447243679900e-01,
+-1.32373754846295377252e-01,
+-1.34961805971292009287e-01,
+-1.37464406590764143257e-01,
+-1.39881592544604443917e-01,
+-1.42213424631507739937e-01,
+-1.44459988488595730827e-01,
+-1.46621394463294696386e-01,
+-1.48697777477524800682e-01,
+-1.50689296884269657850e-01,
+-1.52596136316595465399e-01,
+-1.54418503529190731527e-01,
+-1.56156630232500315270e-01,
+-1.57810771919529219121e-01,
+-1.59381207685401427021e-01,
+-1.60868240039743037872e-01,
+-1.62272194711985145998e-01,
+-1.63593420449666626659e-01,
+-1.64832288809824062392e-01,
+-1.65989193943563151379e-01,
+-1.67064552373901109572e-01,
+-1.68058802766975601273e-01,
+-1.68972405696717037360e-01,
+-1.69805843403086798027e-01,
+-1.70559619543971530131e-01,
+-1.71234258940853617537e-01,
+-1.71830307318344255307e-01,
+-1.72348331037702334756e-01,
+-1.72788916824434257702e-01,
+-1.73152671490098081231e-01,
+-1.73440221648409775845e-01,
+-1.73652213425782242506e-01,
+-1.73789312166397952319e-01,
+-1.73852202131942051855e-01,
+-1.73841586196111674845e-01,
+-1.73758185534021086793e-01,
+-1.73602739306629005878e-01,
+-1.73376004340306061335e-01,
+-1.73078754801670009478e-01,
+-1.72711781867818603420e-01,
+-1.72275893392080048372e-01,
+-1.71771913565416961545e-01,
+-1.71200682573611373538e-01,
+-1.70563056250360139954e-01,
+-1.69859905726417126370e-01,
+-1.69092117074913228514e-01,
+-1.68260590952989147473e-01,
+-1.67366242239875284703e-01,
+-1.66409999671557895518e-01,
+-1.65392805472166642966e-01,
+-1.64315614982222552021e-01,
+-1.63179396283883837437e-01,
+-1.61985129823331186483e-01,
+-1.60733808030429803360e-01,
+-1.59426434935813571281e-01,
+-1.58064025785527417778e-01,
+-1.56647606653372045704e-01,
+-1.55178214051094831571e-01,
+-1.53656894536566474008e-01,
+-1.52084704320088470730e-01,
+-1.50462708868975059140e-01,
+-1.48791982510548842500e-01,
+-1.47073608033699704256e-01,
+-1.45308676289147314931e-01,
+-1.43498285788550977715e-01,
+-1.41643542302611558092e-01,
+-1.39745558458309881988e-01,
+-1.37805453335422323224e-01,
+-1.35824352062461073398e-01,
+-1.33803385412180564362e-01,
+-1.31743689396791985313e-01,
+-1.29646404863030306753e-01,
+-1.27512677087215337002e-01,
+-1.25343655370452389253e-01,
+-1.23140492634104758984e-01,
+-1.20904345015691472298e-01,
+-1.18636371465341922127e-01,
+-1.16337733342949820048e-01,
+-1.14009594016166518338e-01,
+-1.11653118459372716065e-01,
+-1.09269472853762789066e-01,
+-1.06859824188683741331e-01,
+-1.04425339864360325337e-01,
+-1.01967187296145456177e-01,
+-9.94865335204263567803e-02,
+-9.69845448023236023083e-02,
+-9.44623862453117940641e-02,
+-9.19212214028948121358e-02,
+-8.93622118924671249296e-02,
+-8.67865170114848205607e-02,
+-8.41952933560805999447e-02,
+-8.15896944422443981537e-02,
+-7.89708703296961439522e-02,
+-7.63399672485739477779e-02,
+-7.36981272290610500697e-02,
+-7.10464877340710454501e-02,
+-6.83861812951113146042e-02,
+-6.57183351514422919859e-02,
+-6.30440708926501142129e-02,
+-6.03645041047437408421e-02,
+-5.76807440198948140342e-02,
+-5.49938931699267691267e-02,
+-5.23050470436661057994e-02,
+-4.96152937482609926456e-02,
+-4.69257136745778041798e-02,
+-4.42373791667729082677e-02,
+-4.15513541961495605492e-02,
+-3.88686940393953503370e-02,
+-3.61904449613011935938e-02,
+-3.35176439020573244121e-02,
+-3.08513181692228674602e-02,
+-2.81924851344595717162e-02,
+-2.55421519351213023585e-02,
+-2.29013151807887539724e-02,
+-2.02709606648342685609e-02,
+-1.76520630811025022733e-02,
+-1.50455857457888787787e-02,
+-1.24524803245954687053e-02,
+-9.87368656524285036313e-03,
+-7.31013203541311037958e-03,
+-4.76273186619807602227e-03,
+-2.23238850112297869746e-03,
+ 2.80008549183706099625e-04,
+ 2.77358294660976899965e-03,
+ 5.24747175940274562800e-03,
+ 7.70082569017439908660e-03,
+ 1.01328092980087648006e-02,
+ 1.25426012146140665460e-02,
+ 1.49293943544662570388e-02,
+ 1.72923961188884665885e-02,
+ 1.96308285940195309527e-02,
+ 2.19439287426209730936e-02,
+ 2.42309485896793734561e-02,
+ 2.64911554017603391442e-02,
+ 2.87238318600733545660e-02,
+ 3.09282762272103349532e-02,
+ 3.31038025075217068327e-02,
+ 3.52497406010981520486e-02,
+ 3.73654364513253609004e-02,
+ 3.94502521859858221176e-02,
+ 4.15035662518817155542e-02,
+ 4.35247735429537541130e-02,
+ 4.55132855218787699125e-02,
+ 4.74685303351244439196e-02,
+ 4.93899529214478216765e-02,
+ 5.12770151138242716304e-02,
+ 5.31291957347935772660e-02,
+ 5.49459906852194576721e-02,
+ 5.67269130264521220797e-02,
+ 5.84714930558940249039e-02,
+ 6.01792783759655322551e-02,
+ 6.18498339564735599705e-02,
+ 6.34827421903864652641e-02,
+ 6.50776029430226859995e-02,
+ 6.66340335946605799577e-02,
+ 6.81516690765814614483e-02,
+ 6.96301619005592065115e-02,
+ 7.10691821818139612965e-02,
+ 7.24684176554465098175e-02,
+ 7.38275736863740761340e-02,
+ 7.51463732727930683319e-02,
+ 7.64245570431912463194e-02,
+ 7.76618832469397474272e-02,
+ 7.88581277384926976337e-02,
+ 8.00130839552289779837e-02,
+ 8.11265628889681067459e-02,
+ 8.21983930512013155623e-02,
+ 8.32284204320703352442e-02,
+ 8.42165084531432683868e-02,
+ 8.51625379140240473808e-02,
+ 8.60664069328434949702e-02,
+ 8.69280308806818224898e-02,
+ 8.77473423099686122839e-02,
+ 8.85242908769151987114e-02,
+ 8.92588432580306151420e-02,
+ 8.99509830607803234637e-02,
+ 9.06007107284422380511e-02,
+ 9.12080434392217309636e-02,
+ 9.17730149996878741270e-02,
+ 9.22956757325926607782e-02,
+ 9.27760923591415126443e-02,
+ 9.32143478757788968014e-02,
+ 9.36105414255621187669e-02,
+ 9.39647881641913207407e-02,
+ 9.42772191207702781046e-02,
+ 9.45479810533706027664e-02,
+ 9.47772362994778183598e-02,
+ 9.49651626213951355338e-02,
+ 9.51119530466846413441e-02,
+ 9.52178157037280176178e-02,
+ 9.52829736524876819148e-02,
+ 9.53076647105531166160e-02,
+ 9.52921412745576373871e-02,
+ 9.52366701370536278271e-02,
+ 9.51415322989309503177e-02,
+ 9.50070227774735681647e-02,
+ 9.48334504101390751707e-02,
+ 9.46211376541590265532e-02,
+ 9.43704203820504156086e-02,
+ 9.40816476731309581094e-02,
+ 9.37551816011396865758e-02,
+ 9.33913970180541563870e-02,
+ 9.29906813342047527948e-02,
+ 9.25534342947849225647e-02,
+ 9.20800677528557931506e-02,
+ 9.15710054389489019888e-02,
+ 9.10266827273659706599e-02,
+ 9.04475463992783224043e-02,
+ 8.98340544027328158361e-02,
+ 8.91866756096650198371e-02,
+ 8.85058895700238101867e-02,
+ 8.77921862631190763615e-02,
+ 8.70460658462897246546e-02,
+ 8.62680384010083983748e-02,
+ 8.54586236765221690659e-02,
+ 8.46183508311429133375e-02,
+ 8.37477581712920277068e-02,
+ 8.28473928884114751980e-02,
+ 8.19178107938471483651e-02,
+ 8.09595760518180135312e-02,
+ 7.99732609105757996648e-02,
+ 7.89594454318716387764e-02,
+ 7.79187172188340326784e-02,
+ 7.68516711423724852015e-02,
+ 7.57589090662164482692e-02,
+ 7.46410395707000073884e-02,
+ 7.34986776754032733461e-02,
+ 7.23324445607601979047e-02,
+ 7.11429672887474440213e-02,
+ 6.99308785227581580779e-02,
+ 6.86968162467783832748e-02,
+ 6.74414234839716131287e-02,
+ 6.61653480147834510694e-02,
+ 6.48692420946761771905e-02,
+ 6.35537621716019962559e-02,
+ 6.22195686033254202751e-02,
+ 6.08673253747022482973e-02,
+ 5.94976998150253330588e-02,
+ 5.81113623155428762890e-02,
+ 5.67089860472591994478e-02,
+ 5.52912466791220663653e-02,
+ 5.38588220967053943333e-02,
+ 5.24123921214928872869e-02,
+ 5.09526382308646275110e-02,
+ 4.94802432788957607945e-02,
+ 4.79958912180662375380e-02,
+ 4.65002668219884549017e-02,
+ 4.49940554092515265783e-02,
+ 4.34779425684853407241e-02,
+ 4.19526138847447563340e-02,
+ 4.04187546673120054463e-02,
+ 3.88770496790168534895e-02,
+ 3.73281828671714888124e-02,
+ 3.57728370962169389680e-02,
+ 3.42116938821758476141e-02,
+ 3.26454331290065291604e-02,
+ 3.10747328669506231447e-02,
+ 2.95002689929673225788e-02,
+ 2.79227150133440210622e-02,
+ 2.63427417885741359249e-02,
+ 2.47610172805882329528e-02,
+ 2.31782063024293799591e-02,
+ 2.15949702704538760989e-02,
+ 2.00119669591453143431e-02,
+ 1.84298502586232419709e-02,
+ 1.68492699349288496680e-02,
+ 1.52708713931675090641e-02,
+ 1.36952954435869880129e-02,
+ 1.21231780706691841254e-02,
+ 1.05551502053105091677e-02,
+ 8.99183750016553651196e-03,
+ 7.43386010822696258193e-03,
+ 5.88183246471273707412e-03,
+ 4.33636307232945251988e-03,
+ 2.79805428998205086427e-03,
+ 1.26750212499337003291e-03,
+-2.54703971099550386531e-04,
+-1.76798130311027175757e-03,
+-3.27175412906725469539e-03,
+-4.76545385331804925710e-03,
+-6.24851921581533794464e-03,
+-7.72039647752874400727e-03,
+-9.18053960192777122884e-03,
+-1.06284104324833178490e-02,
+-1.20634788661366718077e-02,
+-1.34852230226875247771e-02,
+-1.48931294100519973078e-02,
+-1.62866930853476296615e-02,
+-1.76654178117594401476e-02,
+-1.90288162111466874205e-02,
+-2.03764099123495759369e-02,
+-2.17077296951579609696e-02,
+-2.30223156299061669505e-02,
+-2.43197172126588360974e-02,
+-2.55994934959561624976e-02,
+-2.68612132150869431513e-02,
+-2.81044549098614510063e-02,
+-2.93288070418574950415e-02,
+-3.05338681071131295974e-02,
+-3.17192467442452205595e-02,
+-3.28845618379712614776e-02,
+-3.40294426180154721551e-02,
+-3.51535287533818185945e-02,
+-3.62564704419792716017e-02,
+-3.73379284955845242022e-02,
+-3.83975744201309962533e-02,
+-3.94350904913155775322e-02,
+-4.04501698255130062720e-02,
+-4.14425164459938585870e-02,
+-4.24118453444415760556e-02,
+-4.33578825377650758921e-02,
+-4.42803651202084772032e-02,
+-4.51790413107587551789e-02,
+-4.60536704958539877541e-02,
+-4.69040232673985507672e-02,
+-4.77298814560914094751e-02,
+-4.85310381600771723054e-02,
+-4.93072977689298017068e-02,
+-5.00584759829825892696e-02,
+-5.07843998280173986037e-02,
+-5.14849076653303427964e-02,
+-5.21598491971914657306e-02,
+-5.28090854677170859488e-02,
+-5.34324888591782357072e-02,
+-5.40299430837655400572e-02,
+-5.46013431708381041796e-02,
+-5.51465954496810906171e-02,
+-5.56656175277993395256e-02,
+-5.61583382647804357779e-02,
+-5.66246977417538960298e-02,
+-5.70646472264832865795e-02,
+-5.74781491341238848225e-02,
+-5.78651769836829588112e-02,
+-5.82257153502198851469e-02,
+-5.85597598128258789441e-02,
+-5.88673168984241990120e-02,
+-5.91484040214318093631e-02,
+-5.94030494193287308957e-02,
+-5.96312920841784027681e-02,
+-5.98331816901454746627e-02,
+-6.00087785170606569096e-02,
+-6.01581533700810480725e-02,
+-6.02813874954959694197e-02,
+-6.03785724927326447609e-02,
+-6.04498102226119424230e-02,
+-6.04952127119116611631e-02,
+-6.05149020542914278797e-02,
+-6.05090103076376881197e-02,
+-6.04776793878847099273e-02,
+-6.04210609593744951695e-02,
+-6.03393163218124903291e-02,
+-6.02326162938837256222e-02,
+-6.01011410935896536745e-02,
+-5.99450802153716350018e-02,
+-5.97646323040843391317e-02,
+-5.95600050258849322837e-02,
+-5.93314149361059764431e-02,
+-5.90790873441773764507e-02,
+-5.88032561756684640786e-02,
+-5.85041638315173181950e-02,
+-5.81820610445198463379e-02,
+-5.78372067331465664064e-02,
+-5.74698678527617162759e-02,
+-5.70803192443151696800e-02,
+-5.66688434805820984153e-02,
+-5.62357307100216502471e-02,
+-5.57812784983319834287e-02,
+-5.53057916677746758127e-02,
+-5.48095821343453915020e-02,
+-5.42929687428649263015e-02,
+-5.37562771000702349644e-02,
+-5.31998394057807341695e-02,
+-5.26239942822169029513e-02,
+-5.20290866015511582754e-02,
+-5.14154673117670768523e-02,
+-5.07834932609073572141e-02,
+-5.01335270197884388943e-02,
+-4.94659367032617980353e-02,
+-4.87810957901005926018e-02,
+-4.80793829415919610204e-02,
+-4.73611818189140221236e-02,
+-4.66268808993793651418e-02,
+-4.58768732916221277929e-02,
+-4.51115565498113532672e-02,
+-4.43313324869706107401e-02,
+-4.35366069874822472774e-02,
+-4.27277898188581847783e-02,
+-4.19052944428566706558e-02,
+-4.10695378260253277092e-02,
+-4.02209402497498702544e-02,
+-3.93599251198885058400e-02,
+-3.84869187760717781921e-02,
+-3.76023503007467674308e-02,
+-3.67066513280452297319e-02,
+-3.58002558525536487832e-02,
+-3.48836000380640318119e-02,
+-3.39571220263849699039e-02,
+-3.30212617462878818553e-02,
+-3.20764607226682249563e-02,
+-3.11231618859974003277e-02,
+-3.01618093821427596390e-02,
+-2.91928483826300218251e-02,
+-2.82167248954252464221e-02,
+-2.72338855763107207109e-02,
+-2.62447775409285488646e-02,
+-2.52498481775659533444e-02,
+-2.42495449607560524530e-02,
+-2.32443152657647901516e-02,
+-2.22346061840382018537e-02,
+-2.12208643396787077773e-02,
+-2.02035357070221716080e-02,
+-1.91830654293842946256e-02,
+-1.81598976390459701524e-02,
+-1.71344752785447841659e-02,
+-1.61072399233397958729e-02,
+-1.50786316059164128556e-02,
+-1.40490886413957953571e-02,
+-1.30190474547137412242e-02,
+-1.19889424094323342185e-02,
+-1.09592056382471266657e-02,
+-9.93026687525074697183e-03,
+-8.90255329001433948211e-03,
+-7.87648932354562125724e-03,
+-6.85249652618241146540e-03,
+-5.83099339747908569642e-03,
+-4.81239522814202146106e-03,
+-3.79711394406930576734e-03,
+-2.78555795254968683455e-03,
+-1.77813199067227692071e-03,
+-7.75236976000132386663e-04,
+ 2.22730140442126654798e-04,
+ 1.21537651881706244492e-03,
+ 2.20231357271108733539e-03,
+ 3.18315710891246220898e-03,
+ 4.15752746468348553799e-03,
+ 5.12504964248380791986e-03,
+ 6.08535344210042478813e-03,
+ 7.03807359014245199208e-03,
+ 7.98284986685961206465e-03,
+ 8.91932723024580452476e-03,
+ 9.84715593738785290034e-03,
+ 1.07659916630240357766e-02,
+ 1.16754956152756248638e-02,
+ 1.25753346485176220604e-02,
+ 1.34651813733560731662e-02,
+ 1.43447142636787781933e-02,
+ 1.52136177607511777904e-02,
+ 1.60715823743268690360e-02,
+ 1.69183047807457617728e-02,
+ 1.77534879179936204430e-02,
+ 1.85768410776981605925e-02,
+ 1.93880799940382604618e-02,
+ 2.01869269295435888045e-02,
+ 2.09731107577651766649e-02,
+ 2.17463670427963037812e-02,
+ 2.25064381156266125894e-02,
+ 2.32530731473125917841e-02,
+ 2.39860282189490944815e-02,
+ 2.47050663884288181082e-02,
+ 2.54099577539762186418e-02,
+ 2.61004795144461655687e-02,
+ 2.67764160263764816605e-02,
+ 2.74375588577874841845e-02,
+ 2.80837068387202806741e-02,
+ 2.87146661085097808230e-02,
+ 2.93302501597869115513e-02,
+ 2.99302798792087168533e-02,
+ 3.05145835849139068774e-02,
+ 3.10829970607048658437e-02,
+ 3.16353635869560598226e-02,
+ 3.21715339682534032240e-02,
+ 3.26913665577675052742e-02,
+ 3.31947272783659833029e-02,
+ 3.36814896404726560331e-02,
+ 3.41515347566807569990e-02,
+ 3.46047513531298478462e-02,
+ 3.50410357776568884280e-02,
+ 3.54602920047340924858e-02,
+ 3.58624316372060172875e-02,
+ 3.62473739048404727803e-02,
+ 3.66150456597097023748e-02,
+ 3.69653813684179058385e-02,
+ 3.72983231011940682964e-02,
+ 3.76138205178691634178e-02,
+ 3.79118308507581658340e-02,
+ 3.81923188844700278732e-02,
+ 3.84552569326661666804e-02,
+ 3.87006248117945095277e-02,
+ 3.89284098118221136287e-02,
+ 3.91386066639944005252e-02,
+ 3.93312175056476295842e-02,
+ 3.95062518421033306848e-02,
+ 3.96637265056755394799e-02,
+ 3.98036656118202977761e-02,
+ 3.99261005124597820326e-02,
+ 4.00310697465144360585e-02,
+ 4.01186189876763035778e-02,
+ 4.01888009894591641258e-02,
+ 4.02416755275608953313e-02,
+ 4.02773093395744422041e-02,
+ 4.02957760620868618573e-02,
+ 4.02971561652026855072e-02,
+ 4.02815368845340013304e-02,
+ 4.02490121506946865737e-02,
+ 4.01996825163432602857e-02,
+ 4.01336550808131173329e-02,
+ 4.00510434123766412284e-02,
+ 3.99519674681838021790e-02,
+ 3.98365535119223901361e-02,
+ 3.97049340292425986809e-02,
+ 3.95572476409943238340e-02,
+ 3.93936390143226622396e-02,
+ 3.92142587716682866628e-02,
+ 3.90192633977227906761e-02,
+ 3.88088151443859719070e-02,
+ 3.85830819337740632546e-02,
+ 3.83422372593309676581e-02,
+ 3.80864600850902706997e-02,
+ 3.78159347431409609275e-02,
+ 3.75308508293468318096e-02,
+ 3.72314030973733209318e-02,
+ 3.69177913510723085255e-02,
+ 3.65902203352790472701e-02,
+ 3.62488996250740352911e-02,
+ 3.58940435135636018438e-02,
+ 3.55258708982338911042e-02,
+ 3.51446051659309519066e-02,
+ 3.47504740765239503175e-02,
+ 3.43437096453047957523e-02,
+ 3.39245480241803926136e-02,
+ 3.34932293817127510471e-02,
+ 3.30499977820627663383e-02,
+ 3.25951010628938789293e-02,
+ 3.21287907122915217251e-02,
+ 3.16513217447548164674e-02,
+ 3.11629525763171093267e-02,
+ 3.06639448988514501382e-02,
+ 3.01545635536184866710e-02,
+ 2.96350764041116987446e-02,
+ 2.91057542082603579181e-02,
+ 2.85668704900414009706e-02,
+ 2.80187014105628129368e-02,
+ 2.74615256386703497637e-02,
+ 2.68956242211381771345e-02,
+ 2.63212804524964143205e-02,
+ 2.57387797445546746833e-02,
+ 2.51484094956766456030e-02,
+ 2.45504589598617914414e-02,
+ 2.39452191156906725455e-02,
+ 2.33329825351894608321e-02,
+ 2.27140432526683408443e-02,
+ 2.20886966335908999093e-02,
+ 2.14572392435271874778e-02,
+ 2.08199687172471933905e-02,
+ 2.01771836280079629178e-02,
+ 1.95291833570884962312e-02,
+ 1.88762679636269269101e-02,
+ 1.82187380548123403767e-02,
+ 1.75568946564845403124e-02,
+ 1.68910390841945853846e-02,
+ 1.62214728147774996103e-02,
+ 1.55484973584896369464e-02,
+ 1.48724141317607399387e-02,
+ 1.41935243306124080076e-02,
+ 1.35121288047925294795e-02,
+ 1.28285279326754275003e-02,
+ 1.21430214969758445281e-02,
+ 1.14559085613274869858e-02,
+ 1.07674873477713456404e-02,
+ 1.00780551152029641815e-02,
+ 9.38790803882408146641e-03,
+ 8.69734109064560119429e-03,
+ 8.00664792108640895052e-03,
+ 7.31612074171312902482e-03,
+ 6.62605020916498532735e-03,
+ 5.93672531030635993593e-03,
+ 5.24843324865020312286e-03,
+ 4.56145933209378684481e-03,
+ 3.87608686200798923521e-03,
+ 3.19259702372048361982e-03,
+ 2.51126877843176705626e-03,
+ 1.83237875660391988202e-03,
+ 1.15620115285868549186e-03,
+ 4.83007622422852007059e-04,
+-1.86932820843070034112e-04,
+-8.53353904797455329115e-04,
+-1.51599219771675255281e-03,
+-2.17458720530792556924e-03,
+-2.82888146600037857989e-03,
+-3.47862064448672828401e-03,
+-4.12355362347965707925e-03,
+-4.76343259365718217635e-03,
+-5.39801314176371720144e-03,
+-6.02705433684159932323e-03,
+-6.65031881456398799024e-03,
+-7.26757285964317947813e-03,
+-7.87858648628854928153e-03,
+-8.48313351669007821576e-03,
+-9.08099165750268083608e-03,
+-9.67194257431004678072e-03,
+-1.02557719640449674509e-02,
+-1.08322696253466653482e-02,
+-1.14012295268339416271e-02,
+-1.19624498732761111452e-02,
+-1.25157331696445651287e-02,
+-1.30608862830260651078e-02,
+-1.35977205023845738180e-02,
+-1.41260515961539080687e-02,
+-1.46456998676501564532e-02,
+-1.51564902082884610246e-02,
+-1.56582521485937077588e-02,
+-1.61508199069943896020e-02,
+-1.66340324363880263936e-02,
+-1.71077334684716746149e-02,
+-1.75717715558275228149e-02,
+-1.80260001117568194329e-02,
+-1.84702774478586080609e-02,
+-1.89044668093441003975e-02,
+-1.93284364080869922042e-02,
+-1.97420594534034529732e-02,
+-2.01452141805614354242e-02,
+-2.05377838770183090977e-02,
+-2.09196569063852221004e-02,
+-2.12907267301215390176e-02,
+-2.16508919269584217127e-02,
+-2.20000562100566773860e-02,
+-2.23381284419012192399e-02,
+-2.26650226469371808558e-02,
+-2.29806580219539050014e-02,
+-2.32849589442222955349e-02,
+-2.35778549773940013234e-02,
+-2.38592808751701725145e-02,
+-2.41291765827496146324e-02,
+-2.43874872360661625048e-02,
+-2.46341631588262027774e-02,
+-2.48691598573592027865e-02,
+-2.50924380132932847709e-02,
+-2.53039634740697960691e-02,
+-2.55037072413113186098e-02,
+-2.56916454570593408291e-02,
+-2.58677593878966008423e-02,
+-2.60320354069717534162e-02,
+-2.61844649739453247395e-02,
+-2.63250446128731642459e-02,
+-2.64537758880496950975e-02,
+-2.65706653778289558776e-02,
+-2.66757246464459155111e-02,
+-2.67689702138592805492e-02,
+-2.68504235236379437679e-02,
+-2.69201109089152179621e-02,
+-2.69780635564342181898e-02,
+-2.70243174687087896191e-02,
+-2.70589134243261995871e-02,
+-2.70818969364167577707e-02,
+-2.70933182093176481986e-02,
+-2.70932320934577017257e-02,
+-2.70816980384915410862e-02,
+-2.70587800447114543156e-02,
+-2.70245466127663376554e-02,
+-2.69790706917171427270e-02,
+-2.69224296254590607369e-02,
+-2.68547050975419879237e-02,
+-2.67759830744198866481e-02,
+-2.66863537471611969587e-02,
+-2.65859114716531889921e-02,
+-2.64747547073322930800e-02,
+-2.63529859544745573285e-02,
+-2.62207116900796607939e-02,
+-2.60780423023825730366e-02,
+-2.59250920240284947471e-02,
+-2.57619788639449828760e-02,
+-2.55888245379471308827e-02,
+-2.54057543981124761556e-02,
+-2.52128973609604678519e-02,
+-2.50103858344739478359e-02,
+-2.47983556439997539222e-02,
+-2.45769459570643403201e-02,
+-2.43462992071435090080e-02,
+-2.41065610164222128564e-02,
+-2.38578801175844575078e-02,
+-2.36004082746693114037e-02,
+-2.33343002030331689300e-02,
+-2.30597134884559483436e-02,
+-2.27768085054302904524e-02,
+-2.24857483346725776918e-02,
+-2.21866986798954189675e-02,
+-2.18798277838799307138e-02,
+-2.15653063438876642366e-02,
+-2.12433074264517691987e-02,
+-2.09140063815867055519e-02,
+-2.05775807564556566243e-02,
+-2.02342102085360346642e-02,
+-1.98840764183222142025e-02,
+-1.95273630016047500257e-02,
+-1.91642554213670816832e-02,
+-1.87949408993371563925e-02,
+-1.84196083272362247374e-02,
+-1.80384481777610752862e-02,
+-1.76516524153425696797e-02,
+-1.72594144067167720724e-02,
+-1.68619288313498413845e-02,
+-1.64593915917550098760e-02,
+-1.60519997237402040069e-02,
+-1.56399513066264282679e-02,
+-1.52234453734734331148e-02,
+-1.48026818213531103502e-02,
+-1.43778613217079923037e-02,
+-1.39491852308316760523e-02,
+-1.35168555005115483686e-02,
+-1.30810745888681710658e-02,
+-1.26420453714316226301e-02,
+-1.21999710524887047813e-02,
+-1.17550550767402828961e-02,
+-1.13075010413035727252e-02,
+-1.08575126080952908542e-02,
+-1.04052934166326063736e-02,
+-9.95104699728536351566e-03,
+-9.49497668501652312967e-03,
+-9.03728553364356763933e-03,
+-8.57817623065582068875e-03,
+-8.11785101262214349449e-03,
+-7.65651158122056946231e-03,
+-7.19435901992488725798e-03,
+-6.73159371137851351291e-03,
+-6.26841525548942068990e-03,
+-5.80502238827697216589e-03,
+-5.34161290150089295564e-03,
+-4.87838356310490647849e-03,
+-4.41553003850264462471e-03,
+-3.95324681273798422126e-03,
+-3.49172711354636287548e-03,
+-3.03116283534747218975e-03,
+-2.57174446419663202748e-03,
+-2.11366100372138449731e-03,
+-1.65709990207213789248e-03,
+-1.20224697991074881177e-03,
+-7.49286359465203312402e-04,
+-2.98400394673150758020e-04,
+ 1.50230397559290287587e-04,
+ 5.96427404960260163468e-04,
+ 1.04001398633389997676e-03,
+ 1.48081553681653948010e-03,
+ 1.91865955192711671630e-03,
+ 2.35337569038958404136e-03,
+ 2.78479583570576333731e-03,
+ 3.21275415646031688166e-03,
+ 3.63708716533605539573e-03,
+ 4.05763377682291995208e-03,
+ 4.47423536360066955581e-03,
+ 4.88673581157838838457e-03,
+ 5.29498157357465894235e-03,
+ 5.69882172162047926506e-03,
+ 6.09810799787139853900e-03,
+ 6.49269486411187517899e-03,
+ 6.88243954983998491859e-03,
+ 7.26720209891677272618e-03,
+ 7.64684541476874993227e-03,
+ 8.02123530413159993580e-03,
+ 8.39024051932213063565e-03,
+ 8.75373279902990839019e-03,
+ 9.11158690761618844656e-03,
+ 9.46368067291306243327e-03,
+ 9.80989502251233651264e-03,
+ 1.01501140185368699670e-02,
+ 1.04842248908878447194e-02,
+ 1.08121180689596009528e-02,
+ 1.11336872118183785596e-02,
+ 1.14488292368375710328e-02,
+ 1.17574443467867335855e-02,
+ 1.20594360553697797084e-02,
+ 1.23547112112087492664e-02,
+ 1.26431800202723137322e-02,
+ 1.29247560667452802280e-02,
+ 1.31993563323394361153e-02,
+ 1.34669012140451026943e-02,
+ 1.37273145403230718842e-02,
+ 1.39805235857388930609e-02,
+ 1.42264590840399576116e-02,
+ 1.44650552396788801418e-02,
+ 1.46962497377853603536e-02,
+ 1.49199837525900817770e-02,
+ 1.51362019543059365262e-02,
+ 1.53448525144697818512e-02,
+ 1.55458871097522988158e-02,
+ 1.57392609242401407266e-02,
+ 1.59249326501989980909e-02,
+ 1.61028644873237487822e-02,
+ 1.62730221404839558996e-02,
+ 1.64353748159745995105e-02,
+ 1.65898952162792344411e-02,
+ 1.67365595333573702330e-02,
+ 1.68753474404654685292e-02,
+ 1.70062420825228405308e-02,
+ 1.71292300650343690127e-02,
+ 1.72443014415816948948e-02,
+ 1.73514496998961910423e-02,
+ 1.74506717465267233158e-02,
+ 1.75419678901157470585e-02,
+ 1.76253418232991503067e-02,
+ 1.77008006032431768062e-02,
+ 1.77683546308354950449e-02,
+ 1.78280176285450023266e-02,
+ 1.78798066169677284665e-02,
+ 1.79237418900749095885e-02,
+ 1.79598469891815541721e-02,
+ 1.79881486756524357207e-02,
+ 1.80086769023645003329e-02,
+ 1.80214647839439801036e-02,
+ 1.80265485657978320744e-02,
+ 1.80239675919585257136e-02,
+ 1.80137642717629609113e-02,
+ 1.79959840453853894826e-02,
+ 1.79706753482452019632e-02,
+ 1.79378895743111561878e-02,
+ 1.78976810383233188306e-02,
+ 1.78501069369546815080e-02,
+ 1.77952273089348571300e-02,
+ 1.77331049941585293384e-02,
+ 1.76638055918014250101e-02,
+ 1.75873974174670689996e-02,
+ 1.75039514593883366311e-02,
+ 1.74135413337067820883e-02,
+ 1.73162432388551425222e-02,
+ 1.72121359090659648006e-02,
+ 1.71013005670323306462e-02,
+ 1.69838208757447130248e-02,
+ 1.68597828895295613616e-02,
+ 1.67292750043147309125e-02,
+ 1.65923879071472879509e-02,
+ 1.64492145249898746862e-02,
+ 1.62998499728209574056e-02,
+ 1.61443915010654574782e-02,
+ 1.59829384423819872985e-02,
+ 1.58155921578329479449e-02,
+ 1.56424559824643004402e-02,
+ 1.54636351703211580993e-02,
+ 1.52792368389266484952e-02,
+ 1.50893699132506348831e-02,
+ 1.48941450691946284529e-02,
+ 1.46936746766213478105e-02,
+ 1.44880727419542387757e-02,
+ 1.42774548503756936596e-02,
+ 1.40619381076500047506e-02,
+ 1.38416410815988405458e-02,
+ 1.36166837432563775367e-02,
+ 1.33871874077307433104e-02,
+ 1.31532746747999255282e-02,
+ 1.29150693692685249875e-02,
+ 1.26726964811125480254e-02,
+ 1.24262821054400597609e-02,
+ 1.21759533822933443264e-02,
+ 1.19218384363212748234e-02,
+ 1.16640663163469111840e-02,
+ 1.14027669348586990772e-02,
+ 1.11380710074510391738e-02,
+ 1.08701099922405512027e-02,
+ 1.05990160292857588803e-02,
+ 1.03249218800347264402e-02,
+ 1.00479608668283364181e-02,
+ 9.76826681248407595326e-03,
+ 9.48597397998680001707e-03,
+ 9.20121701231205180171e-03,
+ 8.91413087240663405686e-03,
+ 8.62485078335300560382e-03,
+ 8.33351216874106057175e-03,
+ 8.04025059327335284154e-03,
+ 7.74520170362733365033e-03,
+ 7.44850116959968472363e-03,
+ 7.15028462555652392224e-03,
+ 6.85068761221313375642e-03,
+ 6.54984551876693164157e-03,
+ 6.24789352540736173808e-03,
+ 5.94496654622468298501e-03,
+ 5.64119917254172174859e-03,
+ 5.33672561668945780872e-03,
+ 5.03167965625017643561e-03,
+ 4.72619457878821046942e-03,
+ 4.42040312709122713147e-03,
+ 4.11443744494245557813e-03,
+ 3.80842902344421868274e-03,
+ 3.50250864791438413365e-03,
+ 3.19680634537424174582e-03,
+ 2.89145133264915015631e-03,
+ 2.58657196509964968506e-03,
+ 2.28229568600325869593e-03,
+ 1.97874897660506266980e-03,
+ 1.67605730685465247574e-03,
+ 1.37434508684857771554e-03,
+ 1.07373561899400072825e-03,
+ 7.74351050912206037222e-04,
+ 4.76312329096932108620e-04,
+ 1.79739153344913828647e-04,
+-1.15250068026150436743e-04,
+-4.08538262157430215240e-04,
+-7.00009734810518881830e-04,
+-9.89550212697529359140e-04,
+-1.27704688496522110984e-03,
+-1.56238844381914230262e-03,
+-1.84546512427596291067e-03,
+-2.12616874302977649017e-03,
+-2.40439273642179809562e-03,
+-2.68003219750039467159e-03,
+-2.95298391216083011210e-03,
+-3.22314639435426720723e-03,
+-3.49041992035452591087e-03,
+-3.75470656207426648626e-03,
+-4.01591021941965966441e-03,
+-4.27393665167596914500e-03,
+-4.52869350791463860101e-03,
+-4.78009035641408387002e-03,
+-5.02803871308742881402e-03,
+-5.27245206890878791856e-03,
+-5.51324591633307794364e-03,
+-5.75033777470175880286e-03,
+-5.98364721463032038506e-03,
+-6.21309588137129026331e-03,
+-6.43860751714846711591e-03,
+-6.66010798245885143193e-03,
+-6.87752527633716734257e-03,
+-7.09078955558135361203e-03,
+-7.29983315293484570641e-03,
+-7.50459059422442856246e-03,
+-7.70499861445137022159e-03,
+-7.90099617283428028169e-03,
+-8.09252446680348673513e-03,
+-8.27952694494581836748e-03,
+-8.46194931890021165288e-03,
+-8.63973957420479179992e-03,
+-8.81284798009584514900e-03,
+-8.98122709826090423468e-03,
+-9.14483179054685624276e-03,
+-9.30361922562642808254e-03,
+-9.45754888462495800494e-03,
+-9.60658256571109842037e-03,
+-9.75068438765514661215e-03,
+-9.88982079235872779677e-03,
+-1.00239605463608785763e-02,
+-1.01530747413246837108e-02,
+-1.02771367935108499936e-02,
+-1.03961224422430293518e-02,
+-1.05100097473716045521e-02,
+-1.06187790857425311958e-02,
+-1.07224131466778661165e-02,
+-1.08208969264758890494e-02,
+-1.09142177219381259629e-02,
+-1.10023651229317290939e-02,
+-1.10853310039956218930e-02,
+-1.11631095149994884197e-02,
+-1.12356970708646971419e-02,
+-1.13030923403568215463e-02,
+-1.13652962339602110059e-02,
+-1.14223118908440956359e-02,
+-1.14741446649318026840e-02,
+-1.15208021100836454503e-02,
+-1.15622939644049946284e-02,
+-1.15986321336910645080e-02,
+-1.16298306740207010868e-02,
+-1.16559057735113307669e-02,
+-1.16768757332475214827e-02,
+-1.16927609473963332182e-02,
+-1.17035838825226608945e-02,
+-1.17093690561177760784e-02,
+-1.17101430143551586693e-02,
+-1.17059343090872795129e-02,
+-1.16967734740980097013e-02,
+-1.16826930006248379257e-02,
+-1.16637273121658596037e-02,
+-1.16399127385864407935e-02,
+-1.16112874895409699111e-02,
+-1.15778916272246922003e-02,
+-1.15397670384720374415e-02,
+-1.14969574062164479888e-02,
+-1.14495081803284975280e-02,
+-1.13974665478479546959e-02,
+-1.13408814026266253211e-02,
+-1.12798033143984600957e-02,
+-1.12142844972935168402e-02,
+-1.11443787778127377519e-02,
+-1.10701415622809114236e-02,
+-1.09916298037944538957e-02,
+-1.09089019686816925125e-02,
+-1.08220180024931385970e-02,
+-1.07310392955389764802e-02,
+-1.06360286479915983754e-02,
+-1.05370502345710423397e-02,
+-1.04341695688310136247e-02,
+-1.03274534670632443106e-02,
+-1.02169700118386209270e-02,
+-1.01027885152025192345e-02,
+-9.98497948154308812008e-03,
+-9.86361457015006402871e-03,
+-9.73876655748246930488e-03,
+-9.61050929916365190286e-03,
+-9.47891769172138146105e-03,
+-9.34406763409175583623e-03,
+-9.20603598890469380922e-03,
+-9.06490054356958417647e-03,
+-8.92073997117914622990e-03,
+-8.77363379124968326139e-03,
+-8.62366233031589164704e-03,
+-8.47090668239862398803e-03,
+-8.31544866936306283078e-03,
+-8.15737080118616487978e-03,
+-7.99675623615058242533e-03,
+-7.83368874098351944402e-03,
+-7.66825265095798756787e-03,
+-7.50053282997436773782e-03,
+-7.33061463064018075525e-03,
+-7.15858385436481461928e-03,
+-6.98452671148786126409e-03,
+-6.80852978145714965441e-03,
+-6.63067997307481386826e-03,
+-6.45106448482760802543e-03,
+-6.26977076531890029770e-03,
+-6.08688647381931853542e-03,
+-5.90249944095203298716e-03,
+-5.71669762953000513278e-03,
+-5.52956909556100162373e-03,
+-5.34120194943696596085e-03,
+-5.15168431732329797079e-03,
+-4.96110430276443595266e-03,
+-4.76954994852103134756e-03,
+-4.57710919865432410564e-03,
+-4.38386986087277181340e-03,
+-4.18991956915663876782e-03,
+-3.99534574667439676410e-03,
+-3.80023556900675307108e-03,
+-3.60467592769156538676e-03,
+-3.40875339410503987864e-03,
+-3.21255418369197943973e-03,
+-3.01616412055992575564e-03,
+-2.81966860245005685598e-03,
+-2.62315256609809257030e-03,
+-2.42670045299875130826e-03,
+-2.23039617558575898118e-03,
+-2.03432308384080993632e-03,
+-1.83856393234277533909e-03,
+-1.64320084776991355742e-03,
+-1.44831529686655904529e-03,
+-1.25398805488530435195e-03,
+-1.06029917451672204415e-03,
+-8.67327955316482155854e-04,
+-6.75152913641518712638e-04,
+-4.83851753104545291573e-04,
+-2.93501335557769932588e-04,
+-1.04177652615230481180e-04,
+ 8.40442022771478958144e-05,
+ 2.71090061213828637746e-04,
+ 4.56886708636217294885e-04,
+ 6.41361907564611910364e-04,
+ 8.24444425246958221068e-04,
+ 1.00606405821750295726e-03,
+ 1.18615165675600578790e-03,
+ 1.36463914874257485378e-03,
+ 1.54145956289825905236e-03,
+ 1.71654705140769636706e-03,
+ 1.88983691191461173828e-03,
+ 2.06126560888645086675e-03,
+ 2.23077079434063144103e-03,
+ 2.39829132792830895110e-03,
+ 2.56376729636941056573e-03,
+ 2.72714003223500402184e-03,
+ 2.88835213207216685155e-03,
+ 3.04734747386685260462e-03,
+ 3.20407123384176817371e-03,
+ 3.35846990258462183704e-03,
+ 3.51049130050470068257e-03,
+ 3.66008459261367522647e-03,
+ 3.80720030262936314294e-03,
+ 3.95179032639856198800e-03,
+ 4.09380794463911311387e-03,
+ 4.23320783499702736619e-03,
+ 4.36994608342004212803e-03,
+ 4.50398019484403704799e-03,
+ 4.63526910319382156461e-03,
+ 4.76377318069614620610e-03,
+ 4.88945424650618146178e-03,
+ 5.01227557464674778470e-03,
+ 5.13220190126144337750e-03,
+ 5.24919943118207308480e-03,
+ 5.36323584381190321402e-03,
+ 5.47428029832571112767e-03,
+ 5.58230343818897148389e-03,
+ 5.68727739499729628703e-03,
+ 5.78917579163970574818e-03,
+ 5.88797374478673089110e-03,
+ 5.98364786670789981782e-03,
+ 6.07617626642060343345e-03,
+ 6.16553855017385084303e-03,
+ 6.25171582127166582804e-03,
+ 6.33469067923863194541e-03,
+ 6.41444721833308011821e-03,
+ 6.49097102541174898749e-03,
+ 6.56424917715103632687e-03,
+ 6.63427023662958338657e-03,
+ 6.70102424927795491810e-03,
+ 6.76450273820044644529e-03,
+ 6.82469869887525251023e-03,
+ 6.88160659323871527759e-03,
+ 6.93522234316026366108e-03,
+ 6.98554332331408935064e-03,
+ 7.03256835345506155222e-03,
+ 7.07629769010476809138e-03,
+ 7.11673301765615093362e-03,
+ 7.15387743890304877992e-03,
+ 7.18773546500291789924e-03,
+ 7.21831300488032408247e-03,
+ 7.24561735407938580650e-03,
+ 7.26965718307318129604e-03,
+ 7.29044252503875406940e-03,
+ 7.30798476310635155423e-03,
+ 7.32229661709144288850e-03,
+ 7.33339212971884264747e-03,
+ 7.34128665234775375920e-03,
+ 7.34599683020745793799e-03,
+ 7.34754058715258225737e-03,
+ 7.34593710994830336597e-03,
+ 7.34120683209452638829e-03,
+ 7.33337141719967496728e-03,
+ 7.32245374191355016119e-03,
+ 7.30847787843014878861e-03,
+ 7.29146907657012011139e-03,
+ 7.27145374545387114529e-03,
+ 7.24845943477565521351e-03,
+ 7.22251481568945107037e-03,
+ 7.19364966131744686118e-03,
+ 7.16189482689201083881e-03,
+ 7.12728222954231872138e-03,
+ 7.08984482773655864257e-03,
+ 7.04961660039112210374e-03,
+ 7.00663252565801673161e-03,
+ 6.96092855940177307472e-03,
+ 6.91254161337735619636e-03,
+ 6.86150953312070904788e-03,
+ 6.80787107556324582597e-03,
+ 6.75166588638215301593e-03,
+ 6.69293447709806265528e-03,
+ 6.63171820193170571955e-03,
+ 6.56805923443159328512e-03,
+ 6.50200054388410785683e-03,
+ 6.43358587151825807998e-03,
+ 6.36285970651646794888e-03,
+ 6.28986726184373092646e-03,
+ 6.21465444990643503531e-03,
+ 6.13726785805332464285e-03,
+ 6.05775472392990760317e-03,
+ 5.97616291069856791357e-03,
+ 5.89254088213594148099e-03,
+ 5.80693767761965816410e-03,
+ 5.71940288701587758180e-03,
+ 5.62998662548002196115e-03,
+ 5.53873950818146131014e-03,
+ 5.44571262496510149348e-03,
+ 5.35095751496040238082e-03,
+ 5.25452614115022934027e-03,
+ 5.15647086491062122543e-03,
+ 5.05684442053339500839e-03,
+ 4.95569988974256699088e-03,
+ 4.85309067621648645985e-03,
+ 4.74907048012647350216e-03,
+ 4.64369327270371719946e-03,
+ 4.53701327084515566163e-03,
+ 4.42908491176951992635e-03,
+ 4.31996282773485212186e-03,
+ 4.20970182082771107734e-03,
+ 4.09835683783572966160e-03,
+ 3.98598294521311340144e-03,
+ 3.87263530415101094040e-03,
+ 3.75836914576165720403e-03,
+ 3.64323974638825019007e-03,
+ 3.52730240304928790995e-03,
+ 3.41061240902878646739e-03,
+ 3.29322502962129748730e-03,
+ 3.17519547804233142826e-03,
+ 3.05657889151338601694e-03,
+ 2.93743030753160130203e-03,
+ 2.81780464033296821486e-03,
+ 2.69775665755896121301e-03,
+ 2.57734095713514719389e-03,
+ 2.45661194437134461702e-03,
+ 2.33562380929147129019e-03,
+ 2.21443050420279223534e-03,
+ 2.09308572151161147862e-03,
+ 1.97164287179554201940e-03,
+ 1.85015506213867531038e-03,
+ 1.72867507473943343883e-03,
+ 1.60725534579748128607e-03,
+ 1.48594794468843234732e-03,
+ 1.36480455343317803527e-03,
+ 1.24387644646943291808e-03,
+ 1.12321447073277739387e-03,
+ 1.00286902605367005473e-03,
+ 8.82890045877847201225e-04,
+ 7.63326978315998568199e-04,
+ 6.44228767529792380013e-04,
+ 5.25643835459782418976e-04,
+ 4.07620063901896608968e-04,
+ 2.90204776937506045247e-04,
+ 1.73444723723805766706e-04,
+ 5.73860616484244659592e-05,
+-5.79256601447129809831e-05,
+-1.72445516855139978872e-04,
+-2.86129223744603178401e-04,
+-3.98933151471683798521e-04,
+-5.10814341036775051638e-04,
+-6.21730518333987194034e-04,
+-7.31640108305292775383e-04,
+-8.40502248693749103720e-04,
+-9.48276803391555388537e-04,
+-1.05492437538016840815e-03,
+-1.16040631925863960139e-03,
+-1.26468475335793167046e-03,
+-1.36772257143744795961e-03,
+-1.46948345396231690001e-03,
+-1.56993187895820992227e-03,
+-1.66903313244173671925e-03,
+-1.76675331842487395514e-03,
+-1.86305936849075486246e-03,
+-1.95791905094055886799e-03,
+-2.05130097950870097026e-03,
+-2.14317462164644121497e-03,
+-2.23351030637205421117e-03,
+-2.32227923168745655630e-03,
+-2.40945347156019864382e-03,
+-2.49500598247101752769e-03,
+-2.57891060952624437755e-03,
+-2.66114209213571661222e-03,
+-2.74167606925580006200e-03,
+-2.82048908419860059130e-03,
+-2.89755858900738426376e-03,
+-2.97286294839969704451e-03,
+-3.04638144327833843006e-03,
+-3.11809427381250833106e-03,
+-3.18798256208930414976e-03,
+-3.25602835433819615824e-03,
+-3.32221462272949338845e-03,
+-3.38652526674922864716e-03,
+-3.44894511415224942069e-03,
+-3.50945992149601917673e-03,
+-3.56805637425754813494e-03,
+-3.62472208653601482564e-03,
+-3.67944560034401835918e-03,
+-3.73221638449032109761e-03,
+-3.78302483305743104600e-03,
+-3.83186226347697993233e-03,
+-3.87872091420681094562e-03,
+-3.92359394201303914723e-03,
+-3.96647541886111301701e-03,
+-4.00736032841956212047e-03,
+-4.04624456218095809173e-03,
+-4.08312491520368761599e-03,
+-4.11799908147960237043e-03,
+-4.15086564893147550587e-03,
+-4.18172409404541419592e-03,
+-4.21057477614258761356e-03,
+-4.23741893129556731340e-03,
+-4.26225866589410255086e-03,
+-4.28509694986558761776e-03,
+-4.30593760955555893838e-03,
+-4.32478532027361865092e-03,
+-4.34164559851025946141e-03,
+-4.35652479383043678834e-03,
+-4.36943008044940375129e-03,
+-4.38036944849687272935e-03,
+-4.38935169497548655082e-03,
+-4.39638641441941844384e-03,
+-4.40148398925969356471e-03,
+-4.40465557990201740657e-03,
+-4.40591311452397972614e-03,
+-4.40526927859759102890e-03,
+-4.40273750414399336200e-03,
+-4.39833195872687317957e-03,
+-4.39206753419116562726e-03,
+-4.38395983515392842489e-03,
+-4.37402516725410826781e-03,
+-4.36228052516814471251e-03,
+-4.34874358039834783829e-03,
+-4.33343266884099378305e-03,
+-4.31636677814128347924e-03,
+-4.29756553484226828249e-03,
+-4.27704919133478460302e-03,
+-4.25483861261575103258e-03,
+-4.23095526286197242544e-03,
+-4.20542119182673330285e-03,
+-4.17825902106652539991e-03,
+-4.14949193000528453179e-03,
+-4.11914364184333848390e-03,
+-4.08723840931864319803e-03,
+-4.05380100032764340012e-03,
+-4.01885668341308427420e-03,
+-3.98243121312639048598e-03,
+-3.94455081527187324114e-03,
+-3.90524217204034265055e-03,
+-3.86453240703949710971e-03,
+-3.82244907022857112119e-03,
+-3.77902012276458334344e-03,
+-3.73427392176791782957e-03,
+-3.68823920501411533363e-03,
+-3.64094507555994461798e-03,
+-3.59242098631046497328e-03,
+-3.54269672453505143905e-03,
+-3.49180239633924225512e-03,
+-3.43976841109999795926e-03,
+-3.38662546587152699790e-03,
+-3.33240452976901182711e-03,
+-3.27713682833726460339e-03,
+-3.22085382791172753977e-03,
+-3.16358721997866921757e-03,
+-3.10536890554190866259e-03,
+-3.04623097950279270868e-03,
+-2.98620571506079835605e-03,
+-2.92532554814109750294e-03,
+-2.86362306185669341502e-03,
+-2.80113097101106212072e-03,
+-2.73788210664884781517e-03,
+-2.67390940066071719841e-03,
+-2.60924587044905360173e-03,
+-2.54392460366138209102e-03,
+-2.47797874299740972931e-03,
+-2.41144147109654920225e-03,
+-2.34434599551184728525e-03,
+-2.27672553377682423265e-03,
+-2.20861329857108918892e-03,
+-2.14004248299099744321e-03,
+-2.07104624593109319652e-03,
+-2.00165769758243626206e-03,
+-1.93190988505322330110e-03,
+-1.86183577811795423693e-03,
+-1.79146825509988766485e-03,
+-1.72084008889326943795e-03,
+-1.64998393312966343087e-03,
+-1.57893230849462818527e-03,
+-1.50771758919912264932e-03,
+-1.43637198961127387532e-03,
+-1.36492755105304883201e-03,
+-1.29341612876705033125e-03,
+-1.22186937905778840625e-03,
+-1.15031874661246304344e-03,
+-1.07879545200534983015e-03,
+-1.00733047939059738862e-03,
+-9.35954564387392199190e-04,
+-8.64698182161781326270e-04,
+-7.93591535709335898878e-04,
+-7.22664544342259342231e-04,
+-6.51946832385152269008e-04,
+-5.81467718082645003419e-04,
+-5.11256202723101406751e-04,
+-4.41340959980976682391e-04,
+-3.71750325482115011495e-04,
+-3.02512286594312090893e-04,
+-2.33654472446860898751e-04,
+-1.65204144181543805632e-04,
+-9.71881854382950145007e-05,
+-2.96330930778333087529e-05,
+ 3.74350318557888840534e-05,
+ 1.03990492930665522531e-04,
+ 1.70008006877860913661e-04,
+ 2.35462711895771908792e-04,
+ 3.00330175705594570618e-04,
+ 3.64586403356421419591e-04,
+ 4.28207844777551787079e-04,
+ 4.91171402077186748311e-04,
+ 5.53454436585029511952e-04,
+ 6.15034775638214118408e-04,
+ 6.75890719108685204992e-04,
+ 7.36001045671158494674e-04,
+ 7.95345018810736208159e-04,
+ 8.53902392568785988461e-04,
+ 9.11653417026953884206e-04,
+ 9.68578843528107927274e-04,
+ 1.02465992963409239201e-03,
+ 1.07987844381954517861e-03,
+ 1.13421666990184857697e-03,
+ 1.18765741120669863183e-03,
+ 1.24018399446962118877e-03,
+ 1.29178027347317181048e-03,
+ 1.34243063242041153760e-03,
+ 1.39211998904448393775e-03,
+ 1.44083379745542361494e-03,
+ 1.48855805072399061464e-03,
+ 1.53527928320389963832e-03,
+ 1.58098457259274222282e-03,
+ 1.62566154173287799080e-03,
+ 1.66929836015300469068e-03,
+ 1.71188374535185877309e-03,
+ 1.75340696382495094506e-03,
+ 1.79385783183615881223e-03,
+ 1.83322671593499951850e-03,
+ 1.87150453322187351919e-03,
+ 1.90868275136241117781e-03,
+ 1.94475338835288632730e-03,
+ 1.97970901203875114180e-03,
+ 2.01354273938795765367e-03,
+ 2.04624823552140497340e-03,
+ 2.07781971250251560127e-03,
+ 2.10825192788842950831e-03,
+ 2.13754018304492627786e-03,
+ 2.16568032122775241954e-03,
+ 2.19266872543273649843e-03,
+ 2.21850231601753312277e-03,
+ 2.24317854809751244041e-03,
+ 2.26669540871874157159e-03,
+ 2.28905141381085521987e-03,
+ 2.31024560492300908704e-03,
+ 2.33027754574556848419e-03,
+ 2.34914731842113299123e-03,
+ 2.36685551964774167771e-03,
+ 2.38340325657774047483e-03,
+ 2.39879214251553785076e-03,
+ 2.41302429241780800814e-03,
+ 2.42610231819949092105e-03,
+ 2.43802932384921434983e-03,
+ 2.44880890035772524199e-03,
+ 2.45844512046309356806e-03,
+ 2.46694253321619750424e-03,
+ 2.47430615837057783779e-03,
+ 2.48054148060029584083e-03,
+ 2.48565444354972896537e-03,
+ 2.48965144371932805070e-03,
+ 2.49253932419119233338e-03,
+ 2.49432536819870756192e-03,
+ 2.49501729254406187306e-03,
+ 2.49462324086802481049e-03,
+ 2.49315177677595679884e-03,
+ 2.49061187682437026880e-03,
+ 2.48701292337218105022e-03,
+ 2.48236469730101589823e-03,
+ 2.47667737060877201499e-03,
+ 2.46996149888082565729e-03,
+ 2.46222801364318543901e-03,
+ 2.45348821460201170497e-03,
+ 2.44375376177385136151e-03,
+ 2.43303666751100867299e-03,
+ 2.42134928842652587602e-03,
+ 2.40870431722312039469e-03,
+ 2.39511477443066006163e-03,
+ 2.38059400005651662299e-03,
+ 2.36515564515335941637e-03,
+ 2.34881366330883401689e-03,
+ 2.33158230206161314751e-03,
+ 2.31347609424828503169e-03,
+ 2.29450984928561332182e-03,
+ 2.27469864439260342423e-03,
+ 2.25405781575686164908e-03,
+ 2.23260294964972971082e-03,
+ 2.21034987349466626252e-03,
+ 2.18731464689328946802e-03,
+ 2.16351355261355186160e-03,
+ 2.13896308754443764677e-03,
+ 2.11367995362164717843e-03,
+ 2.08768104872860673846e-03,
+ 2.06098345757712827012e-03,
+ 2.03360444257223585765e-03,
+ 2.00556143466523338278e-03,
+ 1.97687202419953838434e-03,
+ 1.94755395175337346625e-03,
+ 1.91762509898370150235e-03,
+ 1.88710347947544372464e-03,
+ 1.85600722960030926380e-03,
+ 1.82435459938927956557e-03,
+ 1.79216394342290039413e-03,
+ 1.75945371174334418141e-03,
+ 1.72624244079242210488e-03,
+ 1.69254874437936271916e-03,
+ 1.65839130468247841071e-03,
+ 1.62378886328829906069e-03,
+ 1.58876021227249563002e-03,
+ 1.55332418532590395277e-03,
+ 1.51749964892962602506e-03,
+ 1.48130549358308134279e-03,
+ 1.44476062508820820261e-03,
+ 1.40788395589385340219e-03,
+ 1.37069439650360901800e-03,
+ 1.33321084695073701146e-03,
+ 1.29545218834344489506e-03,
+ 1.25743727448406820806e-03,
+ 1.21918492356532437090e-03,
+ 1.18071390994699786103e-03,
+ 1.14204295601606406994e-03,
+ 1.10319072413361980722e-03,
+ 1.06417580867146756643e-03,
+ 1.02501672814153568618e-03,
+ 9.85731917420752321024e-04,
+ 9.46339720074761028661e-04,
+ 9.06858380782653099826e-04,
+ 8.67306037865940180828e-04,
+ 8.27700715924154601863e-04,
+ 7.88060318579825755218e-04,
+ 7.48402621335140681366e-04,
+ 7.08745264542995573667e-04,
+ 6.69105746494616255432e-04,
+ 6.29501416626196083105e-04,
+ 5.89949468846577432593e-04,
+ 5.50466934988384673337e-04,
+ 5.11070678384569518186e-04,
+ 4.71777387572266644969e-04,
+ 4.32603570126133903009e-04,
+ 3.93565546622840108093e-04,
+ 3.54679444738640930936e-04,
+ 3.15961193481461178213e-04,
+ 2.77426517559644606348e-04,
+ 2.39090931888283949464e-04,
+ 2.00969736235134577339e-04,
+ 1.63078010007227617185e-04,
+ 1.25430607179671989044e-04,
+ 8.80421513676910678318e-05,
+ 5.09270310433270975443e-05,
+ 1.40993948977051206995e-05,
+-2.24268526499689963992e-05,
+-5.86380557959355767418e-05,
+-9.45208115468090933828e-05,
+-1.30061973765318488264e-04,
+-1.65248657065980185041e-04,
+-2.00068240560348736649e-04,
+-2.34508371450769772170e-04,
+-2.68556968472767403858e-04,
+-3.02202225185153135114e-04,
+-3.35432613107714699702e-04,
+-3.68236884706315019053e-04,
+-4.00604076224976460123e-04,
+-4.32523510365022737217e-04,
+-4.63984798811095579957e-04,
+-4.94977844604242624843e-04,
+-5.25492844361963827582e-04,
+-5.55520290345540247376e-04,
+-5.85050972374773735341e-04,
+-6.14075979590610184985e-04,
+-6.42586702065795259929e-04,
+-6.70574832264203037069e-04,
+-6.98032366349193725621e-04,
+-7.24951605341828033552e-04,
+-7.51325156129156322866e-04,
+-7.77145932323820387393e-04,
+-8.02407154975299293648e-04,
+-8.27102353133903219450e-04,
+-8.51225364268258727699e-04,
+-8.74770334537431802288e-04,
+-8.97731718918501797773e-04,
+-9.20104281190827605862e-04,
+-9.41883093778050233848e-04,
+-9.63063537449165905750e-04,
+-9.83641300879760935652e-04,
+-1.00361238007481306557e-03,
+-1.02297307765449128208e-03,
+-1.04172000200423238610e-03,
+-1.05985006629069969386e-03,
+-1.07736048734502422482e-03,
+-1.09424878441514257174e-03,
+-1.11051277778848088776e-03,
+-1.12615058728708443934e-03,
+-1.14116063063659394818e-03,
+-1.15554162171100749217e-03,
+-1.16929256865495575027e-03,
+-1.18241277188544584124e-03,
+-1.19490182197486941203e-03,
+-1.20675959741726535404e-03,
+-1.21798626227982297217e-03,
+-1.22858226374166065384e-03,
+-1.23854832952187280184e-03,
+-1.24788546519901061629e-03,
+-1.25659495142406364872e-03,
+-1.26467834102919943727e-03,
+-1.27213745603428412742e-03,
+-1.27897438455362244883e-03,
+-1.28519147760499177768e-03,
+-1.29079134582336268501e-03,
+-1.29577685608154116216e-03,
+-1.30015112802015094483e-03,
+-1.30391753048923449490e-03,
+-1.30707967790388737521e-03,
+-1.30964142651636395419e-03,
+-1.31160687060702277167e-03,
+-1.31298033859659005196e-03,
+-1.31376638908218385492e-03,
+-1.31396980679961724973e-03,
+-1.31359559851441281067e-03,
+-1.31264898884408520024e-03,
+-1.31113541601419526274e-03,
+-1.30906052755070225271e-03,
+-1.30643017591116055581e-03,
+-1.30325041405731484843e-03,
+-1.29952749097163636725e-03,
+-1.29526784712039586857e-03,
+-1.29047810986578645812e-03,
+-1.28516508882973415524e-03,
+-1.27933577121191956356e-03,
+-1.27299731706460124078e-03,
+-1.26615705452684046764e-03,
+-1.25882247502064623448e-03,
+-1.25100122841167137044e-03,
+-1.24270111813698665680e-03,
+-1.23393009630251375940e-03,
+-1.22469625875265661526e-03,
+-1.21500784011470538623e-03,
+-1.20487320882053006339e-03,
+-1.19430086210808427544e-03,
+-1.18329942100529298017e-03,
+-1.17187762529875026674e-03,
+-1.16004432848981092231e-03,
+-1.14780849274044756403e-03,
+-1.13517918381147498753e-03,
+-1.12216556599544479457e-03,
+-1.10877689704675665670e-03,
+-1.09502252311132830878e-03,
+-1.08091187365826806380e-03,
+-1.06645445641585442931e-03,
+-1.05165985231426076241e-03,
+-1.03653771043727446592e-03,
+-1.02109774298538512859e-03,
+-1.00534972025243104707e-03,
+-9.89303465618205854493e-04,
+-9.72968850559070386023e-04,
+-9.56355789678956110487e-04,
+-9.39474235762757228438e-04,
+-9.22334174854466432199e-04,
+-9.04945621361946477522e-04,
+-8.87318613190598128385e-04,
+-8.69463206907894578697e-04,
+-8.51389472940857513876e-04,
+-8.33107490808391681729e-04,
+-8.14627344390523211622e-04,
+-7.95959117236444131487e-04,
+-7.77112887913182157074e-04,
+-7.58098725396869001399e-04,
+-7.38926684508335205812e-04,
+-7.19606801394884719458e-04,
+-7.00149089059903611230e-04,
+-6.80563532942129469604e-04,
+-6.60860086546161931871e-04,
+-6.41048667125920334890e-04,
+-6.21139151422514545521e-04,
+-6.01141371458319205383e-04,
+-5.81065110388481308873e-04,
+-5.60920098411564179222e-04,
+-5.40716008740645473485e-04,
+-5.20462453636329636791e-04,
+-5.00168980502928035153e-04,
+-4.79845068049252442000e-04,
+-4.59500122515179752151e-04,
+-4.39143473965308969373e-04,
+-4.18784372650737749064e-04,
+-3.98431985440370181519e-04,
+-3.78095392322528038760e-04,
+-3.57783582978218623466e-04,
+-3.37505453426840712917e-04,
+-3.17269802745462131330e-04,
+-2.97085329862539673351e-04,
+-2.76960630426857884294e-04,
+-2.56904193752789059696e-04,
+-2.36924399842341755311e-04,
+-2.17029516485020210204e-04,
+-1.97227696436049984184e-04,
+-1.77526974673721080374e-04,
+-1.57935265736364822877e-04,
+-1.38460361139671443579e-04,
+-1.19109926874780676581e-04,
+-9.98915009877096604120e-05,
+-8.08124912404658787314e-05,
+-6.18801728543761411219e-05,
+-4.31016863358901726119e-05,
+-2.44840353852607290751e-05,
+-6.03408488822807525549e-06,
+ 1.22414410087942923482e-05,
+ 3.03359607401630166279e-05,
+ 4.82430370786643698930e-05,
+ 6.59563788094303331657e-05,
+ 8.34698423199615796228e-05,
+ 1.00777433106333784039e-04,
+ 1.17873307195481496850e-04,
+ 1.34751772483674884346e-04,
+ 1.51407289991337552218e-04,
+ 1.67834475034225882872e-04,
+ 1.84028098311239825778e-04,
+ 1.99983086909011169297e-04,
+ 2.15694525223608961004e-04,
+ 2.31157655799539194473e-04,
+ 2.46367880086458945071e-04,
+ 2.61320759113890506518e-04,
+ 2.76012014084471178285e-04,
+ 2.90437526885940853344e-04,
+ 3.04593340522622661477e-04,
+ 3.18475659466672001308e-04,
+ 3.32080849929764377465e-04,
+ 3.45405440055728798956e-04,
+ 3.58446120034815369788e-04,
+ 3.71199742140139986053e-04,
+ 3.83663320687053425832e-04,
+ 3.95834031916090828447e-04,
+ 4.07709213800306149479e-04,
+ 4.19286365777668133727e-04,
+ 4.30563148409382728376e-04,
+ 4.41537382964913725693e-04,
+ 4.52207050934656925797e-04,
+ 4.62570293470961546242e-04,
+ 4.72625410758635230730e-04,
+ 4.82370861315684551149e-04,
+ 4.91805261225328150740e-04,
+ 5.00927383300294468485e-04,
+ 5.09736156180340470138e-04,
+ 5.18230663364083014855e-04,
+ 5.26410142176160977465e-04,
+ 5.34273982670858136115e-04,
+ 5.41821726473215733132e-04,
+ 5.49053065558819199977e-04,
+ 5.55967840973343140065e-04,
+ 5.62566041493084596781e-04,
+ 5.68847802227587348751e-04,
+ 5.74813403165606124842e-04,
+ 5.80463267665585255090e-04,
+ 5.85797960891953992807e-04,
+ 5.90818188198352634011e-04,
+ 5.95524793459205619046e-04,
+ 5.99918757350793364382e-04,
+ 6.04001195583171897330e-04,
+ 6.07773357084216074402e-04,
+ 6.11236622137123529822e-04,
+ 6.14392500472671181100e-04,
+ 6.17242629317575641247e-04,
+ 6.19788771400296852575e-04,
+ 6.22032812915646266330e-04,
+ 6.23976761449542352556e-04,
+ 6.25622743865282679096e-04,
+ 6.26973004152734866845e-04,
+ 6.28029901241785953013e-04,
+ 6.28795906781460817864e-04,
+ 6.29273602886090081127e-04,
+ 6.29465679849935955126e-04,
+ 6.29374933831637162034e-04,
+ 6.29004264509917614644e-04,
+ 6.28356672711923979618e-04,
+ 6.27435258015602670238e-04,
+ 6.26243216327530610385e-04,
+ 6.24783837437580067548e-04,
+ 6.23060502551831571320e-04,
+ 6.21076681805128117189e-04,
+ 6.18835931754663313292e-04,
+ 6.16341892855999597296e-04,
+ 6.13598286922899423257e-04,
+ 6.10608914572360016171e-04,
+ 6.07377652656219848941e-04,
+ 6.03908451680720608987e-04,
+ 6.00205333215381750360e-04,
+ 5.96272387292547546150e-04,
+ 5.92113769798962869678e-04,
+ 5.87733699860716260477e-04,
+ 5.83136457222883410056e-04,
+ 5.78326379625196070923e-04,
+ 5.73307860175058681823e-04,
+ 5.68085344719199331932e-04,
+ 5.62663329215264671791e-04,
+ 5.57046357104629347515e-04,
+ 5.51239016687691835844e-04,
+ 5.45245938502918582949e-04,
+ 5.39071792710859535452e-04,
+ 5.32721286484389919269e-04,
+ 5.26199161406370888652e-04,
+ 5.19510190875949965511e-04,
+ 5.12659177524647379116e-04,
+ 5.05650950643461694588e-04,
+ 4.98490363622070692395e-04,
+ 4.91182291401325650700e-04,
+ 4.83731627940122419548e-04,
+ 4.76143283697776802978e-04,
+ 4.68422183132952726740e-04,
+ 4.60573262220249240485e-04,
+ 4.52601465985464203410e-04,
+ 4.44511746060588389465e-04,
+ 4.36309058259498746754e-04,
+ 4.27998360175392566791e-04,
+ 4.19584608800889610671e-04,
+ 4.11072758171783069880e-04,
+ 4.02467757035333936928e-04,
+ 3.93774546544049656484e-04,
+ 3.84998057975832470683e-04,
+ 3.76143210481313700240e-04,
+ 3.67214908859312392543e-04,
+ 3.58218041361136620669e-04,
+ 3.49157477524604336044e-04,
+ 3.40038066038525694287e-04,
+ 3.30864632638427479810e-04,
+ 3.21641978034209344382e-04,
+ 3.12374875870502510550e-04,
+ 3.03068070720368721877e-04,
+ 2.93726276113044930307e-04,
+ 2.84354172596324122988e-04,
+ 2.74956405834251703824e-04,
+ 2.65537584740686090270e-04,
+ 2.56102279649332684359e-04,
+ 2.46655020520732712157e-04,
+ 2.37200295186851598233e-04,
+ 2.27742547633623577692e-04,
+ 2.18286176322046336163e-04,
+ 2.08835532548216017655e-04,
+ 1.99394918842769620351e-04,
+ 1.89968587410093434423e-04,
+ 1.80560738607737464008e-04,
+ 1.71175519466368710516e-04,
+ 1.61817022250571095152e-04,
+ 1.52489283060860649410e-04,
+ 1.43196280477158617963e-04,
+ 1.33941934244020521144e-04,
+ 1.24730103997818122337e-04,
+ 1.15564588036148766046e-04,
+ 1.06449122129624024050e-04,
+ 9.73873783762444747338e-05,
+ 8.83829640984437603628e-05,
+ 7.94394207830501368397e-05,
+ 7.05602230641164422306e-05,
+ 6.17487777488439845697e-05,
+ 5.30084228865277819307e-05,
+ 4.43424268807018922721e-05,
+ 3.57539876443504868529e-05,
+ 2.72462317982963840894e-05,
+ 1.88222139126731892130e-05,
+ 1.04849157914673770899e-05,
+ 2.23724580001398245952e-06,
+-5.91796176458841909860e-06,
+-1.39779472603022615363e-05,
+-2.19400262443108254274e-05,
+-2.98015899747312779436e-05,
+-3.75601058699388188874e-05,
+-4.52131179258346812058e-05,
+-5.27582470911579511194e-05,
+-6.01931916011169823111e-05,
+-6.75157272696155086192e-05,
+-7.47237077402686759994e-05,
+-8.18150646965978259242e-05,
+-8.87878080315813176041e-05,
+-9.56400259770174112402e-05,
+-1.02369885192932295447e-04,
+-1.08975630817447491838e-04,
+-1.15455586477445233109e-04,
+-1.21808154260462635915e-04,
+-1.28031814648165977134e-04,
+-1.34125126411867404445e-04,
+-1.40086726470483718130e-04,
+-1.45915329711446663599e-04,
+-1.51609728774925367391e-04,
+-1.57168793801964925671e-04,
+-1.62591472146915872604e-04,
+-1.67876788054762332352e-04,
+-1.73023842303760092562e-04,
+-1.78031811814023872061e-04,
+-1.82899949222519527144e-04,
+-1.87627582425063416539e-04,
+-1.92214114085866635134e-04,
+-1.96659021115234305434e-04,
+-2.00961854115964548605e-04,
+-2.05122236799067813760e-04,
+-2.09139865369424642018e-04,
+-2.13014507881963919287e-04,
+-2.16746003569016719827e-04,
+-2.20334262139455170628e-04,
+-2.23779263050288623272e-04,
+-2.27081054751326671731e-04,
+-2.30239753903598189230e-04,
+-2.33255544572162539776e-04,
+-2.36128677394024743099e-04,
+-2.38859468721759089912e-04,
+-2.41448299743606627134e-04,
+-2.43895615580664562507e-04,
+-2.46201924361897988517e-04,
+-2.48367796277648787261e-04,
+-2.50393862612362249915e-04,
+-2.52280814757210175570e-04,
+-2.54029403203337271477e-04,
+-2.55640436516424906718e-04,
+-2.57114780293308988878e-04,
+-2.58453356101321892260e-04,
+-2.59657140401130335366e-04,
+-2.60727163453730896234e-04,
+-2.61664508212373382850e-04,
+-2.62470309200077975623e-04,
+-2.63145751373508769710e-04,
+-2.63692068973905575490e-04,
+-2.64110544365773612825e-04,
+-2.64402506864084673854e-04,
+-2.64569331550674807438e-04,
+-2.64612438080565591254e-04,
+-2.64533289478916812908e-04,
+-2.64333390929326621406e-04,
+-2.64014288554176887285e-04,
+-2.63577568187730454374e-04,
+-2.63024854142685936189e-04,
+-2.62357807970878796362e-04,
+-2.61578127218826830911e-04,
+-2.60687544178804346540e-04,
+-2.59687824636131118095e-04,
+-2.58580766613355161020e-04,
+-2.57368199111998000473e-04,
+-2.56051980852535184582e-04,
+-2.54633999013272917245e-04,
+-2.53116167968770410229e-04,
+-2.51500428028467203686e-04,
+-2.49788744176148520739e-04,
+-2.47983104810888498049e-04,
+-2.46085520490098991209e-04,
+-2.44098022675305284133e-04,
+-2.42022662481256641692e-04,
+-2.39861509428983846149e-04,
+-2.37616650203396260988e-04,
+-2.35290187416002671578e-04,
+-2.32884238373345356290e-04,
+-2.30400933851706944807e-04,
+-2.27842416878660760553e-04,
+-2.25210841522004905167e-04,
+-2.22508371686640725982e-04,
+-2.19737179919906623887e-04,
+-2.16899446225907947382e-04,
+-2.13997356889345798732e-04,
+-2.11033103309352538255e-04,
+-2.08008880843819519632e-04,
+-2.04926887664708660573e-04,
+-2.01789323624807442155e-04,
+-1.98598389136399967663e-04,
+-1.95356284062287273917e-04,
+-1.92065206619610498147e-04,
+-1.88727352296894345393e-04,
+-1.85344912784731391314e-04,
+-1.81920074920499755819e-04,
+-1.78455019647530454055e-04,
+-1.74951920989073971512e-04,
+-1.71412945037461607323e-04,
+-1.67840248958807175192e-04,
+-1.64235980013589989322e-04,
+-1.60602274593463965847e-04,
+-1.56941257274607583660e-04,
+-1.53255039887926981963e-04,
+-1.49545720606400077326e-04,
+-1.45815383049865629223e-04,
+-1.42066095407511174204e-04,
+-1.38299909578337953649e-04,
+-1.34518860329830815736e-04,
+-1.30724964475093245915e-04,
+-1.26920220068654472992e-04,
+-1.23106605621173758290e-04,
+-1.19286079333219134950e-04,
+-1.15460578348350841244e-04,
+-1.11632018025632952099e-04,
+-1.07802291231779830637e-04,
+-1.03973267653065606659e-04,
+-1.00146793127148565233e-04,
+-9.63246889949230804435e-05,
+-9.25087514725346873358e-05,
+-8.87007510436452450671e-05,
+-8.49024318720545515026e-05,
+-8.11155112347393549661e-05,
+-7.73416789754019609908e-05,
+-7.35825969785674924512e-05,
+-6.98398986642887023612e-05,
+-6.61151885034750767074e-05,
+-6.24100415538899748772e-05,
+-5.87260030168200428450e-05,
+-5.50645878143974986741e-05,
+-5.14272801876128782695e-05,
+-4.78155333149380714058e-05,
+-4.42307689515766361233e-05,
+-4.06743770892715146635e-05,
+-3.71477156366324749162e-05,
+-3.36521101199027279356e-05,
+-3.01888534041130525139e-05,
+-2.67592054345224943665e-05,
+-2.33643929982665948157e-05,
+-2.00056095060906951114e-05,
+-1.66840147940797201324e-05,
+-1.34007349452439661363e-05,
+-1.01568621308437851693e-05,
+-6.95345447128813701427e-06,
+-3.79153591650250810366e-06,
+-6.72096145553293655593e-07,
+ 2.40390951459279597616e-06,
+ 5.43556015137456058426e-06,
+ 8.42196931017640123499e-06,
+ 1.13622850193110927676e-05,
+ 1.42556897966238257746e-05,
+ 1.71014006379341248229e-05,
+ 1.98986689875390831126e-05,
+ 2.26467806909793172563e-05,
+ 2.53450559303131682314e-05,
+ 2.79928491421220740245e-05,
+ 3.05895489185053302676e-05,
+ 3.31345778912925430443e-05,
+ 3.56273925997451632237e-05,
+ 3.80674833419947510364e-05,
+ 4.04543740105068599521e-05,
+ 4.27876219118044463113e-05,
+ 4.50668175707753267513e-05,
+ 4.72915845198089502860e-05,
+ 4.94615790730713200283e-05,
+ 5.15764900862005805371e-05,
+ 5.36360387017334339240e-05,
+ 5.56399780805481871900e-05,
+ 5.75880931196438774090e-05,
+ 5.94802001565561985590e-05,
+ 6.13161466607366493955e-05,
+ 6.30958109121965409621e-05,
+ 6.48191016677504891876e-05,
+ 6.64859578151715343739e-05,
+ 6.80963480156043240521e-05,
+ 6.96502703345347587470e-05,
+ 7.11477518616810702089e-05,
+ 7.25888483201263885920e-05,
+ 7.39736436650163245096e-05,
+ 7.53022496721903708853e-05,
+ 7.65748055170595645635e-05,
+ 7.77914773440878826866e-05,
+ 7.89524578272120806021e-05,
+ 8.00579657215541123884e-05,
+ 8.11082454067584148567e-05,
+ 8.21035664223097817662e-05,
+ 8.30442229951717527346e-05,
+ 8.39305335600990616227e-05,
+ 8.47628402729624154692e-05,
+ 8.55415085174379832356e-05,
+ 8.62669264054029689666e-05,
+ 8.69395042713942022743e-05,
+ 8.75596741614536786501e-05,
+ 8.81278893167311284636e-05,
+ 8.86446236521661512422e-05,
+ 8.91103712306026604075e-05,
+ 8.95256457326717546962e-05,
+ 8.98909799227875892661e-05,
+ 9.02069251115862640782e-05,
+ 9.04740506151490363976e-05,
+ 9.06929432113401867103e-05,
+ 9.08642065935940279782e-05,
+ 9.09884608224771455898e-05,
+ 9.10663417753510066833e-05,
+ 9.10985005944656069544e-05,
+ 9.10856031337957275460e-05,
+ 9.10283294049456589850e-05,
+ 9.09273730224310103125e-05,
+ 9.07834406486567112131e-05,
+ 9.05972514388884682737e-05,
+ 9.03695364865346147717e-05,
+ 9.01010382690298824038e-05,
+ 8.97925100946232214449e-05,
+ 8.94447155503604388049e-05,
+ 8.90584279515538464710e-05,
+ 8.86344297930203114553e-05,
+ 8.81735122023717546660e-05,
+ 8.76764743956322256668e-05,
+ 8.71441231354561004216e-05,
+ 8.65772721922116491981e-05,
+ 8.59767418081955635050e-05,
+ 8.53433581652348287718e-05,
+ 8.46779528559294970011e-05,
+ 8.39813623587842351167e-05,
+ 8.32544275174723505482e-05,
+ 8.24979930244696123580e-05,
+ 8.17129069092911340059e-05,
+ 8.09000200315580515319e-05,
+ 8.00601855791177764851e-05,
+ 7.91942585714318722121e-05,
+ 7.83030953684469709260e-05,
+ 7.73875531851490379041e-05,
+ 7.64484896120066966278e-05,
+ 7.54867621414943666810e-05,
+ 7.45032277008856680736e-05,
+ 7.34987421914997258445e-05,
+ 7.24741600345781298914e-05,
+ 7.14303337239639759421e-05,
+ 7.03681133857495075701e-05,
+ 6.92883463450485250238e-05,
+ 6.81918767000556897513e-05,
+ 6.70795449035298084342e-05,
+ 6.59521873518545653477e-05,
+ 6.48106359818019012913e-05,
+ 6.36557178751403541801e-05,
+ 6.24882548712000070136e-05,
+ 6.13090631875229413088e-05,
+ 6.01189530487050480105e-05,
+ 5.89187283235398522627e-05,
+ 5.77091861705600261078e-05,
+ 5.64911166920768371556e-05,
+ 5.52653025968012133018e-05,
+ 5.40325188711331935503e-05,
+ 5.27935324591918643858e-05,
+ 5.15491019516612150597e-05,
+ 5.02999772835162253098e-05,
+ 4.90468994406823114189e-05,
+ 4.77906001756943685883e-05,
+ 4.65318017323872241855e-05,
+ 4.52712165796745444508e-05,
+ 4.40095471544385224527e-05,
+ 4.27474856135762158195e-05,
+ 4.14857135952114382585e-05,
+ 4.02249019891050019768e-05,
+ 3.89657107162695045101e-05,
+ 3.77087885178019617646e-05,
+ 3.64547727529321324196e-05,
+ 3.52042892062907349744e-05,
+ 3.39579519043854685862e-05,
+ 3.27163629412759540162e-05,
+ 3.14801123134230239524e-05,
+ 3.02497777637023744978e-05,
+ 2.90259246345387218443e-05,
+ 2.78091057301432964695e-05,
+ 2.65998611878025348972e-05,
+ 2.53987183581919854364e-05,
+ 2.42061916946511448772e-05,
+ 2.30227826513813061706e-05,
+ 2.18489795905047869758e-05,
+ 2.06852576979222047276e-05,
+ 1.95320789079097866306e-05,
+ 1.83898918363816234168e-05,
+ 1.72591317227478167385e-05,
+ 1.61402203802856600485e-05,
+ 1.50335661549492530784e-05,
+ 1.39395638925266073790e-05,
+ 1.28585949140593193966e-05,
+ 1.17910269994264146578e-05,
+ 1.07372143790027249535e-05,
+ 9.69749773328629209753e-06,
+ 8.67220420039572420566e-06,
+ 7.66164739132314657512e-06,
+ 6.66612741284622437347e-06,
+ 5.68593089796976951548e-06,
+ 4.72133104379410701050e-06,
+ 3.77258765668374723169e-06,
+ 2.83994720461857994069e-06,
+ 1.92364287659795633360e-06,
+ 1.02389464897677183691e-06,
+ 1.40909358598783243636e-07,
+-7.25119217400925882488e-07,
+-1.57401027526573751796e-06,
+-2.40559589188401177682e-06,
+-3.21972092580435969379e-06,
+-4.01624291213239929447e-06,
+-4.79503195145223449727e-06,
+-5.55597059291959898474e-06,
+-6.29895371166915398527e-06,
+-7.02388838068995278969e-06,
+-7.73069373730662337714e-06,
+-8.41930084443043260571e-06,
+-9.08965254672049638874e-06,
+-9.74170332181420186798e-06,
+-1.03754191267770145960e-05,
+-1.09907772399306088372e-05,
+-1.15877660982095854786e-05,
+-1.21663851302071818753e-05,
+-1.27266445850638015879e-05,
+-1.32685653573596831328e-05,
+-1.37921788081646564831e-05,
+-1.42975265824070264185e-05,
+-1.47846604227169150120e-05,
+-1.52536419799077777845e-05,
+-1.57045426202454864190e-05,
+-1.61374432296745794440e-05,
+-1.65524340151509907705e-05,
+-1.69496143032443776877e-05,
+-1.73290923361651281922e-05,
+-1.76909850653765942752e-05,
+-1.80354179429455134585e-05,
+-1.83625247107888849940e-05,
+-1.86724471879742999741e-05,
+-1.89653350562250020523e-05,
+-1.92413456437866339777e-05,
+-1.95006437078064384194e-05,
+-1.97434012153796016272e-05,
+-1.99697971234102591856e-05,
+-2.01800171574394671614e-05,
+-2.03742535895865872536e-05,
+-2.05527050157544749519e-05,
+-2.07155761322383869926e-05,
+-2.08630775118898238230e-05,
+-2.09954253799722451970e-05,
+-2.11128413898529763743e-05,
+-2.12155523986690494219e-05,
+-2.13037902431062623279e-05,
+-2.13777915154254429865e-05,
+-2.14377973398712400380e-05,
+-2.14840531495946086989e-05,
+-2.15168084642204138245e-05,
+-2.15363166681862903517e-05,
+-2.15428347899803886579e-05,
+-2.15366232824005027408e-05,
+-2.15179458039577262574e-05,
+-2.14870690015422825217e-05,
+-2.14442622944694083432e-05,
+-2.13897976600211963056e-05,
+-2.13239494205938423077e-05,
+-2.12469940325636042692e-05,
+-2.11592098769767039874e-05,
+-2.10608770521689021838e-05,
+-2.09522771684173563140e-05,
+-2.08336931447246940868e-05,
+-2.07054090078323760555e-05,
+-2.05677096935581607638e-05,
+-2.04208808505498906150e-05,
+-2.02652086465450858026e-05,
+-2.01009795772225878085e-05,
+-1.99284802777307897448e-05,
+-1.97479973369733553508e-05,
+-1.95598171147313057406e-05,
+-1.93642255616965921713e-05,
+-1.91615080424908975211e-05,
+-1.89519491617392180451e-05,
+-1.87358325932659067312e-05,
+-1.85134409124775290410e-05,
+-1.82850554319945745078e-05,
+-1.80509560405904254164e-05,
+-1.78114210454942761765e-05,
+-1.75667270181107023892e-05,
+-1.73171486432067083623e-05,
+-1.70629585716134836285e-05,
+-1.68044272764881711800e-05,
+-1.65418229131769521309e-05,
+-1.62754111827191523261e-05,
+-1.60054551990284544996e-05,
+-1.57322153597849753270e-05,
+-1.54559492210684566130e-05,
+-1.51769113757617390406e-05,
+-1.48953533357483810943e-05,
+-1.46115234179280960335e-05,
+-1.43256666340692667526e-05,
+-1.40380245845161517285e-05,
+-1.37488353557644599467e-05,
+-1.34583334219182035850e-05,
+-1.31667495500361276861e-05,
+-1.28743107093750131593e-05,
+-1.25812399845332226092e-05,
+-1.22877564924967183814e-05,
+-1.19940753035859587103e-05,
+-1.17004073663007361519e-05,
+-1.14069594360560160192e-05,
+-1.11139340078022052344e-05,
+-1.08215292525168970740e-05,
+-1.05299389575568482923e-05,
+-1.02393524708539662493e-05,
+-9.94995464893742348120e-06,
+-9.66192580876271611343e-06,
+-9.37544168332491989210e-06,
+-9.09067338103246418157e-06,
+-8.80778734881422739372e-06,
+-8.52694533893248795902e-06,
+-8.24830437947059051977e-06,
+-7.97201674846333152320e-06,
+-7.69822995163491404110e-06,
+-7.42708670370925303302e-06,
+-7.15872491325360909230e-06,
+-6.89327767101633304933e-06,
+-6.63087324171573705124e-06,
+-6.37163505923899323223e-06,
+-6.11568172520321447157e-06,
+-5.86312701083429459631e-06,
+-5.61407986211404469277e-06,
+-5.36864440814655013182e-06,
+-5.12691997269171846217e-06,
+-4.88900108881444233564e-06,
+-4.65497751659457443244e-06,
+-4.42493426384305196255e-06,
+-4.19895160976678087265e-06,
+-3.97710513152554464493e-06,
+-3.75946573362158312445e-06,
+-3.54609968006129461300e-06,
+-3.33706862922910230812e-06,
+-3.13242967141053148128e-06,
+-2.93223536890220278037e-06,
+-2.73653379864365903313e-06,
+-2.54536859730841838172e-06,
+-2.35877900878616331091e-06,
+-2.17679993399191934131e-06,
+-1.99946198293410626841e-06,
+-1.82679152897453787459e-06,
+-1.65881076521146377169e-06,
+-1.49553776291791911430e-06,
+-1.33698653196547020166e-06,
+-1.18316708316432299485e-06,
+-1.03408549244911473199e-06,
+-8.89743966841013678409e-07,
+-7.50140912114827378233e-07,
+-6.15271002100918799020e-07,
+-4.85125249549975873449e-07,
+-3.59691078491283933177e-07,
+-2.38952398011216803052e-07,
+-1.22889677382464548894e-07,
+ 0 /* Need a final zero coefficient */
+
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/float_cast.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/float_cast.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/float_cast.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,203 @@
+/*
+** Copyright (C) 2001-2003 Erik de Castro Lopo <erikd at mega-nerd.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 of the License, or
+** (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA.
+*/
+
+/* Version 1.3 */
+
+
+/*============================================================================
+** On Intel Pentium processors (especially PIII and probably P4), converting
+** from float to int is very slow. To meet the C specs, the code produced by
+** most C compilers targeting Pentium needs to change the FPU rounding mode
+** before the float to int conversion is performed.
+**
+** Changing the FPU rounding mode causes the FPU pipeline to be flushed. It
+** is this flushing of the pipeline which is so slow.
+**
+** Fortunately the ISO C99 specifications define the functions lrint, lrintf,
+** llrint and llrintf which fix this problem as a side effect.
+**
+** On Unix-like systems, the configure process should have detected the
+** presence of these functions. If they weren't found we have to replace them
+** here with a standard C cast.
+*/
+
+/*
+** The C99 prototypes for lrint and lrintf are as follows:
+**
+** long int lrintf (float x) ;
+** long int lrint (double x) ;
+*/
+
+#include "config.h"
+
+/*
+** The presence of the required functions are detected during the configure
+** process and the values HAVE_LRINT and HAVE_LRINTF are set accordingly in
+** the config.h file.
+*/
+
+#define HAVE_LRINT_REPLACEMENT 0
+
+#if (HAVE_LRINT && HAVE_LRINTF)
+
+ /*
+ ** These defines enable functionality introduced with the 1999 ISO C
+ ** standard. They must be defined before the inclusion of math.h to
+ ** engage them. If optimization is enabled, these functions will be
+ ** inlined. With optimization switched off, you have to link in the
+ ** maths library using -lm.
+ */
+
+ #define _ISOC9X_SOURCE 1
+ #define _ISOC99_SOURCE 1
+
+ #define __USE_ISOC9X 1
+ #define __USE_ISOC99 1
+
+ #include <math.h>
+
+#elif (defined (WIN32) || defined (_WIN32))
+
+ #undef HAVE_LRINT_REPLACEMENT
+ #define HAVE_LRINT_REPLACEMENT 1
+ #include <math.h>
+
+ /*
+ ** Win32 doesn't seem to have these functions.
+ ** Therefore implement inline versions of these functions here.
+ */
+
+ __inline long int
+ lrint (double flt)
+ { int intgr;
+
+ _asm
+ { fld flt
+ fistp intgr
+ } ;
+
+ return intgr ;
+ }
+
+ __inline long int
+ lrintf (float flt)
+ { int intgr;
+
+ _asm
+ { fld flt
+ fistp intgr
+ } ;
+
+ return intgr ;
+ }
+
+#elif (defined (__MWERKS__) && defined (macintosh))
+
+ /* This MacOS 9 solution was provided by Stephane Letz */
+
+ #undef HAVE_LRINT_REPLACEMENT
+ #define HAVE_LRINT_REPLACEMENT 1
+ #include <math.h>
+
+ #undef lrint
+ #undef lrintf
+
+ #define lrint double2int
+ #define lrintf float2int
+
+ inline int
+ float2int (register float in)
+ { long res [2] ;
+
+ asm
+ { fctiw in,in
+ stfd in,res
+ }
+ return res [1] ;
+ } /* float2int */
+
+ inline int
+ double2int (register double in)
+ { long res [2] ;
+
+ asm
+ { fctiw in,in
+ stfd in,res
+ }
+ return res [1] ;
+ } /* double2int */
+
+#elif (defined (__MACH__) && defined (__APPLE__))
+
+ /* For Apple MacOSX. */
+
+ #undef HAVE_LRINT_REPLACEMENT
+ #define HAVE_LRINT_REPLACEMENT 1
+ #include <math.h>
+
+ #undef lrint
+ #undef lrintf
+
+ #define lrint double2int
+ #define lrintf float2int
+
+ inline static long int
+ float2int (register float in)
+ { int res [2] ;
+
+ __asm__ __volatile__
+ ( "fctiw %1, %1\n\t"
+ "stfd %1, %0"
+ : "=m" (res) /* Output */
+ : "f" (in) /* Input */
+ : "memory"
+ ) ;
+
+ return res [1] ;
+ } /* lrintf */
+
+ inline static long int
+ double2int (register double in)
+ { int res [2] ;
+
+ __asm__ __volatile__
+ ( "fctiw %1, %1\n\t"
+ "stfd %1, %0"
+ : "=m" (res) /* Output */
+ : "f" (in) /* Input */
+ : "memory"
+ ) ;
+
+ return res [1] ;
+ } /* lrint */
+
+#else
+ #ifndef __sgi
+ #warning "Don't have the functions lrint() and lrintf()."
+ #warning "Replacing these functions with a standard C cast."
+ #endif
+
+ #include <math.h>
+
+ #define lrint(dbl) ((int) (dbl))
+ #define lrintf(flt) ((int) (flt))
+
+#endif
+
+
+
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/high_qual_coeffs.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/high_qual_coeffs.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/high_qual_coeffs.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,17116 @@
+/*
+** Copyright (C) 2002,2003 Erik de Castro Lopo <erikd at mega-nerd.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 of the License, or
+** (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA.
+*/
+
+/*
+** f = make_filter (65, 128, 100.3) ;
+** Pass band width : 0.0039062 (should be 0.0039062)
+** Stop band atten. : 101.20 dB
+** -3dB band width : 0.846
+** half length : 17087
+** increment : 128
+*/
+
+ 9.73822959712628111184e-01,
+ 9.73730227534126968614e-01,
+ 9.73452062795049033461e-01,
+ 9.72988560871685836950e-01,
+ 9.72339880681256651940e-01,
+ 9.71506244617024061760e-01,
+ 9.70487938457503807044e-01,
+ 9.69285311249795999977e-01,
+ 9.67898775167100988703e-01,
+ 9.66328805340476049146e-01,
+ 9.64575939664910952942e-01,
+ 9.62640778579811451365e-01,
+ 9.60523984823974497083e-01,
+ 9.58226283165186876190e-01,
+ 9.55748460104550945360e-01,
+ 9.53091363555660264772e-01,
+ 9.50255902498805649081e-01,
+ 9.47243046610318550904e-01,
+ 9.44053825867236739988e-01,
+ 9.40689330127495004774e-01,
+ 9.37150708685763667027e-01,
+ 9.33439169805209578712e-01,
+ 9.29555980225306610620e-01,
+ 9.25502464645995059911e-01,
+ 9.21280005188352291157e-01,
+ 9.16890040832049391106e-01,
+ 9.12334066829837087020e-01,
+ 9.07613634099317501125e-01,
+ 9.02730348592271192310e-01,
+ 8.97685870641828032035e-01,
+ 8.92481914287746591619e-01,
+ 8.87120246580144211634e-01,
+ 8.81602686861939210949e-01,
+ 8.75931106030353401337e-01,
+ 8.70107425777795429056e-01,
+ 8.64133617812459453589e-01,
+ 8.58011703058984220860e-01,
+ 8.51743750839512703266e-01,
+ 8.45331878035551986805e-01,
+ 8.38778248230970913113e-01,
+ 8.32085070836509732572e-01,
+ 8.25254600196225540643e-01,
+ 8.18289134676235541122e-01,
+ 8.11191015736170029093e-01,
+ 8.03962626983747541409e-01,
+ 7.96606393212902830214e-01,
+ 7.89124779425847022729e-01,
+ 7.81520289839554460620e-01,
+ 7.73795466877067239508e-01,
+ 7.65952890144075193568e-01,
+ 7.57995175391232733908e-01,
+ 7.49924973462656851986e-01,
+ 7.41744969231072803773e-01,
+ 7.33457880520075322650e-01,
+ 7.25066457013996301662e-01,
+ 7.16573479155810266761e-01,
+ 7.07981757033636860399e-01,
+ 6.99294129256251117965e-01,
+ 6.90513461818149987259e-01,
+ 6.81642646954653708136e-01,
+ 6.72684601987533770107e-01,
+ 6.63642268161698578588e-01,
+ 6.54518609473419998857e-01,
+ 6.45316611490632463521e-01,
+ 6.36039280165809350898e-01,
+ 6.26689640641951539735e-01,
+ 6.17270736052177193542e-01,
+ 6.07785626313482429950e-01,
+ 5.98237386915153934730e-01,
+ 5.88629107702400733437e-01,
+ 5.78963891655698170702e-01,
+ 5.69244853666411754212e-01,
+ 5.59475119309209012464e-01,
+ 5.49657823611788054485e-01,
+ 5.39796109822496594788e-01,
+ 5.29893128176318617406e-01,
+ 5.19952034659813655537e-01,
+ 5.09975989775514948477e-01,
+ 4.99968157306331650869e-01,
+ 4.89931703080488667457e-01,
+ 4.79869793737535021982e-01,
+ 4.69785595495954833023e-01,
+ 4.59682272922913082169e-01,
+ 4.49562987706663808041e-01,
+ 4.39430897432148248605e-01,
+ 4.29289154360313895964e-01,
+ 4.19140904211673437363e-01,
+ 4.08989284954621334922e-01,
+ 3.98837425599043837732e-01,
+ 3.88688444995713366925e-01,
+ 3.78545450641997294206e-01,
+ 3.68411537494394758507e-01,
+ 3.58289786788378861182e-01,
+ 3.48183264866087693878e-01,
+ 3.38095022012320112204e-01,
+ 3.28028091299366553191e-01,
+ 3.17985487441129255348e-01,
+ 3.07970205657046469661e-01,
+ 2.97985220546282070231e-01,
+ 2.88033484972657738421e-01,
+ 2.78117928960799731808e-01,
+ 2.68241458603957205753e-01,
+ 2.58406954983961600902e-01,
+ 2.48617273103761360353e-01,
+ 2.38875240832987723039e-01,
+ 2.29183657866993378827e-01,
+ 2.19545294699780346726e-01,
+ 2.09962891611264163005e-01,
+ 2.00439157669269424344e-01,
+ 1.90976769746686869667e-01,
+ 1.81578371554184297976e-01,
+ 1.72246572688870225321e-01,
+ 1.62983947699301107148e-01,
+ 1.53793035167208436143e-01,
+ 1.44676336806320998685e-01,
+ 1.35636316578646581865e-01,
+ 1.26675399828566487281e-01,
+ 1.17795972435093473929e-01,
+ 1.09000379982627515485e-01,
+ 1.00290926950544131979e-01,
+ 9.16698759219308212387e-02,
+ 8.31394468117901269677e-02,
+ 7.47018161150024284645e-02,
+ 6.63591161743508073378e-02,
+ 5.81134344688867474082e-02,
+ 4.99668129229093108123e-02,
+ 4.19212472358281990070e-02,
+ 3.39786862331567796058e-02,
+ 2.61410312388884458201e-02,
+ 1.84101354694814652035e-02,
+ 1.07878034496857889285e-02,
+ 3.27579045041895364904e-03,
+-4.12419805110235924983e-03,
+-1.14105068887806991584e-02,
+-1.85815317024259456236e-02,
+-2.56357194097392264431e-02,
+-3.25715686553301464468e-02,
+-3.93876302366183567161e-02,
+-4.60825075064776670808e-02,
+-5.26548567524927901840e-02,
+-5.91033875527125010518e-02,
+-6.54268631077873363822e-02,
+-7.16241005493989252306e-02,
+-7.76939712248916614090e-02,
+-8.36354009580342477870e-02,
+-8.94473702858456093390e-02,
+-9.51289146714309197250e-02,
+-1.00679124692788404816e-01,
+-1.06097146207554629549e-01,
+-1.11382180493666688159e-01,
+-1.16533484365933040494e-01,
+-1.21550370268516991223e-01,
+-1.26432206343341957400e-01,
+-1.31178416474445280748e-01,
+-1.35788480308313530553e-01,
+-1.40261933250244968940e-01,
+-1.44598366436796466061e-01,
+-1.48797426684381700612e-01,
+-1.52858816414098541703e-01,
+-1.56782293552872986631e-01,
+-1.60567671411021850592e-01,
+-1.64214818536340179111e-01,
+-1.67723658544838616358e-01,
+-1.71094169928257461288e-01,
+-1.74326385838498049141e-01,
+-1.77420393849128360531e-01,
+-1.80376335694119815933e-01,
+-1.83194406983985758064e-01,
+-1.85874856899509832697e-01,
+-1.88417987863249564162e-01,
+-1.90824155189017602430e-01,
+-1.93093766709557357331e-01,
+-1.95227282382623990031e-01,
+-1.97225213875713484279e-01,
+-1.99088124129663118778e-01,
+-2.00816626901390404836e-01,
+-2.02411386286012268121e-01,
+-2.03873116218622224549e-01,
+-2.05202579955993086314e-01,
+-2.06400589538496825881e-01,
+-2.07468005232528396320e-01,
+-2.08405734953734406156e-01,
+-2.09214733671363894985e-01,
+-2.09896002794046132589e-01,
+-2.10450589537331811396e-01,
+-2.10879586273321456558e-01,
+-2.11184129862729524918e-01,
+-2.11365400969725530933e-01,
+-2.11424623359909302778e-01,
+-2.11363063181782606659e-01,
+-2.11182028232088397912e-01,
+-2.10882867205385543530e-01,
+-2.10466968928249342774e-01,
+-2.09935761578479540557e-01,
+-2.09290711889717429006e-01,
+-2.08533324341858283812e-01,
+-2.07665140337684211991e-01,
+-2.06687737366111012882e-01,
+-2.05602728152473046563e-01,
+-2.04411759796272074485e-01,
+-2.03116512896803713684e-01,
+-2.01718700667107064817e-01,
+-2.00220068036660509003e-01,
+-1.98622390743273286029e-01,
+-1.96927474414606312747e-01,
+-1.95137153639780930314e-01,
+-1.93253291031515200826e-01,
+-1.91277776279251604530e-01,
+-1.89212525193726166517e-01,
+-1.87059478743444584925e-01,
+-1.84820602083524743176e-01,
+-1.82497883577372205233e-01,
+-1.80093333811659150889e-01,
+-1.77608984605069908369e-01,
+-1.75046888011289869524e-01,
+-1.72409115316711214483e-01,
+-1.69697756033324376190e-01,
+-1.66914916887274944468e-01,
+-1.64062720803562822613e-01,
+-1.61143305887356008688e-01,
+-1.58158824402401171350e-01,
+-1.55111441747006084668e-01,
+-1.52003335428069458191e-01,
+-1.48836694033641553370e-01,
+-1.45613716204482351868e-01,
+-1.42336609605105829379e-01,
+-1.39007589894771910188e-01,
+-1.35628879698910465024e-01,
+-1.32202707581443923424e-01,
+-1.28731307018481316851e-01,
+-1.25216915373852127891e-01,
+-1.21661772876947515964e-01,
+-1.18068121603333617275e-01,
+-1.14438204458597023172e-01,
+-1.10774264165883040700e-01,
+-1.07078542257586659114e-01,
+-1.03353278071642365465e-01,
+-9.96007077528702211566e-02,
+-9.58230632598184722815e-02,
+-9.20225713775505993475e-02,
+-8.82014527368129436224e-02,
+-8.43619208400154807492e-02,
+-8.05061810944624617337e-02,
+-7.66364298532504761852e-02,
+-7.27548534642616651080e-02,
+-6.88636273276640731300e-02,
+-6.49649149623320182334e-02,
+-6.10608670815911136476e-02,
+-5.71536206786884617981e-02,
+-5.32452981223815041689e-02,
+-4.93380062630371721277e-02,
+-4.54338355496189602589e-02,
+-4.15348591579423748188e-02,
+-3.76431321305677607514e-02,
+-3.37606905286930644716e-02,
+-2.98895505964036217739e-02,
+-2.60317079376298707305e-02,
+-2.21891367061550388862e-02,
+-1.83637888090092127324e-02,
+-1.45575931235783270074e-02,
+-1.07724547287478406021e-02,
+-7.01025415039811198442e-03,
+-3.27284662155273445641e-03,
+ 4.37938642517908310794e-04,
+ 4.12029915395035594566e-03,
+ 7.77245984641533344678e-03,
+ 1.13926737534469080249e-02,
+ 1.49792226707046640527e-02,
+ 1.85304178019153227563e-02,
+ 2.20446003882424183817e-02,
+ 2.55201423208448671676e-02,
+ 2.89554467363942642788e-02,
+ 3.23489485953257979722e-02,
+ 3.56991152426125377128e-02,
+ 3.90044469508545738057e-02,
+ 4.22634774454904785235e-02,
+ 4.54747744119432459331e-02,
+ 4.86369399845229810619e-02,
+ 5.17486112169195516808e-02,
+ 5.48084605341252126265e-02,
+ 5.78151961656372809228e-02,
+ 6.07675625598040544673e-02,
+ 6.36643407791787629968e-02,
+ 6.65043488767638746317e-02,
+ 6.92864422530337364936e-02,
+ 7.20095139936314521112e-02,
+ 7.46724951876515663507e-02,
+ 7.72743552264206767788e-02,
+ 7.98141020827076302924e-02,
+ 8.22907825702981904348e-02,
+ 8.47034825838767768680e-02,
+ 8.70513273191783898408e-02,
+ 8.93334814733681981114e-02,
+ 9.15491494256309712441e-02,
+ 9.36975753979484987655e-02,
+ 9.57780435960658566019e-02,
+ 9.77898783306437036078e-02,
+ 9.97324441186170501661e-02,
+ 1.01605145764776208517e-01,
+ 1.03407428423609545898e-01,
+ 1.05138777641444206012e-01,
+ 1.06798719378940032421e-01,
+ 1.08386820013995285872e-01,
+ 1.09902686325133475131e-01,
+ 1.11345965455456150095e-01,
+ 1.12716344857240108324e-01,
+ 1.14013552217288011148e-01,
+ 1.15237355363129817531e-01,
+ 1.16387562150195578159e-01,
+ 1.17464020330083573906e-01,
+ 1.18466617400054957665e-01,
+ 1.19395280433899547701e-01,
+ 1.20249975894323096748e-01,
+ 1.21030709427012495016e-01,
+ 1.21737525636550936170e-01,
+ 1.22370507844354617366e-01,
+ 1.22929777828819461472e-01,
+ 1.23415495547866391202e-01,
+ 1.23827858844088756207e-01,
+ 1.24167103132708178670e-01,
+ 1.24433501072553173716e-01,
+ 1.24627362220290069383e-01,
+ 1.24749032668130088730e-01,
+ 1.24798894665256510095e-01,
+ 1.24777366223214461471e-01,
+ 1.24684900705517007213e-01,
+ 1.24521986401729317651e-01,
+ 1.24289146086293156301e-01,
+ 1.23986936562369309822e-01,
+ 1.23615948190973698462e-01,
+ 1.23176804405697795652e-01,
+ 1.22670161213299697134e-01,
+ 1.22096706680470845630e-01,
+ 1.21457160407075034914e-01,
+ 1.20752272986177383585e-01,
+ 1.19982825451170740938e-01,
+ 1.19149628710327484815e-01,
+ 1.18253522969096608319e-01,
+ 1.17295377140480550082e-01,
+ 1.16276088243826986046e-01,
+ 1.15196580792372674229e-01,
+ 1.14057806169890793568e-01,
+ 1.12860741996784086361e-01,
+ 1.11606391485979145051e-01,
+ 1.10295782788982596467e-01,
+ 1.08929968332454704671e-01,
+ 1.07510024145666946427e-01,
+ 1.06037049179214082351e-01,
+ 1.04512164615345154450e-01,
+ 1.02936513170294341446e-01,
+ 1.01311258388983055356e-01,
+ 9.96375839324763756810e-02,
+ 9.79166928585712137423e-02,
+ 9.61498068959035084857e-02,
+ 9.43381657119597566430e-02,
+ 9.24830261753778609668e-02,
+ 9.05856616129300240559e-02,
+ 8.86473610615743090602e-02,
+ 8.66694285159709948418e-02,
+ 8.46531821718525673282e-02,
+ 8.25999536656427529868e-02,
+ 8.05110873107188207420e-02,
+ 7.83879393307109761935e-02,
+ 7.62318770902338793682e-02,
+ 7.40442783234440127238e-02,
+ 7.18265303608213723230e-02,
+ 6.95800293545625059277e-02,
+ 6.73061795029863685347e-02,
+ 6.50063922743394223547e-02,
+ 6.26820856303954981881e-02,
+ 6.03346832502406754672e-02,
+ 5.79656137546301838959e-02,
+ 5.55763099313076533448e-02,
+ 5.31682079616711544823e-02,
+ 5.07427466491714163066e-02,
+ 4.83013666498223193102e-02,
+ 4.58455097052048524131e-02,
+ 4.33766178783417805098e-02,
+ 4.08961327928156204159e-02,
+ 3.84054948755038344510e-02,
+ 3.59061426032981009793e-02,
+ 3.33995117541749445000e-02,
+ 3.08870346629779371495e-02,
+ 2.83701394822698481357e-02,
+ 2.58502494486117818939e-02,
+ 2.33287821546176998844e-02,
+ 2.08071488271321346220e-02,
+ 1.82867536118745781237e-02,
+ 1.57689928648852076276e-02,
+ 1.32552544511122961240e-02,
+ 1.07469170504618516393e-02,
+ 8.24534947164058847069e-03,
+ 5.75190997410870291651e-03,
+ 3.26794559845353929303e-03,
+ 7.94791505500461897306e-04,
+-1.66622967554532603295e-03,
+-4.11380848962069559788e-03,
+-6.54664928870115660209e-03,
+-8.96347085478857441565e-03,
+-1.13630070127026094190e-02,
+-1.37440072324107598334e-02,
+-1.61052372206219249207e-02,
+-1.84454795013846463425e-02,
+-2.07635339854373018875e-02,
+-2.30582185280550702733e-02,
+-2.53283694751598974226e-02,
+-2.75728421974516593740e-02,
+-2.97905116123358577884e-02,
+-3.19802726934248146562e-02,
+-3.41410409673992970570e-02,
+-3.62717529980220235175e-02,
+-3.83713668571045649069e-02,
+-4.04388625822339128901e-02,
+-4.24732426210736174754e-02,
+-4.44735322620624928813e-02,
+-4.64387800513385851087e-02,
+-4.83680581957297989204e-02,
+-5.02604629516505974074e-02,
+-5.21151149997620341536e-02,
+-5.39311598052534396652e-02,
+-5.57077679636137287900e-02,
+-5.74441355317703919448e-02,
+-5.91394843444778550712e-02,
+-6.07930623158483146584e-02,
+-6.24041437259244130553e-02,
+-6.39720294922026394557e-02,
+-6.54960474260223579623e-02,
+-6.69755524737441765293e-02,
+-6.84099269426502037961e-02,
+-6.97985807115074213813e-02,
+-7.11409514257386743630e-02,
+-7.24365046771608261933e-02,
+-7.36847341682554390907e-02,
+-7.48851618609372993163e-02,
+-7.60373381098108092058e-02,
+-7.71408417798946782762e-02,
+-7.81952803488157183187e-02,
+-7.92002899934755172362e-02,
+-8.01555356612003028216e-02,
+-8.10607111253977136167e-02,
+-8.19155390257452209468e-02,
+-8.27197708929510444609e-02,
+-8.34731871581248646708e-02,
+-8.41755971468178959549e-02,
+-8.48268390577856662427e-02,
+-8.54267799265437804968e-02,
+-8.59753155737910251810e-02,
+-8.64723705387828583957e-02,
+-8.69178979977427990100e-02,
+-8.73118796674136471436e-02,
+-8.76543256938471931905e-02,
+-8.79452745265522362050e-02,
+-8.81847927781117119084e-02,
+-8.83729750694022264668e-02,
+-8.85099438605464611252e-02,
+-8.85958492677388215197e-02,
+-8.86308688660923243985e-02,
+-8.86152074786611815282e-02,
+-8.85490969517982173809e-02,
+-8.84327959170169153325e-02,
+-8.82665895395295801995e-02,
+-8.80507892536431108210e-02,
+-8.77857324851982756542e-02,
+-8.74717823612454203897e-02,
+-8.71093274071546297410e-02,
+-8.66987812313650407781e-02,
+-8.62405821979837367008e-02,
+-8.57351930874506312774e-02,
+-8.51831007454873639917e-02,
+-8.45848157205629364030e-02,
+-8.39408718901024919479e-02,
+-8.32518260756789918453e-02,
+-8.25182576474303292047e-02,
+-8.17407681179471573563e-02,
+-8.09199807258840636548e-02,
+-8.00565400095505641520e-02,
+-7.91511113707415864260e-02,
+-7.82043806290729365260e-02,
+-7.72170535670915342275e-02,
+-7.61898554664313942819e-02,
+-7.51235306352922710404e-02,
+-7.40188419275257664109e-02,
+-7.28765702536047221827e-02,
+-7.16975140837712299202e-02,
+-7.04824889436477669546e-02,
+-6.92323269026086512978e-02,
+-6.79478760552057331479e-02,
+-6.66299999959486799472e-02,
+-6.52795772877406560442e-02,
+-6.38975009242730290770e-02,
+-6.24846777866859409700e-02,
+-6.10420280948025528733e-02,
+-5.95704848532464525945e-02,
+-5.80709932927548425075e-02,
+-5.65445103069988283528e-02,
+-5.49920038852278469932e-02,
+-5.34144525410520376596e-02,
+-5.18128447376807535485e-02,
+-5.01881783099329334408e-02,
+-4.85414598833405000478e-02,
+-4.68737042906593598390e-02,
+-4.51859339861135078653e-02,
+-4.34791784576844600463e-02,
+-4.17544736377706837693e-02,
+-4.00128613125346824231e-02,
+-3.82553885302546123337e-02,
+-3.64831070090038678266e-02,
+-3.46970725439699687054e-02,
+-3.28983444147356932086e-02,
+-3.10879847928346199348e-02,
+-2.92670581498969371859e-02,
+-2.74366306667012324616e-02,
+-2.55977696434401616465e-02,
+-2.37515429115148085648e-02,
+-2.18990182471639621697e-02,
+-2.00412627872342125057e-02,
+-1.81793424474003748048e-02,
+-1.63143213431318143125e-02,
+-1.44472612137104394064e-02,
+-1.25792208495948080321e-02,
+-1.07112555234262843418e-02,
+-8.84441642496919776251e-03,
+-6.97975010027273440327e-03,
+-5.11829789534247545785e-03,
+-3.26109540460238272672e-03,
+-1.40917192442717876394e-03,
+ 4.36450087979504280662e-04,
+ 2.27475555008947467189e-03,
+ 4.10473728366783034011e-03,
+ 5.92539653824247346953e-03,
+ 7.73574350816149444027e-03,
+ 9.53479784298774321605e-03,
+ 1.13215891509725555958e-02,
+ 1.30951574953684958535e-02,
+ 1.48545538833333903156e-02,
+ 1.65988407471903930135e-02,
+ 1.83270924178097725787e-02,
+ 2.00383955898867233136e-02,
+ 2.17318497788877018628e-02,
+ 2.34065677694524146291e-02,
+ 2.50616760550354221448e-02,
+ 2.66963152685791259289e-02,
+ 2.83096406040205736399e-02,
+ 2.99008222284305145988e-02,
+ 3.14690456845965957355e-02,
+ 3.30135122838646696830e-02,
+ 3.45334394890581680704e-02,
+ 3.60280612873039099431e-02,
+ 3.74966285525929615696e-02,
+ 3.89384093979178655398e-02,
+ 4.03526895168305685391e-02,
+ 4.17387725142676843659e-02,
+ 4.30959802265037661417e-02,
+ 4.44236530300948923022e-02,
+ 4.57211501396783959184e-02,
+ 4.69878498945072997639e-02,
+ 4.82231500336007049001e-02,
+ 4.94264679593977643290e-02,
+ 5.05972409898094652170e-02,
+ 5.17349265985714082405e-02,
+ 5.28390026438036938816e-02,
+ 5.39089675846917554258e-02,
+ 5.49443406862122687984e-02,
+ 5.59446622118279432434e-02,
+ 5.69094936040880627903e-02,
+ 5.78384176530744725797e-02,
+ 5.87310386526413361064e-02,
+ 5.95869825444026307570e-02,
+ 6.04058970494284683261e-02,
+ 6.11874517876177664855e-02,
+ 6.19313383847234916191e-02,
+ 6.26372705670065754724e-02,
+ 6.33049842435138704344e-02,
+ 6.39342375759682501890e-02,
+ 6.45248110362744708990e-02,
+ 6.50765074516480857003e-02,
+ 6.55891520373845793301e-02,
+ 6.60625924172834749770e-02,
+ 6.64966986317623437452e-02,
+ 6.68913631336883612866e-02,
+ 6.72465007719728613544e-02,
+ 6.75620487629735172463e-02,
+ 6.78379666497569006056e-02,
+ 6.80742362492841729393e-02,
+ 6.82708615875821517305e-02,
+ 6.84278688229765230666e-02,
+ 6.85453061574607669382e-02,
+ 6.86232437362914587942e-02,
+ 6.86617735358941577717e-02,
+ 6.86610092401827576403e-02,
+ 6.86210861053920678776e-02,
+ 6.85421608135311638543e-02,
+ 6.84244113145758836581e-02,
+ 6.82680366575164482290e-02,
+ 6.80732568103898511014e-02,
+ 6.78403124694252068760e-02,
+ 6.75694648574412526365e-02,
+ 6.72609955116377500328e-02,
+ 6.69152060609276150283e-02,
+ 6.65324179929640407982e-02,
+ 6.61129724110185862385e-02,
+ 6.56572297808763333249e-02,
+ 6.51655696679120516324e-02,
+ 6.46383904645234791397e-02,
+ 6.40761091080973010925e-02,
+ 6.34791607896909026998e-02,
+ 6.28479986536143592213e-02,
+ 6.21830934881068692066e-02,
+ 6.14849334072996994704e-02,
+ 6.07540235246672929992e-02,
+ 5.99908856181665117724e-02,
+ 5.91960577872764140417e-02,
+ 5.83700941021449495882e-02,
+ 5.75135642450580880647e-02,
+ 5.66270531444532515541e-02,
+ 5.57111606016933366692e-02,
+ 5.47665009108296851892e-02,
+ 5.37937024715815850784e-02,
+ 5.27934073957626870399e-02,
+ 5.17662711073889059143e-02,
+ 5.07129619367031950206e-02,
+ 4.96341607083598743144e-02,
+ 4.85305603240058919257e-02,
+ 4.74028653395071053467e-02,
+ 4.62517915370636301109e-02,
+ 4.50780654924642990022e-02,
+ 4.38824241377281029641e-02,
+ 4.26656143193894568655e-02,
+ 4.14283923526756400757e-02,
+ 4.01715235718370783369e-02,
+ 3.88957818768817381594e-02,
+ 3.76019492769772492591e-02,
+ 3.62908154307766822599e-02,
+ 3.49631771839265942381e-02,
+ 3.36198381040227756156e-02,
+ 3.22616080132712215733e-02,
+ 3.08893025191169512400e-02,
+ 2.95037425431055044811e-02,
+ 2.81057538482372380739e-02,
+ 2.66961665650768086022e-02,
+ 2.52758147168840839603e-02,
+ 2.38455357440239580635e-02,
+ 2.24061700279218310727e-02,
+ 2.09585604148223095256e-02,
+ 1.95035517396166743764e-02,
+ 1.80419903499945237513e-02,
+ 1.65747236311830255240e-02,
+ 1.51025995315297069388e-02,
+ 1.36264660891878813115e-02,
+ 1.21471709601575494908e-02,
+ 1.06655609479410495855e-02,
+ 9.18248153506075540098e-03,
+ 7.69877641669523653245e-03,
+ 6.21528703667832953944e-03,
+ 4.73285212611389023013e-03,
+ 3.25230724484593071086e-03,
+ 1.77448432603104764606e-03,
+ 3.00211224053546050453e-04,
+-1.16968873398075085164e-03,
+-2.63439719293501574751e-03,
+-4.09310121028114842767e-03,
+-5.54499369246326881400e-03,
+-6.98927382675401144552e-03,
+-8.42514750838012187184e-03,
+-9.85182776269834421801e-03,
+-1.12685351622023224166e-02,
+-1.26744982381468297011e-02,
+-1.40689538865774264181e-02,
+-1.54511477685608713400e-02,
+-1.68203347044119586040e-02,
+-1.81757790617144907031e-02,
+-1.95167551369457396848e-02,
+-2.08425475305089903666e-02,
+-2.21524515149872230912e-02,
+-2.34457733964363347623e-02,
+-2.47218308685369890509e-02,
+-2.59799533594318662888e-02,
+-2.72194823710760064328e-02,
+-2.84397718109379513129e-02,
+-2.96401883158870678436e-02,
+-3.08201115681125577261e-02,
+-3.19789346029227747326e-02,
+-3.31160641082781370681e-02,
+-3.42309207159130005071e-02,
+-3.53229392839145145411e-02,
+-3.63915691706218277779e-02,
+-3.74362744997228866217e-02,
+-3.84565344164232020274e-02,
+-3.94518433345735566875e-02,
+-4.04217111746440760367e-02,
+-4.13656635924379983971e-02,
+-4.22832421984465703368e-02,
+-4.31740047677477145616e-02,
+-4.40375254403603463849e-02,
+-4.48733949119690250784e-02,
+-4.56812206149411689782e-02,
+-4.64606268895620885817e-02,
+-4.72112551454219875335e-02,
+-4.79327640128901638628e-02,
+-4.86248294846227807620e-02,
+-4.92871450470508051800e-02,
+-4.99194218018040730689e-02,
+-5.05213885770312357004e-02,
+-5.10927920285815725943e-02,
+-5.16333967310192848421e-02,
+-5.21429852584503056301e-02,
+-5.26213582551397357490e-02,
+-5.30683344959132635710e-02,
+-5.34837509363331325973e-02,
+-5.38674627526497529217e-02,
+-5.42193433715342787416e-02,
+-5.45392844896020398404e-02,
+-5.48271960827455065446e-02,
+-5.50830064052948084607e-02,
+-5.53066619790379757071e-02,
+-5.54981275721307884541e-02,
+-5.56573861679344195075e-02,
+-5.57844389238277491017e-02,
+-5.58793051200398085965e-02,
+-5.59420220985603691699e-02,
+-5.59726451921854703531e-02,
+-5.59712476437655773176e-02,
+-5.59379205157255615655e-02,
+-5.58727725899317365088e-02,
+-5.57759302579874938210e-02,
+-5.56475374020423893540e-02,
+-5.54877552662062720201e-02,
+-5.52967623186622694864e-02,
+-5.50747541045816801919e-02,
+-5.48219430899443069261e-02,
+-5.45385584963738595521e-02,
+-5.42248461271042508924e-02,
+-5.38810681841958433180e-02,
+-5.35075030771247142636e-02,
+-5.31044452228734698007e-02,
+-5.26722048376558060756e-02,
+-5.22111077204129997442e-02,
+-5.17214950282209942611e-02,
+-5.12037230437547910555e-02,
+-5.06581629349584436350e-02,
+-5.00852005070748507176e-02,
+-4.94852359471897595977e-02,
+-4.88586835614527661975e-02,
+-4.82059715051387852047e-02,
+-4.75275415057165098731e-02,
+-4.68238485790967787215e-02,
+-4.60953607392339606563e-02,
+-4.53425587012589517699e-02,
+-4.45659355783224117586e-02,
+-4.37659965723364227652e-02,
+-4.29432586587956896529e-02,
+-4.20982502658717866462e-02,
+-4.12315109479716793150e-02,
+-4.03435910539542696984e-02,
+-3.94350513902031810098e-02,
+-3.85064628787541649024e-02,
+-3.75584062106811000792e-02,
+-3.65914714949422334445e-02,
+-3.56062579028932485459e-02,
+-3.46033733086755293518e-02,
+-3.35834339256887229319e-02,
+-3.25470639393581201437e-02,
+-3.14948951364113841067e-02,
+-3.04275665308768074324e-02,
+-2.93457239870188353603e-02,
+-2.82500198394295444493e-02,
+-2.71411125104896906735e-02,
+-2.60196661254226829785e-02,
+-2.48863501251557692195e-02,
+-2.37418388772132477049e-02,
+-2.25868112848582602847e-02,
+-2.14219503947065334493e-02,
+-2.02479430030328977352e-02,
+-1.90654792609915822721e-02,
+-1.78752522789717531448e-02,
+-1.66779577303104824260e-02,
+-1.54742934545847657390e-02,
+-1.42649590607015902544e-02,
+-1.30506555300084672172e-02,
+-1.18320848196448689948e-02,
+-1.06099494663520910881e-02,
+-9.38495219096077346044e-03,
+-8.15779550377599728395e-03,
+-6.92918131107302364552e-03,
+-5.69981052292132129439e-03,
+-4.47038266255170985142e-03,
+-3.24159547747867194528e-03,
+-2.01414455258872894527e-03,
+-7.88722925405390719311e-04,
+ 4.33979296259515102616e-04,
+ 1.65327531406484059748e-03,
+ 2.86848201610344138643e-03,
+ 4.07892035086573293695e-03,
+ 5.28391569800646006272e-03,
+ 6.48279823571479112132e-03,
+ 7.67490330449144362440e-03,
+ 8.85957176714050748112e-03,
+ 1.00361503647855877797e-02,
+ 1.12039920687220222878e-02,
+ 1.23624564279179102733e-02,
+ 1.35109099119845744302e-02,
+ 1.46487262494354297110e-02,
+ 1.57752867610552773014e-02,
+ 1.68899806882093564409e-02,
+ 1.79922055159205465658e-02,
+ 1.90813672905472929420e-02,
+ 2.01568809318992299418e-02,
+ 2.12181705396309386313e-02,
+ 2.22646696937574897768e-02,
+ 2.32958217491361675722e-02,
+ 2.43110801237692714105e-02,
+ 2.53099085807794131620e-02,
+ 2.62917815039164816382e-02,
+ 2.72561841664596578305e-02,
+ 2.82026129933784439063e-02,
+ 2.91305758166261995201e-02,
+ 3.00395921234366258812e-02,
+ 3.09291932975059961908e-02,
+ 3.17989228529399620138e-02,
+ 3.26483366608550443222e-02,
+ 3.34770031685240748720e-02,
+ 3.42845036109633918842e-02,
+ 3.50704322148587890884e-02,
+ 3.58343963947392735170e-02,
+ 3.65760169413035240993e-02,
+ 3.72949282018151320739e-02,
+ 3.79907782524846540650e-02,
+ 3.86632290627611160949e-02,
+ 3.93119566514606166852e-02,
+ 3.99366512346636878816e-02,
+ 4.05370173653198731523e-02,
+ 4.11127740644999239983e-02,
+ 4.16636549442422551848e-02,
+ 4.21894083219462659451e-02,
+ 4.26897973262660088145e-02,
+ 4.31645999944682140503e-02,
+ 4.36136093612174424727e-02,
+ 4.40366335387612217733e-02,
+ 4.44334957884889164559e-02,
+ 4.48040345838451384286e-02,
+ 4.51481036645831335097e-02,
+ 4.54655720823471248826e-02,
+ 4.57563242375793044481e-02,
+ 4.60202599077495430602e-02,
+ 4.62572942669144740457e-02,
+ 4.64673578966120978673e-02,
+ 4.66503967881086306635e-02,
+ 4.68063723360144789964e-02,
+ 4.69352613232939530619e-02,
+ 4.70370558976949404428e-02,
+ 4.71117635396342340770e-02,
+ 4.71594070215737987128e-02,
+ 4.71800243589305737246e-02,
+ 4.71736687525673714649e-02,
+ 4.71404085229153516079e-02,
+ 4.70803270357842834626e-02,
+ 4.69935226199208050391e-02,
+ 4.68801084763797309973e-02,
+ 4.67402125797770004456e-02,
+ 4.65739775714988368804e-02,
+ 4.63815606449435313685e-02,
+ 4.61631334228796152974e-02,
+ 4.59188818270049037285e-02,
+ 4.56490059397985786793e-02,
+ 4.53537198587595224986e-02,
+ 4.50332515431300858810e-02,
+ 4.46878426532076045152e-02,
+ 4.43177483823498988280e-02,
+ 4.39232372817854738178e-02,
+ 4.35045910783411482470e-02,
+ 4.30621044852065107400e-02,
+ 4.25960850058553150421e-02,
+ 4.21068527312480900271e-02,
+ 4.15947401304457009541e-02,
+ 4.10600918347645213458e-02,
+ 4.05032644156081075848e-02,
+ 3.99246261561139251239e-02,
+ 3.93245568167555487049e-02,
+ 3.87034473950466154091e-02,
+ 3.80616998794914215831e-02,
+ 3.73997269979330568268e-02,
+ 3.67179519604542980993e-02,
+ 3.60168081969824901978e-02,
+ 3.52967390897612337541e-02,
+ 3.45581977008463520074e-02,
+ 3.38016464947914485606e-02,
+ 3.30275570566867723854e-02,
+ 3.22364098057202272396e-02,
+ 3.14286937044311875944e-02,
+ 3.06049059638265272265e-02,
+ 2.97655517445348863359e-02,
+ 2.89111438541742558905e-02,
+ 2.80422024411093630258e-02,
+ 2.71592546847793693543e-02,
+ 2.62628344827749958534e-02,
+ 2.53534821348480460257e-02,
+ 2.44317440240356988090e-02,
+ 2.34981722950843643916e-02,
+ 2.25533245303600957121e-02,
+ 2.15977634234290963300e-02,
+ 2.06320564504986307675e-02,
+ 1.96567755399048478548e-02,
+ 1.86724967398384719686e-02,
+ 1.76797998844943696217e-02,
+ 1.66792682588392839060e-02,
+ 1.56714882621848752842e-02,
+ 1.46570490707573775069e-02,
+ 1.36365422994567421500e-02,
+ 1.26105616629926826217e-02,
+ 1.15797026365911225748e-02,
+ 1.05445621164599462327e-02,
+ 9.50573808020578961409e-03,
+ 8.46382924739110323320e-03,
+ 7.41943474041982693745e-03,
+ 6.37315374594339158210e-03,
+ 5.32558517697237672472e-03,
+ 4.27732733588230377986e-03,
+ 3.22897757850148679412e-03,
+ 2.18113197946379544154e-03,
+ 1.13438499901297824499e-03,
+ 8.93291514401199637785e-05,
+-9.53445324662180308285e-04,
+-1.99335079414908163467e-03,
+-3.02980255089889101774e-03,
+-4.06221914103327592926e-03,
+-5.09002268361045690642e-03,
+-6.11263918861550906853e-03,
+-7.12949887207463706834e-03,
+-8.14003646812562139945e-03,
+-9.14369153787539246103e-03,
+-1.01399087748766797423e-02,
+-1.11281383070643315192e-02,
+-1.21078359949849043153e-02,
+-1.30784637261652115364e-02,
+-1.40394897054589556235e-02,
+-1.49903887412209321783e-02,
+-1.59306425271560810064e-02,
+-1.68597399196934796817e-02,
+-1.77771772107420643338e-02,
+-1.86824583956837868282e-02,
+-1.95750954364632238913e-02,
+-2.04546085196391988492e-02,
+-2.13205263092617232357e-02,
+-2.21723861944465271134e-02,
+-2.30097345315165013879e-02,
+-2.38321268805886041231e-02,
+-2.46391282364846579689e-02,
+-2.54303132538467105417e-02,
+-2.62052664663464558725e-02,
+-2.69635824998752660075e-02,
+-2.77048662796101873018e-02,
+-2.84287332308504510359e-02,
+-2.91348094735277007850e-02,
+-2.98227320102924450818e-02,
+-3.04921489080843266528e-02,
+-3.11427194730996177718e-02,
+-3.17741144190714572271e-02,
+-3.23860160287801970846e-02,
+-3.29781183087202514614e-02,
+-3.35501271368501066683e-02,
+-3.41017604033561905208e-02,
+-3.46327481443660725735e-02,
+-3.51428326685533573559e-02,
+-3.56317686765738189658e-02,
+-3.60993233732840035355e-02,
+-3.65452765726929293399e-02,
+-3.69694207956033291107e-02,
+-3.73715613599018697810e-02,
+-3.77515164634644601049e-02,
+-3.81091172596444149878e-02,
+-3.84442079253161372865e-02,
+-3.87566457214516685292e-02,
+-3.90463010462121923316e-02,
+-3.93130574805393290250e-02,
+-3.95568118262348833447e-02,
+-3.97774741365262002324e-02,
+-3.99749677391120911141e-02,
+-4.01492292516929735746e-02,
+-4.03002085899928502721e-02,
+-4.04278689682822170437e-02,
+-4.05321868924172351578e-02,
+-4.06131521454162341955e-02,
+-4.06707677655930785465e-02,
+-4.07050500172784421316e-02,
+-4.07160283541586343059e-02,
+-4.07037453752667754969e-02,
+-4.06682567736679767556e-02,
+-4.06096312778803508747e-02,
+-4.05279505860795044581e-02,
+-4.04233092931398294012e-02,
+-4.02958148105644620163e-02,
+-4.01455872793672688403e-02,
+-3.99727594759664850432e-02,
+-3.97774767111586519119e-02,
+-3.95598967222433872681e-02,
+-3.93201895583720484328e-02,
+-3.90585374591997241955e-02,
+-3.87751347269212551239e-02,
+-3.84701875917762628476e-02,
+-3.81439140711113400251e-02,
+-3.77965438220935409652e-02,
+-3.74283179881668356948e-02,
+-3.70394890393534528816e-02,
+-3.66303206065006978220e-02,
+-3.62010873095778978881e-02,
+-3.57520745801320274926e-02,
+-3.52835784780144504080e-02,
+-3.47959055024906621645e-02,
+-3.42893723978519651685e-02,
+-3.37643059536492443073e-02,
+-3.32210427996700446984e-02,
+-3.26599291957861484481e-02,
+-3.20813208167984795227e-02,
+-3.14855825324110299990e-02,
+-3.08730881824660075008e-02,
+-3.02442203475766398235e-02,
+-2.95993701152947666366e-02,
+-2.89389368419537100496e-02,
+-2.82633279103284111577e-02,
+-2.75729584832571511521e-02,
+-2.68682512533715799063e-02,
+-2.61496361890828643570e-02,
+-2.54175502769729139141e-02,
+-2.46724372607451357398e-02,
+-2.39147473768850267473e-02,
+-2.31449370871867204924e-02,
+-2.23634688083034216532e-02,
+-2.15708106384762607344e-02,
+-2.07674360816027074594e-02,
+-1.99538237688046717067e-02,
+-1.91304571776571320785e-02,
+-1.82978243492389613944e-02,
+-1.74564176031696584313e-02,
+-1.66067332507972391376e-02,
+-1.57492713066995013160e-02,
+-1.48845351986653506166e-02,
+-1.40130314763233891628e-02,
+-1.31352695185807718387e-02,
+-1.22517612400427650804e-02,
+-1.13630207965765197414e-02,
+-1.04695642901892153193e-02,
+-9.57190947338527192700e-03,
+-8.67057545317061195700e-03,
+-7.76608239487228645126e-03,
+-6.85895122593805847688e-03,
+-5.94970333988319773771e-03,
+-5.03886030055244581866e-03,
+-4.12694354685914054082e-03,
+-3.21447409816993977597e-03,
+-2.30197226049791555877e-03,
+-1.38995733366734314576e-03,
+-4.78947319613120116137e-04,
+ 4.30541368021724365611e-04,
+ 1.33799419283328071238e-03,
+ 2.24289878298409997917e-03,
+ 3.14474521675841243995e-03,
+ 4.04302630618200674328e-03,
+ 4.93723787855436784672e-03,
+ 5.82687905573941924281e-03,
+ 6.71145253105821966433e-03,
+ 7.59046484363825723490e-03,
+ 8.46342665006433181318e-03,
+ 9.32985299318577973593e-03,
+ 1.01892635679366270335e-02,
+ 1.10411829840201432262e-02,
+ 1.18851410253191149685e-02,
+ 1.27206729058918742437e-02,
+ 1.35473195224164386086e-02,
+ 1.43646277029455919638e-02,
+ 1.51721504518438701781e-02,
+ 1.59694471907719792725e-02,
+ 1.67560839955920790056e-02,
+ 1.75316338290704282210e-02,
+ 1.82956767692504761180e-02,
+ 1.90478002333781711031e-02,
+ 1.97875991972636944283e-02,
+ 2.05146764099610016963e-02,
+ 2.12286426036550797403e-02,
+ 2.19291166986495568436e-02,
+ 2.26157260033451115722e-02,
+ 2.32881064091071711408e-02,
+ 2.39459025799248388655e-02,
+ 2.45887681367592640658e-02,
+ 2.52163658364931847489e-02,
+ 2.58283677453865524731e-02,
+ 2.64244554069528701790e-02,
+ 2.70043200041730317718e-02,
+ 2.75676625159635493856e-02,
+ 2.81141938678234649951e-02,
+ 2.86436350765866577783e-02,
+ 2.91557173892062447551e-02,
+ 2.96501824155063799238e-02,
+ 3.01267822548387659287e-02,
+ 3.05852796165800439043e-02,
+ 3.10254479344173710043e-02,
+ 3.14470714743682391856e-02,
+ 3.18499454364842490839e-02,
+ 3.22338760501942114822e-02,
+ 3.25986806632450124011e-02,
+ 3.29441878242012764488e-02,
+ 3.32702373584682215002e-02,
+ 3.35766804378105562789e-02,
+ 3.38633796433344125276e-02,
+ 3.41302090219154988238e-02,
+ 3.43770541360479547910e-02,
+ 3.46038121071011867125e-02,
+ 3.48103916519715006483e-02,
+ 3.49967131131205394512e-02,
+ 3.51627084819939664251e-02,
+ 3.53083214158219776957e-02,
+ 3.54335072478019763587e-02,
+ 3.55382329906705415890e-02,
+ 3.56224773336756214692e-02,
+ 3.56862306329609538236e-02,
+ 3.57294948953816096648e-02,
+ 3.57522837557707126588e-02,
+ 3.57546224476834179073e-02,
+ 3.57365477676438725307e-02,
+ 3.56981080329308309018e-02,
+ 3.56393630329330246553e-02,
+ 3.55603839741180857703e-02,
+ 3.54612534186531380698e-02,
+ 3.53420652167257473564e-02,
+ 3.52029244326149889921e-02,
+ 3.50439472645631341918e-02,
+ 3.48652609585071091014e-02,
+ 3.46670037157273194794e-02,
+ 3.44493245944778661571e-02,
+ 3.42123834056644454682e-02,
+ 3.39563506026385533709e-02,
+ 3.36814071651815385988e-02,
+ 3.33877444777541942944e-02,
+ 3.30755642020896523103e-02,
+ 3.27450781442136518162e-02,
+ 3.23965081159751852602e-02,
+ 3.20300857911755970653e-02,
+ 3.16460525563882003053e-02,
+ 3.12446593565609519183e-02,
+ 3.08261665354972284880e-02,
+ 3.03908436713170998500e-02,
+ 2.99389694069978791469e-02,
+ 2.94708312760984421363e-02,
+ 2.89867255237756110686e-02,
+ 2.84869569232016131566e-02,
+ 2.79718385874915022316e-02,
+ 2.74416917772590980562e-02,
+ 2.68968457039136660258e-02,
+ 2.63376373288174668585e-02,
+ 2.57644111584257248793e-02,
+ 2.51775190355282320331e-02,
+ 2.45773199267213977859e-02,
+ 2.39641797062345729419e-02,
+ 2.33384709362384548670e-02,
+ 2.27005726437677947394e-02,
+ 2.20508700943889204837e-02,
+ 2.13897545627447401018e-02,
+ 2.07176231001132207798e-02,
+ 2.00348782991160503930e-02,
+ 1.93419280557122104380e-02,
+ 1.86391853286192524242e-02,
+ 1.79270678963008890661e-02,
+ 1.72059981116597301987e-02,
+ 1.64764026545822124536e-02,
+ 1.57387122824750626260e-02,
+ 1.49933615789394694695e-02,
+ 1.42407887007263995321e-02,
+ 1.34814351231214504812e-02,
+ 1.27157453839016106739e-02,
+ 1.19441668260144781555e-02,
+ 1.11671493391258293271e-02,
+ 1.03851451001812210978e-02,
+ 9.59860831313457708858e-03,
+ 8.80799494798568949339e-03,
+ 8.01376247928074769700e-03,
+ 7.21636962422106571780e-03,
+ 6.41627608052837850733e-03,
+ 5.61394226421643282449e-03,
+ 4.80982904741692092465e-03,
+ 4.00439749640451800317e-03,
+ 3.19810860997276008924e-03,
+ 2.39142305830572152181e-03,
+ 1.58480092248966769435e-03,
+ 7.78701434814883992376e-04,
+-2.64172799899629922237e-05,
+-8.30098462447035776932e-04,
+-1.63188697479669402902e-03,
+-2.43132955610078941786e-03,
+-3.22797507584321246785e-03,
+-4.02137478588284608128e-03,
+-4.81108257062173427093e-03,
+-5.59665519525267239620e-03,
+-6.37765255194445643272e-03,
+-7.15363790383393653022e-03,
+-7.92417812668915269581e-03,
+-8.68884394811023953731e-03,
+-9.44721018414002543240e-03,
+-1.01988559731527404090e-02,
+-1.09433650068938154165e-02,
+-1.16803257585482624797e-02,
+-1.24093317077095619677e-02,
+-1.31299815621298259644e-02,
+-1.38418794761330250093e-02,
+-1.45446352655703541046e-02,
+-1.52378646192042489088e-02,
+-1.59211893064089386740e-02,
+-1.65942373810739063344e-02,
+-1.72566433816031643278e-02,
+-1.79080485269053901742e-02,
+-1.85481009082684548950e-02,
+-1.91764556770177840850e-02,
+-1.97927752278625780635e-02,
+-2.03967293778293395912e-02,
+-2.09879955406921600569e-02,
+-2.15662588968082193086e-02,
+-2.21312125582700525150e-02,
+-2.26825577292899260851e-02,
+-2.32200038617330316304e-02,
+-2.37432688057198117149e-02,
+-2.42520789552232059194e-02,
+-2.47461693885826818085e-02,
+-2.52252840038678892431e-02,
+-2.56891756490234268728e-02,
+-2.61376062467286660040e-02,
+-2.65703469139121004061e-02,
+-2.69871780758624488228e-02,
+-2.73878895748791845177e-02,
+-2.77722807734117477230e-02,
+-2.81401606516388999579e-02,
+-2.84913478994407130818e-02,
+-2.88256710027211988934e-02,
+-2.91429683240446539549e-02,
+-2.94430881775452554794e-02,
+-2.97258888980813616720e-02,
+-2.99912389046026704731e-02,
+-3.02390167577045836100e-02,
+-3.04691112113477519108e-02,
+-3.06814212587221760153e-02,
+-3.08758561722402014027e-02,
+-3.10523355376465907962e-02,
+-3.12107892822333435334e-02,
+-3.13511576971570726791e-02,
+-3.14733914538524867099e-02,
+-3.15774516145448311266e-02,
+-3.16633096368639233020e-02,
+-3.17309473725677151923e-02,
+-3.17803570603852336696e-02,
+-3.18115413129928040203e-02,
+-3.18245130981409940496e-02,
+-3.18192957139523252552e-02,
+-3.17959227584129339172e-02,
+-3.17544380930855907330e-02,
+-3.16948958010739717528e-02,
+-3.16173601392711264846e-02,
+-3.15219054849285862385e-02,
+-3.14086162765858309398e-02,
+-3.12775869494028441187e-02,
+-3.11289218649403939820e-02,
+-3.09627352354390518452e-02,
+-3.07791510426457977367e-02,
+-3.05783029512460211019e-02,
+-3.03603342169560183605e-02,
+-3.01253975893385171625e-02,
+-2.98736552094041353522e-02,
+-2.96052785020640661651e-02,
+-2.93204480635056198568e-02,
+-2.90193535435597504968e-02,
+-2.87021935231378082232e-02,
+-2.83691753868116139370e-02,
+-2.80205151906207892976e-02,
+-2.76564375251866501060e-02,
+-2.72771753742177547331e-02,
+-2.68829699684970599427e-02,
+-2.64740706354380586629e-02,
+-2.60507346443026310823e-02,
+-2.56132270471758974328e-02,
+-2.51618205157945855344e-02,
+-2.46967951743263178233e-02,
+-2.42184384282035404523e-02,
+-2.37270447891129755702e-02,
+-2.32229156962464287906e-02,
+-2.27063593339205324617e-02,
+-2.21776904456732447402e-02,
+-2.16372301449491780123e-02,
+-2.10853057224852889762e-02,
+-2.05222504505109502870e-02,
+-1.99484033838788939186e-02,
+-1.93641091582448833519e-02,
+-1.87697177854121780016e-02,
+-1.81655844459648781186e-02,
+-1.75520692793087393357e-02,
+-1.69295371712437116296e-02,
+-1.62983575391910488761e-02,
+-1.56589041152024530112e-02,
+-1.50115547268741284653e-02,
+-1.43566910762958008241e-02,
+-1.36946985171622712812e-02,
+-1.30259658301738225072e-02,
+-1.23508849968591849500e-02,
+-1.16698509719491937131e-02,
+-1.09832614544311153726e-02,
+-1.02915166574176798753e-02,
+-9.59501907696169199780e-03,
+-8.89417325994698755587e-03,
+-8.18938557119236638926e-03,
+-7.48106395989599822632e-03,
+-6.76961772555855368499e-03,
+-6.05545728351598779721e-03,
+-5.33899393021318099950e-03,
+-4.62063960835571319735e-03,
+-3.90080667206999139041e-03,
+-3.17990765220415401091e-03,
+-2.45835502190418740687e-03,
+-1.73656096259670639399e-03,
+-1.01493713050778409414e-03,
+-2.93894423852804689834e-04,
+ 4.26157249173980906629e-04,
+ 1.14480920148214617565e-03,
+ 1.86165419710703351590e-03,
+ 2.57628668004443710932e-03,
+ 3.28830300177243139287e-03,
+ 3.99730164732982774095e-03,
+ 4.70288345982820387564e-03,
+ 5.40465186327331818111e-03,
+ 6.10221308357093879249e-03,
+ 6.79517636759518171841e-03,
+ 7.48315420020127710504e-03,
+ 8.16576251905792339925e-03,
+ 8.84262092718743515640e-03,
+ 9.51335290309166317635e-03,
+ 1.01775860083515076043e-02,
+ 1.08349520925866381338e-02,
+ 1.14850874956621031020e-02,
+ 1.21276332470322649459e-02,
+ 1.27622352621157286734e-02,
+ 1.33885445355916270910e-02,
+ 1.40062173315140241908e-02,
+ 1.46149153701442997833e-02,
+ 1.52143060113965177677e-02,
+ 1.58040624348002624322e-02,
+ 1.63838638158842961334e-02,
+ 1.69533954988862062274e-02,
+ 1.75123491656954573259e-02,
+ 1.80604230009418498248e-02,
+ 1.85973218531409432985e-02,
+ 1.91227573918102446149e-02,
+ 1.96364482604763183893e-02,
+ 2.01381202254901497950e-02,
+ 2.06275063205740884220e-02,
+ 2.11043469870254470078e-02,
+ 2.15683902095024221390e-02,
+ 2.20193916473261919187e-02,
+ 2.24571147612263599669e-02,
+ 2.28813309354701996390e-02,
+ 2.32918195953102993845e-02,
+ 2.36883683196934501092e-02,
+ 2.40707729491726543647e-02,
+ 2.44388376889697125915e-02,
+ 2.47923752071377255513e-02,
+ 2.51312067277732788251e-02,
+ 2.54551621192373560276e-02,
+ 2.57640799773376678872e-02,
+ 2.60578077034374286369e-02,
+ 2.63362015774511563915e-02,
+ 2.65991268256962030969e-02,
+ 2.68464576835671930866e-02,
+ 2.70780774530085012464e-02,
+ 2.72938785547578652291e-02,
+ 2.74937625753404746298e-02,
+ 2.76776403087958637605e-02,
+ 2.78454317931197334324e-02,
+ 2.79970663414113134226e-02,
+ 2.81324825677129637669e-02,
+ 2.82516284075390901320e-02,
+ 2.83544611330882809219e-02,
+ 2.84409473631392593906e-02,
+ 2.85110630676332979516e-02,
+ 2.85647935669472025078e-02,
+ 2.86021335258679100522e-02,
+ 2.86230869422767590649e-02,
+ 2.86276671305612032126e-02,
+ 2.86158966997688939127e-02,
+ 2.85878075265257568238e-02,
+ 2.85434407227408461216e-02,
+ 2.84828465981240355753e-02,
+ 2.84060846175463004026e-02,
+ 2.83132233532735408388e-02,
+ 2.82043404321091033260e-02,
+ 2.80795224774836003900e-02,
+ 2.79388650465300265868e-02,
+ 2.77824725621904008999e-02,
+ 2.76104582403968873416e-02,
+ 2.74229440123787519823e-02,
+ 2.72200604421439854019e-02,
+ 2.70019466391913931513e-02,
+ 2.67687501665088492531e-02,
+ 2.65206269439171582469e-02,
+ 2.62577411468211084633e-02,
+ 2.59802651004316341454e-02,
+ 2.56883791695271083977e-02,
+ 2.53822716438199466604e-02,
+ 2.50621386190043350661e-02,
+ 2.47281838735542228158e-02,
+ 2.43806187413515146334e-02,
+ 2.40196619802195698856e-02,
+ 2.36455396364462083758e-02,
+ 2.32584849053751770154e-02,
+ 2.28587379881527788528e-02,
+ 2.24465459447181145403e-02,
+ 2.20221625431206817491e-02,
+ 2.15858481052626192953e-02,
+ 2.11378693491531578774e-02,
+ 2.06784992277722831644e-02,
+ 2.02080167646385595870e-02,
+ 1.97267068861813506253e-02,
+ 1.92348602510139590760e-02,
+ 1.87327730762112433516e-02,
+ 1.82207469606941833973e-02,
+ 1.76990887058239218521e-02,
+ 1.71681101333155360089e-02,
+ 1.66281279005709090035e-02,
+ 1.60794633135482208097e-02,
+ 1.55224421372705916056e-02,
+ 1.49573944040871566891e-02,
+ 1.43846542198004401919e-02,
+ 1.38045595677690705744e-02,
+ 1.32174521111029039805e-02,
+ 1.26236769930632777847e-02,
+ 1.20235826357873512582e-02,
+ 1.14175205374468860531e-02,
+ 1.08058450679664186378e-02,
+ 1.01889132634121089283e-02,
+ 9.56708461917343822023e-03,
+ 8.94072088205428300300e-03,
+ 8.31018584139599399141e-03,
+ 7.67584511934790540699e-03,
+ 7.03806596040880416698e-03,
+ 6.39721702035818493709e-03,
+ 5.75366815469682043455e-03,
+ 5.10779020672127558739e-03,
+ 4.45995479534525007814e-03,
+ 3.81053410279771258631e-03,
+ 3.15990066231072903868e-03,
+ 2.50842714592023827147e-03,
+ 1.85648615250139353144e-03,
+ 1.20444999615454471746e-03,
+ 5.52690495064260415084e-04,
+-9.84212390521464980473e-05,
+-7.48515010783776918966e-04,
+-1.39722175004304473983e-03,
+-2.04417372013348868851e-03,
+-2.68900472475985721083e-03,
+-3.33135031386035986023e-03,
+-3.97084798814866836436e-03,
+-4.60713740224857979527e-03,
+-5.23986056631194768718e-03,
+-5.86866204600630658739e-03,
+-6.49318916075832062301e-03,
+-7.11309218015082015546e-03,
+-7.72802451835431433724e-03,
+-8.33764292649709012895e-03,
+-8.94160768285747094286e-03,
+-9.53958278078098804997e-03,
+-1.01312361142165130445e-02,
+-1.07162396607681370542e-02,
+-1.12942696621660988721e-02,
+-1.18650068020553327297e-02,
+-1.24281363810071557308e-02,
+-1.29833484886548687631e-02,
+-1.35303381728667914546e-02,
+-1.40688056058569672252e-02,
+-1.45984562471500062958e-02,
+-1.51190010033104265535e-02,
+-1.56301563843482677063e-02,
+-1.61316446567209455243e-02,
+-1.66231939928469449330e-02,
+-1.71045386170529077619e-02,
+-1.75754189478743681752e-02,
+-1.80355817366393243739e-02,
+-1.84847802022550938839e-02,
+-1.89227741621333586663e-02,
+-1.93493301591808192219e-02,
+-1.97642215847910959758e-02,
+-2.01672287977736237885e-02,
+-2.05581392391563748390e-02,
+-2.09367475428056254438e-02,
+-2.13028556418044003051e-02,
+-2.16562728705364630766e-02,
+-2.19968160624214870147e-02,
+-2.23243096432573610854e-02,
+-2.26385857201165559272e-02,
+-2.29394841657579208472e-02,
+-2.32268526985093780313e-02,
+-2.35005469575834645413e-02,
+-2.37604305737897300577e-02,
+-2.40063752356104789798e-02,
+-2.42382607506086561466e-02,
+-2.44559751021389444603e-02,
+-2.46594145013394015764e-02,
+-2.48484834343765149944e-02,
+-2.50230947049280248728e-02,
+-2.51831694718824584955e-02,
+-2.53286372822437155783e-02,
+-2.54594360992264553967e-02,
+-2.55755123255348194855e-02,
+-2.56768208218174157076e-02,
+-2.57633249202947785250e-02,
+-2.58349964335584103559e-02,
+-2.58918156585436348704e-02,
+-2.59337713756803804610e-02,
+-2.59608608432293705426e-02,
+-2.59730897868132928896e-02,
+-2.59704723841564268094e-02,
+-2.59530312450472130936e-02,
+-2.59207973865424462501e-02,
+-2.58738102034334269130e-02,
+-2.58121174339979962686e-02,
+-2.57357751210636476191e-02,
+-2.56448475684109972184e-02,
+-2.55394072925489191983e-02,
+-2.54195349698946651551e-02,
+-2.52853193793951269708e-02,
+-2.51368573406296827444e-02,
+-2.49742536474338513997e-02,
+-2.47976209970892889911e-02,
+-2.46070799151258470805e-02,
+-2.44027586757840746212e-02,
+-2.41847932181901530135e-02,
+-2.39533270582963850326e-02,
+-2.37085111966422665275e-02,
+-2.34505040219958535430e-02,
+-2.31794712109343950535e-02,
+-2.28955856234271913630e-02,
+-2.25990271944861188802e-02,
+-2.22899828219497650461e-02,
+-2.19686462504703923504e-02,
+-2.16352179517750840831e-02,
+-2.12899050012748461413e-02,
+-2.09329209510937253036e-02,
+-2.05644856995994759763e-02,
+-2.01848253575104240320e-02,
+-1.97941721106610450664e-02,
+-1.93927640795097180892e-02,
+-1.89808451754700721614e-02,
+-1.85586649541545842257e-02,
+-1.81264784656151936582e-02,
+-1.76845461016740639060e-02,
+-1.72331334404288091799e-02,
+-1.67725110880316378992e-02,
+-1.63029545178296972341e-02,
+-1.58247439069643912324e-02,
+-1.53381639705272194985e-02,
+-1.48435037933645017777e-02,
+-1.43410566596358455410e-02,
+-1.38311198802215200299e-02,
+-1.33139946180815798432e-02,
+-1.27899857116674387641e-02,
+-1.22594014964915645066e-02,
+-1.17225536249535751410e-02,
+-1.11797568845337768478e-02,
+-1.06313290144546303273e-02,
+-1.00775905209177212701e-02,
+-9.51886449102469674177e-03,
+-8.95547640548645211556e-03,
+-8.38775395023088309043e-03,
+-7.81602682701561073120e-03,
+-7.24062656315801675411e-03,
+-6.66188632048521009454e-03,
+-6.08014070362140109788e-03,
+-5.49572556771589591090e-03,
+-4.90897782572374818955e-03,
+-4.32023525535186938423e-03,
+-3.72983630577348361859e-03,
+-3.13811990422953454236e-03,
+-2.54542526261991586267e-03,
+-1.95209168419812327012e-03,
+-1.35845837047655643853e-03,
+-7.64864228454678000274e-04,
+-1.71647678275262160000e-04,
+ 4.20853538580006714207e-04,
+ 1.01230255044841479378e-03,
+ 1.60236354589089790082e-03,
+ 2.19070196323387957060e-03,
+ 2.77698467914542839949e-03,
+ 3.36088019613725542609e-03,
+ 3.94205882888990985502e-03,
+ 4.52019288929302043289e-03,
+ 5.09495687010455642479e-03,
+ 5.66602762711795274880e-03,
+ 6.23308455974283786433e-03,
+ 6.79580978989625592024e-03,
+ 7.35388833910371412378e-03,
+ 7.90700830371526483531e-03,
+ 8.45486102813735630745e-03,
+ 8.99714127598559912369e-03,
+ 9.53354739906401085769e-03,
+ 1.00637815040785765647e-02,
+ 1.05875496169915012112e-02,
+ 1.11045618449284663742e-02,
+ 1.16145325355499640790e-02,
+ 1.21171804337962679687e-02,
+ 1.26122288359273460739e-02,
+ 1.30994057407662432141e-02,
+ 1.35784439980698272421e-02,
+ 1.40490814539434016872e-02,
+ 1.45110610932224059350e-02,
+ 1.49641311787415132173e-02,
+ 1.54080453874216524723e-02,
+ 1.58425629430952868981e-02,
+ 1.62674487460044807363e-02,
+ 1.66824734989000737773e-02,
+ 1.70874138296747413168e-02,
+ 1.74820524104663498066e-02,
+ 1.78661780731680860934e-02,
+ 1.82395859212837498087e-02,
+ 1.86020774380712544671e-02,
+ 1.89534605909168415994e-02,
+ 1.92935499318850137151e-02,
+ 1.96221666943946111694e-02,
+ 1.99391388859692132718e-02,
+ 2.02443013770143460939e-02,
+ 2.05374959855790205354e-02,
+ 2.08185715580545618875e-02,
+ 2.10873840457748047694e-02,
+ 2.13437965774761310989e-02,
+ 2.15876795275838501142e-02,
+ 2.18189105802902433284e-02,
+ 2.20373747893947494192e-02,
+ 2.22429646338771422331e-02,
+ 2.24355800691775179867e-02,
+ 2.26151285741611890456e-02,
+ 2.27815251937450065356e-02,
+ 2.29346925771693951890e-02,
+ 2.30745610118978684844e-02,
+ 2.32010684531324534730e-02,
+ 2.33141605489318240463e-02,
+ 2.34137906609261335633e-02,
+ 2.34999198806205046586e-02,
+ 2.35725170412852368107e-02,
+ 2.36315587254308061282e-02,
+ 2.36770292678692914623e-02,
+ 2.37089207543672679523e-02,
+ 2.37272330158955317703e-02,
+ 2.37319736184848778526e-02,
+ 2.37231578487003234856e-02,
+ 2.37008086947469512329e-02,
+ 2.36649568232238372012e-02,
+ 2.36156405515453339528e-02,
+ 2.35529058160507051567e-02,
+ 2.34768061358264293337e-02,
+ 2.33874025722661145477e-02,
+ 2.32847636843980104748e-02,
+ 2.31689654800100834631e-02,
+ 2.30400913626058086170e-02,
+ 2.28982320742268929958e-02,
+ 2.27434856341802542345e-02,
+ 2.25759572737094099670e-02,
+ 2.23957593666531708243e-02,
+ 2.22030113561352687723e-02,
+ 2.19978396773321642488e-02,
+ 2.17803776763693009155e-02,
+ 2.15507655253935614947e-02,
+ 2.13091501338791566855e-02,
+ 2.10556850562188986598e-02,
+ 2.07905303956600374937e-02,
+ 2.05138527046431831669e-02,
+ 2.02258248816056598884e-02,
+ 1.99266260643129536345e-02,
+ 1.96164415197817541825e-02,
+ 1.92954625308645287551e-02,
+ 1.89638862795599161259e-02,
+ 1.86219157271243600238e-02,
+ 1.82697594910530766721e-02,
+ 1.79076317190069930763e-02,
+ 1.75357519597588440430e-02,
+ 1.71543450312383258249e-02,
+ 1.67636408857523670768e-02,
+ 1.63638744724620595339e-02,
+ 1.59552855971977040894e-02,
+ 1.55381187796942588780e-02,
+ 1.51126231083333045085e-02,
+ 1.46790520924749527676e-02,
+ 1.42376635124681055061e-02,
+ 1.37887192674271304160e-02,
+ 1.33324852208636900064e-02,
+ 1.28692310442640404228e-02,
+ 1.23992300587048714933e-02,
+ 1.19227590745975605552e-02,
+ 1.14400982296555958628e-02,
+ 1.09515308251813669321e-02,
+ 1.04573431607620833533e-02,
+ 9.95782436747753331441e-03,
+ 9.45326623971061603957e-03,
+ 8.94396306566137833105e-03,
+ 8.43021145666009164010e-03,
+ 7.91231017538069313078e-03,
+ 7.39055996305047670919e-03,
+ 6.86526336575661762229e-03,
+ 6.33672455995178390137e-03,
+ 5.80524917725282890713e-03,
+ 5.27114412864063391212e-03,
+ 4.73471742815538901294e-03,
+ 4.19627801619143914885e-03,
+ 3.65613558249144616347e-03,
+ 3.11460038894114266822e-03,
+ 2.57198309226452578868e-03,
+ 2.02859456672282133238e-03,
+ 1.48474572691466213253e-03,
+ 9.40747350779479814438e-04,
+ 3.96909902906757746776e-04,
+-1.46456641755227459385e-04,
+-6.89042973683567970891e-04,
+-1.23054062396519788870e-03,
+-1.77064213877926087543e-03,
+-2.30904125308122910865e-03,
+-2.84543306338863035906e-03,
+-3.37951419957442612471e-03,
+-3.91098299557036087337e-03,
+-4.43953965888237763598e-03,
+-4.96488643882942240482e-03,
+-5.48672779340401636783e-03,
+-6.00477055466794654159e-03,
+-6.51872409258721658559e-03,
+-7.02830047721765636265e-03,
+-7.53321463914807636086e-03,
+-8.03318452811570618555e-03,
+-8.52793126970340098492e-03,
+-9.01717932003300026711e-03,
+-9.50065661837041358639e-03,
+-9.97809473755507415904e-03,
+-1.04492290321770483347e-02,
+-1.09137987844132033910e-02,
+-1.13715473474486038208e-02,
+-1.18222222864012831839e-02,
+-1.22655755166751010560e-02,
+-1.27013634396638160073e-02,
+-1.31293470757343818528e-02,
+-1.35492921944166400117e-02,
+-1.39609694417272556244e-02,
+-1.43641544645633414262e-02,
+-1.47586280320936603927e-02,
+-1.51441761540860777430e-02,
+-1.55205901961063368055e-02,
+-1.58876669915270080091e-02,
+-1.62452089502858505743e-02,
+-1.65930241643379994265e-02,
+-1.69309265097449777870e-02,
+-1.72587357453450260247e-02,
+-1.75762776079578519894e-02,
+-1.78833839040674798249e-02,
+-1.81798925979421467647e-02,
+-1.84656478961397856053e-02,
+-1.87405003283600303521e-02,
+-1.90043068245987142872e-02,
+-1.92569307885670955305e-02,
+-1.94982421673372645354e-02,
+-1.97281175171806696933e-02,
+-1.99464400655660206718e-02,
+-2.01530997692852438530e-02,
+-2.03479933686821802541e-02,
+-2.05310244379545009386e-02,
+-2.07021034315073952647e-02,
+-2.08611477263374693603e-02,
+-2.10080816604267042735e-02,
+-2.11428365671300945439e-02,
+-2.12653508055429402157e-02,
+-2.13755697868347541157e-02,
+-2.14734459965394662573e-02,
+-2.15589390127965130350e-02,
+-2.16320155205337663618e-02,
+-2.16926493215929237779e-02,
+-2.17408213407943202988e-02,
+-2.17765196279432124427e-02,
+-2.17997393557822147225e-02,
+-2.18104828138950025684e-02,
+-2.18087593985702259125e-02,
+-2.17945855986363228041e-02,
+-2.17679849772805522612e-02,
+-2.17289881498666827275e-02,
+-2.16776327577697588977e-02,
+-2.16139634382471537699e-02,
+-2.15380317903683393688e-02,
+-2.14498963370269787876e-02,
+-2.13496224830621826596e-02,
+-2.12372824695176258547e-02,
+-2.11129553240687953264e-02,
+-2.09767268076514190600e-02,
+-2.08286893573265061153e-02,
+-2.06689420254178614356e-02,
+-2.04975904149630808182e-02,
+-2.03147466115173279400e-02,
+-2.01205291113544029735e-02,
+-1.99150627461096366155e-02,
+-1.96984786039120784995e-02,
+-1.94709139470550414430e-02,
+-1.92325121262560613800e-02,
+-1.89834224915587240767e-02,
+-1.87238002999316095754e-02,
+-1.84538066196213920711e-02,
+-1.81736082313160018931e-02,
+-1.78833775261818227198e-02,
+-1.75832924008327562415e-02,
+-1.72735361492968621244e-02,
+-1.69542973520454935688e-02,
+-1.66257697621504420271e-02,
+-1.62881521886383481834e-02,
+-1.59416483771111401613e-02,
+-1.55864668877057875596e-02,
+-1.52228209704614383946e-02,
+-1.48509284381741404196e-02,
+-1.44710115368087768872e-02,
+-1.40832968135484268984e-02,
+-1.36880149825567599964e-02,
+-1.32854007885348044532e-02,
+-1.28756928681500511930e-02,
+-1.24591336094203239404e-02,
+-1.20359690091351341501e-02,
+-1.16064485283965002776e-02,
+-1.11708249463664966578e-02,
+-1.07293542123018670331e-02,
+-1.02822952959679969620e-02,
+-9.82991003651416048181e-03,
+-9.37246298989989796990e-03,
+-8.91022127496175937733e-03,
+-8.44345441820766075269e-03,
+-7.97243419742989060939e-03,
+-7.49743448422606276194e-03,
+-7.01873108552144003153e-03,
+-6.53660158417858263430e-03,
+-6.05132517879274946238e-03,
+-5.56318252275954730490e-03,
+-5.07245556271012591060e-03,
+-4.57942737640496932289e-03,
+-4.08438201018109132978e-03,
+-3.58760431604305358652e-03,
+-3.08937978849174819246e-03,
+-2.58999440118657569057e-03,
+-2.08973444352780410305e-03,
+-1.58888635726068356765e-03,
+-1.08773657318487516898e-03,
+-5.86571348070346666216e-04,
+-8.56766018661410432358e-05,
+ 4.14662244703500838458e-04,
+ 9.14160432062568030845e-04,
+ 1.41253402313765564872e-03,
+ 1.90950006404986844660e-03,
+ 2.40477674405564865318e-03,
+ 2.89808355464306636670e-03,
+ 3.38914144770032432427e-03,
+ 3.87767299266011901057e-03,
+ 4.36340253253783821180e-03,
+ 4.84605633877375780588e-03,
+ 5.32536276479152106272e-03,
+ 5.80105239818985360389e-03,
+ 6.27285821148045302093e-03,
+ 6.74051571128982465742e-03,
+ 7.20376308593877450609e-03,
+ 7.66234135132374139660e-03,
+ 8.11599449501146374963e-03,
+ 8.56446961847351709296e-03,
+ 9.00751707737854762081e-03,
+ 9.44489061986596677156e-03,
+ 9.87634752272530808126e-03,
+ 1.03016487254043390825e-02,
+ 1.07205589617752304610e-02,
+ 1.11328468895841945635e-02,
+ 1.15382852175153500368e-02,
+ 1.19366508297968510616e-02,
+ 1.23277249082861840856e-02,
+ 1.27112930519620286746e-02,
+ 1.30871453937629941139e-02,
+ 1.34550767147076835023e-02,
+ 1.38148865552336977403e-02,
+ 1.41663793236976622014e-02,
+ 1.45093644019762355729e-02,
+ 1.48436562481129210450e-02,
+ 1.51690744959529933561e-02,
+ 1.54854440517186581205e-02,
+ 1.57925951874666216368e-02,
+ 1.60903636313842884897e-02,
+ 1.63785906548734767896e-02,
+ 1.66571231563775630502e-02,
+ 1.69258137419078108499e-02,
+ 1.71845208022262455061e-02,
+ 1.74331085866468830925e-02,
+ 1.76714472734152173994e-02,
+ 1.78994130366322383441e-02,
+ 1.81168881096860183433e-02,
+ 1.83237608451629584161e-02,
+ 1.85199257712043326152e-02,
+ 1.87052836442837197573e-02,
+ 1.88797414983780387221e-02,
+ 1.90432126905080711943e-02,
+ 1.91956169426277314938e-02,
+ 1.93368803798427274510e-02,
+ 1.94669355649397177177e-02,
+ 1.95857215292121362993e-02,
+ 1.96931837995691326471e-02,
+ 1.97892744219159630314e-02,
+ 1.98739519807974267251e-02,
+ 1.99471816152978105585e-02,
+ 2.00089350311917421599e-02,
+ 2.00591905093446473685e-02,
+ 2.00979329103609591356e-02,
+ 2.01251536754834259302e-02,
+ 2.01408508237461286727e-02,
+ 2.01450289453875622248e-02,
+ 2.01376991915322746396e-02,
+ 2.01188792601508376068e-02,
+ 2.00885933783103917682e-02,
+ 2.00468722807307861422e-02,
+ 1.99937531846619727383e-02,
+ 1.99292797611018770998e-02,
+ 1.98535021023752838998e-02,
+ 1.97664766860958553141e-02,
+ 1.96682663355367028102e-02,
+ 1.95589401764357864733e-02,
+ 1.94385735902649521567e-02,
+ 1.93072481639931514685e-02,
+ 1.91650516363770367922e-02,
+ 1.90120778408122484415e-02,
+ 1.88484266447838007263e-02,
+ 1.86742038859517046900e-02,
+ 1.84895213049142380368e-02,
+ 1.82944964746886706841e-02,
+ 1.80892527269562349013e-02,
+ 1.78739190751135354485e-02,
+ 1.76486301341811334387e-02,
+ 1.74135260376162073759e-02,
+ 1.71687523510813504213e-02,
+ 1.69144599832216704915e-02,
+ 1.66508050935038308393e-02,
+ 1.63779489971747002630e-02,
+ 1.60960580673943053076e-02,
+ 1.58053036346042924398e-02,
+ 1.55058618831906466079e-02,
+ 1.51979137455046566657e-02,
+ 1.48816447933020276628e-02,
+ 1.45572451266690657684e-02,
+ 1.42249092604983910781e-02,
+ 1.38848360085833399946e-02,
+ 1.35372283653998979475e-02,
+ 1.31822933856448436252e-02,
+ 1.28202420616024131972e-02,
+ 1.24512891984102161413e-02,
+ 1.20756532873008502055e-02,
+ 1.16935563768882661712e-02,
+ 1.13052239425808411649e-02,
+ 1.09108847541921957086e-02,
+ 1.05107707418293280094e-02,
+ 1.01051168601380188944e-02,
+ 9.69416095097974661599e-03,
+ 9.27814360462589186873e-03,
+ 8.85730801954525207020e-03,
+ 8.43189986086877521498e-03,
+ 8.00216711761173211948e-03,
+ 7.56835995873902413200e-03,
+ 7.13073058815158738327e-03,
+ 6.68953309868379475400e-03,
+ 6.24502332519116971910e-03,
+ 5.79745869681476747037e-03,
+ 5.34709808850850412676e-03,
+ 4.89420167191210314650e-03,
+ 4.43903076565723645613e-03,
+ 3.98184768519108632512e-03,
+ 3.52291559220632970878e-03,
+ 3.06249834375802321845e-03,
+ 2.60086034116042237249e-03,
+ 2.13826637874443706636e-03,
+ 1.67498149256396322397e-03,
+ 1.21127080913929915072e-03,
+ 7.47399394318058719021e-04,
+ 2.83632102346346049587e-04,
+-1.79766574769843468212e-04,
+-6.42532657524515324506e-04,
+-1.10440282870957989618e-03,
+-1.56511458266390263150e-03,
+-2.02440637389199361643e-03,
+-2.48201776496643914185e-03,
+-2.93768957363143169009e-03,
+-3.39116401902536928475e-03,
+-3.84218486693827703318e-03,
+-4.29049757402515802296e-03,
+-4.73584943089246784842e-03,
+-5.17798970397907992042e-03,
+-5.61666977614957031034e-03,
+-6.05164328592657299599e-03,
+-6.48266626527806404806e-03,
+-6.90949727588800570455e-03,
+-7.33189754383248466774e-03,
+-7.74963109258556843290e-03,
+-8.16246487428337087755e-03,
+-8.57016889917199681248e-03,
+-8.97251636316816550409e-03,
+-9.36928377346218227428e-03,
+-9.76025107209459868995e-03,
+-1.01452017574365904035e-02,
+-1.05239230035099728261e-02,
+-1.08962057770798960432e-02,
+-1.12618449524549517349e-02,
+-1.16206394239357687498e-02,
+-1.19723922158460008985e-02,
+-1.23169105900894394756e-02,
+-1.26540061511731961180e-02,
+-1.29834949486409296365e-02,
+-1.33051975768588605364e-02,
+-1.36189392721043061457e-02,
+-1.39245500069003491639e-02,
+-1.42218645815492452517e-02,
+-1.45107227128146703404e-02,
+-1.47909691197041746891e-02,
+-1.50624536063089509152e-02,
+-1.53250311416544826582e-02,
+-1.55785619365223330923e-02,
+-1.58229115171997537781e-02,
+-1.60579507961227489765e-02,
+-1.62835561393713836031e-02,
+-1.64996094309859363258e-02,
+-1.67059981340693386453e-02,
+-1.69026153486439532914e-02,
+-1.70893598662360153562e-02,
+-1.72661362211572987080e-02,
+-1.74328547384603599335e-02,
+-1.75894315785435489952e-02,
+-1.77357887783837660234e-02,
+-1.78718542893771675795e-02,
+-1.79975620117707353629e-02,
+-1.81128518256681338150e-02,
+-1.82176696185966900676e-02,
+-1.83119673096232941922e-02,
+-1.83957028700091167195e-02,
+-1.84688403403957639159e-02,
+-1.85313498445167090800e-02,
+-1.85832075994299093791e-02,
+-1.86243959222697728906e-02,
+-1.86549032335186701359e-02,
+-1.86747240567995964611e-02,
+-1.86838590151944261564e-02,
+-1.86823148240932573882e-02,
+-1.86701042805831954330e-02,
+-1.86472462493857613075e-02,
+-1.86137656453560576542e-02,
+-1.85696934125556128992e-02,
+-1.85150664999163827584e-02,
+-1.84499278335122293693e-02,
+-1.83743262854581951293e-02,
+-1.82883166394587175219e-02,
+-1.81919595530277734829e-02,
+-1.80853215164069915100e-02,
+-1.79684748082077037912e-02,
+-1.78414974478062274277e-02,
+-1.77044731445240056955e-02,
+-1.75574912436227900669e-02,
+-1.74006466691516183121e-02,
+-1.72340398636801027388e-02,
+-1.70577767249556339069e-02,
+-1.68719685395252033677e-02,
+-1.66767319133613971249e-02,
+-1.64721886995365836281e-02,
+-1.62584659229890703125e-02,
+-1.60356957024269768108e-02,
+-1.58040151694183554631e-02,
+-1.55635663847157393325e-02,
+-1.53144962518665349316e-02,
+-1.50569564281600679762e-02,
+-1.47911032329673657743e-02,
+-1.45170975535258116318e-02,
+-1.42351047482265624655e-02,
+-1.39452945474637136913e-02,
+-1.36478409521007416211e-02,
+-1.33429221296188608992e-02,
+-1.30307203080056444033e-02,
+-1.27114216674486905923e-02,
+-1.23852162298968091619e-02,
+-1.20522977465561034055e-02,
+-1.17128635833847836306e-02,
+-1.13671146046554968900e-02,
+-1.10152550546535922538e-02,
+-1.06574924375795083986e-02,
+-1.02940373957274844408e-02,
+-9.92510358600978345733e-03,
+-9.55090755489973984582e-03,
+-9.17166861186629808755e-03,
+-8.78760870137362294641e-03,
+-8.39895227351954501427e-03,
+-8.00592615338992057150e-03,
+-7.60875940920200354023e-03,
+-7.20768321931454427481e-03,
+-6.80293073818321551022e-03,
+-6.39473696133400267699e-03,
+-5.98333858943855649570e-03,
+-5.56897389156482680583e-03,
+-5.15188256768454866386e-03,
+-4.73230561051499881708e-03,
+-4.31048516677632470584e-03,
+-3.88666439794171014385e-03,
+-3.46108734056119323949e-03,
+-3.03399876624102851630e-03,
+-2.60564404135369374893e-03,
+-2.17626898656492900885e-03,
+-1.74611973625276640544e-03,
+-1.31544259790159325310e-03,
+-8.84483911549698064228e-04,
+-4.53489909372157390909e-04,
+-2.27065754763732153979e-05,
+ 4.07620494008173754521e-04,
+ 8.37246230468182989909e-04,
+ 1.26592623189187344218e-03,
+ 1.69341690142426519808e-03,
+ 2.11947558531578586147e-03,
+ 2.54386071017997711027e-03,
+ 2.96633191949158747311e-03,
+ 3.38665020924181978113e-03,
+ 3.80457806267612890991e-03,
+ 4.21987958404042469429e-03,
+ 4.63232063125803249226e-03,
+ 5.04166894746706922836e-03,
+ 5.44769429133779015118e-03,
+ 5.85016856610528698801e-03,
+ 6.24886594723963670339e-03,
+ 6.64356300868360755141e-03,
+ 7.03403884758925946469e-03,
+ 7.42007520748272191013e-03,
+ 7.80145659978820089214e-03,
+ 8.17797042364491223732e-03,
+ 8.54940708395133565356e-03,
+ 8.91556010756844319332e-03,
+ 9.27622625762106536862e-03,
+ 9.63120564583299677841e-03,
+ 9.98030184283307808535e-03,
+ 1.03233219863735226768e-02,
+ 1.06600768874003729025e-02,
+ 1.09903811339163819116e-02,
+ 1.13140531925830963023e-02,
+ 1.16309155080034538898e-02,
+ 1.19407945996319476284e-02,
+ 1.22435211562607008245e-02,
+ 1.25389301280292575491e-02,
+ 1.28268608159079269826e-02,
+ 1.31071569586075614006e-02,
+ 1.33796668168697750756e-02,
+ 1.36442432550884507059e-02,
+ 1.39007438202245533349e-02,
+ 1.41490308179680942396e-02,
+ 1.43889713861080018736e-02,
+ 1.46204375650716145163e-02,
+ 1.48433063655967166505e-02,
+ 1.50574598334992579285e-02,
+ 1.52627851115045704011e-02,
+ 1.54591744981103021428e-02,
+ 1.56465255034476218021e-02,
+ 1.58247409021165554022e-02,
+ 1.59937287829656459015e-02,
+ 1.61534025957906987592e-02,
+ 1.63036811949317031467e-02,
+ 1.64444888797439722761e-02,
+ 1.65757554319247296659e-02,
+ 1.66974161496777871727e-02,
+ 1.68094118786993561299e-02,
+ 1.69116890399709611514e-02,
+ 1.70041996543472719028e-02,
+ 1.70869013639282085748e-02,
+ 1.71597574502064462165e-02,
+ 1.72227368489833373988e-02,
+ 1.72758141620482467971e-02,
+ 1.73189696656185082579e-02,
+ 1.73521893155377665563e-02,
+ 1.73754647492341991744e-02,
+ 1.73887932844398809817e-02,
+ 1.73921779146764994561e-02,
+ 1.73856273015124823678e-02,
+ 1.73691557636001317477e-02,
+ 1.73427832625017742940e-02,
+ 1.73065353853169359710e-02,
+ 1.72604433241233257146e-02,
+ 1.72045438522471921816e-02,
+ 1.71388792973795056618e-02,
+ 1.70634975115566134285e-02,
+ 1.69784518380263448056e-02,
+ 1.68838010750209793764e-02,
+ 1.67796094364609134353e-02,
+ 1.66659465096161037156e-02,
+ 1.65428872097501365734e-02,
+ 1.64105117317781858122e-02,
+ 1.62689054989683147545e-02,
+ 1.61181591087189469980e-02,
+ 1.59583682754456043784e-02,
+ 1.57896337706140629797e-02,
+ 1.56120613599556659623e-02,
+ 1.54257617379032624383e-02,
+ 1.52308504592903026092e-02,
+ 1.50274478683518758482e-02,
+ 1.48156790250726522890e-02,
+ 1.45956736289267492018e-02,
+ 1.43675659400543699606e-02,
+ 1.41314946979236334690e-02,
+ 1.38876030375264993694e-02,
+ 1.36360384031594637777e-02,
+ 1.33769524598382864855e-02,
+ 1.31105010024045141870e-02,
+ 1.28368438623721048408e-02,
+ 1.25561448125739872489e-02,
+ 1.22685714696633887261e-02,
+ 1.19742951945275791920e-02,
+ 1.16734909906738484192e-02,
+ 1.13663374006453127274e-02,
+ 1.10530164005323595922e-02,
+ 1.07337132926358554130e-02,
+ 1.04086165963493543218e-02,
+ 1.00779179373233617606e-02,
+ 9.74181193497532758874e-03,
+ 9.40049608841225445288e-03,
+ 9.05417066083279500899e-03,
+ 8.70303856247552944103e-03,
+ 8.34730523218016502718e-03,
+ 7.98717851763572177226e-03,
+ 7.62286855437785230982e-03,
+ 7.25458764361144089333e-03,
+ 6.88255012892701172750e-03,
+ 6.50697227198192371805e-03,
+ 6.12807212721856470888e-03,
+ 5.74606941569283727334e-03,
+ 5.36118539808457146567e-03,
+ 4.97364274696218688909e-03,
+ 4.58366541837830314410e-03,
+ 4.19147852286664863303e-03,
+ 3.79730819591561500129e-03,
+ 3.40138146799415100677e-03,
+ 3.00392613420201199520e-03,
+ 2.60517062362004749726e-03,
+ 2.20534386843704386522e-03,
+ 1.80467517292383881899e-03,
+ 1.40339408233299683948e-03,
+ 1.00173025179804741150e-03,
+ 5.99913315305479412538e-04,
+ 1.98172754814968598257e-04,
+-2.03262230396802987941e-04,
+-6.04162854095924620711e-04,
+-1.00430087308224437644e-03,
+-1.40344871673197396644e-03,
+-1.80137961602673795508e-03,
+-2.19786773199013999239e-03,
+-2.59268828346089896114e-03,
+-2.98561767413182141753e-03,
+-3.37643361878200423329e-03,
+-3.76491526863040370035e-03,
+-4.15084333574143593548e-03,
+-4.53400021641445216680e-03,
+-4.91417011348194241599e-03,
+-5.29113915745588105771e-03,
+-5.66469552644815847742e-03,
+-6.03462956480155590655e-03,
+-6.40073390036281514998e-03,
+-6.76280356033400701504e-03,
+-7.12063608563857919354e-03,
+-7.47403164373383350344e-03,
+-7.82279313981379918752e-03,
+-8.16672632633589495876e-03,
+-8.50563991081211730194e-03,
+-8.83934566180608928543e-03,
+-9.16765851307686438498e-03,
+-9.49039666581114917110e-03,
+-9.80738168888878152074e-03,
+-1.01184386171277399674e-02,
+-1.04233960474500557403e-02,
+-1.07220862329222184350e-02,
+-1.10143451746142415071e-02,
+-1.13000127112285256303e-02,
+-1.15789326064506051250e-02,
+-1.18509526339738002071e-02,
+-1.21159246601509965058e-02,
+-1.23737047242299964128e-02,
+-1.26241531161297524527e-02,
+-1.28671344517128152796e-02,
+-1.31025177455174803715e-02,
+-1.33301764809086713964e-02,
+-1.35499886776097172580e-02,
+-1.37618369565811367317e-02,
+-1.39656086022109764133e-02,
+-1.41611956217838150934e-02,
+-1.43484948021984325128e-02,
+-1.45274077639039357612e-02,
+-1.46978410120258608934e-02,
+-1.48597059846577242426e-02,
+-1.50129190982918585967e-02,
+-1.51574017903672395718e-02,
+-1.52930805589124932387e-02,
+-1.54198869992662364325e-02,
+-1.55377578378534803027e-02,
+-1.56466349630057406650e-02,
+-1.57464654528072754702e-02,
+-1.58372015999561979727e-02,
+-1.59188009336289001960e-02,
+-1.59912262383383775577e-02,
+-1.60544455697791341175e-02,
+-1.61084322676517156803e-02,
+-1.61531649654640882541e-02,
+-1.61886275973061356803e-02,
+-1.62148094015971411253e-02,
+-1.62317049218069497929e-02,
+-1.62393140041536092333e-02,
+-1.62376417922817130324e-02,
+-1.62266987189277553383e-02,
+-1.62065004945800873737e-02,
+-1.61770680931431522220e-02,
+-1.61384277346172493040e-02,
+-1.60906108648061207944e-02,
+-1.60336541320681771894e-02,
+-1.59675993611263326855e-02,
+-1.58924935239547066024e-02,
+-1.58083887077626328299e-02,
+-1.57153420800955900827e-02,
+-1.56134158510770112288e-02,
+-1.55026772328152578212e-02,
+-1.53831983960010937329e-02,
+-1.52550564237238350102e-02,
+-1.51183332625351458250e-02,
+-1.49731156707911920722e-02,
+-1.48194951643046812090e-02,
+-1.46575679593417048524e-02,
+-1.44874349129977750272e-02,
+-1.43092014609884597698e-02,
+-1.41229775528962445130e-02,
+-1.39288775849084438263e-02,
+-1.37270203300904457960e-02,
+-1.35175288662355702618e-02,
+-1.33005305013339011205e-02,
+-1.30761566967065763489e-02,
+-1.28445429878512040744e-02,
+-1.26058289030446593615e-02,
+-1.23601578797534680798e-02,
+-1.21076771789009329794e-02,
+-1.18485377970418380433e-02,
+-1.15828943764964987367e-02,
+-1.13109051134989493925e-02,
+-1.10327316644120605738e-02,
+-1.07485390500640064226e-02,
+-1.04584955582669985458e-02,
+-1.01627726445692283253e-02,
+-9.86154483130371323218e-03,
+-9.55498960498988268719e-03,
+-9.24328731215033269630e-03,
+-8.92662105360215486771e-03,
+-8.60517657728362625469e-03,
+-8.27914216968341290515e-03,
+-7.94870854592883563372e-03,
+-7.61406873860231547119e-03,
+-7.27541798534921645147e-03,
+-6.93295361534090708033e-03,
+-6.58687493466020984600e-03,
+-6.23738311067596751247e-03,
+-5.88468105547270119854e-03,
+-5.52897330840119299866e-03,
+-5.17046591782320454772e-03,
+-4.80936632211110496465e-03,
+-4.44588322997643489720e-03,
+-4.08022650019468531568e-03,
+-3.71260702079436550813e-03,
+-3.34323658778045351356e-03,
+-2.97232778346277022249e-03,
+-2.60009385445763652536e-03,
+-2.22674858943125442146e-03,
+-1.85250619666033739495e-03,
+-1.47758118147215886107e-03,
+-1.10218822363969577716e-03,
+-7.26542054800227666764e-04,
+-3.50857335965947274205e-04,
+ 2.46514648028058004550e-05,
+ 3.99770194491305848588e-04,
+ 7.74285136923100344129e-04,
+ 1.14798313418393348531e-03,
+ 1.52065170760259482478e-03,
+ 1.89207917822773732594e-03,
+ 2.26205478672706098917e-03,
+ 2.63036881264248683862e-03,
+ 2.99681269293534556161e-03,
+ 3.36117913975389048103e-03,
+ 3.72326225735529307836e-03,
+ 4.08285765811985511958e-03,
+ 4.43976257758913958607e-03,
+ 4.79377598846415613199e-03,
+ 5.14469871350105301122e-03,
+ 5.49233353723946847447e-03,
+ 5.83648531650244987989e-03,
+ 6.17696108960405759064e-03,
+ 6.51357018420694721533e-03,
+ 6.84612432376711325249e-03,
+ 7.17443773250708155542e-03,
+ 7.49832723886042704087e-03,
+ 7.81761237732933426947e-03,
+ 8.13211548869811375051e-03,
+ 8.44166181854820452113e-03,
+ 8.74607961402130464068e-03,
+ 9.04520021877286591050e-03,
+ 9.33885816606978835797e-03,
+ 9.62689126997642689865e-03,
+ 9.90914071458013148708e-03,
+ 1.01854511412086366773e-02,
+ 1.04556707335903883299e-02,
+ 1.07196513009111780990e-02,
+ 1.09772483587224512630e-02,
+ 1.12283212076583951283e-02,
+ 1.14727330099153260884e-02,
+ 1.17103508634570831898e-02,
+ 1.19410458739028241953e-02,
+ 1.21646932240592649255e-02,
+ 1.23811722410611373818e-02,
+ 1.25903664610832344978e-02,
+ 1.27921636915890018366e-02,
+ 1.29864560710836914048e-02,
+ 1.31731401263407224556e-02,
+ 1.33521168270687006635e-02,
+ 1.35232916379940497353e-02,
+ 1.36865745683296211738e-02,
+ 1.38418802186039205382e-02,
+ 1.39891278248280535867e-02,
+ 1.41282412999769145523e-02,
+ 1.42591492727635726218e-02,
+ 1.43817851236876445564e-02,
+ 1.44960870183408006145e-02,
+ 1.46019979379505230460e-02,
+ 1.46994657071504129797e-02,
+ 1.47884430189622918805e-02,
+ 1.48688874569784020702e-02,
+ 1.49407615147348158541e-02,
+ 1.50040326122672287162e-02,
+ 1.50586731098424179975e-02,
+ 1.51046603188603172779e-02,
+ 1.51419765099236949824e-02,
+ 1.51706089180728420640e-02,
+ 1.51905497451859678587e-02,
+ 1.52017961595458175883e-02,
+ 1.52043502925764267841e-02,
+ 1.51982192327537388166e-02,
+ 1.51834150166969984036e-02,
+ 1.51599546174485608208e-02,
+ 1.51278599299513004384e-02,
+ 1.50871577537351683751e-02,
+ 1.50378797728247023263e-02,
+ 1.49800625328825147420e-02,
+ 1.49137474156039364498e-02,
+ 1.48389806103799235665e-02,
+ 1.47558130832480607908e-02,
+ 1.46643005431505314001e-02,
+ 1.45645034055218620950e-02,
+ 1.44564867532300453390e-02,
+ 1.43403202948947962325e-02,
+ 1.42160783206099778503e-02,
+ 1.40838396550982923594e-02,
+ 1.39436876083266405452e-02,
+ 1.37957099236124917929e-02,
+ 1.36399987232554212313e-02,
+ 1.34766504517241942490e-02,
+ 1.33057658164359091102e-02,
+ 1.31274497261638489060e-02,
+ 1.29418112271095040594e-02,
+ 1.27489634366789363756e-02,
+ 1.25490234750032566419e-02,
+ 1.23421123942442402532e-02,
+ 1.21283551057263516704e-02,
+ 1.19078803049420742233e-02,
+ 1.16808203944710996269e-02,
+ 1.14473114048624195760e-02,
+ 1.12074929135256729645e-02,
+ 1.09615079616787580025e-02,
+ 1.07095029694022052941e-02,
+ 1.04516276488501973219e-02,
+ 1.01880349156695994978e-02,
+ 9.91888079867737047779e-03,
+ 9.64432434785405211242e-03,
+ 9.36452754070147760923e-03,
+ 9.07965518702451984678e-03,
+ 8.78987483218966227094e-03,
+ 8.49535665891908500780e-03,
+ 8.19627338767603061398e-03,
+ 7.89280017569949157719e-03,
+ 7.58511451474948479590e-03,
+ 7.27339612761909639488e-03,
+ 6.95782686347547630473e-03,
+ 6.63859059209071476759e-03,
+ 6.31587309702252765881e-03,
+ 5.98986196780740103029e-03,
+ 5.66074649122982193061e-03,
+ 5.32871754172747295192e-03,
+ 4.99396747099837244599e-03,
+ 4.65668999687305143476e-03,
+ 4.31708009151461624686e-03,
+ 3.97533386901183748152e-03,
+ 3.63164847243082006614e-03,
+ 3.28622196038877781299e-03,
+ 2.93925319321392116909e-03,
+ 2.59094171876164420382e-03,
+ 2.24148765794563754883e-03,
+ 1.89109159005432995830e-03,
+ 1.53995443791703993247e-03,
+ 1.18827735298423120720e-03,
+ 8.36261600388259543348e-04,
+ 4.84108444050918994457e-04,
+ 1.32019031902150203511e-04,
+-2.19805718726241933539e-04,
+-5.71165235461442008166e-04,
+-9.21859404947263896997e-04,
+-1.27168868652862017930e-03,
+-1.62045422549978823494e-03,
+-1.96795796585350459343e-03,
+-2.31400276246625583032e-03,
+-2.65839249265560281787e-03,
+-3.00093216704766258679e-03,
+-3.34142803969362210681e-03,
+-3.67968771736809294182e-03,
+-4.01552026799475991758e-03,
+-4.34873632813331280345e-03,
+-4.67914820946864051104e-03,
+-5.00657000424378773040e-03,
+-5.33081768957552153132e-03,
+-5.65170923059745127642e-03,
+-5.96906468236742954181e-03,
+-6.28270629048909966946e-03,
+-6.59245859038667947338e-03,
+-6.89814850517884731868e-03,
+-7.19960544209851966563e-03,
+-7.49666138740393440260e-03,
+-7.78915099972798865430e-03,
+-8.07691170181503576009e-03,
+-8.35978377059490469769e-03,
+-8.63761042554191810217e-03,
+-8.91023791527316942618e-03,
+-9.17751560233688937207e-03,
+-9.43929604614376221994e-03,
+-9.69543508399723329150e-03,
+-9.94579191017774290329e-03,
+-1.01902291530364327854e-02,
+-1.04286129500589536817e-02,
+-1.06608130208563391117e-02,
+-1.08867027380436017653e-02,
+-1.11061591959687958747e-02,
+-1.13190632772547025708e-02,
+-1.15252997171166309681e-02,
+-1.17247571654230976768e-02,
+-1.19173282464660659080e-02,
+-1.21029096164066742036e-02,
+-1.22814020183694711658e-02,
+-1.24527103351532476838e-02,
+-1.26167436395315489539e-02,
+-1.27734152421167899277e-02,
+-1.29226427367628814158e-02,
+-1.30643480434822645969e-02,
+-1.31984574488560428562e-02,
+-1.33249016439166492742e-02,
+-1.34436157594821689004e-02,
+-1.35545393989273295354e-02,
+-1.36576166683727209111e-02,
+-1.37527962042781285584e-02,
+-1.38400311984271696952e-02,
+-1.39192794202912337870e-02,
+-1.39905032367616116717e-02,
+-1.40536696292427546601e-02,
+-1.41087502080980680547e-02,
+-1.41557212244426133818e-02,
+-1.41945635792792845820e-02,
+-1.42252628299752575947e-02,
+-1.42478091940773932134e-02,
+-1.42621975504671379131e-02,
+-1.42684274378570910558e-02,
+-1.42665030506319845394e-02,
+-1.42564332320393345743e-02,
+-1.42382314647362499815e-02,
+-1.42119158586999447952e-02,
+-1.41775091365116089059e-02,
+-1.41350386160245498901e-02,
+-1.40845361904284333693e-02,
+-1.40260383057241797000e-02,
+-1.39595859356245310251e-02,
+-1.38852245538964112065e-02,
+-1.38030041041644433580e-02,
+-1.37129789671941813151e-02,
+-1.36152079256764129561e-02,
+-1.35097541265353955631e-02,
+-1.33966850407841280013e-02,
+-1.32760724209521549510e-02,
+-1.31479922561130030401e-02,
+-1.30125247245378994343e-02,
+-1.28697541440061513640e-02,
+-1.27197689198022458740e-02,
+-1.25626614904315592192e-02,
+-1.23985282710872991158e-02,
+-1.22274695949040924925e-02,
+-1.20495896520329080076e-02,
+-1.18649964265733695590e-02,
+-1.16738016314043534238e-02,
+-1.14761206409479885049e-02,
+-1.12720724219102334807e-02,
+-1.10617794620386598187e-02,
+-1.08453676969394192248e-02,
+-1.06229664349969266796e-02,
+-1.03947082804420436186e-02,
+-1.01607290546128509884e-02,
+-9.92116771545450623626e-03,
+-9.67616627530844784777e-03,
+-9.42586971703506318332e-03,
+-9.17042590852275470159e-03,
+-8.90998551563223703531e-03,
+-8.64470191362698078819e-03,
+-8.37473109714258721892e-03,
+-8.10023158874558640852e-03,
+-7.82136434613948418326e-03,
+-7.53829266806671071527e-03,
+-7.25118209896521460911e-03,
+-6.96020033243441478554e-03,
+-6.66551711356555987714e-03,
+-6.36730414019388325786e-03,
+-6.06573496313063138113e-03,
+-5.76098488543169522103e-03,
+-5.45323086076018610086e-03,
+-5.14265139090599315841e-03,
+-4.82942642251557672367e-03,
+-4.51373724309595599630e-03,
+-4.19576637635184213071e-03,
+-3.87569747691505085002e-03,
+-3.55371522452749104282e-03,
+-3.23000521773942998738e-03,
+-2.90475386718291829144e-03,
+-2.57814828848035217795e-03,
+-2.25037619485449289641e-03,
+-1.92162578949469156631e-03,
+-1.59208565774584761589e-03,
+-1.26194465918040934528e-03,
+-9.31391819614034682621e-04,
+-6.00616223127062396486e-04,
+-2.69806904154944583816e-04,
+ 6.08472602942396962656e-05,
+ 3.91157658230999324359e-04,
+ 7.20936050023826264892e-04,
+ 1.04999467542699867657e-03,
+ 1.37814636023528779528e-03,
+ 1.70520462250435696737e-03,
+ 2.03098377827778953097e-03,
+ 2.35529904676215007600e-03,
+ 2.67796665488591583565e-03,
+ 2.99880394118968215261e-03,
+ 3.31762945898433653930e-03,
+ 3.63426307872031237670e-03,
+ 3.94852608951128981885e-03,
+ 4.26024129975459756037e-03,
+ 4.56923313679098372364e-03,
+ 4.87532774554888699570e-03,
+ 5.17835308611915706711e-03,
+ 5.47813903020093976443e-03,
+ 5.77451745637115685522e-03,
+ 6.06732234411917498856e-03,
+ 6.35638986659726578504e-03,
+ 6.64155848203327753981e-03,
+ 6.92266902375569294359e-03,
+ 7.19956478878218397721e-03,
+ 7.47209162491841317327e-03,
+ 7.74009801632427347357e-03,
+ 8.00343516749617983619e-03,
+ 8.26195708562018661658e-03,
+ 8.51552066125116358108e-03,
+ 8.76398574727313937893e-03,
+ 9.00721523609652845177e-03,
+ 9.24507513505131058029e-03,
+ 9.47743463993477690266e-03,
+ 9.70416620667113177801e-03,
+ 9.92514562104791428498e-03,
+ 1.01402520664879789575e-02,
+ 1.03493681898213143316e-02,
+ 1.05523801650215433984e-02,
+ 1.07491777548722518970e-02,
+ 1.09396543705291681564e-02,
+ 1.11237071289475124292e-02,
+ 1.13012369081435404966e-02,
+ 1.14721484002587425371e-02,
+ 1.16363501624019635705e-02,
+ 1.17937546652395908869e-02,
+ 1.19442783393092378380e-02,
+ 1.20878416190330750107e-02,
+ 1.22243689844071853207e-02,
+ 1.23537890003452277554e-02,
+ 1.24760343536569357631e-02,
+ 1.25910418876418357670e-02,
+ 1.26987526342805939761e-02,
+ 1.27991118440086270452e-02,
+ 1.28920690130565843839e-02,
+ 1.29775779083439509604e-02,
+ 1.30555965899154108323e-02,
+ 1.31260874309076600724e-02,
+ 1.31890171350384308863e-02,
+ 1.32443567516100473014e-02,
+ 1.32920816880211477284e-02,
+ 1.33321717197816842077e-02,
+ 1.33646109980275606260e-02,
+ 1.33893880545334492682e-02,
+ 1.34064958042229027263e-02,
+ 1.34159315451764481197e-02,
+ 1.34176969561404253045e-02,
+ 1.34117980915397661673e-02,
+ 1.33982453740004014281e-02,
+ 1.33770535843872502568e-02,
+ 1.33482418493662668285e-02,
+ 1.33118336264995938689e-02,
+ 1.32678566868845784765e-02,
+ 1.32163430953490413505e-02,
+ 1.31573291882161602651e-02,
+ 1.30908555486537094698e-02,
+ 1.30169669796242129522e-02,
+ 1.29357124744537473754e-02,
+ 1.28471451850375104065e-02,
+ 1.27513223877034967413e-02,
+ 1.26483054467555582068e-02,
+ 1.25381597757181027092e-02,
+ 1.24209547963076202132e-02,
+ 1.22967638951557260707e-02,
+ 1.21656643783110817586e-02,
+ 1.20277374235470257274e-02,
+ 1.18830680305065279623e-02,
+ 1.17317449687113807555e-02,
+ 1.15738607234699020926e-02,
+ 1.14095114397158373110e-02,
+ 1.12387968638101957974e-02,
+ 1.10618202833434337712e-02,
+ 1.08786884649728424201e-02,
+ 1.06895115903328993823e-02,
+ 1.04944031900558870651e-02,
+ 1.02934800759447477037e-02,
+ 1.00868622713343389363e-02,
+ 9.87467293968604525878e-03,
+ 9.65703831145729371666e-03,
+ 9.43408760928757944564e-03,
+ 9.20595297154692439323e-03,
+ 8.97276937429128222667e-03,
+ 8.73467455167086133383e-03,
+ 8.49180891483720598489e-03,
+ 8.24431546939977458188e-03,
+ 7.99233973147535532722e-03,
+ 7.73602964238361088395e-03,
+ 7.47553548203802858269e-03,
+ 7.21100978108041128223e-03,
+ 6.94260723181349802963e-03,
+ 6.67048459797950268196e-03,
+ 6.39480062344236106775e-03,
+ 6.11571593982157112740e-03,
+ 5.83339297313448506416e-03,
+ 5.54799584949982379362e-03,
+ 5.25969029995765075675e-03,
+ 4.96864356445977841531e-03,
+ 4.67502429508827137272e-03,
+ 4.37900245855606801149e-03,
+ 4.08074923804454484794e-03,
+ 3.78043693443984004168e-03,
+ 3.47823886701886190315e-03,
+ 3.17432927364564567915e-03,
+ 2.86888321053426365720e-03,
+ 2.56207645163618802017e-03,
+ 2.25408538770850491381e-03,
+ 1.94508692512463700341e-03,
+ 1.63525838447931698427e-03,
+ 1.32477739905105789536e-03,
+ 1.01382181317911045614e-03,
+ 7.02569580610471595104e-04,
+ 3.91198662877513612512e-04,
+ 7.98869277630744821202e-05,
+-2.31187952088860002205e-04,
+-5.41848600360482837712e-04,
+-8.51918037984115972261e-04,
+-1.16121978375175968247e-03,
+-1.46957795454782155081e-03,
+-1.77681736514933067382e-03,
+-2.08276362753950002732e-03,
+-2.38724324967590261284e-03,
+-2.69008373365854430367e-03,
+-2.99111367324205812759e-03,
+-3.29016285063819195061e-03,
+-3.58706233255040498470e-03,
+-3.88164456539251325612e-03,
+-4.17374346963266494581e-03,
+-4.46319453321069280205e-03,
+-4.74983490397884282330e-03,
+-5.03350348111142233826e-03,
+-5.31404100543327127110e-03,
+-5.59129014861656486318e-03,
+-5.86509560119571633080e-03,
+-6.13530415935167362795e-03,
+-6.40176481041693050400e-03,
+-6.66432881705371002456e-03,
+-6.92284980005934951625e-03,
+-7.17718381975063907108e-03,
+-7.42718945588436395278e-03,
+-7.67272788607022311613e-03,
+-7.91366296262873900047e-03,
+-8.14986128785674147912e-03,
+-8.38119228765579413198e-03,
+-8.60752828348398772718e-03,
+-8.82874456259165676930e-03,
+-9.04471944650279101319e-03,
+-9.25533435770336740389e-03,
+-9.46047388450147082317e-03,
+-9.66002584402477111614e-03,
+-9.85388134331765391805e-03,
+-1.00419348385086572295e-02,
+-1.02240841920141073418e-02,
+-1.04002307277476988001e-02,
+-1.05702792843059330957e-02,
+-1.07341382661022052142e-02,
+-1.08917196924194058932e-02,
+-1.10429392443588056394e-02,
+-1.11877163096573035983e-02,
+-1.13259740253500613971e-02,
+-1.14576393182570599599e-02,
+-1.15826429432718831097e-02,
+-1.17009195194323206701e-02,
+-1.18124075637551975010e-02,
+-1.19170495228175868374e-02,
+-1.20147918020679297935e-02,
+-1.21055847928538372338e-02,
+-1.21893828971518514148e-02,
+-1.22661445499873279080e-02,
+-1.23358322395343555922e-02,
+-1.23984125248859967938e-02,
+-1.24538560514863300838e-02,
+-1.25021375642184340987e-02,
+-1.25432359181423137146e-02,
+-1.25771340868788758516e-02,
+-1.26038191686375488504e-02,
+-1.26232823898858471240e-02,
+-1.26355191066611412948e-02,
+-1.26405288035257891421e-02,
+-1.26383150901686648615e-02,
+-1.26288856956566081235e-02,
+-1.26122524603418419142e-02,
+-1.25884313254311982350e-02,
+-1.25574423202261184485e-02,
+-1.25193095470420810711e-02,
+-1.24740611638184551585e-02,
+-1.24217293644305545874e-02,
+-1.23623503567175385687e-02,
+-1.22959643382403553680e-02,
+-1.22226154697852723574e-02,
+-1.21423518466312625047e-02,
+-1.20552254675984453491e-02,
+-1.19612922018975387228e-02,
+-1.18606117538015195384e-02,
+-1.17532476251614014656e-02,
+-1.16392670757887554955e-02,
+-1.15187410817310965927e-02,
+-1.13917442914640253127e-02,
+-1.12583549800273283181e-02,
+-1.11186550011346148292e-02,
+-1.09727297372832800770e-02,
+-1.08206680478965637515e-02,
+-1.06625622155284947856e-02,
+-1.04985078901642363974e-02,
+-1.03286040316486818491e-02,
+-1.01529528502798636891e-02,
+-9.97165974559921335085e-03,
+-9.78483324341799902413e-03,
+-9.59258493111724702684e-03,
+-9.39502939125761923900e-03,
+-9.19228413354054689488e-03,
+-8.98446952515993303712e-03,
+-8.77170871958610903762e-03,
+-8.55412758382280251357e-03,
+-8.33185462418275894769e-03,
+-8.10502091062164677082e-03,
+-7.87375999967769406307e-03,
+-7.63820785606213713270e-03,
+-7.39850277294432437381e-03,
+-7.15478529097991495372e-03,
+-6.90719811612892573005e-03,
+-6.65588603631140588585e-03,
+-6.40099583694948154333e-03,
+-6.14267621544471731365e-03,
+-5.88107769464080425842e-03,
+-5.61635253532167481177e-03,
+-5.34865464779504806714e-03,
+-5.07813950261468052133e-03,
+-4.80496404049110190093e-03,
+-4.52928658144188898277e-03,
+-4.25126673323850644282e-03,
+-3.97106529919719845184e-03,
+-3.68884418537053504483e-03,
+-3.40476630719170527545e-03,
+-3.11899549562579155026e-03,
+-2.83169640288094461716e-03,
+-2.54303440773591491603e-03,
+-2.25317552053609778881e-03,
+-1.96228628791152723623e-03,
+-1.67053369727637865058e-03,
+-1.37808508115876398453e-03,
+-1.08510802141915333602e-03,
+-7.91770253410941553598e-04,
+-4.98239570138193856204e-04,
+-2.04683726464174046067e-04,
+ 8.87296565722855913767e-05,
+ 3.81833187280424608996e-04,
+ 6.74459798627879405716e-04,
+ 9.66442843278491714280e-04,
+ 1.25761618830957477670e-03,
+ 1.54781430955123577679e-03,
+ 1.83687238549551422676e-03,
+ 2.12462639072184518788e-03,
+ 2.41091318878710377666e-03,
+ 2.69557062452432027663e-03,
+ 2.97843761570351769560e-03,
+ 3.25935424399821128960e-03,
+ 3.53816184520730405566e-03,
+ 3.81470309868363116265e-03,
+ 4.08882211591671436424e-03,
+ 4.36036452822079721725e-03,
+ 4.62917757347863778605e-03,
+ 4.89511018189369654513e-03,
+ 5.15801306069900780682e-03,
+ 5.41773877778122490978e-03,
+ 5.67414184416796703314e-03,
+ 5.92707879533384274229e-03,
+ 6.17640827128176569949e-03,
+ 6.42199109535173794788e-03,
+ 6.66369035171747361307e-03,
+ 6.90137146152226561152e-03,
+ 7.13490225761727499265e-03,
+ 7.36415305785760327534e-03,
+ 7.58899673691662904340e-03,
+ 7.80930879657879342681e-03,
+ 8.02496743447280412587e-03,
+ 8.23585361120545214608e-03,
+ 8.44185111586123922145e-03,
+ 8.64284662983217863430e-03,
+ 8.83872978893951791179e-03,
+ 9.02939324381753054272e-03,
+ 9.21473271852386519032e-03,
+ 9.39464706734555871082e-03,
+ 9.56903832976962673285e-03,
+ 9.73781178358892364477e-03,
+ 9.90087599611340699046e-03,
+ 1.00581428734606900116e-02,
+ 1.02095277078994902537e-02,
+ 1.03549492232184597862e-02,
+ 1.04943296180992785144e-02,
+ 1.06275946074688987242e-02,
+ 1.07546734618099455033e-02,
+ 1.08754990444085344187e-02,
+ 1.09900078465200706085e-02,
+ 1.10981400204346221383e-02,
+ 1.11998394104246661029e-02,
+ 1.12950535815609064139e-02,
+ 1.13837338463788559362e-02,
+ 1.14658352893853201365e-02,
+ 1.15413167893916573242e-02,
+ 1.16101410396627392763e-02,
+ 1.16722745658728050550e-02,
+ 1.17276877418591822522e-02,
+ 1.17763548031668534993e-02,
+ 1.18182538583788306064e-02,
+ 1.18533668982268927672e-02,
+ 1.18816798024796634742e-02,
+ 1.19031823446065308097e-02,
+ 1.19178681942160510920e-02,
+ 1.19257349172696772155e-02,
+ 1.19267839740727354947e-02,
+ 1.19210207150453346286e-02,
+ 1.19084543742781455433e-02,
+ 1.18890980608779301547e-02,
+ 1.18629687481103703039e-02,
+ 1.18300872603478539336e-02,
+ 1.17904782578316710134e-02,
+ 1.17441702192595375659e-02,
+ 1.16911954222092898115e-02,
+ 1.16315899214134987893e-02,
+ 1.15653935248972560695e-02,
+ 1.14926497679962574816e-02,
+ 1.14134058852708338005e-02,
+ 1.13277127803342991114e-02,
+ 1.12356249936141419643e-02,
+ 1.11372006680669592693e-02,
+ 1.10325015128680588988e-02,
+ 1.09215927650972884078e-02,
+ 1.08045431494469181682e-02,
+ 1.06814248359739724648e-02,
+ 1.05523133959240563579e-02,
+ 1.04172877556533635679e-02,
+ 1.02764301486764821764e-02,
+ 1.01298260658689662922e-02,
+ 9.97756420385554482211e-03,
+ 9.81973641161405612354e-03,
+ 9.65643763532623641832e-03,
+ 9.48776586151135747915e-03,
+ 9.31382205847339390836e-03,
+ 9.13471011609818910049e-03,
+ 8.95053678403625804783e-03,
+ 8.76141160830776546953e-03,
+ 8.56744686636650917833e-03,
+ 8.36875750066302069585e-03,
+ 8.16546105074440926874e-03,
+ 7.95767758393019740415e-03,
+ 7.74552962460837469971e-03,
+ 7.52914208218922759858e-03,
+ 7.30864217776142511412e-03,
+ 7.08415936949292109753e-03,
+ 6.85582527682011919762e-03,
+ 6.62377360346902248345e-03,
+ 6.38814005935512633366e-03,
+ 6.14906228140583120678e-03,
+ 5.90667975335047463342e-03,
+ 5.66113372452884365538e-03,
+ 5.41256712776044118796e-03,
+ 5.16112449632528166171e-03,
+ 4.90695188010295546555e-03,
+ 4.65019676091923093997e-03,
+ 4.39100796714859270553e-03,
+ 4.12953558762247860403e-03,
+ 3.86593088489268566291e-03,
+ 3.60034620790024339002e-03,
+ 3.33293490409898975416e-03,
+ 3.06385123108688468482e-03,
+ 2.79325026779358087312e-03,
+ 2.52128782527450854764e-03,
+ 2.24812035716717229308e-03,
+ 1.97390486985574153955e-03,
+ 1.69879883239866091155e-03,
+ 1.42296008626978756108e-03,
+ 1.14654675496503560654e-03,
+ 8.69717153525156449340e-04,
+ 5.92629698028697892917e-04,
+ 3.15442815104587483740e-04,
+ 3.83148515150130003753e-05,
+-2.38596016135179852516e-04,
+-5.15131871516745108372e-04,
+-7.91135148467245652611e-04,
+-1.06644872060530828545e-03,
+-1.34091599061669417524e-03,
+-1.61438097916256320837e-03,
+-1.88668841335719902723e-03,
+-2.15768381476730232091e-03,
+-2.42721358688397208930e-03,
+-2.69512510201327460183e-03,
+-2.96126678754182314640e-03,
+-3.22548821152533965809e-03,
+-3.48764016755303369807e-03,
+-3.74757475883982088538e-03,
+-4.00514548149979391495e-03,
+-4.26020730695223729528e-03,
+-4.51261676341580680871e-03,
+-4.76223201644600246940e-03,
+-5.00891294846663153589e-03,
+-5.25252123725567128532e-03,
+-5.49292043333865411675e-03,
+-5.72997603624744288736e-03,
+-5.96355556960147161621e-03,
+-6.19352865496984421323e-03,
+-6.41976708447395284091e-03,
+-6.64214489208741348802e-03,
+-6.86053842359856183575e-03,
+-7.07482640519247439614e-03,
+-7.28489001061597037101e-03,
+-7.49061292688948335977e-03,
+-7.69188141852844651375e-03,
+-7.88858439023906905796e-03,
+-8.08061344805422777926e-03,
+-8.26786295887581117181e-03,
+-8.45023010839095374547e-03,
+-8.62761495733049832424e-03,
+-8.79992049603937377678e-03,
+-8.96705269732801270310e-03,
+-9.12892056757751840790e-03,
+-9.28543619607121589743e-03,
+-9.43651480252325272624e-03,
+-9.58207478278219441925e-03,
+-9.72203775268269676513e-03,
+-9.85632859002284582306e-03,
+-9.98487547464438525424e-03,
+-1.01076099265952259326e-02,
+-1.02244668423529874723e-02,
+-1.03353845290914767713e-02,
+-1.04403047369727476623e-02,
+-1.05391726894459199226e-02,
+-1.06319371115395251703e-02,
+-1.07185502561315034592e-02,
+-1.07989679281840673941e-02,
+-1.08731495069313705004e-02,
+-1.09410579660090354764e-02,
+-1.10026598915155138930e-02,
+-1.10579254979971536299e-02,
+-1.11068286423497506604e-02,
+-1.11493468356296306782e-02,
+-1.11854612527701267194e-02,
+-1.12151567401993432216e-02,
+-1.12384218213567241285e-02,
+-1.12552487001068551170e-02,
+-1.12656332620508243397e-02,
+-1.12695750737355805671e-02,
+-1.12670773797639463265e-02,
+-1.12581470978087311990e-02,
+-1.12427948115352074887e-02,
+-1.12210347614381672487e-02,
+-1.11928848336002705749e-02,
+-1.11583665463801332690e-02,
+-1.11175050350392178033e-02,
+-1.10703290343182984834e-02,
+-1.10168708589748198801e-02,
+-1.09571663822947782535e-02,
+-1.08912550125919559835e-02,
+-1.08191796677104181551e-02,
+-1.07409867475466505593e-02,
+-1.06567261046078953085e-02,
+-1.05664510126258718442e-02,
+-1.04702181332450312140e-02,
+-1.03680874808063875486e-02,
+-1.02601223852479897514e-02,
+-1.01463894531454990044e-02,
+-1.00269585269162232050e-02,
+-9.90190264221126568989e-03,
+-9.77129798352259666683e-03,
+-9.63522383803080625930e-03,
+-9.49376254772124616998e-03,
+-9.34699945979887078518e-03,
+-9.19502287542989238389e-03,
+-9.03792399684144424910e-03,
+-8.87579687281107691799e-03,
+-8.70873834257845577667e-03,
+-8.53684797821176177823e-03,
+-8.36022802546492783959e-03,
+-8.17898334315863943800e-03,
+-7.99322134112125451399e-03,
+-7.80305191672834696365e-03,
+-7.60858739007534007337e-03,
+-7.40994243782330200970e-03,
+-7.20723402575608202564e-03,
+-7.00058134008851255109e-03,
+-6.79010571756536070176e-03,
+-6.57593057439340850090e-03,
+-6.35818133404676254922e-03,
+-6.13698535398672032765e-03,
+-5.91247185134246861643e-03,
+-5.68477182759180490329e-03,
+-5.45401799228807746683e-03,
+-5.22034468587699671677e-03,
+-4.98388780164810921841e-03,
+-4.74478470686644573928e-03,
+-4.50317416312886326102e-03,
+-4.25919624599436445062e-03,
+-4.01299226392974606181e-03,
+-3.76470467662182433494e-03,
+-3.51447701270230384446e-03,
+-3.26245378693090131231e-03,
+-3.00878041688648536350e-03,
+-2.75360313921323108730e-03,
+-2.49706892547035515587e-03,
+-2.23932539763252707460e-03,
+-1.98052074329282566320e-03,
+-1.72080363061157654535e-03,
+-1.46032312306425922019e-03,
+-1.19922859403635969841e-03,
+-9.37669641312056218428e-04,
+-6.75796001507703134221e-04,
+-4.13757464498088920954e-04,
+-1.51703787884435286606e-04,
+ 1.10215388447121949347e-04,
+ 3.71850627627885114545e-04,
+ 6.33052780921098995522e-04,
+ 8.93673072601122806674e-04,
+ 1.15356318454689905743e-03,
+ 1.41257534050370911136e-03,
+ 1.67056238996633678491e-03,
+ 1.92737789163165596125e-03,
+ 2.18287619637864190730e-03,
+ 2.43691252972557228021e-03,
+ 2.68934307371902769912e-03,
+ 2.94002504820795344462e-03,
+ 3.18881679145808279857e-03,
+ 3.43557784005892952531e-03,
+ 3.68016900808052979666e-03,
+ 3.92245246543618079904e-03,
+ 4.16229181540278981438e-03,
+ 4.39955217126052674365e-03,
+ 4.63410023200553494727e-03,
+ 4.86580435709433288538e-03,
+ 5.09453464017795010221e-03,
+ 5.32016298178517119816e-03,
+ 5.54256316091259002704e-03,
+ 5.76161090548329372224e-03,
+ 5.97718396163549221811e-03,
+ 6.18916216179911122391e-03,
+ 6.39742749152663690154e-03,
+ 6.60186415503853565173e-03,
+ 6.80235863944797080477e-03,
+ 6.99879977762879034592e-03,
+ 7.19107880969246070213e-03,
+ 7.37908944304029295463e-03,
+ 7.56272791095595735972e-03,
+ 7.74189302970967625078e-03,
+ 7.91648625413953442587e-03,
+ 8.08641173168029268881e-03,
+ 8.25157635481136783606e-03,
+ 8.41188981189416006001e-03,
+ 8.56726463637145184415e-03,
+ 8.71761625430204217801e-03,
+ 8.86286303020573928979e-03,
+ 9.00292631119170398690e-03,
+ 9.13773046934988723844e-03,
+ 9.26720294237984125452e-03,
+ 9.39127427243598503215e-03,
+ 9.50987814316970984929e-03,
+ 9.62295141494749588229e-03,
+ 9.73043415822708555873e-03,
+ 9.83226968507381650364e-03,
+ 9.92840457880114421463e-03,
+ 1.00187887217194990935e-02,
+ 1.01033753209798602551e-02,
+ 1.01821209324982810823e-02,
+ 1.02549854829495166314e-02,
+ 1.03219322898189282134e-02,
+ 1.03829280795032750928e-02,
+ 1.04379430034503180302e-02,
+ 1.04869506523312169127e-02,
+ 1.05299280682385320435e-02,
+ 1.05668557549043577726e-02,
+ 1.05977176859349212640e-02,
+ 1.06225013110582688913e-02,
+ 1.06411975603831251286e-02,
+ 1.06538008466682248415e-02,
+ 1.06603090656027660321e-02,
+ 1.06607235940987827433e-02,
+ 1.06550492865989197139e-02,
+ 1.06432944694025734267e-02,
+ 1.06254709330158968877e-02,
+ 1.06015939225314811956e-02,
+ 1.05716821260445053426e-02,
+ 1.05357576611141614403e-02,
+ 1.04938460592794574611e-02,
+ 1.04459762486396531833e-02,
+ 1.03921805345111133156e-02,
+ 1.03324945781732863842e-02,
+ 1.02669573737173662475e-02,
+ 1.01956112230122235285e-02,
+ 1.01185017088040590805e-02,
+ 1.00356776659660425211e-02,
+ 9.94719115091608624413e-03,
+ 9.85309740922234687799e-03,
+ 9.75345484141500011777e-03,
+ 9.64832496702668768185e-03,
+ 9.53777238688333431349e-03,
+ 9.42186474366750112419e-03,
+ 9.30067268077903845647e-03,
+ 9.17426979951779277001e-03,
+ 9.04273261461393390581e-03,
+ 8.90614050813234511828e-03,
+ 8.76457568178037361994e-03,
+ 8.61812310764482544800e-03,
+ 8.46687047738961182097e-03,
+ 8.31090814994421903106e-03,
+ 8.15032909771297095491e-03,
+ 7.98522885133778372035e-03,
+ 7.81570544304719359852e-03,
+ 7.64185934862476878848e-03,
+ 7.46379342803140874429e-03,
+ 7.28161286471641980289e-03,
+ 7.09542510365326374588e-03,
+ 6.90533978813562872995e-03,
+ 6.71146869537252947074e-03,
+ 6.51392567091878173929e-03,
+ 6.31282656197840099516e-03,
+ 6.10828914962330098148e-03,
+ 5.90043307996295039036e-03,
+ 5.68937979430757592714e-03,
+ 5.47525245836473755529e-03,
+ 5.25817589051068290384e-03,
+ 5.03827648917754868096e-03,
+ 4.81568215940014407450e-03,
+ 4.59052223856344730063e-03,
+ 4.36292742139295433579e-03,
+ 4.13302968423510681123e-03,
+ 3.90096220866709446004e-03,
+ 3.66685930448303705129e-03,
+ 3.43085633209993298015e-03,
+ 3.19308962442840099660e-03,
+ 2.95369640825326627495e-03,
+ 2.71281472516826487051e-03,
+ 2.47058335211343968810e-03,
+ 2.22714172155590722779e-03,
+ 1.98262984136404274774e-03,
+ 1.73718821442020768774e-03,
+ 1.49095775801618085979e-03,
+ 1.24407972307950527406e-03,
+ 9.96695613276132701130e-04,
+ 7.48947104035837802997e-04,
+ 5.00975961545737855096e-04,
+ 2.52923961761159811490e-04,
+ 4.93280947509291801083e-06,
+-2.42855942503384357196e-04,
+-4.90300974016580110200e-04,
+-7.37261278027570056415e-04,
+-9.83596240843677242782e-04,
+-1.22916572204938767329e-03,
+-1.47383013410300081451e-03,
+-1.71745052155293964798e-03,
+-1.95988863982576476050e-03,
+-2.20100703354622747807e-03,
+-2.44066911434088866517e-03,
+-2.67873923808214847372e-03,
+-2.91508278153101421312e-03,
+-3.14956621833333222718e-03,
+-3.38205719432752276860e-03,
+-3.61242460212125989991e-03,
+-3.84053865489516728718e-03,
+-4.06627095939203833663e-03,
+-4.28949458805057831645e-03,
+-4.51008415024378109953e-03,
+-4.72791586258040994611e-03,
+-4.94286761823193362270e-03,
+-5.15481905524671577684e-03,
+-5.36365162380991484375e-03,
+-5.56924865241561605628e-03,
+-5.77149541291191014308e-03,
+-5.97027918438345836516e-03,
+-6.16548931583604711143e-03,
+-6.35701728764813140532e-03,
+-6.54475677175619420523e-03,
+-6.72860369053819660362e-03,
+-6.90845627436653328401e-03,
+-7.08421511779518033730e-03,
+-7.25578323435132135910e-03,
+-7.42306610990221913543e-03,
+-7.58597175456684601896e-03,
+-7.74441075314436476462e-03,
+-7.89829631403181527116e-03,
+-8.04754431660486060918e-03,
+-8.19207335703401803850e-03,
+-8.33180479251450362144e-03,
+-8.46666278388312140701e-03,
+-8.59657433660001440989e-03,
+-8.72146934007399753097e-03,
+-8.84128060530934949124e-03,
+-8.95594390085470426488e-03,
+-9.06539798703423320425e-03,
+-9.16958464844403950411e-03,
+-9.26844872469488080535e-03,
+-9.36193813938749827552e-03,
+-9.45000392730357963167e-03,
+-9.53260025979855117606e-03,
+-9.60968446838431425427e-03,
+-9.68121706648877346224e-03,
+-9.74716176938165805577e-03,
+-9.80748551225691343747e-03,
+-9.86215846646274103826e-03,
+-9.91115405387120278202e-03,
+-9.95444895938146258330e-03,
+-9.99202314155041813881e-03,
+-1.00238598413463411013e-02,
+-1.00499455890222209875e-02,
+-1.00702702091063772682e-02,
+-1.00848268235089154332e-02,
+-1.00936118527438327408e-02,
+-1.00966250152679168361e-02,
+-1.00938693249378146077e-02,
+-1.00853510865886227682e-02,
+-1.00710798897381062500e-02,
+-1.00510686004214797040e-02,
+-1.00253333511630630254e-02,
+-9.99389352909173418749e-03,
+-9.95677176220922943717e-03,
+-9.91399390381976150510e-03,
+-9.86558901513197826494e-03,
+-9.81158934604420447656e-03,
+-9.75203031412597010075e-03,
+-9.68695048180868989451e-03,
+-9.61639153180029321311e-03,
+-9.54039824073970449403e-03,
+-9.45901845110641917302e-03,
+-9.37230304140389963719e-03,
+-9.28030589463477509349e-03,
+-9.18308386508685792204e-03,
+-9.08069674345089207501e-03,
+-8.97320722029071662917e-03,
+-8.86068084788880529212e-03,
+-8.74318600048899774446e-03,
+-8.62079383296257897862e-03,
+-8.49357823791978966410e-03,
+-8.36161580129450403287e-03,
+-8.22498575642871369851e-03,
+-8.08376993668271683069e-03,
+-7.93805272660061574108e-03,
+-7.78792101165969724574e-03,
+-7.63346412663362498818e-03,
+-7.47477380259930785505e-03,
+-7.31194411262098796500e-03,
+-7.14507141614020412773e-03,
+-6.97425430210722122754e-03,
+-6.79959353088687573630e-03,
+-6.62119197497169301864e-03,
+-6.43915455853849138385e-03,
+-6.25358819588309883253e-03,
+-6.06460172876989358354e-03,
+-5.87230586273140842124e-03,
+-5.67681310235816811993e-03,
+-5.47823768561213342299e-03,
+-5.27669551720578392656e-03,
+-5.07230410108449637774e-03,
+-4.86518247205038317088e-03,
+-4.65545112656870225393e-03,
+-4.44323195279612039033e-03,
+-4.22864815987201558140e-03,
+-4.01182420651321949151e-03,
+-3.79288572895385015307e-03,
+-3.57195946827177420596e-03,
+-3.34917319714373535808e-03,
+-3.12465564607069309216e-03,
+-2.89853642911835473334e-03,
+-2.67094596921149977573e-03,
+-2.44201542302870371753e-03,
+-2.21187660553990271539e-03,
+-1.98066191422849313675e-03,
+-1.74850425304324988245e-03,
+-1.51553695612283568887e-03,
+-1.28189371133704578531e-03,
+-1.04770848368741461600e-03,
+-8.13115438614004488148e-04,
+-5.78248865247532866513e-04,
+-3.43243099654593679469e-04,
+-1.08232448119056134180e-04,
+ 1.26648889498497872709e-04,
+ 3.61266896277643255724e-04,
+ 5.95487814588576617851e-04,
+ 8.29178222232456471966e-04,
+ 1.06220510832932932450e-03,
+ 1.29443594890761418982e-03,
+ 1.52573878215697851524e-03,
+ 1.75598228329790738422e-03,
+ 1.98503583902642517095e-03,
+ 2.21276962149356305753e-03,
+ 2.43905466177587538015e-03,
+ 2.66376292279626092005e-03,
+ 2.88676737165370449201e-03,
+ 3.10794205132203151670e-03,
+ 3.32716215167451348847e-03,
+ 3.54430407979887786632e-03,
+ 3.75924552955919340572e-03,
+ 3.97186555036659408313e-03,
+ 4.18204461512168643861e-03,
+ 4.38966468728887570377e-03,
+ 4.59460928706578036751e-03,
+ 4.79676355661041737416e-03,
+ 4.99601432429057183693e-03,
+ 5.19225016791701170921e-03,
+ 5.38536147692926601277e-03,
+ 5.57524051349589811616e-03,
+ 5.76178147249606278230e-03,
+ 5.94488054035048445189e-03,
+ 6.12443595266757775941e-03,
+ 6.30034805067354337221e-03,
+ 6.47251933639503632123e-03,
+ 6.64085452656393640525e-03,
+ 6.80526060521449791679e-03,
+ 6.96564687494400421736e-03,
+ 7.12192500680845601291e-03,
+ 7.27400908882688563423e-03,
+ 7.42181567306544106438e-03,
+ 7.56526382127895545560e-03,
+ 7.70427514908233069396e-03,
+ 7.83877386862820088598e-03,
+ 7.96868682976907029281e-03,
+ 8.09394355968027362502e-03,
+ 8.21447630092295155713e-03,
+ 8.33022004792652141780e-03,
+ 8.44111258187129308295e-03,
+ 8.54709450395172223858e-03,
+ 8.64810926700426002567e-03,
+ 8.74410320548165559407e-03,
+ 8.83502556375806609446e-03,
+ 8.92082852275120734287e-03,
+ 9.00146722484649296214e-03,
+ 9.07689979711120281669e-03,
+ 9.14708737278599470777e-03,
+ 9.21199411104400324446e-03,
+ 9.27158721500605589871e-03,
+ 9.32583694800504132971e-03,
+ 9.37471664808996879570e-03,
+ 9.41820274076340252511e-03,
+ 9.45627474994699748767e-03,
+ 9.48891530716929401668e-03,
+ 9.51611015897272857766e-03,
+ 9.53784817253677981441e-03,
+ 9.55412133951539892240e-03,
+ 9.56492477808816750351e-03,
+ 9.57025673322536851728e-03,
+ 9.57011857516825228953e-03,
+ 9.56451479612665210472e-03,
+ 9.55345300519767903769e-03,
+ 9.53694392150929680374e-03,
+ 9.51500136559463131902e-03,
+ 9.48764224900292864329e-03,
+ 9.45488656215475072042e-03,
+ 9.41675736044983967277e-03,
+ 9.37328074863657233207e-03,
+ 9.32448586345385396768e-03,
+ 9.27040485455623772260e-03,
+ 9.21107286373510844579e-03,
+ 9.14652800244862389245e-03,
+ 9.07681132767460333022e-03,
+ 9.00196681610215994340e-03,
+ 8.92204133667740678648e-03,
+ 8.83708462152045341742e-03,
+ 8.74714923523178117248e-03,
+ 8.65229054260652913344e-03,
+ 8.55256667477650479869e-03,
+ 8.44803849380110737088e-03,
+ 8.33876955572694297802e-03,
+ 8.22482607214039367072e-03,
+ 8.10627687023531343091e-03,
+ 7.98319335141973659975e-03,
+ 7.85564944848663425370e-03,
+ 7.72372158137452947957e-03,
+ 7.58748861154383627547e-03,
+ 7.44703179499617545084e-03,
+ 7.30243473396576317502e-03,
+ 7.15378332730893639474e-03,
+ 7.00116571962369673571e-03,
+ 6.84467224912835292550e-03,
+ 6.68439539432962807203e-03,
+ 6.52042971951210560688e-03,
+ 6.35287181908096316302e-03,
+ 6.18182026079089775444e-03,
+ 6.00737552789352719645e-03,
+ 5.82963996023949920094e-03,
+ 5.64871769436637964634e-03,
+ 5.46471460260989760210e-03,
+ 5.27773823127398664101e-03,
+ 5.08789773789389884046e-03,
+ 4.89530382763052763356e-03,
+ 4.70006868883239992823e-03,
+ 4.50230592780280144960e-03,
+ 4.30213050280925293073e-03,
+ 4.09965865737595570178e-03,
+ 3.89500785289395058675e-03,
+ 3.68829670059122758860e-03,
+ 3.47964489290170791991e-03,
+ 3.26917313427090060543e-03,
+ 3.05700307144005523768e-03,
+ 2.84325722324815094444e-03,
+ 2.62805890999240517047e-03,
+ 2.41153218238787615466e-03,
+ 2.19380175016706995342e-03,
+ 1.97499291036058082296e-03,
+ 1.75523147530006872613e-03,
+ 1.53464370038409927272e-03,
+ 1.31335621165009405059e-03,
+ 1.09149593319219089145e-03,
+ 8.69190014465733669022e-04,
+ 6.46565757523822519717e-04,
+ 4.23750544222993737447e-04,
+ 2.00871763442388796871e-04,
+-2.19432616430028802536e-05,
+-2.44567346193297504003e-04,
+-4.66873516198418401623e-04,
+-6.88735080792504629141e-04,
+-9.10025704351406588243e-04,
+-1.13061947832844914008e-03,
+-1.35039099278848459193e-03,
+-1.56921540760134731185e-03,
+-1.78696852325255445618e-03,
+-2.00352685123184786134e-03,
+-2.21876768395961026376e-03,
+-2.43256916421236753928e-03,
+-2.64481035400563951540e-03,
+-2.85537130289943187622e-03,
+-3.06413311568427739612e-03,
+-3.27097801941039290421e-03,
+-3.47578942972392133937e-03,
+-3.67845201647113524343e-03,
+-3.87885176853450686779e-03,
+-4.07687605786403312047e-03,
+-4.27241370266879562367e-03,
+-4.46535502973073768207e-03,
+-4.65559193580989804512e-03,
+-4.84301794810346793868e-03,
+-5.02752828372539546653e-03,
+-5.20901990817508944720e-03,
+-5.38739159276095062184e-03,
+-5.56254397094743408686e-03,
+-5.73437959359436588702e-03,
+-5.90280298305815697563e-03,
+-6.06772068612327578757e-03,
+-6.22904132573793255234e-03,
+-6.38667565152189597305e-03,
+-6.54053658902132174086e-03,
+-6.69053928768123529203e-03,
+-6.83660116751098716203e-03,
+-6.97864196441732535098e-03,
+-7.11658377417776714241e-03,
+-7.25035109503333486530e-03,
+-7.37987086887549603720e-03,
+-7.50507252100559608954e-03,
+-7.62588799844512044840e-03,
+-7.74225180677637174476e-03,
+-7.85410104549275414620e-03,
+-7.96137544184076853537e-03,
+-8.06401738313571557482e-03,
+-8.16197194753211924256e-03,
+-8.25518693323474758716e-03,
+-8.34361288613344465048e-03,
+-8.42720312584763903141e-03,
+-8.50591377016694447089e-03,
+-8.57970375787523234501e-03,
+-8.64853486994612667693e-03,
+-8.71237174909944220302e-03,
+-8.77118191770899502391e-03,
+-8.82493579405169495389e-03,
+-8.87360670689150109192e-03,
+-8.91717090839015333326e-03,
+-8.95560758533894135658e-03,
+-8.98889886870667467744e-03,
+-9.01702984149947012193e-03,
+-9.03998854492910064451e-03,
+-9.05776598288827831940e-03,
+-9.07035612473096330977e-03,
+-9.07775590635802147321e-03,
+-9.07996522960853764961e-03,
+-9.07698695995886803423e-03,
+-9.06882692253164167384e-03,
+-9.05549389641891432079e-03,
+-9.03699960732328583246e-03,
+-9.01335871852335275556e-03,
+-8.98458882016932476600e-03,
+-8.95071041691646723804e-03,
+-8.91174691390494294607e-03,
+-8.86772460109508213477e-03,
+-8.81867263596835572470e-03,
+-8.76462302460546613392e-03,
+-8.70561060115330326292e-03,
+-8.64167300569398770527e-03,
+-8.57285066052993274810e-03,
+-8.49918674489946214534e-03,
+-8.42072716813898301813e-03,
+-8.33752054130776007468e-03,
+-8.24961814729350748077e-03,
+-8.15707390941654633676e-03,
+-8.05994435855085684939e-03,
+-7.95828859878412557538e-03,
+-7.85216827163510294740e-03,
+-7.74164751885155454081e-03,
+-7.62679294381024292654e-03,
+-7.50767357154260520785e-03,
+-7.38436080740939235212e-03,
+-7.25692839445000407311e-03,
+-7.12545236943096498700e-03,
+-6.99001101761916477512e-03,
+-6.85068482630888687945e-03,
+-6.70755643712759620778e-03,
+-6.56071059715018171238e-03,
+-6.41023410885009203158e-03,
+-6.25621577891687877943e-03,
+-6.09874636596976875402e-03,
+-5.93791852719933836713e-03,
+-5.77382676396723509143e-03,
+-5.60656736639539039074e-03,
+-5.43623835697979850695e-03,
+-5.26293943325864543858e-03,
+-5.08677190957020682743e-03,
+-4.90783865793382578085e-03,
+-4.72624404808862780270e-03,
+-4.54209388672411652765e-03,
+-4.35549535594014370493e-03,
+-4.16655695096843255165e-03,
+-3.97538841719484881826e-03,
+-3.78210068651828800954e-03,
+-3.58680581308160571774e-03,
+-3.38961690841329795279e-03,
+-3.19064807601676572041e-03,
+-2.99001434544510355171e-03,
+-2.78783160589872848825e-03,
+-2.58421653938650406832e-03,
+-2.37928655348473936521e-03,
+-2.17315971373707597994e-03,
+-1.96595467573080053339e-03,
+-1.75779061689126871355e-03,
+-1.54878716803180682161e-03,
+-1.33906434469759582327e-03,
+-1.12874247834651849839e-03,
+-9.17942147402158120997e-04,
+-7.06784108220954348026e-04,
+-4.95389226012176797989e-04,
+-2.83878405750408527308e-04,
+-7.23725231191953317922e-05,
+ 1.39007644472942073393e-04,
+ 3.50141486766494293426e-04,
+ 5.60908629376450848514e-04,
+ 7.71189002326557382014e-04,
+ 9.80862908357632698117e-04,
+ 1.18981109096850837074e-03,
+ 1.39791480215185285468e-03,
+ 1.60505586978618446266e-03,
+ 1.81111676464667430489e-03,
+ 2.01598066699498323223e-03,
+ 2.21953153271216372527e-03,
+ 2.42165415893787249260e-03,
+ 2.62223424917535025483e-03,
+ 2.82115847782954658890e-03,
+ 3.01831455413943379809e-03,
+ 3.21359128546936040696e-03,
+ 3.40687863992359188381e-03,
+ 3.59806780824958004350e-03,
+ 3.78705126499338838933e-03,
+ 3.97372282887472824675e-03,
+ 4.15797772234820922632e-03,
+ 4.33971263031428678564e-03,
+ 4.51882575795083032272e-03,
+ 4.69521688763073485884e-03,
+ 4.86878743489439942682e-03,
+ 5.03944050344600283364e-03,
+ 5.20708093914320439138e-03,
+ 5.37161538294856407555e-03,
+ 5.53295232281637763133e-03,
+ 5.69100214448343532520e-03,
+ 5.84567718113605111485e-03,
+ 5.99689176192734485493e-03,
+ 6.14456225931638965604e-03,
+ 6.28860713520388876080e-03,
+ 6.42894698583886935878e-03,
+ 6.56550458547169348000e-03,
+ 6.69820492872941122137e-03,
+ 6.82697527169041310652e-03,
+ 6.95174517163579808177e-03,
+ 7.07244652545614607003e-03,
+ 7.18901360669207869364e-03,
+ 7.30138310118917405883e-03,
+ 7.40949414134865064208e-03,
+ 7.51328833895314410901e-03,
+ 7.61270981655247976766e-03,
+ 7.70770523739102830091e-03,
+ 7.79822383386149457080e-03,
+ 7.88421743446952177914e-03,
+ 7.96564048929547866007e-03,
+ 8.04245009393938191378e-03,
+ 8.11460601193707622980e-03,
+ 8.18207069563602756856e-03,
+ 8.24480930551941583462e-03,
+ 8.30278972796945347046e-03,
+ 8.35598259146062144476e-03,
+ 8.40436128117489321399e-03,
+ 8.44790195203182735229e-03,
+ 8.48658354012752670636e-03,
+ 8.52038777257667530318e-03,
+ 8.54929917575385743544e-03,
+ 8.57330508193055763899e-03,
+ 8.59239563430499141139e-03,
+ 8.60656379042347950692e-03,
+ 8.61580532399272396027e-03,
+ 8.62011882508288869442e-03,
+ 8.61950569872288463458e-03,
+ 8.61397016188992017960e-03,
+ 8.60351923889614116081e-03,
+ 8.58816275517627555902e-03,
+ 8.56791332948142643489e-03,
+ 8.54278636448400040260e-03,
+ 8.51280003580121708007e-03,
+ 8.47797527944401177469e-03,
+ 8.43833577770019410691e-03,
+ 8.39390794346085364341e-03,
+ 8.34472090300016587638e-03,
+ 8.29080647722033568792e-03,
+ 8.23219916137209704876e-03,
+ 8.16893610326531807719e-03,
+ 8.10105707998175217366e-03,
+ 8.02860447310570039814e-03,
+ 7.95162324248711339936e-03,
+ 7.87016089855287724608e-03,
+ 7.78426747318477444543e-03,
+ 7.69399548918007353260e-03,
+ 7.59939992831438169973e-03,
+ 7.50053819802581206444e-03,
+ 7.39747009674054673695e-03,
+ 7.29025777786024634097e-03,
+ 7.17896571243396234424e-03,
+ 7.06366065053597690093e-03,
+ 6.94441158137212768281e-03,
+ 6.82128969214047548714e-03,
+ 6.69436832566827795532e-03,
+ 6.56372293685217843284e-03,
+ 6.42943104792645641482e-03,
+ 6.29157220258638738564e-03,
+ 6.15022791899296188828e-03,
+ 6.00548164168810023889e-03,
+ 5.85741869244729099903e-03,
+ 5.70612622009830997016e-03,
+ 5.55169314933761943315e-03,
+ 5.39421012857201238877e-03,
+ 5.23376947681718652367e-03,
+ 5.07046512968433327889e-03,
+ 4.90439258448602602436e-03,
+ 4.73564884449306690989e-03,
+ 4.56433236237605791802e-03,
+ 4.39054298286334701573e-03,
+ 4.21438188464811746420e-03,
+ 4.03595152158122121716e-03,
+ 3.85535556318054341285e-03,
+ 3.67269883449336575001e-03,
+ 3.48808725534603724164e-03,
+ 3.30162777901616766654e-03,
+ 3.11342833036215701700e-03,
+ 2.92359774344746591729e-03,
+ 2.73224569869404739636e-03,
+ 2.53948265960054347934e-03,
+ 2.34541980906500472509e-03,
+ 2.15016898534491464681e-03,
+ 1.95384261769374848600e-03,
+ 1.75655366171025071990e-03,
+ 1.55841553443768969338e-03,
+ 1.35954204925029724198e-03,
+ 1.16004735056427139318e-03,
+ 9.60045848410695946279e-04,
+ 7.59652152908002432571e-04,
+ 5.58981008670681638398e-04,
+ 3.58147229193453995114e-04,
+ 1.57265631246792758451e-04,
+-4.35490306794674293363e-05,
+-2.44182129843599320107e-04,
+-4.44519232597282950344e-04,
+-6.44446163569028346828e-04,
+-8.43849070649477944230e-04,
+-1.04261448974139812711e-03,
+-1.24062940923833162771e-03,
+-1.43778133419359788019e-03,
+-1.63395835014485757766e-03,
+-1.82904918655875121242e-03,
+-2.02294327985625636140e-03,
+-2.21553083598718210043e-03,
+-2.40670289251588859908e-03,
+-2.59635138018404895352e-03,
+-2.78436918391547104032e-03,
+-2.97065020322924595864e-03,
+-3.15508941202569071979e-03,
+-3.33758291771281195501e-03,
+-3.51802801964081748518e-03,
+-3.69632326680855837625e-03,
+-3.87236851481334142661e-03,
+-4.04606498200982094005e-03,
+-4.21731530484743474818e-03,
+-4.38602359235502371748e-03,
+-4.55209547974291459105e-03,
+-4.71543818109126672972e-03,
+-4.87596054109631048268e-03,
+-5.03357308584660798761e-03,
+-5.18818807259795525266e-03,
+-5.33971953852289266118e-03,
+-5.48808334840551401146e-03,
+-5.63319724125592186798e-03,
+-5.77498087581854776390e-03,
+-5.91335587494941708475e-03,
+-6.04824586883698656764e-03,
+-6.17957653704386423305e-03,
+-6.30727564934618813858e-03,
+-6.43127310534771529787e-03,
+-6.55150097284682483151e-03,
+-6.66789352493667251270e-03,
+-6.78038727581722639598e-03,
+-6.88892101529996712939e-03,
+-6.99343584198691605586e-03,
+-7.09387519510564119873e-03,
+-7.19018488498349497839e-03,
+-7.28231312214434444580e-03,
+-7.37021054501293959582e-03,
+-7.45383024621102448920e-03,
+-7.53312779743236203556e-03,
+-7.60806127288360129618e-03,
+-7.67859127127740528906e-03,
+-7.74468093636805719054e-03,
+-7.80629597601776963056e-03,
+-7.86340467978466871324e-03,
+-7.91597793502309132752e-03,
+-7.96398924148845367699e-03,
+-8.00741472443937570003e-03,
+-8.04623314623062815820e-03,
+-8.08042591639200093179e-03,
+-8.10997710018770794071e-03,
+-8.13487342565317322896e-03,
+-8.15510428910632897970e-03,
+-8.17066175913122756669e-03,
+-8.18154057903300313548e-03,
+-8.18773816776408903950e-03,
+-8.18925461932203113680e-03,
+-8.18609270062076350982e-03,
+-8.17825784783763644337e-03,
+-8.16575816123921681411e-03,
+-8.14860439849041627569e-03,
+-8.12680996645165354408e-03,
+-8.10039091146990027081e-03,
+-8.06936590817051296876e-03,
+-8.03375624675719754442e-03,
+-7.99358581882871586932e-03,
+-7.94888110172140179011e-03,
+-7.89967114138754450403e-03,
+-7.84598753382080051078e-03,
+-7.78786440504017178632e-03,
+-7.72533838964500462615e-03,
+-7.65844860795453739877e-03,
+-7.58723664174604933708e-03,
+-7.51174650860678399383e-03,
+-7.43202463491451133931e-03,
+-7.34811982746492921986e-03,
+-7.26008324376091473962e-03,
+-7.16796836098336151433e-03,
+-7.07183094366188418067e-03,
+-6.97172901006430818793e-03,
+-6.86772279732582834055e-03,
+-6.75987472533817052023e-03,
+-6.64824935942080145340e-03,
+-6.53291337179604837682e-03,
+-6.41393550189129496575e-03,
+-6.29138651549170698635e-03,
+-6.16533916276751359220e-03,
+-6.03586813520128485228e-03,
+-5.90305002144024624361e-03,
+-5.76696326209861012679e-03,
+-5.62768810353925751089e-03,
+-5.48530655065889230504e-03,
+-5.33990231870646887141e-03,
+-5.19156078416207946574e-03,
+-5.04036893470575456805e-03,
+-4.88641531830454143442e-03,
+-4.72978999144895145140e-03,
+-4.57058446656796041330e-03,
+-4.40889165865240156839e-03,
+-4.24480583112071818697e-03,
+-4.07842254095536725644e-03,
+-3.90983858314355049030e-03,
+-3.73915193445415730208e-03,
+-3.56646169658344580969e-03,
+-3.39186803870199487382e-03,
+-3.21547213943741911138e-03,
+-3.03737612832535950474e-03,
+-2.85768302676162435152e-03,
+-2.67649668849279489050e-03,
+-2.49392173967607306759e-03,
+-2.31006351854499665868e-03,
+-2.12502801471515026521e-03,
+-1.93892180816497236052e-03,
+-1.75185200792604364207e-03,
+-1.56392619051968551937e-03,
+-1.37525233817362515544e-03,
+-1.18593877685428585739e-03,
+-9.96094114151082135611e-04,
+-8.05827177048465143755e-04,
+-6.15246949619699455385e-04,
+-4.24462510679590970634e-04,
+-2.33582971431131201836e-04,
+-4.27174131418600218075e-05,
+ 1.48025175115281873829e-04,
+ 3.38535958618741729398e-04,
+ 5.28706319021235741570e-04,
+ 7.18427916200129542020e-04,
+ 9.07592749900823655106e-04,
+ 1.09609322113959862730e-03,
+ 1.28382219332944988964e-03,
+ 1.47067305309492128707e-03,
+ 1.65653977074134688835e-03,
+ 1.84131696034424701021e-03,
+ 2.02489993942486920173e-03,
+ 2.20718478817801639844e-03,
+ 2.38806840821935862512e-03,
+ 2.56744858081750862433e-03,
+ 2.74522402457949956170e-03,
+ 2.92129445255769277026e-03,
+ 3.09556062874293989526e-03,
+ 3.26792442391583577016e-03,
+ 3.43828887082240275061e-03,
+ 3.60655821864397721499e-03,
+ 3.77263798673060360075e-03,
+ 3.93643501756839753886e-03,
+ 4.09785752894968862553e-03,
+ 4.25681516531844095913e-03,
+ 4.41321904826232503521e-03,
+ 4.56698182612100180705e-03,
+ 4.71801772268583795300e-03,
+ 4.86624258496219565945e-03,
+ 5.01157392996826912823e-03,
+ 5.15393099054442353768e-03,
+ 5.29323476014809113366e-03,
+ 5.42940803660817671028e-03,
+ 5.56237546481617214228e-03,
+ 5.69206357833054472223e-03,
+ 5.81840083986934729354e-03,
+ 5.94131768067147035539e-03,
+ 6.06074653870333594774e-03,
+ 6.17662189569052801769e-03,
+ 6.28888031295409682953e-03,
+ 6.39746046603201657527e-03,
+ 6.50230317806734740144e-03,
+ 6.60335145194352116094e-03,
+ 6.70055050115188084031e-03,
+ 6.79384777937258772795e-03,
+ 6.88319300875362728720e-03,
+ 6.96853820687349644752e-03,
+ 7.04983771237240302437e-03,
+ 7.12704820923858520243e-03,
+ 7.20012874973695923136e-03,
+ 7.26904077596829921448e-03,
+ 7.33374814004676342516e-03,
+ 7.39421712288685674397e-03,
+ 7.45041645158874780291e-03,
+ 7.50231731541360375576e-03,
+ 7.54989338034125958415e-03,
+ 7.59312080220247119511e-03,
+ 7.63197823837959577614e-03,
+ 7.66644685807015349721e-03,
+ 7.69651035110831445440e-03,
+ 7.72215493534070089587e-03,
+ 7.74336936255298931286e-03,
+ 7.76014492294555859042e-03,
+ 7.77247544815607566138e-03,
+ 7.78035731282916958457e-03,
+ 7.78378943473276123377e-03,
+ 7.78277327342252397968e-03,
+ 7.77731282745607217788e-03,
+ 7.76741463015983343160e-03,
+ 7.75308774395181993927e-03,
+ 7.73434375322510497819e-03,
+ 7.71119675579651046859e-03,
+ 7.68366335292724762090e-03,
+ 7.65176263792180597761e-03,
+ 7.61551618331250072119e-03,
+ 7.57494802663899804984e-03,
+ 7.53008465483087727904e-03,
+ 7.48095498720392076963e-03,
+ 7.42759035708089564165e-03,
+ 7.37002449204788440129e-03,
+ 7.30829349285897541394e-03,
+ 7.24243581100231150621e-03,
+ 7.17249222494118019583e-03,
+ 7.09850581504455676457e-03,
+ 7.02052193722279248289e-03,
+ 6.93858819528464596665e-03,
+ 6.85275441203157895803e-03,
+ 6.76307259910770459943e-03,
+ 6.66959692562291064227e-03,
+ 6.57238368556857608521e-03,
+ 6.47149126404455293793e-03,
+ 6.36698010231910756229e-03,
+ 6.25891266174058436000e-03,
+ 6.14735338652398939641e-03,
+ 6.03236866543420662684e-03,
+ 5.91402679238786036647e-03,
+ 5.79239792599798089534e-03,
+ 5.66755404808486160789e-03,
+ 5.53956892117803134656e-03,
+ 5.40851804503346585140e-03,
+ 5.27447861219351547823e-03,
+ 5.13752946261299917735e-03,
+ 4.99775103738003996512e-03,
+ 4.85522533155877469846e-03,
+ 4.71003584618005094464e-03,
+ 4.56226753940958736772e-03,
+ 4.41200677692144428016e-03,
+ 4.25934128150591128498e-03,
+ 4.10436008194120516279e-03,
+ 3.94715346115854636561e-03,
+ 3.78781290373112009690e-03,
+ 3.62643104271654281509e-03,
+ 3.46310160588530037765e-03,
+ 3.29791936136483157180e-03,
+ 3.13098006273033763885e-03,
+ 2.96238039357679455374e-03,
+ 2.79221791160092977502e-03,
+ 2.62059099222753267427e-03,
+ 2.44759877181191781020e-03,
+ 2.27334109045146740002e-03,
+ 2.09791843443869838876e-03,
+ 1.92143187839023546828e-03,
+ 1.74398302708383490592e-03,
+ 1.56567395703608109106e-03,
+ 1.38660715785749919481e-03,
+ 1.20688547341501702971e-03,
+ 1.02661204283784578128e-03,
+ 8.45890241399772859106e-04,
+ 6.64823621311828307986e-04,
+ 4.83515852459311156267e-04,
+ 3.02070663116303390200e-04,
+ 1.20591780673772898239e-04,
+-6.08171275885414341889e-05,
+-2.42052513649585246663e-04,
+-4.23011007780704729672e-04,
+-6.03589477433417857279e-04,
+-7.83685085946226591899e-04,
+-9.63195351037734169043e-04,
+-1.14201820305262708236e-03,
+-1.32005204292819870032e-03,
+-1.49719579984629639312e-03,
+-1.67334898854166894480e-03,
+-1.84841176623110319682e-03,
+-2.02228498913186371597e-03,
+-2.19487026853879690913e-03,
+-2.36607002642698479797e-03,
+-2.53578755054913694555e-03,
+-2.70392704899653085748e-03,
+-2.87039370419339950197e-03,
+-3.03509372629227804768e-03,
+-3.19793440594374599878e-03,
+-3.35882416640786475581e-03,
+-3.51767261497890407207e-03,
+-3.67439059369556366569e-03,
+-3.82889022930704356340e-03,
+-3.98108498246762219919e-03,
+-4.13088969613195546721e-03,
+-4.27822064312436464023e-03,
+-4.42299557285530213491e-03,
+-4.56513375715911651903e-03,
+-4.70455603522795286209e-03,
+-4.84118485761577625054e-03,
+-4.97494432928909796621e-03,
+-5.10576025170110612411e-03,
+-5.23356016386354247483e-03,
+-5.35827338239640901113e-03,
+-5.47983104053158340957e-03,
+-5.59816612604972611844e-03,
+-5.71321351812927209768e-03,
+-5.82491002308763421852e-03,
+-5.93319440899438971249e-03,
+-6.03800743913827410447e-03,
+-6.13929190432966741947e-03,
+-6.23699265402067378611e-03,
+-6.33105662622569179826e-03,
+-6.42143287622725950775e-03,
+-6.50807260405082601412e-03,
+-6.59092918069416680571e-03,
+-6.66995817309711056670e-03,
+-6.74511736783881075269e-03,
+-6.81636679354884200688e-03,
+-6.88366874202207389838e-03,
+-6.94698778802482330014e-03,
+-7.00629080778204620106e-03,
+-7.06154699613719197271e-03,
+-7.11272788237445920123e-03,
+-7.15980734469658271213e-03,
+-7.20276162335014690646e-03,
+-7.24156933239256637991e-03,
+-7.27621147009427024499e-03,
+-7.30667142797224253986e-03,
+-7.33293499844991664843e-03,
+-7.35499038114030730118e-03,
+-7.37282818775028547797e-03,
+-7.38644144560350775219e-03,
+-7.39582559978183007310e-03,
+-7.40097851388428658315e-03,
+-7.40190046940486859328e-03,
+-7.39859416373013153989e-03,
+-7.39106470675889026811e-03,
+-7.37931961614715723613e-03,
+-7.36336881118193880419e-03,
+-7.34322460528822728437e-03,
+-7.31890169717512584224e-03,
+-7.29041716062642924934e-03,
+-7.25779043294308163353e-03,
+-7.22104330204492456807e-03,
+-7.18019989224008559070e-03,
+-7.13528664867118991161e-03,
+-7.08633232044840466468e-03,
+-7.03336794247966679700e-03,
+-6.97642681600977102030e-03,
+-6.91554448788011654620e-03,
+-6.85075872852217854225e-03,
+-6.78210950869807035341e-03,
+-6.70963897500246285455e-03,
+-6.63339142414092006877e-03,
+-6.55341327599992442415e-03,
+-6.46975304552541326253e-03,
+-6.38246131342605754061e-03,
+-6.29159069572002467574e-03,
+-6.19719581214200551655e-03,
+-6.09933325343054149464e-03,
+-5.99806154751515805540e-03,
+-5.89344112462262485069e-03,
+-5.78553428132379601867e-03,
+-5.67440514354219504439e-03,
+-5.56011962854616095114e-03,
+-5.44274540594681839611e-03,
+-5.32235185772599213305e-03,
+-5.19901003731562585258e-03,
+-5.07279262775460568907e-03,
+-4.94377389894712446911e-03,
+-4.81202966404692660668e-03,
+-4.67763723499383179960e-03,
+-4.54067537722822531232e-03,
+-4.40122426361012723806e-03,
+-4.25936542756916083213e-03,
+-4.11518171551450429035e-03,
+-3.96875723852973399941e-03,
+-3.82017732338308995885e-03,
+-3.66952846288120431220e-03,
+-3.51689826559387639163e-03,
+-3.36237540498054293669e-03,
+-3.20604956794714058416e-03,
+-3.04801140286350535219e-03,
+-2.88835246707072135566e-03,
+-2.72716517391074315599e-03,
+-2.56454273930563836012e-03,
+-2.40057912792011364511e-03,
+-2.23536899893777120732e-03,
+-2.06900765148108206626e-03,
+-1.90159096970791930900e-03,
+-1.73321536761559679037e-03,
+-1.56397773358425175305e-03,
+-1.39397537469151283109e-03,
+-1.22330596083027954082e-03,
+-1.05206746866192031586e-03,
+-8.80358125436270775623e-04,
+-7.08276352712239277640e-04,
+-5.35920710009009110958e-04,
+-3.63389838422367814508e-04,
+-1.90782404235573607330e-04,
+-1.81970425606722737690e-05,
+ 1.54267698961177570456e-04,
+ 3.26513416366015622218e-04,
+ 4.98441905449340362869e-04,
+ 6.69955217690751999443e-04,
+ 8.40955715991319185942e-04,
+ 1.01134613018985628115e-03,
+ 1.18102961232867528438e-03,
+ 1.34990979163519928159e-03,
+ 1.51789082919096310863e-03,
+ 1.68487747225296133520e-03,
+ 1.85077510820205867401e-03,
+ 2.01548981808303672575e-03,
+ 2.17892842970867023702e-03,
+ 2.34099857029698189825e-03,
+ 2.50160871861258458579e-03,
+ 2.66066825658141034583e-03,
+ 2.81808752035150444221e-03,
+ 2.97377785076984252691e-03,
+ 3.12765164324742489868e-03,
+ 3.27962239698395725818e-03,
+ 3.42960476352574062178e-03,
+ 3.57751459462877022255e-03,
+ 3.72326898939903325192e-03,
+ 3.86678634068614995867e-03,
+ 4.00798638070307827741e-03,
+ 4.14679022584586980810e-03,
+ 4.28312042068948461981e-03,
+ 4.41690098113505479061e-03,
+ 4.54805743668363141041e-03,
+ 4.67651687181444911112e-03,
+ 4.80220796644356944655e-03,
+ 4.92506103544097621760e-03,
+ 5.04500806718418456226e-03,
+ 5.16198276112742483052e-03,
+ 5.27592056436465041414e-03,
+ 5.38675870716774727459e-03,
+ 5.49443623747928808210e-03,
+ 5.59889405434115926957e-03,
+ 5.70007494024133646443e-03,
+ 5.79792359236085651231e-03,
+ 5.89238665270259628914e-03,
+ 5.98341273708859113650e-03,
+ 6.07095246300716831489e-03,
+ 6.15495847629641840842e-03,
+ 6.23538547664926560282e-03,
+ 6.31219024192670834228e-03,
+ 6.38533165126559023456e-03,
+ 6.45477070696955871482e-03,
+ 6.52047055517085416554e-03,
+ 6.58239650525249079399e-03,
+ 6.64051604802040618125e-03,
+ 6.69479887261659797199e-03,
+ 6.74521688216371366476e-03,
+ 6.79174420813415374160e-03,
+ 6.83435722343555315111e-03,
+ 6.87303455420689574096e-03,
+ 6.90775709031867489462e-03,
+ 6.93850799457300902728e-03,
+ 6.96527271059846700418e-03,
+ 6.98803896943703088673e-03,
+ 7.00679679481976212113e-03,
+ 7.02153850712936879186e-03,
+ 7.03225872604836682589e-03,
+ 7.03895437189253850990e-03,
+ 7.04162466562946627591e-03,
+ 7.04027112758361280076e-03,
+ 7.03489757482926060528e-03,
+ 7.02551011727416043623e-03,
+ 7.01211715243688429866e-03,
+ 6.99472935892183310391e-03,
+ 6.97335968859667636177e-03,
+ 6.94802335747783921666e-03,
+ 6.91873783532993662237e-03,
+ 6.88552283398612303966e-03,
+ 6.84840029439715090170e-03,
+ 6.80739437241735696749e-03,
+ 6.76253142333664569730e-03,
+ 6.71383998516838706450e-03,
+ 6.66135076070345499843e-03,
+ 6.60509659834187211336e-03,
+ 6.54511247171371459558e-03,
+ 6.48143545810195200602e-03,
+ 6.41410471568024109779e-03,
+ 6.34316145958003368976e-03,
+ 6.26864893680093449718e-03,
+ 6.19061239997995525763e-03,
+ 6.10909908003542511529e-03,
+ 6.02415815770170753884e-03,
+ 5.93584073397201983369e-03,
+ 5.84419979946794454495e-03,
+ 5.74929020275181338478e-03,
+ 5.65116861760294342948e-03,
+ 5.54989350927625503529e-03,
+ 5.44552509976333788677e-03,
+ 5.33812533207639414862e-03,
+ 5.22775783357706802512e-03,
+ 5.11448787837056554478e-03,
+ 4.99838234878814680062e-03,
+ 4.87950969598033648666e-03,
+ 4.75793989964418302663e-03,
+ 4.63374442690764765801e-03,
+ 4.50699619039651548646e-03,
+ 4.37776950550668349227e-03,
+ 4.24614004690850900536e-03,
+ 4.11218480430692711475e-03,
+ 3.97598203748505876071e-03,
+ 3.83761123065512682953e-03,
+ 3.69715304614688265381e-03,
+ 3.55468927745570878116e-03,
+ 3.41030280168198429019e-03,
+ 3.26407753138687091454e-03,
+ 3.11609836589335845169e-03,
+ 2.96645114206062080267e-03,
+ 2.81522258455971620753e-03,
+ 2.66250025568077076238e-03,
+ 2.50837250469876198167e-03,
+ 2.35292841682855887256e-03,
+ 2.19625776179852754202e-03,
+ 2.03845094207133958539e-03,
+ 1.87959894074250246331e-03,
+ 1.71979326914796590980e-03,
+ 1.55912591420826569452e-03,
+ 1.39768928554081183456e-03,
+ 1.23557616237141834267e-03,
+ 1.07287964027444793387e-03,
+ 9.09693077772073983855e-04,
+ 7.46110042824598817396e-04,
+ 5.82224259240568249411e-04,
+ 4.18129553038750639577e-04,
+ 2.53919798792089188456e-04,
+ 8.96888659844675517445e-05,
+-7.44694345896905772258e-05,
+-2.38461404350935065157e-04,
+-4.02193510356873369562e-04,
+-5.65572438589027263849e-04,
+-7.28505147074144480956e-04,
+-8.90898918810926966801e-04,
+-1.05266141447140325338e-03,
+-1.21370072484502889917e-03,
+-1.37392542300045520862e-03,
+-1.53324461613069552152e-03,
+-1.69156799705494180486e-03,
+-1.84880589534694829770e-03,
+-2.00486932806183924816e-03,
+-2.15967005003114657924e-03,
+-2.31312060369968800280e-03,
+-2.46513436847466778021e-03,
+-2.61562560955978882365e-03,
+-2.76450952624671683969e-03,
+-2.91170229963722427408e-03,
+-3.05712113976792237979e-03,
+-3.20068433211290236454e-03,
+-3.34231128343639950426e-03,
+-3.48192256697167851556e-03,
+-3.61943996689886252766e-03,
+-3.75478652209826086611e-03,
+-3.88788656915454566149e-03,
+-4.01866578458679943320e-03,
+-4.14705122628237707327e-03,
+-4.27297137411052248279e-03,
+-4.39635616969335368820e-03,
+-4.51713705531228693069e-03,
+-4.63524701192860166116e-03,
+-4.75062059629599835880e-03,
+-4.86319397714623982004e-03,
+-4.97290497042671315875e-03,
+-5.07969307357067009767e-03,
+-5.18349949878208187543e-03,
+-5.28426720531614563942e-03,
+-5.38194093073713492048e-03,
+-5.47646722113816729338e-03,
+-5.56779446030545265012e-03,
+-5.65587289781075818612e-03,
+-5.74065467601772051742e-03,
+-5.82209385598695533526e-03,
+-5.90014644226589859283e-03,
+-5.97477040655035752242e-03,
+-6.04592571020508891960e-03,
+-6.11357432563106647366e-03,
+-6.17768025646842598719e-03,
+-6.23820955662453009022e-03,
+-6.29513034811653680867e-03,
+-6.34841283772002301644e-03,
+-6.39802933241444878737e-03,
+-6.44395425361771970879e-03,
+-6.48616415020282759824e-03,
+-6.52463771028981894679e-03,
+-6.55935577180693108607e-03,
+-6.59030133181688366345e-03,
+-6.61745955460281767846e-03,
+-6.64081777851058003420e-03,
+-6.66036552154464483316e-03,
+-6.67609448571504417863e-03,
+-6.68799856013396580579e-03,
+-6.69607382286100619867e-03,
+-6.70031854149736628978e-03,
+-6.70073317252893423113e-03,
+-6.69732035942032649656e-03,
+-6.69008492946125080808e-03,
+-6.67903388936833767447e-03,
+-6.66417641964580503844e-03,
+-6.64552386770900921364e-03,
+-6.62308973977570117353e-03,
+-6.59688969153084895508e-03,
+-6.56694151757089734922e-03,
+-6.53326513963461280587e-03,
+-6.49588259362816715370e-03,
+-6.45481801545267231540e-03,
+-6.41009762564318658074e-03,
+-6.36174971282886698998e-03,
+-6.30980461602472040422e-03,
+-6.25429470576554895345e-03,
+-6.19525436409436129626e-03,
+-6.13271996341689488996e-03,
+-6.06672984423554158967e-03,
+-5.99732429177634272788e-03,
+-5.92454551152269380532e-03,
+-5.84843760367088558172e-03,
+-5.76904653652344102249e-03,
+-5.68642011883526560245e-03,
+-5.60060797112928252656e-03,
+-5.51166149599965557448e-03,
+-5.41963384741940817219e-03,
+-5.32457989907073915570e-03,
+-5.22655621171772520606e-03,
+-5.12562099963942419123e-03,
+-5.02183409614448406089e-03,
+-4.91525691818681109702e-03,
+-4.80595243010374650883e-03,
+-4.69398510649735815209e-03,
+-4.57942089428194781808e-03,
+-4.46232717391857429401e-03,
+-4.34277271986037178425e-03,
+-4.22082766023175893350e-03,
+-4.09656343576443940369e-03,
+-3.97005275801442028549e-03,
+-3.84136956688634241541e-03,
+-3.71058898748600606704e-03,
+-3.57778728632999511172e-03,
+-3.44304182693580453772e-03,
+-3.30643102481900002035e-03,
+-3.16803430192340654270e-03,
+-3.02793204051044796687e-03,
+-2.88620553653542132044e-03,
+-2.74293695253627518860e-03,
+-2.59820927006318425079e-03,
+-2.45210624167601677625e-03,
+-2.30471234253809770590e-03,
+-2.15611272163192388071e-03,
+-2.00639315262918054017e-03,
+-1.85563998443917131317e-03,
+-1.70394009146592178422e-03,
+-1.55138082360318694218e-03,
+-1.39804995599510811267e-03,
+-1.24403563859131600054e-03,
+-1.08942634552675727232e-03,
+-9.34310824353430722893e-04,
+-7.78778045154488265424e-04,
+-6.22917149569355557345e-04,
+-4.66817399759168381000e-04,
+-3.10568127341177748629e-04,
+-1.54258682322715390484e-04,
+ 2.02161793800758804308e-06,
+ 1.58183539713823383393e-04,
+ 3.14137983804192602675e-04,
+ 4.69796036316565991924e-04,
+ 6.25069019303870366394e-04,
+ 7.79868541228004980535e-04,
+ 9.34106547223279145772e-04,
+ 1.08769536912991875675e-03,
+ 1.24054777526851588154e-03,
+ 1.39257701992830692887e-03,
+ 1.54369689254121996921e-03,
+ 1.69382176651257680342e-03,
+ 1.84286664768265498297e-03,
+ 1.99074722239030730067e-03,
+ 2.13737990511212458747e-03,
+ 2.28268188564996954079e-03,
+ 2.42657117584086636994e-03,
+ 2.56896665576163141242e-03,
+ 2.70978811940393539068e-03,
+ 2.84895631979290410787e-03,
+ 2.98639301352399176917e-03,
+ 3.12202100469403682342e-03,
+ 3.25576418820130086482e-03,
+ 3.38754759238860721909e-03,
+ 3.51729742100961384824e-03,
+ 3.64494109449081107530e-03,
+ 3.77040729046844522859e-03,
+ 3.89362598357706262905e-03,
+ 4.01452848446753798178e-03,
+ 4.13304747803329777800e-03,
+ 4.24911706082250345551e-03,
+ 4.36267277761673982761e-03,
+ 4.47365165715500091859e-03,
+ 4.58199224698366443242e-03,
+ 4.68763464741256234702e-03,
+ 4.79052054456022714107e-03,
+ 4.89059324246701558614e-03,
+ 4.98779769426149852812e-03,
+ 5.08208053236177022260e-03,
+ 5.17339009769468647498e-03,
+ 5.26167646791786663280e-03,
+ 5.34689148462896227804e-03,
+ 5.42898877954677526458e-03,
+ 5.50792379965109931556e-03,
+ 5.58365383126675513675e-03,
+ 5.65613802307947735604e-03,
+ 5.72533740807081026336e-03,
+ 5.79121492436091966222e-03,
+ 5.85373543494751170241e-03,
+ 5.91286574633094908632e-03,
+ 5.96857462601572963390e-03,
+ 6.02083281887862576537e-03,
+ 6.06961306239588074124e-03,
+ 6.11489010072096151466e-03,
+ 6.15664069760550429489e-03,
+ 6.19484364815777593938e-03,
+ 6.22947978943221101350e-03,
+ 6.26053200984478218361e-03,
+ 6.28798525741010132240e-03,
+ 6.31182654679610100068e-03,
+ 6.33204496519319988412e-03,
+ 6.34863167699579490633e-03,
+ 6.36157992729387798680e-03,
+ 6.37088504417378069522e-03,
+ 6.37654443982793583956e-03,
+ 6.37855761047346776077e-03,
+ 6.37692613508076319023e-03,
+ 6.37165367291377907760e-03,
+ 6.36274595988404155500e-03,
+ 6.35021080372164415523e-03,
+ 6.33405807796656641212e-03,
+ 6.31429971478498618803e-03,
+ 6.29094969661516800058e-03,
+ 6.26402404664898240089e-03,
+ 6.23354081815498742292e-03,
+ 6.19952008265027120631e-03,
+ 6.16198391692862612601e-03,
+ 6.12095638895326834422e-03,
+ 6.07646354262293339477e-03,
+ 6.02853338142123572341e-03,
+ 5.97719585095891989962e-03,
+ 5.92248282042035986694e-03,
+ 5.86442806292514912103e-03,
+ 5.80306723481761356498e-03,
+ 5.73843785389547937636e-03,
+ 5.67057927659296145267e-03,
+ 5.59953267413014401516e-03,
+ 5.52534100764390679467e-03,
+ 5.44804900231556955836e-03,
+ 5.36770312051036008194e-03,
+ 5.28435153394469885046e-03,
+ 5.19804409489867894761e-03,
+ 5.10883230648978472338e-03,
+ 5.01676929202641425087e-03,
+ 4.92190976345897174271e-03,
+ 4.82430998894739331007e-03,
+ 4.72402775956395210022e-03,
+ 4.62112235515180647810e-03,
+ 4.51565450935827780027e-03,
+ 4.40768637386434840308e-03,
+ 4.29728148183127715148e-03,
+ 4.18450471058511973971e-03,
+ 4.06942224356152213588e-03,
+ 3.95210153153399603582e-03,
+ 3.83261125314650298243e-03,
+ 3.71102127477429544200e-03,
+ 3.58740260973707415088e-03,
+ 3.46182737688722997824e-03,
+ 3.33436875859757829790e-03,
+ 3.20510095817370162935e-03,
+ 3.07409915671442122986e-03,
+ 2.94143946944645578653e-03,
+ 2.80719890155818000560e-03,
+ 2.67145530355801606032e-03,
+ 2.53428732618405597871e-03,
+ 2.39577437488870843840e-03,
+ 2.25599656392876232389e-03,
+ 2.11503467008288762591e-03,
+ 1.97297008602663600726e-03,
+ 1.82988477338951447716e-03,
+ 1.68586121552325774765e-03,
+ 1.54098237000600303548e-03,
+ 1.39533162091338329772e-03,
+ 1.24899273087909832951e-03,
+ 1.10204979297680240487e-03,
+ 9.54587182448630219150e-04,
+ 8.06689508308766145897e-04,
+ 6.58441564849216722996e-04,
+ 5.09928283076855021032e-04,
+ 3.61234682107735086132e-04,
+ 2.12445820547849437534e-04,
+ 6.36467478874062951924e-05,
+-8.50775440627651754989e-05,
+-2.33642169667408998316e-04,
+-3.81962397863639291536e-04,
+-5.29953700435123313019e-04,
+-6.77531800134304070492e-04,
+-8.24612718624688793498e-04,
+-9.71112824217015813653e-04,
+-1.11694887937219939321e-03,
+-1.26203808794284771423e-03,
+-1.40629814212836251781e-03,
+-1.54964726911566716763e-03,
+-1.69200427737972594958e-03,
+-1.83328860261746241604e-03,
+-1.97342035328964800558e-03,
+-2.11232035574377557952e-03,
+-2.24991019889414630914e-03,
+-2.38611227843281599459e-03,
+-2.52084984054647175469e-03,
+-2.65404702511572903115e-03,
+-2.78562890837174507302e-03,
+-2.91552154498523870621e-03,
+-3.04365200956643270486e-03,
+-3.16994843755161225321e-03,
+-3.29434006545274672348e-03,
+-3.41675727044862646842e-03,
+-3.53713160929501439778e-03,
+-3.65539585653244531588e-03,
+-3.77148404196936751220e-03,
+-3.88533148742125408054e-03,
+-3.99687484268407104693e-03,
+-4.10605212072268164342e-03,
+-4.21280273205412725268e-03,
+-4.31706751830841783946e-03,
+-4.41878878494509144681e-03,
+-4.51791033311113327670e-03,
+-4.61437749061991125260e-03,
+-4.70813714203596311164e-03,
+-4.79913775784764073951e-03,
+-4.88732942271308690857e-03,
+-4.97266386276206447808e-03,
+-5.05509447194163030054e-03,
+-5.13457633738856073641e-03,
+-5.21106626381633106920e-03,
+-5.28452279690304685400e-03,
+-5.35490624566773484178e-03,
+-5.42217870382271597413e-03,
+-5.48630407009116985440e-03,
+-5.54724806747858376760e-03,
+-5.60497826148812720165e-03,
+-5.65946407726994771964e-03,
+-5.71067681569638677108e-03,
+-5.75858966835306532173e-03,
+-5.80317773143970965649e-03,
+-5.84441801857288768113e-03,
+-5.88228947248397703723e-03,
+-5.91677297560679570088e-03,
+-5.94785135954983314177e-03,
+-5.97550941344791256699e-03,
+-5.99973389119013312404e-03,
+-6.02051351752001286111e-03,
+-6.03783899300595460619e-03,
+-6.05170299787924879931e-03,
+-6.06210019473904081905e-03,
+-6.06902723012296262811e-03,
+-6.07248273494360914920e-03,
+-6.07246732379158708770e-03,
+-6.06898359310613279977e-03,
+-6.06203611821533403653e-03,
+-6.05163144924839458555e-03,
+-6.03777810592327594807e-03,
+-6.02048657121333555264e-03,
+-5.99976928389753336873e-03,
+-5.97564062999924889424e-03,
+-5.94811693311943397167e-03,
+-5.91721644367056848202e-03,
+-5.88295932701797356923e-03,
+-5.84536765053670151482e-03,
+-5.80446536959165673014e-03,
+-5.76027831244998057142e-03,
+-5.71283416413511518916e-03,
+-5.66216244923269020756e-03,
+-5.60829451365809760616e-03,
+-5.55126350539837404990e-03,
+-5.49110435423857436155e-03,
+-5.42785375048610279486e-03,
+-5.36155012270514343825e-03,
+-5.29223361447536504165e-03,
+-5.21994606018790722329e-03,
+-5.14473095989484690421e-03,
+-5.06663345322490039219e-03,
+-4.98570029238308044806e-03,
+-4.90197981424923389521e-03,
+-4.81552191159239240809e-03,
+-4.72637800341784222735e-03,
+-4.63460100446517250100e-03,
+-4.54024529387421233589e-03,
+-4.44336668303834617794e-03,
+-4.34402238266374564335e-03,
+-4.24227096905429278129e-03,
+-4.13817234964060018387e-03,
+-4.03178772777628563473e-03,
+-3.92317956681902026833e-03,
+-3.81241155351897623854e-03,
+-3.69954856073620007989e-03,
+-3.58465660950824235517e-03,
+-3.46780283048990500827e-03,
+-3.34905542478881141852e-03,
+-3.22848362421805775910e-03,
+-3.10615765099010905648e-03,
+-2.98214867687515662251e-03,
+-2.85652878184750828178e-03,
+-2.72937091224384606111e-03,
+-2.60074883845852087780e-03,
+-2.47073711219897686545e-03,
+-2.33941102332713016590e-03,
+-2.20684655631157985653e-03,
+-2.07312034631475673035e-03,
+-1.93830963494213536630e-03,
+-1.80249222567671618656e-03,
+-1.66574643902788789573e-03,
+-1.52815106741598333122e-03,
+-1.38978532982251450426e-03,
+-1.25072882622996486672e-03,
+-1.11106149187807385498e-03,
+-9.70863551362263440571e-04,
+-8.30215472601808523491e-04,
+-6.89197920702451245073e-04,
+-5.47891711741154406080e-04,
+-4.06377766498845327103e-04,
+-2.64737064168374847291e-04,
+-1.23050596061868546460e-04,
+ 1.86006806518760801038e-05,
+ 1.60135889158271910344e-04,
+ 3.01474279126209918772e-04,
+ 4.42535272731790253753e-04,
+ 5.83238510548296702242e-04,
+ 7.23503897278638991204e-04,
+ 8.63251647300782411557e-04,
+ 1.00240233000493386348e-03,
+ 1.14087691489260295227e-03,
+ 1.27859681641420436932e-03,
+ 1.41548393851902284610e-03,
+ 1.55146071889291931739e-03,
+ 1.68645017285750319601e-03,
+ 1.82037593690758878195e-03,
+ 1.95316231186109341353e-03,
+ 2.08473430559764265693e-03,
+ 2.21501767536104888362e-03,
+ 2.34393896960388269796e-03,
+ 2.47142556934688362516e-03,
+ 2.59740572903363739141e-03,
+ 2.72180861685599774502e-03,
+ 2.84456435452711767914e-03,
+ 2.96560405648055866804e-03,
+ 3.08485986847369889757e-03,
+ 3.20226500557270433653e-03,
+ 3.31775378949923562683e-03,
+ 3.43126168531712261514e-03,
+ 3.54272533743877921647e-03,
+ 3.65208260493136678895e-03,
+ 3.75927259610300519913e-03,
+ 3.86423570235000643155e-03,
+ 3.96691363124569706944e-03,
+ 4.06724943885357868856e-03,
+ 4.16518756124574941052e-03,
+ 4.26067384521043503870e-03,
+ 4.35365557813031326534e-03,
+ 4.44408151701685457530e-03,
+ 4.53190191668225664939e-03,
+ 4.61706855703673899743e-03,
+ 4.69953476949353052966e-03,
+ 4.77925546246841040365e-03,
+ 4.85618714595966241565e-03,
+ 4.93028795519530847746e-03,
+ 5.00151767333411288730e-03,
+ 5.06983775320908342660e-03,
+ 5.13521133810092809957e-03,
+ 5.19760328153088136532e-03,
+ 5.25698016606174298865e-03,
+ 5.31331032109820002030e-03,
+ 5.36656383967527069595e-03,
+ 5.41671259422796692179e-03,
+ 5.46373025133245135421e-03,
+ 5.50759228541199737789e-03,
+ 5.54827599139992924671e-03,
+ 5.58576049635388805631e-03,
+ 5.62002677001447251137e-03,
+ 5.65105763430437738060e-03,
+ 5.67883777176233280753e-03,
+ 5.70335373290816339403e-03,
+ 5.72459394253559995802e-03,
+ 5.74254870493012391924e-03,
+ 5.75721020800935671946e-03,
+ 5.76857252638474007206e-03,
+ 5.77663162334343931875e-03,
+ 5.78138535175009606049e-03,
+ 5.78283345386879782390e-03,
+ 5.78097756010611391053e-03,
+ 5.77582118667672138324e-03,
+ 5.76736973219383122768e-03,
+ 5.75563047318704626432e-03,
+ 5.74061255855102051116e-03,
+ 5.72232700292902695532e-03,
+ 5.70078667903584773713e-03,
+ 5.67600630892513106918e-03,
+ 5.64800245420722570738e-03,
+ 5.61679350522356971021e-03,
+ 5.58239966918474238289e-03,
+ 5.54484295727977402612e-03,
+ 5.50414717076463597123e-03,
+ 5.46033788603883952356e-03,
+ 5.41344243871932310347e-03,
+ 5.36348990672138540431e-03,
+ 5.31051109235732010649e-03,
+ 5.25453850346318130510e-03,
+ 5.19560633356600486132e-03,
+ 5.13375044110239622114e-03,
+ 5.06900832770268514743e-03,
+ 5.00141911555166893133e-03,
+ 4.93102352384138312158e-03,
+ 4.85786384432904984332e-03,
+ 4.78198391601513880800e-03,
+ 4.70342909895635295087e-03,
+ 4.62224624722982427999e-03,
+ 4.53848368106374473741e-03,
+ 4.45219115815146792431e-03,
+ 4.36341984416594753926e-03,
+ 4.27222228249233334368e-03,
+ 4.17865236319510044427e-03,
+ 4.08276529124071765886e-03,
+ 3.98461755399166870500e-03,
+ 3.88426688799294646953e-03,
+ 3.78177224506918985281e-03,
+ 3.67719375775360296163e-03,
+ 3.57059270406730406081e-03,
+ 3.46203147167215485522e-03,
+ 3.35157352141467277523e-03,
+ 3.23928335028530935830e-03,
+ 3.12522645381305575613e-03,
+ 3.00946928791781488297e-03,
+ 2.89207923024227455538e-03,
+ 2.77312454098672077352e-03,
+ 2.65267432326827179087e-03,
+ 2.53079848302840103302e-03,
+ 2.40756768851164678139e-03,
+ 2.28305332933951632760e-03,
+ 2.15732747520132111738e-03,
+ 2.03046283418941569954e-03,
+ 1.90253271079930631401e-03,
+ 1.77361096362036439224e-03,
+ 1.64377196274210417119e-03,
+ 1.51309054689958370071e-03,
+ 1.38164198038311938042e-03,
+ 1.24950190973654160810e-03,
+ 1.11674632027006139751e-03,
+ 9.83451492411185164075e-04,
+ 8.49693957919833188497e-04,
+ 7.15550455992367039418e-04,
+ 5.81097889279802068928e-04,
+ 4.46413279844896004802e-04,
+ 3.11573725084547952131e-04,
+ 1.76656353640993331018e-04,
+ 4.17382813286828151375e-05,
+-9.31034328996876200512e-05,
+-2.27791830921029737336e-04,
+-3.62250099320780654093e-04,
+-4.96401613154530668010e-04,
+-6.30169979571938514672e-04,
+-7.63479081274113916857e-04,
+-8.96253119781942569726e-04,
+-1.02841665849006422100e-03,
+-1.15989466548260746100e-03,
+-1.29061255608525294117e-03,
+-1.42049623513107697685e-03,
+-1.54947213891506270153e-03,
+-1.67746727681411891310e-03,
+-1.80440927254837480201e-03,
+-1.93022640506252275011e-03,
+-2.05484764900032337159e-03,
+-2.17820271475373814299e-03,
+-2.30022208806093461653e-03,
+-2.42083706913298482913e-03,
+-2.53997981128547666713e-03,
+-2.65758335905543320934e-03,
+-2.77358168577903838048e-03,
+-2.88790973061320895704e-03,
+-3.00050343497665914297e-03,
+-3.11129977839202497697e-03,
+-3.22023681370834334581e-03,
+-3.32725370168476981825e-03,
+-3.43229074491519740159e-03,
+-3.53528942107627329461e-03,
+-3.63619241547926243599e-03,
+-3.73494365290821112024e-03,
+-3.83148832872629279550e-03,
+-3.92577293923390257396e-03,
+-4.01774531126125340058e-03,
+-4.10735463097804467947e-03,
+-4.19455147190698693360e-03,
+-4.27928782212313139899e-03,
+-4.36151711062546069975e-03,
+-4.44119423286594081079e-03,
+-4.51827557542231091070e-03,
+-4.59271903980044363808e-03,
+-4.66448406535440850823e-03,
+-4.73353165131090974221e-03,
+-4.79982437788653917843e-03,
+-4.86332642648651045092e-03,
+-4.92400359897397343206e-03,
+-4.98182333599925253331e-03,
+-5.03675473437993799497e-03,
+-5.08876856352186244387e-03,
+-5.13783728087296304166e-03,
+-5.18393504640126713545e-03,
+-5.22703773609024553021e-03,
+-5.26712295444329344635e-03,
+-5.30417004599272740029e-03,
+-5.33816010580571553151e-03,
+-5.36907598898301533646e-03,
+-5.39690231914530423041e-03,
+-5.42162549590326486165e-03,
+-5.44323370130771460457e-03,
+-5.46171690527704530721e-03,
+-5.47706686999947442440e-03,
+-5.48927715330848470243e-03,
+-5.49834311103008545329e-03,
+-5.50426189830165689398e-03,
+-5.50703246986195688040e-03,
+-5.50665557931325801155e-03,
+-5.50313377735658394718e-03,
+-5.49647140900193838936e-03,
+-5.48667460975575324578e-03,
+-5.47375130078852495386e-03,
+-5.45771118308641025457e-03,
+-5.43856573059035668105e-03,
+-5.41632818232791902330e-03,
+-5.39101353354278986507e-03,
+-5.36263852582782342415e-03,
+-5.33122163626806137848e-03,
+-5.29678306560053737545e-03,
+-5.25934472539848259925e-03,
+-5.21893022428794508411e-03,
+-5.17556485320526133559e-03,
+-5.12927556970489868793e-03,
+-5.08009098132678089954e-03,
+-5.02804132803355476738e-03,
+-4.97315846372916019885e-03,
+-4.91547583686848584689e-03,
+-4.85502847017122741990e-03,
+-4.79185293945155309919e-03,
+-4.72598735157650148841e-03,
+-4.65747132156595338576e-03,
+-4.58634594884884446570e-03,
+-4.51265379268859113254e-03,
+-4.43643884679333078136e-03,
+-4.35774651312552125521e-03,
+-4.27662357492689104710e-03,
+-4.19311816897408994737e-03,
+-4.10727975708242813713e-03,
+-4.01915909687342119000e-03,
+-3.92880821182439374240e-03,
+-3.83628036061678823893e-03,
+-3.74163000580234744730e-03,
+-3.64491278180403876011e-03,
+-3.54618546227291209921e-03,
+-3.44550592681680360740e-03,
+-3.34293312712312645080e-03,
+-3.23852705249417973515e-03,
+-3.13234869481537631791e-03,
+-3.02446001297665325452e-03,
+-2.91492389676846486157e-03,
+-2.80380413027231812501e-03,
+-2.69116535476798942814e-03,
+-2.57707303117848647925e-03,
+-2.46159340207523572031e-03,
+-2.34479345326362147856e-03,
+-2.22674087497457245249e-03,
+-2.10750402268079263524e-03,
+-1.98715187756321907606e-03,
+-1.86575400664854376166e-03,
+-1.74338052264242380010e-03,
+-1.62010204348048895799e-03,
+-1.49598965162051219212e-03,
+-1.37111485310015116836e-03,
+-1.24554953638238521431e-03,
+-1.11936593101341890638e-03,
+-9.92636566116329244550e-04,
+-8.65434228744452519431e-04,
+-7.37831922117954900481e-04,
+-6.09902823768643741718e-04,
+-4.81720243615482051399e-04,
+-3.53357581995873909833e-04,
+-2.24888287676710109473e-04,
+-9.63858158682636068570e-05,
+ 3.20764137345539367911e-05,
+ 1.60425058858032064824e-04,
+ 2.88586896482438703439e-04,
+ 4.16488864574161247057e-04,
+ 5.44058103695506324778e-04,
+ 6.71221998467804803826e-04,
+ 7.97908218864774886926e-04,
+ 9.24044761311549125993e-04,
+ 1.04955998956755358967e-03,
+ 1.17438267536891884947e-03,
+ 1.29844203880782817391e-03,
+ 1.42166778842579637730e-03,
+ 1.54399016099864027675e-03,
+ 1.66533996098952152137e-03,
+ 1.78564859964935114707e-03,
+ 1.90484813374091114212e-03,
+ 2.02287130386640369786e-03,
+ 2.13965157237518523517e-03,
+ 2.25512316083227538563e-03,
+ 2.36922108702373405281e-03,
+ 2.48188120148188241104e-03,
+ 2.59304022350648980672e-03,
+ 2.70263577666357253729e-03,
+ 2.81060642374125237153e-03,
+ 2.91689170114364185876e-03,
+ 3.02143215270252868399e-03,
+ 3.12416936288921476272e-03,
+ 3.22504598940713581648e-03,
+ 3.32400579514743541032e-03,
+ 3.42099367948939334788e-03,
+ 3.51595570892898222001e-03,
+ 3.60883914701814589171e-03,
+ 3.69959248359746136620e-03,
+ 3.78816546330745101967e-03,
+ 3.87450911336219023379e-03,
+ 3.95857577056929390430e-03,
+ 4.04031910758215120211e-03,
+ 4.11969415836998739677e-03,
+ 4.19665734289097897003e-03,
+ 4.27116649095604910408e-03,
+ 4.34318086526945621589e-03,
+ 4.41266118363398390095e-03,
+ 4.47956964030860743664e-03,
+ 4.54386992650717726205e-03,
+ 4.60552725002660520714e-03,
+ 4.66450835399471325227e-03,
+ 4.72078153472709621807e-03,
+ 4.77431665868354501020e-03,
+ 4.82508517851539756732e-03,
+ 4.87306014819507884311e-03,
+ 4.91821623721916140887e-03,
+ 4.96052974387923596711e-03,
+ 4.99997860759186524976e-03,
+ 5.03654242028247437629e-03,
+ 5.07020243681679735892e-03,
+ 5.10094158447498870201e-03,
+ 5.12874447146327485519e-03,
+ 5.15359739445947657999e-03,
+ 5.17548834518845573410e-03,
+ 5.19440701602455999486e-03,
+ 5.21034480461868027695e-03,
+ 5.22329481754779667568e-03,
+ 5.23325187298585500772e-03,
+ 5.24021250239507709739e-03,
+ 5.24417495123738995610e-03,
+ 5.24513917870653937486e-03,
+ 5.24310685648145778648e-03,
+ 5.23808136650251530281e-03,
+ 5.23006779777264278752e-03,
+ 5.21907294218578940437e-03,
+ 5.20510528938584581676e-03,
+ 5.18817502065979652137e-03,
+ 5.16829400186912500670e-03,
+ 5.14547577542429773745e-03,
+ 5.11973555130774103661e-03,
+ 5.09109019715092269570e-03,
+ 5.05955822737205133249e-03,
+ 5.02515979138124391917e-03,
+ 4.98791666086073268160e-03,
+ 4.94785221612767823346e-03,
+ 4.90499143158841868773e-03,
+ 4.85936086029322127783e-03,
+ 4.81098861760061516368e-03,
+ 4.75990436396146916753e-03,
+ 4.70613928683348472365e-03,
+ 4.64972608173691136918e-03,
+ 4.59069893246278216276e-03,
+ 4.52909349044612261070e-03,
+ 4.46494685331585636212e-03,
+ 4.39829754263475290049e-03,
+ 4.32918548084257250735e-03,
+ 4.25765196741618740656e-03,
+ 4.18373965426069652218e-03,
+ 4.10749252034667798605e-03,
+ 4.02895584560788132256e-03,
+ 3.94817618411542111539e-03,
+ 3.86520133654418484789e-03,
+ 3.78008032194739225507e-03,
+ 3.69286334885604366693e-03,
+ 3.60360178572117573551e-03,
+ 3.51234813071479813271e-03,
+ 3.41915598090793311503e-03,
+ 3.32408000084427699555e-03,
+ 3.22717589052724015269e-03,
+ 3.12850035283901645525e-03,
+ 3.02811106041162708680e-03,
+ 2.92606662196800764927e-03,
+ 2.82242654815364601290e-03,
+ 2.71725121687837328777e-03,
+ 2.61060183818851918036e-03,
+ 2.50254041868949728133e-03,
+ 2.39312972554039504053e-03,
+ 2.28243325004017514127e-03,
+ 2.17051517082786447205e-03,
+ 2.05744031671671037328e-03,
+ 1.94327412918531700070e-03,
+ 1.82808262454552442576e-03,
+ 1.71193235581180232437e-03,
+ 1.59489037429026681535e-03,
+ 1.47702419091290675264e-03,
+ 1.35840173733748205247e-03,
+ 1.23909132683596356558e-03,
+ 1.11916161499407847656e-03,
+ 9.98681560244074617572e-04,
+ 8.77720384254470167330e-04,
+ 7.56347532198058721681e-04,
+ 6.34632632921996054504e-04,
+ 5.12645459042746680714e-04,
+ 3.90455886987906247536e-04,
+ 2.68133857008314943106e-04,
+ 1.45749333184361831153e-04,
+ 2.33722634472747536666e-05,
+-9.89274603607503039181e-05,
+-2.21080042364225074413e-04,
+-3.43015822447986784560e-04,
+-4.64665315944092405156e-04,
+-5.85959253188382740186e-04,
+-7.06828618925680403524e-04,
+-8.27204691540118683922e-04,
+-9.47019082088787164143e-04,
+-1.06620377311637771697e-03,
+-1.18469115722925682696e-03,
+-1.30241407540605423285e-03,
+-1.41930585502448507011e-03,
+-1.53530034758192469001e-03,
+-1.65033196608840252578e-03,
+-1.76433572211173142659e-03,
+-1.87724726245334949150e-03,
+-1.98900290543319513067e-03,
+-2.09953967676512883930e-03,
+-2.20879534500175757350e-03,
+-2.31670845652815794724e-03,
+-2.42321837008570468985e-03,
+-2.52826529080659367574e-03,
+-2.63179030373909264226e-03,
+-2.73373540684600496026e-03,
+-2.83404354345699518308e-03,
+-2.93265863415691175817e-03,
+-3.02952560809236284833e-03,
+-3.12459043367923185522e-03,
+-3.21780014869336387223e-03,
+-3.30910288972877109082e-03,
+-3.39844792100587331576e-03,
+-3.48578566251492739242e-03,
+-3.57106771747796791425e-03,
+-3.65424689911476559614e-03,
+-3.73527725669808635320e-03,
+-3.81411410088312429617e-03,
+-3.89071402829827646050e-03,
+-3.96503494538289445737e-03,
+-4.03703609145932267727e-03,
+-4.10667806102655782996e-03,
+-4.17392282526347826316e-03,
+-4.23873375272956244564e-03,
+-4.30107562925237472268e-03,
+-4.36091467699083017162e-03,
+-4.41821857266369143885e-03,
+-4.47295646493412607514e-03,
+-4.52509899094063333669e-03,
+-4.57461829196504320139e-03,
+-4.62148802823035640547e-03,
+-4.66568339281999474449e-03,
+-4.70718112471093987764e-03,
+-4.74595952091446966065e-03,
+-4.78199844771800587628e-03,
+-4.81527935102211632201e-03,
+-4.84578526576791637770e-03,
+-4.87350082444968323026e-03,
+-4.89841226470876054538e-03,
+-4.92050743600499964486e-03,
+-4.93977580536274565870e-03,
+-4.95620846218847079662e-03,
+-4.96979812215835037303e-03,
+-4.98053913017405553570e-03,
+-4.98842746238571579237e-03,
+-4.99346072728172954425e-03,
+-4.99563816584549461736e-03,
+-4.99496065077936236831e-03,
+-4.99143068479745467825e-03,
+-4.98505239798852691629e-03,
+-4.97583154425139829319e-03,
+-4.96377549680547796446e-03,
+-4.94889324277973576688e-03,
+-4.93119537688388714231e-03,
+-4.91069409416598247342e-03,
+-4.88740318186142198853e-03,
+-4.86133801033847897516e-03,
+-4.83251552314631609847e-03,
+-4.80095422617195580206e-03,
+-4.76667417591256168535e-03,
+-4.72969696687120574191e-03,
+-4.69004571808321647775e-03,
+-4.64774505878175377138e-03,
+-4.60282111321146884114e-03,
+-4.55530148459956044787e-03,
+-4.50521523829377698589e-03,
+-4.45259288407801132742e-03,
+-4.39746635767579701487e-03,
+-4.33986900145311854660e-03,
+-4.27983554433203870759e-03,
+-4.21740208092733371431e-03,
+-4.15260604991831393240e-03,
+-4.08548621166932371396e-03,
+-4.01608262511158123353e-03,
+-3.94443662390054836098e-03,
+-3.87059079186303405321e-03,
+-3.79458893774812806160e-03,
+-3.71647606929711776455e-03,
+-3.63629836664845860345e-03,
+-3.55410315509214558630e-03,
+-3.46993887719018040405e-03,
+-3.38385506427993278805e-03,
+-3.29590230737648436782e-03,
+-3.20613222749113312843e-03,
+-3.11459744538398987032e-03,
+-3.02135155076756461295e-03,
+-2.92644907097984593655e-03,
+-2.82994543914506487339e-03,
+-2.73189696184072483912e-03,
+-2.63236078628936763860e-03,
+-2.53139486709509815843e-03,
+-2.42905793254300297890e-03,
+-2.32540945048183896743e-03,
+-2.22050959380982104382e-03,
+-2.11441920558280097714e-03,
+-2.00719976376547218355e-03,
+-1.89891334564696082597e-03,
+-1.78962259193952521845e-03,
+-1.67939067058208314070e-03,
+-1.56828124026987358701e-03,
+-1.45635841373061535042e-03,
+-1.34368672076823521266e-03,
+-1.23033107109642224179e-03,
+-1.11635671698205856534e-03,
+-1.00182921572098456581e-03,
+-8.86814391967279472273e-04,
+-7.71378299937657582568e-04,
+-6.55587185513229354222e-04,
+-5.39507448258485936346e-04,
+-4.23205603382631467824e-04,
+-3.06748243661661022710e-04,
+-1.90202001344411987527e-04,
+-7.36335100648440309687e-05,
+ 4.28906332185422347128e-05,
+ 1.59303906234412831922e-04,
+ 2.75539899338800254799e-04,
+ 3.91532353363562794085e-04,
+ 5.07215197350502681149e-04,
+ 6.22522586150107753653e-04,
+ 7.37388937863388033329e-04,
+ 8.51748971105957086540e-04,
+ 9.65537742072175879035e-04,
+ 1.07869068137969592591e-03,
+ 1.19114363067259008272e-03,
+ 1.30283287896230275983e-03,
+ 1.41369519868671613717e-03,
+ 1.52366788146634829677e-03,
+ 1.63268877353659261353e-03,
+ 1.74069631083787878384e-03,
+ 1.84762955374296743323e-03,
+ 1.95342822140135439005e-03,
+ 2.05803272568219793037e-03,
+ 2.16138420469669332441e-03,
+ 2.26342455588016133738e-03,
+ 2.36409646861654226466e-03,
+ 2.46334345638605676718e-03,
+ 2.56110988841841760721e-03,
+ 2.65734102083372766834e-03,
+ 2.75198302725402016780e-03,
+ 2.84498302886748277024e-03,
+ 2.93628912392977997961e-03,
+ 3.02585041668512657459e-03,
+ 3.11361704569121855099e-03,
+ 3.19954021153272608058e-03,
+ 3.28357220390771429100e-03,
+ 3.36566642807112174907e-03,
+ 3.44577743062223634807e-03,
+ 3.52386092462112724549e-03,
+ 3.59987381401977125581e-03,
+ 3.67377421739513865956e-03,
+ 3.74552149097084462886e-03,
+ 3.81507625091497340475e-03,
+ 3.88240039490136924424e-03,
+ 3.94745712292331966259e-03,
+ 4.01021095734782184045e-03,
+ 4.07062776219968818631e-03,
+ 4.12867476166478130500e-03,
+ 4.18432055780340594886e-03,
+ 4.23753514746243783312e-03,
+ 4.28828993837902447406e-03,
+ 4.33655776446637518384e-03,
+ 4.38231290027339768361e-03,
+ 4.42553107461083304608e-03,
+ 4.46618948333678180557e-03,
+ 4.50426680129448111373e-03,
+ 4.53974319339683820423e-03,
+ 4.57260032485135199665e-03,
+ 4.60282137052065234983e-03,
+ 4.63039102341378759620e-03,
+ 4.65529550230404237654e-03,
+ 4.67752255846963938685e-03,
+ 4.69706148155405248112e-03,
+ 4.71390310454339756668e-03,
+ 4.72803980785840502477e-03,
+ 4.73946552255972292089e-03,
+ 4.74817573266493424267e-03,
+ 4.75416747657694122031e-03,
+ 4.75743934762336718319e-03,
+ 4.75799149370748075683e-03,
+ 4.75582561607138833149e-03,
+ 4.75094496717288084647e-03,
+ 4.74335434767782487125e-03,
+ 4.73306010257048929979e-03,
+ 4.72007011638460489966e-03,
+ 4.70439380755864264283e-03,
+ 4.68604212191906475959e-03,
+ 4.66502752529606660309e-03,
+ 4.64136399527643843388e-03,
+ 4.61506701209918757806e-03,
+ 4.58615354869955273859e-03,
+ 4.55464205990770056726e-03,
+ 4.52055247080917176061e-03,
+ 4.48390616427393924603e-03,
+ 4.44472596766223859710e-03,
+ 4.40303613871486330955e-03,
+ 4.35886235063746938639e-03,
+ 4.31223167638676834618e-03,
+ 4.26317257216925812185e-03,
+ 4.21171486016196257307e-03,
+ 4.15788971046581433411e-03,
+ 4.10172962230226281072e-03,
+ 4.04326840446501793724e-03,
+ 3.98254115503794432068e-03,
+ 3.91958424039167124125e-03,
+ 3.85443527347131180763e-03,
+ 3.78713309138849164512e-03,
+ 3.71771773232995421388e-03,
+ 3.64623041179842725945e-03,
+ 3.57271349819778243767e-03,
+ 3.49721048777782827360e-03,
+ 3.41976597895377260397e-03,
+ 3.34042564601502072266e-03,
+ 3.25923621223874176306e-03,
+ 3.17624542242462160752e-03,
+ 3.09150201486607309476e-03,
+ 3.00505569277494284652e-03,
+ 2.91695709517621800527e-03,
+ 2.82725776728985633834e-03,
+ 2.73601013041636529841e-03,
+ 2.64326745134584257038e-03,
+ 2.54908381130463648420e-03,
+ 2.45351407446147209979e-03,
+ 2.35661385600897553202e-03,
+ 2.25843948984021103410e-03,
+ 2.15904799583798876969e-03,
+ 2.05849704679780722699e-03,
+ 1.95684493500119767798e-03,
+ 1.85415053846056882350e-03,
+ 1.75047328685429747983e-03,
+ 1.64587312717267382142e-03,
+ 1.54041048909200266152e-03,
+ 1.43414625010112694974e-03,
+ 1.32714170039615556723e-03,
+ 1.21945850756623999298e-03,
+ 1.11115868108982397341e-03,
+ 1.00230453666194673813e-03,
+ 8.92958660373076220512e-04,
+ 7.83183872760047513316e-04,
+ 6.73043192749742938061e-04,
+ 5.62599801516196619360e-04,
+ 4.51917006271797402298e-04,
+ 3.41058204013367112766e-04,
+ 2.30086845243956402514e-04,
+ 1.19066397690317975016e-04,
+ 8.06031003876342309552e-06,
+-1.02868024292534745090e-04,
+-2.13655303322282262481e-04,
+-3.24238352595229727994e-04,
+-4.34554161172920089696e-04,
+-5.44539917503692838356e-04,
+-6.54133045151543304589e-04,
+-7.63271238365370997651e-04,
+-8.71892497466585482749e-04,
+-9.79935164035776202357e-04,
+-1.08733795587835245164e-03,
+-1.19404000174937055881e-03,
+-1.29998087581786859156e-03,
+-1.40510063185121983863e-03,
+-1.50933983710020702684e-03,
+-1.61263960586564250761e-03,
+-1.71494163272752683097e-03,
+-1.81618822541869504202e-03,
+-1.91632233732264294253e-03,
+-2.01528759957979742429e-03,
+-2.11302835278164621163e-03,
+-2.20948967823741222391e-03,
+-2.30461742879315041599e-03,
+-2.39835825918845125734e-03,
+-2.49065965593134232975e-03,
+-2.58146996667703255632e-03,
+-2.67073842909245186619e-03,
+-2.75841519919107873438e-03,
+-2.84445137912224619431e-03,
+-2.92879904439931598031e-03,
+-3.01141127055178960126e-03,
+-3.09224215918633147174e-03,
+-3.17124686344243166339e-03,
+-3.24838161282851346778e-03,
+-3.32360373742473678635e-03,
+-3.39687169143964044424e-03,
+-3.46814507610627249454e-03,
+-3.53738466190720588292e-03,
+-3.60455241011424683262e-03,
+-3.66961149363298272039e-03,
+-3.73252631713888970155e-03,
+-3.79326253649527652539e-03,
+-3.85178707744242114497e-03,
+-3.90806815354677143659e-03,
+-3.96207528340193453065e-03,
+-4.01377930707108587782e-03,
+-4.06315240176249869997e-03,
+-4.11016809672954883115e-03,
+-4.15480128738748670514e-03,
+-4.19702824863931681781e-03,
+-4.23682664740382061708e-03,
+-4.27417555433919245378e-03,
+-4.30905545475612165168e-03,
+-4.34144825871471493756e-03,
+-4.37133731030028924863e-03,
+-4.39870739607276222544e-03,
+-4.42354475268612757494e-03,
+-4.44583707367407054284e-03,
+-4.46557351539804588125e-03,
+-4.48274470215558658998e-03,
+-4.49734273044633849070e-03,
+-4.50936117239380054866e-03,
+-4.51879507832192439665e-03,
+-4.52564097848520176248e-03,
+-4.52989688395227449447e-03,
+-4.53156228664297524439e-03,
+-4.53063815851947795238e-03,
+-4.52712694993263019272e-03,
+-4.52103258712507720396e-03,
+-4.51236046889318294373e-03,
+-4.50111746241027566029e-03,
+-4.48731189821427022685e-03,
+-4.47095356436308811326e-03,
+-4.45205369976202098431e-03,
+-4.43062498666702171690e-03,
+-4.40668154236938374585e-03,
+-4.38023891006674489373e-03,
+-4.35131404892644905319e-03,
+-4.31992532334727567106e-03,
+-4.28609249142686190431e-03,
+-4.24983669264115699465e-03,
+-4.21118043474420344213e-03,
+-4.17014757989600526322e-03,
+-4.12676333002717343063e-03,
+-4.08105421144885384399e-03,
+-4.03304805871769478376e-03,
+-3.98277399776586060048e-03,
+-3.93026242830538889012e-03,
+-3.87554500551830520202e-03,
+-3.81865462104316469652e-03,
+-3.75962538326934676142e-03,
+-3.69849259695105700083e-03,
+-3.63529274215302917322e-03,
+-3.57006345254048127261e-03,
+-3.50284349302629844855e-03,
+-3.43367273678861842368e-03,
+-3.36259214167245173294e-03,
+-3.28964372598887933724e-03,
+-3.21487054372729570695e-03,
+-3.13831665919360848840e-03,
+-3.06002712109050643147e-03,
+-2.98004793605501560813e-03,
+-2.89842604166773779029e-03,
+-2.81520927895077040931e-03,
+-2.73044636437046704669e-03,
+-2.64418686136011710577e-03,
+-2.55648115138037068314e-03,
+-2.46738040453385034864e-03,
+-2.37693654975105290658e-03,
+-2.28520224456495602700e-03,
+-2.19223084449187820971e-03,
+-2.09807637203635911904e-03,
+-2.00279348533807409136e-03,
+-1.90643744647894558715e-03,
+-1.80906408946890644336e-03,
+-1.71072978792818604712e-03,
+-1.61149142248648530144e-03,
+-1.51140634791550681169e-03,
+-1.41053236001619538946e-03,
+-1.30892766227735197690e-03,
+-1.20665083232744858345e-03,
+-1.10376078819640946992e-03,
+-1.00031675440937460608e-03,
+-8.96378227929317322395e-04,
+-7.92004943969952133684e-04,
+-6.87256841697829728294e-04,
+-5.82194029843374478810e-04,
+-4.76876752240620047432e-04,
+-3.71365353315354857280e-04,
+-2.65720243541443139953e-04,
+-1.60001864885065504330e-04,
+-5.42706562566359684624e-05,
+ 5.14129810098762333082e-05,
+ 1.56988717630401143676e-04,
+ 2.62396330778088919793e-04,
+ 3.67575738403138686013e-04,
+ 4.72467033447351674163e-04,
+ 5.77010517933939639720e-04,
+ 6.81146736911458490320e-04,
+ 7.84816512234211456633e-04,
+ 8.87960976159937634238e-04,
+ 9.90521604744005372892e-04,
+ 1.09244025101365264951e-03,
+ 1.19365917790164059384e-03,
+ 1.29412109092141174894e-03,
+ 1.39376917056518003293e-03,
+ 1.49254710440663968495e-03,
+ 1.59039911889015199951e-03,
+ 1.68727001078853872801e-03,
+ 1.78310517831170383361e-03,
+ 1.87785065184860474295e-03,
+ 1.97145312432514584547e-03,
+ 2.06385998116165444646e-03,
+ 2.15501932981150296637e-03,
+ 2.24488002886593339402e-03,
+ 2.33339171670872728634e-03,
+ 2.42050483970316981583e-03,
+ 2.50617067989698880798e-03,
+ 2.59034138222976727944e-03,
+ 2.67296998122616528970e-03,
+ 2.75401042716228762475e-03,
+ 2.83341761168887876915e-03,
+ 2.91114739289797088209e-03,
+ 2.98715661981875787653e-03,
+ 3.06140315632929442893e-03,
+ 3.13384590447068249811e-03,
+ 3.20444482715097822209e-03,
+ 3.27316097022614747175e-03,
+ 3.33995648394608485657e-03,
+ 3.40479464375383631194e-03,
+ 3.46763987042658736876e-03,
+ 3.52845774954753865424e-03,
+ 3.58721505029781922991e-03,
+ 3.64387974355847871905e-03,
+ 3.69842101931248078139e-03,
+ 3.75080930333746573671e-03,
+ 3.80101627318009003750e-03,
+ 3.84901487340377030863e-03,
+ 3.89477933010077409515e-03,
+ 3.93828516466203197577e-03,
+ 3.97950920679663710383e-03,
+ 4.01842960679405468427e-03,
+ 4.05502584702343085721e-03,
+ 4.08927875266308724772e-03,
+ 4.12117050165479448243e-03,
+ 4.15068463387839852591e-03,
+ 4.17780605954134933583e-03,
+ 4.20252106677934406803e-03,
+ 4.22481732846414353988e-03,
+ 4.24468390821542990859e-03,
+ 4.26211126561366546173e-03,
+ 4.27709126061177457440e-03,
+ 4.28961715714353680751e-03,
+ 4.29968362592737362443e-03,
+ 4.30728674646440722745e-03,
+ 4.31242400823038558866e-03,
+ 4.31509431106120045635e-03,
+ 4.31529796473259855127e-03,
+ 4.31303668773473300457e-03,
+ 4.30831360524300700093e-03,
+ 4.30113324628681858303e-03,
+ 4.29150154011852507513e-03,
+ 4.27942581178534283554e-03,
+ 4.26491477690706718290e-03,
+ 4.24797853566351822641e-03,
+ 4.22862856599543705111e-03,
+ 4.20687771602348218464e-03,
+ 4.18274019569020352044e-03,
+ 4.15623156763024730748e-03,
+ 4.12736873727475445106e-03,
+ 4.09616994219598982985e-03,
+ 4.06265474069904698046e-03,
+ 4.02684399966749852207e-03,
+ 3.98875988167053836808e-03,
+ 3.94842583133988254962e-03,
+ 3.90586656102404668894e-03,
+ 3.86110803572960138361e-03,
+ 3.81417745735749278216e-03,
+ 3.76510324824506480840e-03,
+ 3.71391503402302824294e-03,
+ 3.66064362579748142634e-03,
+ 3.60532100166869413568e-03,
+ 3.54798028759637515753e-03,
+ 3.48865573762383116702e-03,
+ 3.42738271347229261563e-03,
+ 3.36419766351780209421e-03,
+ 3.29913810116290494648e-03,
+ 3.23224258261611266038e-03,
+ 3.16355068409222362283e-03,
+ 3.09310297844691411973e-03,
+ 3.02094101125942446004e-03,
+ 2.94710727637745740354e-03,
+ 2.87164519093818793039e-03,
+ 2.79459906988119548971e-03,
+ 2.71601409996710457459e-03,
+ 2.63593631331708773413e-03,
+ 2.55441256048993380751e-03,
+ 2.47149048311133935976e-03,
+ 2.38721848607121494082e-03,
+ 2.30164570930673547527e-03,
+ 2.21482199918544885378e-03,
+ 2.12679787950668637911e-03,
+ 2.03762452213744876123e-03,
+ 1.94735371729998175613e-03,
+ 1.85603784352819439415e-03,
+ 1.76372983731039952200e-03,
+ 1.67048316243592642229e-03,
+ 1.57635177906330727939e-03,
+ 1.48139011252795978722e-03,
+ 1.38565302190747641209e-03,
+ 1.28919576836194387306e-03,
+ 1.19207398326919835826e-03,
+ 1.09434363617172251450e-03,
+ 9.96061002553666387932e-04,
+ 8.97282631468103723978e-04,
+ 7.98065313031665838489e-04,
+ 6.98466045805186700954e-04,
+ 5.98542004080726075879e-04,
+ 4.98350505091392156909e-04,
+ 3.97948976164492736543e-04,
+ 2.97394921836138706028e-04,
+ 1.96745890946085639616e-04,
+ 9.60594437324946328737e-05,
+-4.60688105713253110850e-06,
+-1.05195599015863548308e-04,
+-2.05649312873547269803e-04,
+-3.05910745218120614427e-04,
+-4.05922771124209050102e-04,
+-5.05628450670332911694e-04,
+-6.04971061326233742333e-04,
+-7.03894130191895397823e-04,
+-8.02341466069983314836e-04,
+-9.00257191353478103575e-04,
+-9.97585773710441469850e-04,
+-1.09427205754784526159e-03,
+-1.19026129523734734011e-03,
+-1.28549917808361388767e-03,
+-1.37993186702002005456e-03,
+-1.47350602301274868564e-03,
+-1.56616883715618676436e-03,
+-1.65786806044407471726e-03,
+-1.74855203319811505248e-03,
+-1.83816971413744510017e-03,
+-1.92667070907424605244e-03,
+-2.01400529921775661019e-03,
+-2.10012446907152346490e-03,
+-2.18497993390813667614e-03,
+-2.26852416680606251351e-03,
+-2.35071042523344675770e-03,
+-2.43149277716405484012e-03,
+-2.51082612671079579217e-03,
+-2.58866623926247820323e-03,
+-2.66496976610981501504e-03,
+-2.73969426854743253880e-03,
+-2.81279824143723829188e-03,
+-2.88424113622183812475e-03,
+-2.95398338337400341927e-03,
+-3.02198641426984970434e-03,
+-3.08821268247472897547e-03,
+-3.15262568442887820136e-03,
+-3.21518997952162247436e-03,
+-3.27587120954407487808e-03,
+-3.33463611750868180184e-03,
+-3.39145256582575700330e-03,
+-3.44628955382705274429e-03,
+-3.49911723462676847382e-03,
+-3.54990693131099601179e-03,
+-3.59863115244673462817e-03,
+-3.64526360690210944615e-03,
+-3.68977921797001727142e-03,
+-3.73215413678737884667e-03,
+-3.77236575504307771953e-03,
+-3.81039271696794737063e-03,
+-3.84621493059991411204e-03,
+-3.87981357831906903399e-03,
+-3.91117112664715865095e-03,
+-3.94027133530578613924e-03,
+-3.96709926552936235911e-03,
+-3.99164128762850064364e-03,
+-4.01388508779965472173e-03,
+-4.03381967417829664230e-03,
+-4.05143538213234219447e-03,
+-4.06672387879341342559e-03,
+-4.07967816682406215351e-03,
+-4.09029258741918071846e-03,
+-4.09856282254066582593e-03,
+-4.10448589638437531107e-03,
+-4.10806017607942119269e-03,
+-4.10928537161966977997e-03,
+-4.10816253502826328470e-03,
+-4.10469405875612397550e-03,
+-4.09888367331595702275e-03,
+-4.09073644415366196453e-03,
+-4.08025876775947385355e-03,
+-4.06745836702175275756e-03,
+-4.05234428582641227623e-03,
+-4.03492688290585550803e-03,
+-4.01521782494141353526e-03,
+-3.99323007892370650251e-03,
+-3.96897790377597620148e-03,
+-3.94247684124562208785e-03,
+-3.91374370606971909436e-03,
+-3.88279657542071584067e-03,
+-3.84965477763883840226e-03,
+-3.81433888025815110920e-03,
+-3.77687067733369942479e-03,
+-3.73727317607745312261e-03,
+-3.69557058281119732435e-03,
+-3.65178828824497432592e-03,
+-3.60595285208962579651e-03,
+-3.55809198701380119054e-03,
+-3.50823454195329457322e-03,
+-3.45641048478445914172e-03,
+-3.40265088437114587849e-03,
+-3.34698789199610203388e-03,
+-3.28945472218769140865e-03,
+-3.23008563295407733276e-03,
+-3.16891590543550479703e-03,
+-3.10598182298758417746e-03,
+-3.04132064970752489380e-03,
+-2.97497060841662606598e-03,
+-2.90697085811037359698e-03,
+-2.83736147089205630045e-03,
+-2.76618340840093044491e-03,
+-2.69347849775016792359e-03,
+-2.61928940698839384654e-03,
+-2.54365962009905433386e-03,
+-2.46663341155241517058e-03,
+-2.38825582042492129409e-03,
+-2.30857262410112847040e-03,
+-2.22763031157348617012e-03,
+-2.14547605635553037887e-03,
+-2.06215768902437597554e-03,
+-1.97772366940784189923e-03,
+-1.89222305843385276043e-03,
+-1.80570548965651076455e-03,
+-1.71822114047665615993e-03,
+-1.62982070307368252966e-03,
+-1.54055535506404249653e-03,
+-1.45047672990482020075e-03,
+-1.35963688705958486193e-03,
+-1.26808828194214899543e-03,
+-1.17588373565714085327e-03,
+-1.08307640455412444898e-03,
+-9.89719749612947034476e-04,
+-8.95867505677916593256e-04,
+-8.01573650558492470548e-04,
+-7.06892374014246962534e-04,
+-6.11878046641902415860e-04,
+-5.16585188682274517973e-04,
+-4.21068438765152331434e-04,
+-3.25382522609281570492e-04,
+-2.29582221697126570396e-04,
+-1.33722341940000448565e-04,
+-3.78576823531001234436e-05,
+ 5.79569962416860487149e-05,
+ 1.53667002468926312949e-04,
+ 2.49217745588539837595e-04,
+ 3.44554766605055051796e-04,
+ 4.39623769277135254159e-04,
+ 5.34370651012117960608e-04,
+ 6.28741533626295430459e-04,
+ 7.22682793954151111819e-04,
+ 8.16141094289066942359e-04,
+ 9.09063412638226858026e-04,
+ 1.00139707277458692852e-03,
+ 1.09308977406887886975e-03,
+ 1.18408962108478813154e-03,
+ 1.27434515292056300961e-03,
+ 1.36380537228036891051e-03,
+ 1.45241977425964634632e-03,
+ 1.54013837482673316033e-03,
+ 1.62691173898619058195e-03,
+ 1.71269100860800766242e-03,
+ 1.79742792990551444876e-03,
+ 1.88107488054797562099e-03,
+ 1.96358489639263892462e-03,
+ 2.04491169781978020942e-03,
+ 2.12500971565807118477e-03,
+ 2.20383411668426208024e-03,
+ 2.28134082868343369618e-03,
+ 2.35748656505591286728e-03,
+ 2.43222884895690980023e-03,
+ 2.50552603695564177905e-03,
+ 2.57733734220062273013e-03,
+ 2.64762285707839271562e-03,
+ 2.71634357535300218975e-03,
+ 2.78346141377399823244e-03,
+ 2.84893923314137337971e-03,
+ 2.91274085881481313576e-03,
+ 2.97483110065697737429e-03,
+ 3.03517577239990551941e-03,
+ 3.09374171042274635074e-03,
+ 3.15049679193164094970e-03,
+ 3.20540995253164491541e-03,
+ 3.25845120318029885659e-03,
+ 3.30959164651485658951e-03,
+ 3.35880349254337635945e-03,
+ 3.40606007369155918199e-03,
+ 3.45133585919722533919e-03,
+ 3.49460646884427843240e-03,
+ 3.53584868602997270254e-03,
+ 3.57504047015665300802e-03,
+ 3.61216096834317094977e-03,
+ 3.64719052644881403663e-03,
+ 3.68011069940423060295e-03,
+ 3.71090426084389433947e-03,
+ 3.73955521203543422501e-03,
+ 3.76604879010044787946e-03,
+ 3.79037147552388660465e-03,
+ 3.81251099894702218107e-03,
+ 3.83245634724140764663e-03,
+ 3.85019776886061934965e-03,
+ 3.86572677846735036217e-03,
+ 3.87903616083361702654e-03,
+ 3.89011997401263057497e-03,
+ 3.89897355178084716390e-03,
+ 3.90559350534943564709e-03,
+ 3.90997772434472940645e-03,
+ 3.91212537705771124658e-03,
+ 3.91203690996272997887e-03,
+ 3.90971404650655458141e-03,
+ 3.90515978516874822171e-03,
+ 3.89837839679519444422e-03,
+ 3.88937542120674139765e-03,
+ 3.87815766308545256322e-03,
+ 3.86473318714143513133e-03,
+ 3.84911131256343097898e-03,
+ 3.83130260675695194506e-03,
+ 3.81131887837403860592e-03,
+ 3.78917316963920574116e-03,
+ 3.76487974797630508064e-03,
+ 3.73845409694197614373e-03,
+ 3.70991290647096740377e-03,
+ 3.67927406243961268098e-03,
+ 3.64655663555414144908e-03,
+ 3.61178086957013007655e-03,
+ 3.57496816885076278136e-03,
+ 3.53614108527169294233e-03,
+ 3.49532330447974940585e-03,
+ 3.45253963151448796734e-03,
+ 3.40781597580096327210e-03,
+ 3.36117933552288828195e-03,
+ 3.31265778138546554757e-03,
+ 3.26228043977774525078e-03,
+ 3.21007747534444651261e-03,
+ 3.15608007297777824404e-03,
+ 3.10032041923983094425e-03,
+ 3.04283168322677004605e-03,
+ 2.98364799688597944274e-03,
+ 2.92280443479772233245e-03,
+ 2.86033699343400974954e-03,
+ 2.79628256990564587336e-03,
+ 2.73067894021140553096e-03,
+ 2.66356473700054630430e-03,
+ 2.59497942686348799513e-03,
+ 2.52496328716229770719e-03,
+ 2.45355738241618799925e-03,
+ 2.38080354025428783324e-03,
+ 2.30674432695083695896e-03,
+ 2.23142302255665983882e-03,
+ 2.15488359564151290768e-03,
+ 2.07717067766201215345e-03,
+ 1.99832953697007134966e-03,
+ 1.91840605247694541945e-03,
+ 1.83744668698823622119e-03,
+ 1.75549846022528331473e-03,
+ 1.67260892154870227308e-03,
+ 1.58882612239931203697e-03,
+ 1.50419858847373826526e-03,
+ 1.41877529164945908116e-03,
+ 1.33260562167547579916e-03,
+ 1.24573935764636829771e-03,
+ 1.15822663927488351057e-03,
+ 1.07011793797963318704e-03,
+ 9.81464027805968499546e-04,
+ 8.92315956194724064533e-04,
+ 8.02725014617197869804e-04,
+ 7.12742709092594579033e-04,
+ 6.22420730605006554577e-04,
+ 5.31810925436872606979e-04,
+ 4.40965265435949780974e-04,
+ 3.49935818232817224746e-04,
+ 2.58774717425973744146e-04,
+ 1.67534132751585059917e-04,
+ 7.62662402549235993827e-05,
+-1.49768075193361299620e-05,
+-1.06142911301720894524e-04,
+-1.97180054818197052647e-04,
+-2.88036334442900109586e-04,
+-3.78659988762671830508e-04,
+-4.68999428038859239934e-04,
+-5.59003263548750505343e-04,
+-6.48620336790735633678e-04,
+-7.37799748534993023869e-04,
+-8.26490887705368343190e-04,
+-9.14643460074474100654e-04,
+-1.00220751675647416767e-03,
+-1.08913348248064457101e-03,
+-1.17537218363183721542e-03,
+-1.26087487603843595614e-03,
+-1.34559327249569936173e-03,
+-1.42947957000680455318e-03,
+-1.51248647672699333688e-03,
+-1.59456723859538701364e-03,
+-1.67567566564024317960e-03,
+-1.75576615794077609337e-03,
+-1.83479373123439024051e-03,
+-1.91271404215155051663e-03,
+-1.98948341306622901448e-03,
+-2.06505885654718109729e-03,
+-2.13939809939708890443e-03,
+-2.21245960626475536570e-03,
+-2.28420260281900038002e-03,
+-2.35458709846996828985e-03,
+-2.42357390862588594968e-03,
+-2.49112467647214820554e-03,
+-2.55720189426249895279e-03,
+-2.62176892410749236631e-03,
+-2.68479001825172808662e-03,
+-2.74623033882684950205e-03,
+-2.80605597707006462066e-03,
+-2.86423397199746590513e-03,
+-2.92073232852189295164e-03,
+-2.97552003500548174764e-03,
+-3.02856708023718085299e-03,
+-3.07984446982606822549e-03,
+-3.12932424200147371596e-03,
+-3.17697948281127698356e-03,
+-3.22278434071057110627e-03,
+-3.26671404053182311278e-03,
+-3.30874489683027862494e-03,
+-3.34885432659656149396e-03,
+-3.38702086132979581640e-03,
+-3.42322415846545938939e-03,
+-3.45744501215092866347e-03,
+-3.48966536336403100604e-03,
+-3.51986830936835840347e-03,
+-3.54803811250142776476e-03,
+-3.57416020829039995585e-03,
+-3.59822121289160232194e-03,
+-3.62020892984994159536e-03,
+-3.64011235617500532313e-03,
+-3.65792168773078438943e-03,
+-3.67362832393644143589e-03,
+-3.68722487177608991560e-03,
+-3.69870514911562918089e-03,
+-3.70806418732541956396e-03,
+-3.71529823320771324796e-03,
+-3.72040475022829665933e-03,
+-3.72338241905218391911e-03,
+-3.72423113738358209715e-03,
+-3.72295201911065475747e-03,
+-3.71954739275624172296e-03,
+-3.71402079923576107501e-03,
+-3.70637698892428832029e-03,
+-3.69662191803482587105e-03,
+-3.68476274431051497790e-03,
+-3.67080782203360296914e-03,
+-3.65476669635465692756e-03,
+-3.63665009694570488807e-03,
+-3.61646993098150822468e-03,
+-3.59423927545334974051e-03,
+-3.56997236882036642416e-03,
+-3.54368460200365923210e-03,
+-3.51539250872874575737e-03,
+-3.48511375522234101432e-03,
+-3.45286712927017321387e-03,
+-3.41867252864195810338e-03,
+-3.38255094889135894329e-03,
+-3.34452447053745815023e-03,
+-3.30461624563659203332e-03,
+-3.26285048375162325951e-03,
+-3.21925243732817121037e-03,
+-3.17384838648557959795e-03,
+-3.12666562323245288482e-03,
+-3.07773243511595077232e-03,
+-3.02707808831462633209e-03,
+-2.97473281018491211153e-03,
+-2.92072777127162135427e-03,
+-2.86509506679312160940e-03,
+-2.80786769761221183597e-03,
+-2.74907955070388763247e-03,
+-2.68876537913161550372e-03,
+-2.62696078154390838186e-03,
+-2.56370218120280770127e-03,
+-2.49902680455817757105e-03,
+-2.43297265937776879124e-03,
+-2.36557851244843493979e-03,
+-2.29688386686014139187e-03,
+-2.22692893888647245465e-03,
+-2.15575463447475546355e-03,
+-2.08340252536062418495e-03,
+-2.00991482481939400667e-03,
+-1.93533436306957584878e-03,
+-1.85970456234225522789e-03,
+-1.78306941163151812420e-03,
+-1.70547344113878836074e-03,
+-1.62696169642893568967e-03,
+-1.54757971231007083503e-03,
+-1.46737348645403320284e-03,
+-1.38638945277216006635e-03,
+-1.30467445456199375615e-03,
+-1.22227571743970366350e-03,
+-1.13924082207588254177e-03,
+-1.05561767674710021286e-03,
+-9.71454489722374482305e-04,
+-8.86799741498446592036e-04,
+-8.01702156900612784851e-04,
+-7.16210677064451489704e-04,
+-6.30374431316047391209e-04,
+-5.44242708964845500752e-04,
+-4.57864931026830763918e-04,
+-3.71290621893513930751e-04,
+-2.84569380963795102567e-04,
+-1.97750854252763154373e-04,
+-1.10884705997269506742e-04,
+-2.40205902709113495357e-05,
+ 6.27918773732192452876e-05,
+ 1.49503148216553689897e-04,
+ 2.36063768629587555480e-04,
+ 3.22424408250847381943e-04,
+ 4.08535888074242200738e-04,
+ 4.94349208428819172911e-04,
+ 5.79815576835024100270e-04,
+ 6.64886435721643610786e-04,
+ 7.49513489987693693958e-04,
+ 8.33648734393532949913e-04,
+ 9.17244480766279870337e-04,
+ 1.00025338500262374157e-03,
+ 1.08262847385585773974e-03,
+ 1.16432317148991437694e-03,
+ 1.24529132578744816673e-03,
+ 1.32548723439501444157e-03,
+ 1.40486567049264701387e-03,
+ 1.48338190827135567480e-03,
+ 1.56099174810615912330e-03,
+ 1.63765154140913405528e-03,
+ 1.71331821514903869137e-03,
+ 1.78794929602366808354e-03,
+ 1.86150293427143464359e-03,
+ 1.93393792710878204520e-03,
+ 2.00521374178037978947e-03,
+ 2.07529053820916823889e-03,
+ 2.14412919123365373897e-03,
+ 2.21169131241997444365e-03,
+ 2.27793927143706215546e-03,
+ 2.34283621698181060769e-03,
+ 2.40634609724435857836e-03,
+ 2.46843367990040021484e-03,
+ 2.52906457162119062410e-03,
+ 2.58820523708867778964e-03,
+ 2.64582301750689681194e-03,
+ 2.70188614859793313494e-03,
+ 2.75636377807397716516e-03,
+ 2.80922598257490408261e-03,
+ 2.86044378406247841104e-03,
+ 2.90998916566214413729e-03,
+ 2.95783508694383865181e-03,
+ 3.00395549863343705108e-03,
+ 3.04832535674689130908e-03,
+ 3.09092063613944411163e-03,
+ 3.13171834346257340134e-03,
+ 3.17069652952171746399e-03,
+ 3.20783430102820335192e-03,
+ 3.24311183173923859094e-03,
+ 3.27651037297958976080e-03,
+ 3.30801226353996018562e-03,
+ 3.33760093894684218077e-03,
+ 3.36526094009848182609e-03,
+ 3.39097792126302451446e-03,
+ 3.41473865743472130771e-03,
+ 3.43653105104400240569e-03,
+ 3.45634413801872283564e-03,
+ 3.47416809319318680913e-03,
+ 3.48999423506242021850e-03,
+ 3.50381502987956103268e-03,
+ 3.51562409509444421737e-03,
+ 3.52541620213190926708e-03,
+ 3.53318727850884806152e-03,
+ 3.53893440928911917967e-03,
+ 3.54265583787610402466e-03,
+ 3.54435096614294726028e-03,
+ 3.54402035390087273917e-03,
+ 3.54166571770637159458e-03,
+ 3.53728992900847680203e-03,
+ 3.53089701163765857378e-03,
+ 3.52249213863829475218e-03,
+ 3.51208162844697177607e-03,
+ 3.49967294041929766896e-03,
+ 3.48527466970839335317e-03,
+ 3.46889654149831836577e-03,
+ 3.45054940459623565863e-03,
+ 3.43024522438756772347e-03,
+ 3.40799707515864217997e-03,
+ 3.38381913179134578146e-03,
+ 3.35772666083566971931e-03,
+ 3.32973601096507977951e-03,
+ 3.29986460282096893265e-03,
+ 3.26813091825231636506e-03,
+ 3.23455448895733962272e-03,
+ 3.19915588453362383092e-03,
+ 3.16195669994496055336e-03,
+ 3.12297954241108925363e-03,
+ 3.08224801772958309845e-03,
+ 3.03978671603739392451e-03,
+ 2.99562119702084100892e-03,
+ 2.94977797458266955549e-03,
+ 2.90228450097598702356e-03,
+ 2.85316915041365507313e-03,
+ 2.80246120216355544194e-03,
+ 2.75019082313949451285e-03,
+ 2.69638904999837305393e-03,
+ 2.64108777075355415781e-03,
+ 2.58431970591592842859e-03,
+ 2.52611838917400372689e-03,
+ 2.46651814762340482884e-03,
+ 2.40555408155839313758e-03,
+ 2.34326204383680314694e-03,
+ 2.27967861883065755005e-03,
+ 2.21484110097475844769e-03,
+ 2.14878747292579150296e-03,
+ 2.08155638334478173060e-03,
+ 2.01318712431581723840e-03,
+ 1.94371960841423544429e-03,
+ 1.87319434543773495790e-03,
+ 1.80165241881343461162e-03,
+ 1.72913546169589605814e-03,
+ 1.65568563276817190023e-03,
+ 1.58134559176179804313e-03,
+ 1.50615847470803379538e-03,
+ 1.43016786893666826216e-03,
+ 1.35341778783496088576e-03,
+ 1.27595264538327276757e-03,
+ 1.19781723048013573688e-03,
+ 1.11905668107298707052e-03,
+ 1.03971645810893640986e-03,
+ 9.59842319320685158357e-04,
+ 8.79480292862680045757e-04,
+ 7.98676650812700722817e-04,
+ 7.17477882554103476610e-04,
+ 6.35930668054020351715e-04,
+ 5.54081851052870642121e-04,
+ 4.71978412180657619888e-04,
+ 3.89667442014872736876e-04,
+ 3.07196114096923401319e-04,
+ 2.24611657920471623987e-04,
+ 1.41961331909191799819e-04,
+ 5.92923963973368171269e-05,
+-2.33479133692958273222e-05,
+-1.05912414198647058736e-04,
+-1.88354001866488713528e-04,
+-2.70625677966048025676e-04,
+-3.52680576676401690700e-04,
+-4.34471991434995103831e-04,
+-5.15953401499023248805e-04,
+-5.97078498380584432939e-04,
+-6.77801212140594598610e-04,
+-7.58075737526550121580e-04,
+-8.37856559939326346609e-04,
+-9.17098481214296688997e-04,
+-9.95756645202195691743e-04,
+-1.07378656313515804741e-03,
+-1.15114413876416595180e-03,
+-1.22778569325242541826e-03,
+-1.30366798981191894975e-03,
+-1.37874825806924973352e-03,
+-1.45298421814578576985e-03,
+-1.52633410443975465511e-03,
+-1.59875668909689456869e-03,
+-1.67021130515527735372e-03,
+-1.74065786935308415041e-03,
+-1.81005690458521380053e-03,
+-1.87836956199671648374e-03,
+-1.94555764270060572822e-03,
+-2.01158361910792719829e-03,
+-2.07641065585818058656e-03,
+-2.14000263033844919519e-03,
+-2.20232415277983682028e-03,
+-2.26334058592000822788e-03,
+-2.32301806422092246146e-03,
+-2.38132351263152302820e-03,
+-2.43822466488363524817e-03,
+-2.49369008131333563458e-03,
+-2.54768916619557087705e-03,
+-2.60019218458394001450e-03,
+-2.65117027864584945199e-03,
+-2.70059548348453026811e-03,
+-2.74844074243833736901e-03,
+-2.79467992185021508675e-03,
+-2.83928782529839322801e-03,
+-2.88224020728095487592e-03,
+-2.92351378634650351657e-03,
+-2.96308625766492647960e-03,
+-3.00093630502965393395e-03,
+-3.03704361228680124254e-03,
+-3.07138887418407363628e-03,
+-3.10395380663392372531e-03,
+-3.13472115638562150164e-03,
+-3.16367471010103352980e-03,
+-3.19079930282948481812e-03,
+-3.21608082587721087059e-03,
+-3.23950623406747337252e-03,
+-3.26106355238757342555e-03,
+-3.28074188201942212179e-03,
+-3.29853140575076496377e-03,
+-3.31442339276444199875e-03,
+-3.32841020280317178778e-03,
+-3.34048528970836431165e-03,
+-3.35064320433112964454e-03,
+-3.35887959681426418596e-03,
+-3.36519121824467148246e-03,
+-3.36957592167543267675e-03,
+-3.37203266251754653349e-03,
+-3.37256149830169856332e-03,
+-3.37116358781047254292e-03,
+-3.36784118958214327699e-03,
+-3.36259765978729266434e-03,
+-3.35543744947994172431e-03,
+-3.34636610122527418040e-03,
+-3.33539024510636330015e-03,
+-3.32251759411259645072e-03,
+-3.30775693891291596924e-03,
+-3.29111814201739957125e-03,
+-3.27261213133083796178e-03,
+-3.25225089310266250384e-03,
+-3.23004746427743008250e-03,
+-3.20601592425105112044e-03,
+-3.18017138603743105413e-03,
+-3.15252998685158682818e-03,
+-3.12310887811450286003e-03,
+-3.09192621488647281444e-03,
+-3.05900114473474978721e-03,
+-3.02435379604281111970e-03,
+-2.98800526576807482307e-03,
+-2.94997760665555814816e-03,
+-2.91029381391519391745e-03,
+-2.86897781137080603100e-03,
+-2.82605443708909163589e-03,
+-2.78154942849715867623e-03,
+-2.73548940699755568570e-03,
+-2.68790186208995533074e-03,
+-2.63881513500899191754e-03,
+-2.58825840188760128782e-03,
+-2.53626165645667129775e-03,
+-2.48285569229048054193e-03,
+-2.42807208460824822810e-03,
+-2.37194317164358134745e-03,
+-2.31450203559181158161e-03,
+-2.25578248314654231793e-03,
+-2.19581902563767547218e-03,
+-2.13464685878131952071e-03,
+-2.07230184205435888356e-03,
+-2.00882047770541138920e-03,
+-1.94423988941450141647e-03,
+-1.87859780061385762441e-03,
+-1.81193251248255946667e-03,
+-1.74428288162779420063e-03,
+-1.67568829746571096480e-03,
+-1.60618865931505343768e-03,
+-1.53582435321696704651e-03,
+-1.46463622849387254017e-03,
+-1.39266557406221786267e-03,
+-1.31995409451166924308e-03,
+-1.24654388596452171158e-03,
+-1.17247741173051502755e-03,
+-1.09779747777003140220e-03,
+-1.02254720797977159512e-03,
+-9.46770019316456627398e-04,
+-8.70509596771090981941e-04,
+-7.93809868209522859206e-04,
+-7.16714979093283142790e-04,
+-6.39269267095267379464e-04,
+-5.61517236624901622949e-04,
+-4.83503533277372383840e-04,
+-4.05272918221601325187e-04,
+-3.26870242541634718064e-04,
+-2.48340421546139789206e-04,
+-1.69728409060813500292e-04,
+-9.10791717177389864102e-05,
+-1.24376632583528602298e-05,
+ 6.61512011385834202077e-05,
+ 1.44642570486082041627e-04,
+ 2.22991683562456983764e-04,
+ 3.01153894413956873654e-04,
+ 3.79084697772648165047e-04,
+ 4.56739754373683643027e-04,
+ 5.34074916159440896482e-04,
+ 6.11046251354811493887e-04,
+ 6.87610069400060091790e-04,
+ 7.63722945726494719700e-04,
+ 8.39341746362165606193e-04,
+ 9.14423652352394037562e-04,
+ 9.88926183981333204245e-04,
+ 1.06280722478213824657e-03,
+ 1.13602504532090125416e-03,
+ 1.20853832674150526647e-03,
+ 1.28030618405801659317e-03,
+ 1.35128818918151915977e-03,
+ 1.42144439366839823308e-03,
+ 1.49073535117733935521e-03,
+ 1.55912213962240372468e-03,
+ 1.62656638300974010561e-03,
+ 1.69303027294565532589e-03,
+ 1.75847658980445606218e-03,
+ 1.82286872354303674040e-03,
+ 1.88617069415219075317e-03,
+ 1.94834717173209578771e-03,
+ 2.00936349618086648045e-03,
+ 2.06918569648611430298e-03,
+ 2.12778050960779879092e-03,
+ 2.18511539894190561298e-03,
+ 2.24115857235570323583e-03,
+ 2.29587899978361603334e-03,
+ 2.34924643037442331187e-03,
+ 2.40123140918023199666e-03,
+ 2.45180529337806233856e-03,
+ 2.50094026801512278949e-03,
+ 2.54860936126915377242e-03,
+ 2.59478645921546943742e-03,
+ 2.63944632009264395014e-03,
+ 2.68256458805902911827e-03,
+ 2.72411780643292029958e-03,
+ 2.76408343040847976832e-03,
+ 2.80243983924151687792e-03,
+ 2.83916634789766180597e-03,
+ 2.87424321815756868281e-03,
+ 2.90765166917223739917e-03,
+ 2.93937388746383842716e-03,
+ 2.96939303636573146555e-03,
+ 2.99769326489773184699e-03,
+ 3.02425971607121193627e-03,
+ 3.04907853462010837095e-03,
+ 3.07213687415372471712e-03,
+ 3.09342290372770093235e-03,
+ 3.11292581382988705480e-03,
+ 3.13063582177805889775e-03,
+ 3.14654417652693004295e-03,
+ 3.16064316288211652126e-03,
+ 3.17292610511905577922e-03,
+ 3.18338737000537549265e-03,
+ 3.19202236922536521438e-03,
+ 3.19882756120557767629e-03,
+ 3.20380045234103065510e-03,
+ 3.20693959762191095619e-03,
+ 3.20824460066048821466e-03,
+ 3.20771611311912148781e-03,
+ 3.20535583353980316201e-03,
+ 3.20116650557659455922e-03,
+ 3.19515191563226816363e-03,
+ 3.18731688990105815895e-03,
+ 3.17766729081954413250e-03,
+ 3.16621001292834072099e-03,
+ 3.15295297814715538495e-03,
+ 3.13790513046660092533e-03,
+ 3.12107643006004570677e-03,
+ 3.10247784681945935892e-03,
+ 3.08212135331927200924e-03,
+ 3.06001991721279766046e-03,
+ 3.03618749306580832173e-03,
+ 3.01063901363274712478e-03,
+ 2.98339038058057295921e-03,
+ 2.95445845466603060347e-03,
+ 2.92386104537267895939e-03,
+ 2.89161690001368777356e-03,
+ 2.85774569230700953987e-03,
+ 2.82226801043036334277e-03,
+ 2.78520534456247253682e-03,
+ 2.74658007391870816194e-03,
+ 2.70641545328861908917e-03,
+ 2.66473559908350773537e-03,
+ 2.62156547490237238143e-03,
+ 2.57693087662487496647e-03,
+ 2.53085841704014631939e-03,
+ 2.48337551002058860156e-03,
+ 2.43451035425012096355e-03,
+ 2.38429191651639985419e-03,
+ 2.33274991457697866704e-03,
+ 2.27991479960949847833e-03,
+ 2.22581773825620892956e-03,
+ 2.17049059427346612006e-03,
+ 2.11396590979692159534e-03,
+ 2.05627688623344091062e-03,
+ 1.99745736479101619609e-03,
+ 1.93754180665763118922e-03,
+ 1.87656527284175219002e-03,
+ 1.81456340368482097088e-03,
+ 1.75157239805861998823e-03,
+ 1.68762899225976484990e-03,
+ 1.62277043861255095177e-03,
+ 1.55703448379367948885e-03,
+ 1.49045934689147926804e-03,
+ 1.42308369721128166394e-03,
+ 1.35494663184088722126e-03,
+ 1.28608765298868091623e-03,
+ 1.21654664510756371255e-03,
+ 1.14636385181799576628e-03,
+ 1.07557985264340023011e-03,
+ 1.00423553957145047719e-03,
+ 9.32372093454700246948e-04,
+ 8.60030960264205842671e-04,
+ 7.87253827209889473632e-04,
+ 7.14082598740849215993e-04,
+ 6.40559372440761354631e-04,
+ 5.66726414830463851718e-04,
+ 4.92626137092837322433e-04,
+ 4.18301070733919581456e-04,
+ 3.43793843193061820010e-04,
+ 2.69147153417339558834e-04,
+ 1.94403747414189487621e-04,
+ 1.19606393795037383994e-04,
+ 4.47978593251173554416e-05,
+-2.99791155070713611101e-05,
+-1.04681840886644762128e-04,
+-1.79267702021634553217e-04,
+-2.53694183430834704039e-04,
+-3.27918893156363931707e-04,
+-4.01899586887169662890e-04,
+-4.75594191979749616409e-04,
+-5.48960831362461866741e-04,
+-6.21957847309750270874e-04,
+-6.94543825073334680428e-04,
+-7.66677616355743358524e-04,
+-8.38318362614142603174e-04,
+-9.09425518181231052305e-04,
+-9.79958873188954042791e-04,
+-1.04987857628321295568e-03,
+-1.11914515711671069299e-03,
+-1.18771954860611567151e-03,
+-1.25556310894265384798e-03,
+-1.32263764334250685968e-03,
+-1.38890542552527339500e-03,
+-1.45432921890835268122e-03,
+-1.51887229750536853490e-03,
+-1.58249846651689705240e-03,
+-1.64517208260199325476e-03,
+-1.70685807381915056156e-03,
+-1.76752195922558370811e-03,
+-1.82712986812380161379e-03,
+-1.88564855894518047276e-03,
+-1.94304543775902804383e-03,
+-1.99928857639786617534e-03,
+-2.05434673018880555040e-03,
+-2.10818935528026517312e-03,
+-2.16078662555535365442e-03,
+-2.21210944912246043961e-03,
+-2.26212948437317816139e-03,
+-2.31081915559989232653e-03,
+-2.35815166816356804741e-03,
+-2.40410102320373414084e-03,
+-2.44864203188258338501e-03,
+-2.49175032915539568928e-03,
+-2.53340238705979841141e-03,
+-2.57357552751657147824e-03,
+-2.61224793463516640271e-03,
+-2.64939866651717941329e-03,
+-2.68500766655144999101e-03,
+-2.71905577419492448452e-03,
+-2.75152473523297344538e-03,
+-2.78239721151426859513e-03,
+-2.81165679015500094215e-03,
+-2.83928799220713222809e-03,
+-2.86527628078656016949e-03,
+-2.88960806865697647852e-03,
+-2.91227072526506090486e-03,
+-2.93325258322398594105e-03,
+-2.95254294424161442545e-03,
+-2.97013208449042583406e-03,
+-2.98601125941669364242e-03,
+-3.00017270798633986159e-03,
+-3.01260965636595103370e-03,
+-3.02331632103655656429e-03,
+-3.03228791133956007003e-03,
+-3.03952063145331409857e-03,
+-3.04501168179985596748e-03,
+-3.04875925988140573583e-03,
+-3.05076256054652829655e-03,
+-3.05102177568631911103e-03,
+-3.04953809336118561099e-03,
+-3.04631369635912632385e-03,
+-3.04135176018685343333e-03,
+-3.03465645049527405624e-03,
+-3.02623291994119940004e-03,
+-3.01608730448767094895e-03,
+-3.00422671914520132003e-03,
+-2.99065925315701369377e-03,
+-2.97539396463139928575e-03,
+-2.95844087462449664011e-03,
+-2.93981096067755893683e-03,
+-2.91951614981275815730e-03,
+-2.89756931099181044148e-03,
+-2.87398424704220179990e-03,
+-2.84877568605616283970e-03,
+-2.82195927226750430117e-03,
+-2.79355155641210087594e-03,
+-2.76356998557781771697e-03,
+-2.73203289255012551212e-03,
+-2.69895948465983821080e-03,
+-2.66436983213977395327e-03,
+-2.62828485599736526648e-03,
+-2.59072631541029923391e-03,
+-2.55171679465334083972e-03,
+-2.51127968956342670012e-03,
+-2.46943919355152629105e-03,
+-2.42622028316987056393e-03,
+-2.38164870324227831086e-03,
+-2.33575095156724138815e-03,
+-2.28855426320279282948e-03,
+-2.24008659434175860792e-03,
+-2.19037660578759365432e-03,
+-2.13945364604031535577e-03,
+-2.08734773400249444888e-03,
+-2.03408954131547529270e-03,
+-1.97971037433622041798e-03,
+-1.92424215576537916382e-03,
+-1.86771740593727280343e-03,
+-1.81016922378279560696e-03,
+-1.75163126747638459545e-03,
+-1.69213773477834518097e-03,
+-1.63172334308366137785e-03,
+-1.57042330918990852978e-03,
+-1.50827332879462073199e-03,
+-1.44530955573546056152e-03,
+-1.38156858098379938318e-03,
+-1.31708741140545613178e-03,
+-1.25190344829938021362e-03,
+-1.18605446572830376673e-03,
+-1.11957858865226037894e-03,
+-1.05251427087881964557e-03,
+-9.84900272842268017723e-04,
+-9.16775639224670039346e-04,
+-8.48179676431708726506e-04,
+-7.79151929936275832941e-04,
+-7.09732161502877071865e-04,
+-6.39960326305943926796e-04,
+-5.69876549955214807899e-04,
+-4.99521105441456947371e-04,
+-4.28934390015275781964e-04,
+-3.58156902013427212109e-04,
+-2.87229217644762195236e-04,
+-2.16191967749079295199e-04,
+-1.45085814543370996213e-04,
+-7.39514283676623567637e-05,
+-2.82946444373383170840e-06,
+ 6.82394603388270838424e-05,
+ 1.39214790597688687322e-04,
+ 2.10056055579472498182e-04,
+ 2.80722892215425577894e-04,
+ 3.51175068097857930472e-04,
+ 4.21372504364276407804e-04,
+ 4.91275298476219653143e-04,
+ 5.60843746879846811494e-04,
+ 6.30038367535434352430e-04,
+ 6.98819922302998017792e-04,
+ 7.67149439171379990757e-04,
+ 8.34988234318114982448e-04,
+ 9.02297933988172430955e-04,
+ 9.69040496177550657667e-04,
+ 1.03517823211224553603e-03,
+ 1.10067382750771766003e-03,
+ 1.16549036359852469825e-03,
+ 1.22959133792568584519e-03,
+ 1.29294068487057216450e-03,
+ 1.35550279592269035112e-03,
+ 1.41724253967147762606e-03,
+ 1.47812528150976737508e-03,
+ 1.53811690303841180558e-03,
+ 1.59718382116064388891e-03,
+ 1.65529300685696286952e-03,
+ 1.71241200362764220237e-03,
+ 1.76850894559496454178e-03,
+ 1.82355257525374002750e-03,
+ 1.87751226086060006570e-03,
+ 1.93035801345242652959e-03,
+ 1.98206050348444977674e-03,
+ 2.03259107707881624474e-03,
+ 2.08192177187458684826e-03,
+ 2.13002533247049928231e-03,
+ 2.17687522545193749141e-03,
+ 2.22244565399375279199e-03,
+ 2.26671157203132793423e-03,
+ 2.30964869799124257813e-03,
+ 2.35123352807515510060e-03,
+ 2.39144334908883470295e-03,
+ 2.43025625080947474746e-03,
+ 2.46765113788514900417e-03,
+ 2.50360774125928499736e-03,
+ 2.53810662911404865891e-03,
+ 2.57112921732736803004e-03,
+ 2.60265777943738526798e-03,
+ 2.63267545610921865559e-03,
+ 2.66116626409909065240e-03,
+ 2.68811510471097300096e-03,
+ 2.71350777174133141537e-03,
+ 2.73733095890790929794e-03,
+ 2.75957226675855411477e-03,
+ 2.78022020905670675522e-03,
+ 2.79926421864012953122e-03,
+ 2.81669465275010289657e-03,
+ 2.83250279782839122292e-03,
+ 2.84668087377948006433e-03,
+ 2.85922203769641003479e-03,
+ 2.87012038704810915068e-03,
+ 2.87937096232720231986e-03,
+ 2.88696974915680091081e-03,
+ 2.89291367985583221592e-03,
+ 2.89720063446215116837e-03,
+ 2.89982944121351280883e-03,
+ 2.90079987648640116524e-03,
+ 2.90011266419314345591e-03,
+ 2.89776947463821947862e-03,
+ 2.89377292283466130279e-03,
+ 2.88812656628207459208e-03,
+ 2.88083490220782285907e-03,
+ 2.87190336427351573453e-03,
+ 2.86133831874895577796e-03,
+ 2.84914706015623872201e-03,
+ 2.83533780638680265804e-03,
+ 2.81991969329480843959e-03,
+ 2.80290276877008005807e-03,
+ 2.78429798629470500945e-03,
+ 2.76411719798695795433e-03,
+ 2.74237314713741920855e-03,
+ 2.71907946024148436046e-03,
+ 2.69425063853359278432e-03,
+ 2.66790204902807304155e-03,
+ 2.64004991507226990932e-03,
+ 2.61071130641776349285e-03,
+ 2.57990412881558845576e-03,
+ 2.54764711314187488125e-03,
+ 2.51395980406045370728e-03,
+ 2.47886254822925330629e-03,
+ 2.44237648205756618242e-03,
+ 2.40452351902155575872e-03,
+ 2.36532633654565121670e-03,
+ 2.32480836245730617881e-03,
+ 2.28299376102392148624e-03,
+ 2.23990741857956789096e-03,
+ 2.19557492874996457166e-03,
+ 2.15002257728523623811e-03,
+ 2.10327732650867141317e-03,
+ 2.05536679939101810111e-03,
+ 2.00631926325935171576e-03,
+ 1.95616361315094399245e-03,
+ 1.90492935482074665296e-03,
+ 1.85264658741337391243e-03,
+ 1.79934598580928591972e-03,
+ 1.74505878265607109780e-03,
+ 1.68981675009393424863e-03,
+ 1.63365218118834728926e-03,
+ 1.57659787107846988304e-03,
+ 1.51868709785361530318e-03,
+ 1.45995360316849881639e-03,
+ 1.40043157260870475105e-03,
+ 1.34015561581719584022e-03,
+ 1.27916074639499105850e-03,
+ 1.21748236158513117693e-03,
+ 1.15515622175421423141e-03,
+ 1.09221842968186999730e-03,
+ 1.02870540967075650360e-03,
+ 9.64653886488606908747e-04,
+ 9.00100864155625344717e-04,
+ 8.35083604587965547955e-04,
+ 7.69639606110740720837e-04,
+ 7.03806581852404870327e-04,
+ 6.37622438033560502181e-04,
+ 5.71125252161062339600e-04,
+ 5.04353251142653142593e-04,
+ 4.37344789331979761672e-04,
+ 3.70138326518233945050e-04,
+ 3.02772405872475636971e-04,
+ 2.35285631863361933882e-04,
+ 1.67716648154917370023e-04,
+ 1.00104115498995325769e-04,
+ 3.24866896350573601776e-05,
+-3.50970007900988141157e-05,
+-1.02608376270067855503e-04,
+-1.70008928441366460871e-04,
+-2.37260242028708613496e-04,
+-3.04324016719330044459e-04,
+-3.71162088955520488940e-04,
+-4.37736453631852389604e-04,
+-5.04009285684787491054e-04,
+-5.69942961563439155249e-04,
+-6.35500080568199678457e-04,
+-7.00643486045153811477e-04,
+-7.65336286425376288202e-04,
+-8.29541876096107381675e-04,
+-8.93223956092492241653e-04,
+-9.56346554598112288600e-04,
+-1.01887404724274391321e-03,
+-1.08077117718591146113e-03,
+-1.14200307497491554062e-03,
+-1.20253527816616481716e-03,
+-1.26233375069880002922e-03,
+-1.32136490200969610419e-03,
+-1.37959560587909771390e-03,
+-1.43699321899669958842e-03,
+-1.49352559923677944212e-03,
+-1.54916112363357523669e-03,
+-1.60386870604548384400e-03,
+-1.65761781449959505821e-03,
+-1.71037848820545417342e-03,
+-1.76212135422995869009e-03,
+-1.81281764382279454370e-03,
+-1.86243920838466956759e-03,
+-1.91095853506853020909e-03,
+-1.95834876200555885878e-03,
+-2.00458369314743039755e-03,
+-2.04963781271666782222e-03,
+-2.09348629925715234990e-03,
+-2.13610503927705698904e-03,
+-2.17747064047668550252e-03,
+-2.21756044455409095234e-03,
+-2.25635253958129250451e-03,
+-2.29382577194474921237e-03,
+-2.32995975784284353738e-03,
+-2.36473489433514528352e-03,
+-2.39813236993652442383e-03,
+-2.43013417475133235504e-03,
+-2.46072311014130552798e-03,
+-2.48988279792284553787e-03,
+-2.51759768908801960866e-03,
+-2.54385307204538875167e-03,
+-2.56863508037586708854e-03,
+-2.59193070009968232204e-03,
+-2.61372777645068558178e-03,
+-2.63401502015447874783e-03,
+-2.65278201320723284670e-03,
+-2.67001921415216522324e-03,
+-2.68571796285115840450e-03,
+-2.69987048474913367627e-03,
+-2.71246989462914107200e-03,
+-2.72351019985639722365e-03,
+-2.73298630310992796480e-03,
+-2.74089400460035331406e-03,
+-2.74723000377341628614e-03,
+-2.75199190049820862497e-03,
+-2.75517819574011687753e-03,
+-2.75678829171838255668e-03,
+-2.75682249154861379672e-03,
+-2.75528199837085348636e-03,
+-2.75216891396407340939e-03,
+-2.74748623684835597061e-03,
+-2.74123785987614347961e-03,
+-2.73342856731443109575e-03,
+-2.72406403141984849309e-03,
+-2.71315080850912087457e-03,
+-2.70069633452742902113e-03,
+-2.68670892011764299301e-03,
+-2.67119774519362050691e-03,
+-2.65417285302107976847e-03,
+-2.63564514380968837812e-03,
+-2.61562636782076193137e-03,
+-2.59412911799431541299e-03,
+-2.57116682210057310998e-03,
+-2.54675373442056615300e-03,
+-2.52090492696093165098e-03,
+-2.49363628020824292311e-03,
+-2.46496447342882049614e-03,
+-2.43490697451945311766e-03,
+-2.40348202941552966175e-03,
+-2.37070865106279527260e-03,
+-2.33660660795969189057e-03,
+-2.30119641227629137537e-03,
+-2.26449930755836560670e-03,
+-2.22653725602254669996e-03,
+-2.18733292545093653547e-03,
+-2.14690967569279187940e-03,
+-2.10529154478122275743e-03,
+-2.06250323467321427379e-03,
+-2.01857009662140480036e-03,
+-1.97351811618623213668e-03,
+-1.92737389789730405483e-03,
+-1.88016464957305564146e-03,
+-1.83191816630788313451e-03,
+-1.78266281413625186578e-03,
+-1.73242751338296301945e-03,
+-1.68124172171028180012e-03,
+-1.62913541687057699184e-03,
+-1.57613907917578230551e-03,
+-1.52228367369270224489e-03,
+-1.46760063217584650445e-03,
+-1.41212183474704526358e-03,
+-1.35587959133381627010e-03,
+-1.29890662287597178325e-03,
+-1.24123604231228925124e-03,
+-1.18290133535796414613e-03,
+-1.12393634108397949545e-03,
+-1.06437523230972224016e-03,
+-1.00425249582011886888e-03,
+-9.43602912418799676629e-04,
+-8.82461536828750689118e-04,
+-8.20863677452122195502e-04,
+-7.58844876000883323576e-04,
+-6.96440887009666122730e-04,
+-6.33687657243661695526e-04,
+-5.70621305011907871928e-04,
+-5.07278099399384235432e-04,
+-4.43694439428299856887e-04,
+-3.79906833162163342851e-04,
+-3.15951876763069777060e-04,
+-2.51866233515757136346e-04,
+-1.87686612828893105692e-04,
+-1.23449749226707587929e-04,
+-5.91923813425564756662e-05,
+ 5.04876907352367874530e-06,
+ 6.92370181212766702379e-05,
+ 1.33335740678748094525e-04,
+ 1.97308391280935971606e-04,
+ 2.61118524936681541647e-04,
+ 3.24729817871949365607e-04,
+ 3.88106088187632042828e-04,
+ 4.51211316420591741425e-04,
+ 5.14009665995129438193e-04,
+ 5.76465503554872784643e-04,
+ 6.38543419161980286940e-04,
+ 7.00208246353774092785e-04,
+ 7.61425082043918786609e-04,
+ 8.22159306257914143483e-04,
+ 8.82376601691744100360e-04,
+ 9.42042973081658576232e-04,
+ 1.00112476637558055551e-03,
+ 1.05958868769426566188e-03,
+ 1.11740182207199128042e-03,
+ 1.17453165196615329918e-03,
+ 1.23094607552536169578e-03,
+ 1.28661342460581668880e-03,
+ 1.34150248252584160767e-03,
+ 1.39558250154863013048e-03,
+ 1.44882322008345787619e-03,
+ 1.50119487959565409141e-03,
+ 1.55266824121634344422e-03,
+ 1.60321460204141557661e-03,
+ 1.65280581111278590707e-03,
+ 1.70141428507094454904e-03,
+ 1.74901302347134422581e-03,
+ 1.79557562375571026954e-03,
+ 1.84107629587033070663e-03,
+ 1.88548987652245613779e-03,
+ 1.92879184306802143982e-03,
+ 1.97095832702225181102e-03,
+ 2.01196612718603342132e-03,
+ 2.05179272238057222588e-03,
+ 2.09041628378424165433e-03,
+ 2.12781568686330919971e-03,
+ 2.16397052289168034464e-03,
+ 2.19886111005235902402e-03,
+ 2.23246850411500585495e-03,
+ 2.26477450868369997727e-03,
+ 2.29576168500963484834e-03,
+ 2.32541336136273067009e-03,
+ 2.35371364195842858874e-03,
+ 2.38064741543364153872e-03,
+ 2.40620036286810995776e-03,
+ 2.43035896534666076563e-03,
+ 2.45311051105864775732e-03,
+ 2.47444310193039576293e-03,
+ 2.49434565978784222526e-03,
+ 2.51280793204573761265e-03,
+ 2.52982049692079043884e-03,
+ 2.54537476816590630541e-03,
+ 2.55946299932366090960e-03,
+ 2.57207828749620934228e-03,
+ 2.58321457663059431131e-03,
+ 2.59286666031753468623e-03,
+ 2.60103018410256332446e-03,
+ 2.60770164730860518412e-03,
+ 2.61287840436931441054e-03,
+ 2.61655866567281477839e-03,
+ 2.61874149791569560408e-03,
+ 2.61942682396747910170e-03,
+ 2.61861542224603579751e-03,
+ 2.61630892560461673912e-03,
+ 2.61250981973162573271e-03,
+ 2.60722144106427262261e-03,
+ 2.60044797421789914901e-03,
+ 2.59219444893257419671e-03,
+ 2.58246673653929684211e-03,
+ 2.57127154594804412449e-03,
+ 2.55861641916043432848e-03,
+ 2.54450972630984205078e-03,
+ 2.52896066023234862910e-03,
+ 2.51197923057173110040e-03,
+ 2.49357625742245613346e-03,
+ 2.47376336451454867035e-03,
+ 2.45255297194462698260e-03,
+ 2.42995828845761051989e-03,
+ 2.40599330328385152544e-03,
+ 2.38067277753669032450e-03,
+ 2.35401223517576205571e-03,
+ 2.32602795354144506468e-03,
+ 2.29673695346632733560e-03,
+ 2.26615698896941598212e-03,
+ 2.23430653653983570320e-03,
+ 2.20120478401572821497e-03,
+ 2.16687161906578855050e-03,
+ 2.13132761727950238717e-03,
+ 2.09459402987411226829e-03,
+ 2.05669277102470907798e-03,
+ 2.01764640482596626161e-03,
+ 1.97747813189227050409e-03,
+ 1.93621177560486024995e-03,
+ 1.89387176801387676663e-03,
+ 1.85048313540364336473e-03,
+ 1.80607148352974512806e-03,
+ 1.76066298253653116292e-03,
+ 1.71428435156398707023e-03,
+ 1.66696284305293466847e-03,
+ 1.61872622675783670206e-03,
+ 1.56960277347651289311e-03,
+ 1.51962123850639114868e-03,
+ 1.46881084483655192582e-03,
+ 1.41720126608627463617e-03,
+ 1.36482260919915132126e-03,
+ 1.31170539690283571681e-03,
+ 1.25788054994554945182e-03,
+ 1.20337936911878791608e-03,
+ 1.14823351707673366670e-03,
+ 1.09247499996376496584e-03,
+ 1.03613614885946750573e-03,
+ 9.79249601052817287769e-04,
+ 9.21848281156024094984e-04,
+ 8.63965382068984373391e-04,
+ 8.05634345805350776497e-04,
+ 7.46888844191288077054e-04,
+ 6.87762759448037191978e-04,
+ 6.28290164669462083795e-04,
+ 5.68505304205851338083e-04,
+ 5.08442573965285464499e-04,
+ 4.48136501643423001973e-04,
+ 3.87621726894541677056e-04,
+ 3.26932981452717592256e-04,
+ 2.66105069217038663586e-04,
+ 2.05172846310758418649e-04,
+ 1.44171201126380563911e-04,
+ 8.31350343675788742547e-05,
+ 2.20992391004467811420e-05,
+-3.89013191759796718742e-05,
+-9.98318224274676811183e-05,
+-1.60657519939763258031e-04,
+-2.21343748119307129384e-04,
+-2.81855950229735626421e-04,
+-3.42159696050412485968e-04,
+-4.02220701448342615129e-04,
+-4.62004847850846784695e-04,
+-5.21478201608437975934e-04,
+-5.80607033236791485534e-04,
+-6.39357836527398360783e-04,
+-6.97697347514598421869e-04,
+-7.55592563290745562223e-04,
+-8.13010760656402635231e-04,
+-8.69919514596503569252e-04,
+-9.26286716571595044288e-04,
+-9.82080592613842522434e-04,
+-1.03726972121798914454e-03,
+-1.09182305101626067265e-03,
+-1.14570991822856215955e-03,
+-1.19890006387727231750e-03,
+-1.25136365075697989814e-03,
+-1.30307128015050440427e-03,
+-1.35399400828092701665e-03,
+-1.40410336249047434758e-03,
+-1.45337135713807666729e-03,
+-1.50177050920588701921e-03,
+-1.54927385360641156620e-03,
+-1.59585495818171090726e-03,
+-1.64148793838632899543e-03,
+-1.68614747164579970896e-03,
+-1.72980881138278994556e-03,
+-1.77244780070314389073e-03,
+-1.81404088573422256521e-03,
+-1.85456512860821833531e-03,
+-1.89399822008349183119e-03,
+-1.93231849179640994586e-03,
+-1.96950492813784778720e-03,
+-2.00553717774697637041e-03,
+-2.04039556461697076800e-03,
+-2.07406109880563802386e-03,
+-2.10651548674606337030e-03,
+-2.13774114115079620635e-03,
+-2.16772119050517375963e-03,
+-2.19643948814392904120e-03,
+-2.22388062090664783907e-03,
+-2.25002991736723010133e-03,
+-2.27487345563314293309e-03,
+-2.29839807071028278881e-03,
+-2.32059136142953635965e-03,
+-2.34144169693150825881e-03,
+-2.36093822270602455432e-03,
+-2.37907086618326232483e-03,
+-2.39583034187382639194e-03,
+-2.41120815605485715877e-03,
+-2.42519661100030125764e-03,
+-2.43778880875283833138e-03,
+-2.44897865443608397581e-03,
+-2.45876085910516064756e-03,
+-2.46713094213460307561e-03,
+-2.47408523314259810866e-03,
+-2.47962087345062007909e-03,
+-2.48373581707827476711e-03,
+-2.48642883127294603979e-03,
+-2.48769949657436095780e-03,
+-2.48754820641444327964e-03,
+-2.48597616625299746435e-03,
+-2.48298539225010744813e-03,
+-2.47857870947639034181e-03,
+-2.47275974966242300529e-03,
+-2.46553294848908619713e-03,
+-2.45690354242066423887e-03,
+-2.44687756508286339413e-03,
+-2.43546184318826561266e-03,
+-2.42266399201183056655e-03,
+-2.40849241041931304286e-03,
+-2.39295627545196452554e-03,
+-2.37606553647086871789e-03,
+-2.35783090886447369364e-03,
+-2.33826386732362018900e-03,
+-2.31737663868781000251e-03,
+-2.29518219436743642001e-03,
+-2.27169424234655459999e-03,
+-2.24692721877107516593e-03,
+-2.22089627912754614472e-03,
+-2.19361728901783497453e-03,
+-2.16510681453538442881e-03,
+-2.13538211224875490099e-03,
+-2.10446111879856838367e-03,
+-2.07236244011410305002e-03,
+-2.03910534025573964012e-03,
+-2.00470972989070942219e-03,
+-1.96919615440774254875e-03,
+-1.93258578167894933507e-03,
+-1.89490038947546677803e-03,
+-1.85616235254462648083e-03,
+-1.81639462935595909568e-03,
+-1.77562074852458812169e-03,
+-1.73386479491910482434e-03,
+-1.69115139546278155785e-03,
+-1.64750570463616328315e-03,
+-1.60295338968996568633e-03,
+-1.55752061557586866242e-03,
+-1.51123402960583901912e-03,
+-1.46412074584717846748e-03,
+-1.41620832926347625658e-03,
+-1.36752477961040201301e-03,
+-1.31809851509572971071e-03,
+-1.26795835581320162112e-03,
+-1.21713350695978428199e-03,
+-1.16565354184613783825e-03,
+-1.11354838471016369394e-03,
+-1.06084829334356697123e-03,
+-1.00758384154156217620e-03,
+-9.53785901385918667879e-04,
+-8.99485625371226915105e-04,
+-8.44714428385682711276e-04,
+-7.89503969555520172287e-04,
+-7.33886133964478507875e-04,
+-6.77893014258843288299e-04,
+-6.21556892147806690219e-04,
+-5.64910219810742480866e-04,
+-5.07985601222065157219e-04,
+-4.50815773403514705956e-04,
+-3.93433587615536740044e-04,
+-3.35871990498167328609e-04,
+-2.78164005172315390892e-04,
+-2.20342712312250957329e-04,
+-1.62441231200158043299e-04,
+-1.04492700773580143945e-04,
+-4.65302606765986506319e-05,
+ 1.14129676744331286925e-05,
+ 6.93038999997214335376e-05,
+ 1.27109508029058849467e-04,
+ 1.84796838327256962358e-04,
+ 2.42333031062709627164e-04,
+ 2.99685338706966609285e-04,
+ 3.56821144656121883639e-04,
+ 4.13707981761937345928e-04,
+ 4.70313550763611239701e-04,
+ 5.26605738608316954405e-04,
+ 5.82552636651546872429e-04,
+ 6.38122558725952955180e-04,
+ 6.93284059068853498672e-04,
+ 7.48005950098214232938e-04,
+ 8.02257320027068118913e-04,
+ 8.56007550306428347843e-04,
+ 9.09226332886875140971e-04,
+ 9.61883687289077828758e-04,
+ 1.01394997747366656139e-03,
+ 1.06539592850096254475e-03,
+ 1.11619264297115245756e-03,
+ 1.16631161723606104411e-03,
+ 1.21572475737255643845e-03,
+ 1.26440439490956338907e-03,
+ 1.31232330229981257463e-03,
+ 1.35945470812689692131e-03,
+ 1.40577231203991388428e-03,
+ 1.45125029940738111550e-03,
+ 1.49586335568145547929e-03,
+ 1.53958668046561540123e-03,
+ 1.58239600127717565045e-03,
+ 1.62426758699731900969e-03,
+ 1.66517826100116947581e-03,
+ 1.70510541396065628053e-03,
+ 1.74402701631310862347e-03,
+ 1.78192163038870358960e-03,
+ 1.81876842219015340089e-03,
+ 1.85454717281811399567e-03,
+ 1.88923828953608337507e-03,
+ 1.92282281646894998711e-03,
+ 1.95528244492883035086e-03,
+ 1.98659952336315047752e-03,
+ 2.01675706691958021854e-03,
+ 2.04573876662207838895e-03,
+ 2.07352899815367369349e-03,
+ 2.10011283024123633634e-03,
+ 2.12547603263724084119e-03,
+ 2.14960508369503545609e-03,
+ 2.17248717753304627920e-03,
+ 2.19411023078435168249e-03,
+ 2.21446288892813546861e-03,
+ 2.23353453219959832005e-03,
+ 2.25131528107543575634e-03,
+ 2.26779600133197476938e-03,
+ 2.28296830867344077709e-03,
+ 2.29682457292811666866e-03,
+ 2.30935792181020602132e-03,
+ 2.32056224424581451771e-03,
+ 2.33043219326110580616e-03,
+ 2.33896318843187242878e-03,
+ 2.34615141789296230077e-03,
+ 2.35199383990705723768e-03,
+ 2.35648818399214129982e-03,
+ 2.35963295160742693446e-03,
+ 2.36142741639763483266e-03,
+ 2.36187162399587079545e-03,
+ 2.36096639138556364801e-03,
+ 2.35871330582219018365e-03,
+ 2.35511472331569049476e-03,
+ 2.35017376667488861117e-03,
+ 2.34389432311526155553e-03,
+ 2.33628104143192337830e-03,
+ 2.32733932873959879425e-03,
+ 2.31707534678196646130e-03,
+ 2.30549600781271638028e-03,
+ 2.29260897005103539067e-03,
+ 2.27842263271448887407e-03,
+ 2.26294613063242897391e-03,
+ 2.24618932844335367563e-03,
+ 2.22816281437991214193e-03,
+ 2.20887789364531414785e-03,
+ 2.18834658138542404587e-03,
+ 2.16658159526062063169e-03,
+ 2.14359634762239202599e-03,
+ 2.11940493729897636022e-03,
+ 2.09402214099534654534e-03,
+ 2.06746340431283176509e-03,
+ 2.03974483239339685059e-03,
+ 2.01088318019464239519e-03,
+ 1.98089584240138030097e-03,
+ 1.94980084297942022308e-03,
+ 1.91761682437821957652e-03,
+ 1.88436303638870564399e-03,
+ 1.85005932466290553585e-03,
+ 1.81472611890221816218e-03,
+ 1.77838442072136338791e-03,
+ 1.74105579119516714129e-03,
+ 1.70276233809558063745e-03,
+ 1.66352670282644788877e-03,
+ 1.62337204706380910935e-03,
+ 1.58232203910926546089e-03,
+ 1.54040083996521471633e-03,
+ 1.49763308913912528489e-03,
+ 1.45404389018587740061e-03,
+ 1.40965879599663345551e-03,
+ 1.36450379384215388784e-03,
+ 1.31860529018035092276e-03,
+ 1.27199009523587059159e-03,
+ 1.22468540736182600857e-03,
+ 1.17671879719162628813e-03,
+ 1.12811819159096510083e-03,
+ 1.07891185741895972300e-03,
+ 1.02912838510792908377e-03,
+ 9.78796672071337260299e-04,
+ 9.27945905949520053434e-04,
+ 8.76605547702895976370e-04,
+ 8.24805314562447990448e-04,
+ 7.72575162847333337356e-04,
+ 7.19945270659597320352e-04,
+ 6.66946020465617123510e-04,
+ 6.13607981575178514436e-04,
+ 5.59961892527424567705e-04,
+ 5.06038643393795593145e-04,
+ 4.51869258009022058478e-04,
+ 3.97484876139576502260e-04,
+ 3.42916735599798760004e-04,
+ 2.88196154326876910479e-04,
+ 2.33354512423656609626e-04,
+ 1.78423234180534077487e-04,
+ 1.23433770086348173567e-04,
+ 6.84175788386079240409e-05,
+ 1.34061093633470900020e-05,
+-4.15692171451308774711e-05,
+-9.64770251543709412689e-05,
+-1.51286002683524126340e-04,
+-2.05964919142553784092e-04,
+-2.60482643110675150724e-04,
+-3.14808160044301459275e-04,
+-3.68910589903529524333e-04,
+-4.22759204688063789518e-04,
+-4.76323445872630008881e-04,
+-5.29572941731087281150e-04,
+-5.82477524540275987987e-04,
+-6.35007247653846472989e-04,
+-6.87132402435543243602e-04,
+-7.38823535043645019879e-04,
+-7.90051463056118570549e-04,
+-8.40787291927532235911e-04,
+-8.91002431268342548823e-04,
+-9.40668610937454570224e-04,
+-9.89757896938941268347e-04,
+-1.03824270711407040668e-03,
+-1.08609582661974403764e-03,
+-1.13329042318477575535e-03,
+-1.17980006213536797732e-03,
+-1.22559872118147396639e-03,
+-1.27066080495571239080e-03,
+-1.31496115929677771621e-03,
+-1.35847508526934588474e-03,
+-1.40117835291272236839e-03,
+-1.44304721471052890651e-03,
+-1.48405841877397026707e-03,
+-1.52418922173162092390e-03,
+-1.56341740131789178406e-03,
+-1.60172126865418262831e-03,
+-1.63907968021530041879e-03,
+-1.67547204947450902382e-03,
+-1.71087835822147623158e-03,
+-1.74527916754618566374e-03,
+-1.77865562848291466208e-03,
+-1.81098949230900328755e-03,
+-1.84226312049221930059e-03,
+-1.87245949428157002978e-03,
+-1.90156222393633397329e-03,
+-1.92955555758831764739e-03,
+-1.95642438973256090409e-03,
+-1.98215426934193923725e-03,
+-2.00673140760134708499e-03,
+-2.03014268525729749126e-03,
+-2.05237565957906665723e-03,
+-2.07341857092785582239e-03,
+-2.09326034893013391766e-03,
+-2.11189061825244484699e-03,
+-2.12929970397441031132e-03,
+-2.14547863655709580497e-03,
+-2.16041915640460824299e-03,
+-2.17411371801621297953e-03,
+-2.18655549372708977660e-03,
+-2.19773837703605891963e-03,
+-2.20765698551850719430e-03,
+-2.21630666332326515741e-03,
+-2.22368348325234152507e-03,
+-2.22978424842263864281e-03,
+-2.23460649350903971591e-03,
+-2.23814848556852345751e-03,
+-2.24040922444509972219e-03,
+-2.24138844275575217432e-03,
+-2.24108660545765600580e-03,
+-2.23950490899731862252e-03,
+-2.23664528004239790415e-03,
+-2.23251037379732560767e-03,
+-2.22710357190395455765e-03,
+-2.22042897992885809519e-03,
+-2.21249142443891893065e-03,
+-2.20329644966735498784e-03,
+-2.19285031377223701976e-03,
+-2.18115998469021890940e-03,
+-2.16823313558786156391e-03,
+-2.15407813991372407841e-03,
+-2.13870406605424102225e-03,
+-2.12212067159678200237e-03,
+-2.10433839720351734126e-03,
+-2.08536836009985638782e-03,
+-2.06522234718151120880e-03,
+-2.04391280774443356502e-03,
+-2.02145284584207300324e-03,
+-1.99785621227463244462e-03,
+-1.97313729621508525403e-03,
+-1.94731111647731430260e-03,
+-1.92039331243139960170e-03,
+-1.89240013457138639766e-03,
+-1.86334843474168982726e-03,
+-1.83325565602760116347e-03,
+-1.80213982231590299880e-03,
+-1.77001952753231455231e-03,
+-1.73691392456148648374e-03,
+-1.70284271385666495340e-03,
+-1.66782613174552775577e-03,
+-1.63188493843921685576e-03,
+-1.59504040575159230717e-03,
+-1.55731430453603003801e-03,
+-1.51872889184707753063e-03,
+-1.47930689783463205529e-03,
+-1.43907151237822393368e-03,
+-1.39804637146942033893e-03,
+-1.35625554334995140730e-03,
+-1.31372351441438970504e-03,
+-1.27047517488496053938e-03,
+-1.22653580426682431471e-03,
+-1.18193105659301824634e-03,
+-1.13668694546695714549e-03,
+-1.09082982891158691320e-03,
+-1.04438639403357878127e-03,
+-9.97383641512322120098e-04,
+-9.49848869921641547967e-04,
+-9.01809659894115857315e-04,
+-8.53293858136809635351e-04,
+-8.04329561308134524146e-04,
+-7.54945099763940303053e-04,
+-7.05169021184243009770e-04,
+-6.55030074088056891990e-04,
+-6.04557191246998305335e-04,
+-5.53779473006872830811e-04,
+-5.02726170526861184003e-04,
+-4.51426668945984269337e-04,
+-3.99910470486500410799e-04,
+-3.48207177503949535848e-04,
+-2.96346475493580014358e-04,
+-2.44358116062887999707e-04,
+-1.92271899880109192792e-04,
+-1.40117659608033219131e-04,
+-8.79252428338516013985e-05,
+-3.57244950035476513677e-05,
+ 1.64547576285501491889e-05,
+ 6.85827250253236744533e-05,
+ 1.20629670358623862633e-04,
+ 1.72565926956682051847e-04,
+ 2.24361915197526828099e-04,
+ 2.75988159339660512649e-04,
+ 3.27415304279563739234e-04,
+ 3.78614132226878525450e-04,
+ 4.29555579287748767834e-04,
+ 4.80210751946913818114e-04,
+ 5.30550943439215389429e-04,
+ 5.80547650001254260735e-04,
+ 6.30172586994006268639e-04,
+ 6.79397704887282211095e-04,
+ 7.28195205096961932327e-04,
+ 7.76537555666397547385e-04,
+ 8.24397506782311470346e-04,
+ 8.71748106117578472167e-04,
+ 9.18562713991485446999e-04,
+ 9.64815018338932312708e-04,
+ 1.01047904948097389682e-03,
+ 1.05552919468725366070e-03,
+ 1.09994021252330666759e-03,
+ 1.14368724697360216180e-03,
+ 1.18674584133354179757e-03,
+ 1.22909195186185872875e-03,
+ 1.27070196118612760081e-03,
+ 1.31155269145389143971e-03,
+ 1.35162141722206191954e-03,
+ 1.39088587807745310380e-03,
+ 1.42932429098146206170e-03,
+ 1.46691536233205330891e-03,
+ 1.50363829973637033906e-03,
+ 1.53947282348746166021e-03,
+ 1.57439917773903939602e-03,
+ 1.60839814137149570566e-03,
+ 1.64145103854408192304e-03,
+ 1.67353974892666301950e-03,
+ 1.70464671760622052225e-03,
+ 1.73475496466189292762e-03,
+ 1.76384809440413852129e-03,
+ 1.79191030427224506048e-03,
+ 1.81892639338610754944e-03,
+ 1.84488177074716187820e-03,
+ 1.86976246308427976328e-03,
+ 1.89355512234033978962e-03,
+ 1.91624703279555906599e-03,
+ 1.93782611782377474016e-03,
+ 1.95828094627808731512e-03,
+ 1.97760073850255548022e-03,
+ 1.99577537196677290074e-03,
+ 2.01279538652043366379e-03,
+ 2.02865198926522683279e-03,
+ 2.04333705904144154533e-03,
+ 2.05684315052714027094e-03,
+ 2.06916349794801935486e-03,
+ 2.08029201839576892777e-03,
+ 2.09022331475368274706e-03,
+ 2.09895267822806817423e-03,
+ 2.10647609048419644576e-03,
+ 2.11279022538611149090e-03,
+ 2.11789245033947156824e-03,
+ 2.12178082723701432605e-03,
+ 2.12445411300643061461e-03,
+ 2.12591175976064054517e-03,
+ 2.12615391455073503985e-03,
+ 2.12518141872201785439e-03,
+ 2.12299580687382158026e-03,
+ 2.11959930542408034673e-03,
+ 2.11499483077969572045e-03,
+ 2.10918598711416641414e-03,
+ 2.10217706375393116602e-03,
+ 2.09397303217547263096e-03,
+ 2.08457954261486583247e-03,
+ 2.07400292029235070942e-03,
+ 2.06225016125420471461e-03,
+ 2.04932892783467367551e-03,
+ 2.03524754374076423044e-03,
+ 2.02001498876324889209e-03,
+ 2.00364089311688611111e-03,
+ 1.98613553141360494464e-03,
+ 1.96750981627234018331e-03,
+ 1.94777529156955181953e-03,
+ 1.92694412533416631859e-03,
+ 1.90502910229207360684e-03,
+ 1.88204361606385760751e-03,
+ 1.85800166102108787677e-03,
+ 1.83291782380585869562e-03,
+ 1.80680727451872601141e-03,
+ 1.77968575758040859630e-03,
+ 1.75156958227263453466e-03,
+ 1.72247561296389362258e-03,
+ 1.69242125902588661998e-03,
+ 1.66142446444668846067e-03,
+ 1.62950369714685090912e-03,
+ 1.59667793800455284220e-03,
+ 1.56296666959689989698e-03,
+ 1.52838986466322470682e-03,
+ 1.49296797429780258443e-03,
+ 1.45672191587891005325e-03,
+ 1.41967306074082186274e-03,
+ 1.38184322159656857235e-03,
+ 1.34325463971886609367e-03,
+ 1.30392997188612789518e-03,
+ 1.26389227710180132407e-03,
+ 1.22316500309457604385e-03,
+ 1.18177197260732505350e-03,
+ 1.13973736948289701074e-03,
+ 1.09708572455475997058e-03,
+ 1.05384190135080434668e-03,
+ 1.01003108161856368016e-03,
+ 9.65678750680322895046e-04,
+ 9.20810682626568323406e-04,
+ 8.75452925356471657603e-04,
+ 8.29631785473724093875e-04,
+ 7.83373813047290703040e-04,
+ 7.36705786244772238558e-04,
+ 6.89654695848395987885e-04,
+ 6.42247729661416769283e-04,
+ 5.94512256815164243616e-04,
+ 5.46475811984593212202e-04,
+ 4.98166079522630966640e-04,
+ 4.49610877521255665294e-04,
+ 4.00838141809322300816e-04,
+ 3.51875909896002484617e-04,
+ 3.02752304869100116388e-04,
+ 2.53495519257492917930e-04,
+ 2.04133798866942952959e-04,
+ 1.54695426598542049934e-04,
+ 1.05208706259043055812e-04,
+ 5.57019463723481029365e-05,
+ 6.20344400145258794332e-06,
+-4.32585314102668224909e-05,
+-9.26557541683200246944e-05,
+-1.41960058418968396079e-04,
+-1.91143354193288721741e-04,
+-2.40177643395536041327e-04,
+-2.89035035725425371294e-04,
+-3.37687764526517215750e-04,
+-3.86108202550481673879e-04,
+-4.34268877629523874194e-04,
+-4.82142488247218933394e-04,
+-5.29701918999288495597e-04,
+-5.76920255935507784832e-04,
+-6.23770801774083051734e-04,
+-6.70227090979901799633e-04,
+-7.16262904698151416615e-04,
+-7.61852285534880065317e-04,
+-8.06969552176199341267e-04,
+-8.51589313837822735331e-04,
+-8.95686484537168122258e-04,
+-9.39236297179238443025e-04,
+-9.82214317449158023227e-04,
+-1.02459645750355089928e-03,
+-1.06635898945237213818e-03,
+-1.10747855862441241769e-03,
+-1.14793219660866787669e-03,
+-1.18769733406468773300e-03,
+-1.22675181329402055441e-03,
+-1.26507390056672754976e-03,
+-1.30264229819540794213e-03,
+-1.33943615635037714499e-03,
+-1.37543508460907315874e-03,
+-1.41061916323427321250e-03,
+-1.44496895417330940836e-03,
+-1.47846551177379173514e-03,
+-1.51109039320902033797e-03,
+-1.54282566860766408127e-03,
+-1.57365393088206863802e-03,
+-1.60355830525010312551e-03,
+-1.63252245844455485396e-03,
+-1.66053060760636725206e-03,
+-1.68756752885559392630e-03,
+-1.71361856553621906898e-03,
+-1.73866963613010581773e-03,
+-1.76270724183600984401e-03,
+-1.78571847380921077363e-03,
+-1.80769102005840930254e-03,
+-1.82861317199587238881e-03,
+-1.84847383063749628497e-03,
+-1.86726251244936523530e-03,
+-1.88496935483824668706e-03,
+-1.90158512128234106521e-03,
+-1.91710120610045944671e-03,
+-1.93150963885675339658e-03,
+-1.94480308839885176336e-03,
+-1.95697486652746934985e-03,
+-1.96801893129561937881e-03,
+-1.97792988993586308158e-03,
+-1.98670300141425048082e-03,
+-1.99433417860976971991e-03,
+-2.00081999011835322613e-03,
+-2.00615766168074291520e-03,
+-2.01034507723373218405e-03,
+-2.01338077958435448037e-03,
+-2.01526397070713597648e-03,
+-2.01599451166439066346e-03,
+-2.01557292214997766863e-03,
+-2.01400037965709585719e-03,
+-2.01127871827083996512e-03,
+-2.00741042708658728663e-03,
+-2.00239864825537024207e-03,
+-1.99624717465765773305e-03,
+-1.98896044720722623214e-03,
+-1.98054355178687831532e-03,
+-1.97100221581815275573e-03,
+-1.96034280446718981242e-03,
+-1.94857231648931650270e-03,
+-1.93569837971491794798e-03,
+-1.92172924617953493238e-03,
+-1.90667378690126333891e-03,
+-1.89054148630866990580e-03,
+-1.87334243632268355843e-03,
+-1.85508733009632424509e-03,
+-1.83578745541577732087e-03,
+-1.81545468776724309642e-03,
+-1.79410148307337815980e-03,
+-1.77174087010420694757e-03,
+-1.74838644256665020488e-03,
+-1.72405235087792502863e-03,
+-1.69875329362731528234e-03,
+-1.67250450873173686292e-03,
+-1.64532176429031608451e-03,
+-1.61722134914345358134e-03,
+-1.58822006314201439985e-03,
+-1.55833520713242958296e-03,
+-1.52758457266367842983e-03,
+-1.49598643142224508110e-03,
+-1.46355952440134539153e-03,
+-1.43032305081079724740e-03,
+-1.39629665673392786875e-03,
+-1.36150042353874842389e-03,
+-1.32595485604938292078e-03,
+-1.28968087048560815441e-03,
+-1.25269978217663175389e-03,
+-1.21503329305731573931e-03,
+-1.17670347895322481742e-03,
+-1.13773277666287834717e-03,
+-1.09814397084380963379e-03,
+-1.05796018071076876506e-03,
+-1.01720484655352786697e-03,
+-9.75901716082224163044e-04,
+-9.34074830608162560291e-04,
+-8.91748511068093702332e-04,
+-8.48947343900121774093e-04,
+-8.05696166779400137388e-04,
+-7.62020054221886175734e-04,
+-7.17944303064517799773e-04,
+-6.73494417830223287419e-04,
+-6.28696095985875375196e-04,
+-5.83575213102809943477e-04,
+-5.38157807926610857671e-04,
+-4.92470067366625467893e-04,
+-4.46538311412741039091e-04,
+-4.00388977988523500975e-04,
+-3.54048607749048280420e-04,
+-3.07543828832976284295e-04,
+-2.60901341576534541618e-04,
+-2.14147903198978289919e-04,
+-1.67310312467942520764e-04,
+-1.20415394353891940199e-04,
+-7.34899846812865148926e-05,
+-2.65609147871840793706e-05,
+ 2.03450038059074316498e-05,
+ 6.72009946930133205637e-05,
+ 1.13980331857172184195e-04,
+ 1.60656354898604009258e-04,
+ 2.07202484214283008147e-04,
+ 2.53592236118117483629e-04,
+ 2.99799237895086720992e-04,
+ 3.45797242778839468078e-04,
+ 3.91560144845429106229e-04,
+ 4.37061993814294241171e-04,
+ 4.82277009748485958104e-04,
+ 5.27179597645008367682e-04,
+ 5.71744361908107438623e-04,
+ 6.15946120696525068264e-04,
+ 6.59759920136990252182e-04,
+ 7.03161048395523806745e-04,
+ 7.46125049599718473056e-04,
+ 7.88627737602340720367e-04,
+ 8.30645209580345455537e-04,
+ 8.72153859460560415377e-04,
+ 9.13130391164877785494e-04,
+ 9.53551831667496553602e-04,
+ 9.93395543856891161116e-04,
+ 1.03263923919528978652e-03,
+ 1.07126099016866677127e-03,
+ 1.10923924252022128127e-03,
+ 1.14655282726058328768e-03,
+ 1.18318097244805918271e-03,
+ 1.21910331473228323099e-03,
+ 1.25429991065521308224e-03,
+ 1.28875124770248187904e-03,
+ 1.32243825509993726680e-03,
+ 1.35534231434853292934e-03,
+ 1.38744526949258163359e-03,
+ 1.41872943711487042515e-03,
+ 1.44917761605398002535e-03,
+ 1.47877309683764539099e-03,
+ 1.50749967082781347223e-03,
+ 1.53534163907186548513e-03,
+ 1.56228382085535594075e-03,
+ 1.58831156195163563510e-03,
+ 1.61341074256387195449e-03,
+ 1.63756778495518346382e-03,
+ 1.66076966076276837624e-03,
+ 1.68300389799214892943e-03,
+ 1.70425858768773869599e-03,
+ 1.72452239027620483382e-03,
+ 1.74378454157939760671e-03,
+ 1.76203485849330421936e-03,
+ 1.77926374433060529266e-03,
+ 1.79546219382350027462e-03,
+ 1.81062179778474288683e-03,
+ 1.82473474742401477189e-03,
+ 1.83779383831785469647e-03,
+ 1.84979247403080490283e-03,
+ 1.86072466938634346195e-03,
+ 1.87058505338575297924e-03,
+ 1.87936887177368445838e-03,
+ 1.88707198924914281921e-03,
+ 1.89369089132102150393e-03,
+ 1.89922268580736391258e-03,
+ 1.90366510397775167036e-03,
+ 1.90701650133855821721e-03,
+ 1.90927585806080512588e-03,
+ 1.91044277905074734968e-03,
+ 1.91051749366339122978e-03,
+ 1.90950085505942339544e-03,
+ 1.90739433920622124437e-03,
+ 1.90420004352378135701e-03,
+ 1.89992068517663812051e-03,
+ 1.89455959901305625789e-03,
+ 1.88812073515295573110e-03,
+ 1.88060865622618881600e-03,
+ 1.87202853426315300560e-03,
+ 1.86238614723965899625e-03,
+ 1.85168787527840192179e-03,
+ 1.83994069650947789270e-03,
+ 1.82715218259254900957e-03,
+ 1.81333049390355882657e-03,
+ 1.79848437438895314942e-03,
+ 1.78262314609068240993e-03,
+ 1.76575670334532712838e-03,
+ 1.74789550666099805648e-03,
+ 1.72905057627572287561e-03,
+ 1.70923348540114126287e-03,
+ 1.68845635315613591676e-03,
+ 1.66673183719381174349e-03,
+ 1.64407312602717807851e-03,
+ 1.62049393105762528852e-03,
+ 1.59600847831119999759e-03,
+ 1.57063149988747046033e-03,
+ 1.54437822512650262292e-03,
+ 1.51726437149865382714e-03,
+ 1.48930613522309045725e-03,
+ 1.46052018162035729919e-03,
+ 1.43092363520500552576e-03,
+ 1.40053406952348629723e-03,
+ 1.36936949674445118327e-03,
+ 1.33744835700646668569e-03,
+ 1.30478950753013271321e-03,
+ 1.27141221150076761358e-03,
+ 1.23733612672830939165e-03,
+ 1.20258129409077482892e-03,
+ 1.16716812576892663492e-03,
+ 1.13111739327765117337e-03,
+ 1.09445021530241268400e-03,
+ 1.05718804534711313843e-03,
+ 1.01935265920083785798e-03,
+ 9.80966142230535508365e-04,
+ 9.42050876507689177730e-04,
+ 9.02629527775573197758e-04,
+ 8.62725032265359496712e-04,
+ 8.22360583368397595437e-04,
+ 7.81559618172762574431e-04,
+ 7.40345803871171343619e-04,
+ 6.98743024048840326648e-04,
+ 6.56775364859214197573e-04,
+ 6.14467101094864410517e-04,
+ 5.71842682162310611722e-04,
+ 5.28926717968548746641e-04,
+ 4.85743964727467576921e-04,
+ 4.42319310694356789340e-04,
+ 3.98677761836690037860e-04,
+ 3.54844427449443563551e-04,
+ 3.10844505723203393555e-04,
+ 2.66703269273363180372e-04,
+ 2.22446050638747323033e-04,
+ 1.78098227757677587350e-04,
+ 1.33685209430572742549e-04,
+ 8.92324207763590298084e-05,
+ 4.47652886917426873583e-05,
+ 3.09227321650505732558e-07,
+-4.41103764515531808835e-05,
+-8.84681774910541152872e-05,
+-1.32738886852529214266e-04,
+-1.76897286187552060842e-04,
+-2.20918242094528819363e-04,
+-2.64776720409321865164e-04,
+-3.08447800427395421845e-04,
+-3.51906689049402091746e-04,
+-3.95128734842202674043e-04,
+-4.38089442007342469865e-04,
+-4.80764484249080186352e-04,
+-5.23129718534129112967e-04,
+-5.65161198735287346670e-04,
+-6.06835189151545676724e-04,
+-6.48128177896318104570e-04,
+-6.89016890147269131690e-04,
+-7.29478301249281038503e-04,
+-7.69489649664180678720e-04,
+-8.09028449758908115366e-04,
+-8.48072504425961999630e-04,
+-8.86599917528026388626e-04,
+-9.24589106160850367731e-04,
+-9.62018812726749862618e-04,
+-9.98868116812330619769e-04,
+-1.03511644686372960081e-03,
+-1.07074359165286784289e-03,
+-1.10572971152834206160e-03,
+-1.14005534944471237715e-03,
+-1.17370144176403299122e-03,
+-1.20664932882368503703e-03,
+-1.23888076526462546922e-03,
+-1.27037793011433868158e-03,
+-1.30112343661913792969e-03,
+-1.33110034181987751598e-03,
+-1.36029215586637268476e-03,
+-1.38868285106535536630e-03,
+-1.41625687065657750174e-03,
+-1.44299913731265943770e-03,
+-1.46889506135814513696e-03,
+-1.49393054870271117275e-03,
+-1.51809200848501517356e-03,
+-1.54136636042246982434e-03,
+-1.56374104186323185060e-03,
+-1.58520401453656292236e-03,
+-1.60574377099796661295e-03,
+-1.62534934076566579299e-03,
+-1.64401029614518693484e-03,
+-1.66171675773892622320e-03,
+-1.67845939963788895466e-03,
+-1.69422945429279826236e-03,
+-1.70901871706225839433e-03,
+-1.72281955043516879847e-03,
+-1.73562488792599364622e-03,
+-1.74742823764018669758e-03,
+-1.75822368550844964838e-03,
+-1.76800589818810072879e-03,
+-1.77677012563024231892e-03,
+-1.78451220331139900031e-03,
+-1.79122855412879207482e-03,
+-1.79691618995835998736e-03,
+-1.80157271287491316247e-03,
+-1.80519631603399109167e-03,
+-1.80778578421531151664e-03,
+-1.80934049402758445960e-03,
+-1.80986041377503045595e-03,
+-1.80934610298588618299e-03,
+-1.80779871160341876896e-03,
+-1.80521997884027364349e-03,
+-1.80161223169698209157e-03,
+-1.79697838314586038136e-03,
+-1.79132192998154664808e-03,
+-1.78464695033966652855e-03,
+-1.77695810088541257706e-03,
+-1.76826061367380709712e-03,
+-1.75856029268379684440e-03,
+-1.74786351002833607871e-03,
+-1.73617720184306720613e-03,
+-1.72350886385598295499e-03,
+-1.70986654664103516175e-03,
+-1.69525885055866825345e-03,
+-1.67969492038625377826e-03,
+-1.66318443964190258721e-03,
+-1.64573762460525812104e-03,
+-1.62736521803862185451e-03,
+-1.60807848261251156753e-03,
+-1.58788919403957031612e-03,
+-1.56680963392096320175e-03,
+-1.54485258230964710331e-03,
+-1.52203130999494277119e-03,
+-1.49835957051309000103e-03,
+-1.47385159188855594317e-03,
+-1.44852206811105200211e-03,
+-1.42238615035335702781e-03,
+-1.39545943793505230687e-03,
+-1.36775796903791223985e-03,
+-1.33929821117795126197e-03,
+-1.31009705144011874209e-03,
+-1.28017178648149091390e-03,
+-1.24954011230838865631e-03,
+-1.21822011383393023938e-03,
+-1.18623025422220701106e-03,
+-1.15358936402481875548e-03,
+-1.12031663011664538339e-03,
+-1.08643158443716956497e-03,
+-1.05195409254393249660e-03,
+-1.01690434198485049264e-03,
+-9.81302830496187097550e-04,
+-9.45170354033052825121e-04,
+-9.08527994639429640512e-04,
+-8.71397108164778015985e-04,
+-8.33799311834413085960e-04,
+-7.95756471680627718197e-04,
+-7.57290689842498644137e-04,
+-7.18424291740831638675e-04,
+-6.79179813136611995432e-04,
+-6.39579987079505734443e-04,
+-5.99647730754900086352e-04,
+-5.59406132236475598166e-04,
+-5.18878437151933970262e-04,
+-4.78088035270234697639e-04,
+-4.37058447017129952060e-04,
+-3.95813309927481478661e-04,
+-3.54376365041849988782e-04,
+-3.12771443255252100824e-04,
+-2.71022451625898674193e-04,
+-2.29153359651793514821e-04,
+-1.87188185523051535668e-04,
+-1.45150982357815703074e-04,
+-1.03065824429653753224e-04,
+-6.09567933943611181980e-05,
+-1.88479645237432815287e-05,
+ 2.32366070450612883841e-05,
+ 6.52729000375716606440e-05,
+ 1.07236940739442618243e-04,
+ 1.49104816654926491124e-04,
+ 1.90852690119197040226e-04,
+ 2.32456811856789096653e-04,
+ 2.73893534477760703088e-04,
+ 3.15139325904901243872e-04,
+ 3.56170782723636393866e-04,
+ 3.96964643447348004834e-04,
+ 4.37497801690561933553e-04,
+ 4.77747319242539513363e-04,
+ 5.17690439033898983090e-04,
+ 5.57304597988927475152e-04,
+ 5.96567439756349820155e-04,
+ 6.35456827311364227072e-04,
+ 6.73950855421827322786e-04,
+ 7.12027862971859829694e-04,
+ 7.49666445135031877037e-04,
+ 7.86845465391861000233e-04,
+ 8.23544067383306889127e-04,
+ 8.59741686594572016369e-04,
+ 8.95418061862311427494e-04,
+ 9.30553246699131696683e-04,
+ 9.65127620428410772438e-04,
+ 9.99121899124090018587e-04,
+ 1.03251714634870848247e-03,
+ 1.06529478368399947198e-03,
+ 1.09743660104794104639e-03,
+ 1.12892476679308227140e-03,
+ 1.15974183757998469332e-03,
+ 1.18987076802038013908e-03,
+ 1.21929492008520171109e-03,
+ 1.24799807227183364583e-03,
+ 1.27596442852571370294e-03,
+ 1.30317862691138467227e-03,
+ 1.32962574802824510904e-03,
+ 1.35529132316640921890e-03,
+ 1.38016134219821656921e-03,
+ 1.40422226120109406612e-03,
+ 1.42746100980768492357e-03,
+ 1.44986499827917236088e-03,
+ 1.47142212429823100381e-03,
+ 1.49212077947745262729e-03,
+ 1.51194985558042080918e-03,
+ 1.53089875045162937886e-03,
+ 1.54895737365219089698e-03,
+ 1.56611615179862813038e-03,
+ 1.58236603360162059878e-03,
+ 1.59769849460209630194e-03,
+ 1.61210554160250824594e-03,
+ 1.62557971679072794415e-03,
+ 1.63811410155455141995e-03,
+ 1.64970231998493792151e-03,
+ 1.66033854206613972274e-03,
+ 1.67001748655128297305e-03,
+ 1.67873442352191011920e-03,
+ 1.68648517663034331823e-03,
+ 1.69326612502385489591e-03,
+ 1.69907420494976057514e-03,
+ 1.70390691104087862832e-03,
+ 1.70776229728072394785e-03,
+ 1.71063897764836807952e-03,
+ 1.71253612644269893883e-03,
+ 1.71345347828618104098e-03,
+ 1.71339132780851089409e-03,
+ 1.71235052901041605485e-03,
+ 1.71033249430839581935e-03,
+ 1.70733919326115121499e-03,
+ 1.70337315097866446277e-03,
+ 1.69843744621518731933e-03,
+ 1.69253570914738513120e-03,
+ 1.68567211883928003494e-03,
+ 1.67785140039562329257e-03,
+ 1.66907882180561645095e-03,
+ 1.65936019047902743109e-03,
+ 1.64870184947697967330e-03,
+ 1.63711067343976380412e-03,
+ 1.62459406421430947211e-03,
+ 1.61115994618396237217e-03,
+ 1.59681676130369741735e-03,
+ 1.58157346384365333700e-03,
+ 1.56543951484419598813e-03,
+ 1.54842487628618539174e-03,
+ 1.53054000497979212497e-03,
+ 1.51179584617556041562e-03,
+ 1.49220382690190903063e-03,
+ 1.47177584903268165312e-03,
+ 1.45052428208925355928e-03,
+ 1.42846195578139154199e-03,
+ 1.40560215229139080610e-03,
+ 1.38195859830608975584e-03,
+ 1.35754545680155853417e-03,
+ 1.33237731858531225151e-03,
+ 1.30646919360115246027e-03,
+ 1.27983650200173999789e-03,
+ 1.25249506499428768340e-03,
+ 1.22446109546453757271e-03,
+ 1.19575118838507522302e-03,
+ 1.16638231101316865689e-03,
+ 1.13637179288388632040e-03,
+ 1.10573731560490210422e-03,
+ 1.07449690245847175561e-03,
+ 1.04266890781677537894e-03,
+ 1.01027200637724160967e-03,
+ 9.77325182223491746580e-04,
+ 9.43847717718836014267e-04,
+ 9.09859182238561756129e-04,
+ 8.75379420747673811856e-04,
+ 8.40428542230697460044e-04,
+ 8.05026907980306420144e-04,
+ 7.69195119751593810696e-04,
+ 7.32954007788833667922e-04,
+ 6.96324618731728513937e-04,
+ 6.59328203408161448926e-04,
+ 6.21986204520240414974e-04,
+ 5.84320244231672147536e-04,
+ 5.46352111662109520517e-04,
+ 5.08103750297240336353e-04,
+ 4.69597245320941603965e-04,
+ 4.30854810877143471967e-04,
+ 3.91898777268710394022e-04,
+ 3.52751578100453573074e-04,
+ 3.13435737374358550089e-04,
+ 2.73973856543509894194e-04,
+ 2.34388601532805235282e-04,
+ 1.94702689733898895181e-04,
+ 1.54938876981224293557e-04,
+ 1.15119944517208389599e-04,
+ 7.52686859541390425104e-05,
+ 3.54078942394808599795e-05,
+-4.43965136725644293991e-06,
+-4.42511982989445055948e-05,
+-8.40040336590952227153e-05,
+-1.23675497166556415483e-04,
+-1.63242994059274422816e-04,
+-2.02684007949782501144e-04,
+-2.41976113625108971150e-04,
+-2.81096989783838162574e-04,
+-3.20024431703046653274e-04,
+-3.58736363828217243860e-04,
+-3.97210852278301535575e-04,
+-4.35426117259783847756e-04,
+-4.73360545382079051305e-04,
+-5.10992701867309432294e-04,
+-5.48301342648169556804e-04,
+-5.85265426346414513459e-04,
+-6.21864126125226549316e-04,
+-6.58076841409443590199e-04,
+-6.93883209466395465582e-04,
+-7.29263116841149562630e-04,
+-7.64196710639690078223e-04,
+-7.98664409653720487083e-04,
+-8.32646915320844871987e-04,
+-8.66125222514040646153e-04,
+-8.99080630154340944109e-04,
+-9.31494751640883481870e-04,
+-9.63349525092406142567e-04,
+-9.94627223394778684981e-04,
+-1.02531046404839951310e-03,
+-1.05538221881074458820e-03,
+-1.08482582312822528441e-03,
+-1.11362498535213291090e-03,
+-1.14176379573408177427e-03,
+-1.16922673519527877718e-03,
+-1.19599868386546836010e-03,
+-1.22206492938624691758e-03,
+-1.24741117497479086888e-03,
+-1.27202354724320165595e-03,
+-1.29588860376930693416e-03,
+-1.31899334041485176428e-03,
+-1.34132519838702510620e-03,
+-1.36287207103959304329e-03,
+-1.38362231040987894090e-03,
+-1.40356473348816814667e-03,
+-1.42268862821608036220e-03,
+-1.44098375921079607451e-03,
+-1.45844037321212166396e-03,
+-1.47504920424929150333e-03,
+-1.49080147852505740143e-03,
+-1.50568891901449236279e-03,
+-1.51970374977587058263e-03,
+-1.53283869997163850300e-03,
+-1.54508700759743169105e-03,
+-1.55644242291698388023e-03,
+-1.56689921160158636589e-03,
+-1.57645215757227954816e-03,
+-1.58509656554349596252e-03,
+-1.59282826326696629569e-03,
+-1.59964360347482673595e-03,
+-1.60553946552108848557e-03,
+-1.61051325672077034167e-03,
+-1.61456291338620840613e-03,
+-1.61768690156018470419e-03,
+-1.61988421744570839506e-03,
+-1.62115438753249706261e-03,
+-1.62149746842027214430e-03,
+-1.62091404633929480651e-03,
+-1.61940523636864598667e-03,
+-1.61697268135293863688e-03,
+-1.61361855051833538548e-03,
+-1.60934553778894714506e-03,
+-1.60415685980480290408e-03,
+-1.59805625364277783043e-03,
+-1.59104797424202554224e-03,
+-1.58313679153566032841e-03,
+-1.57432798729054113616e-03,
+-1.56462735165729103538e-03,
+-1.55404117943255706651e-03,
+-1.54257626603623507200e-03,
+-1.53023990320586564598e-03,
+-1.51703987441107932509e-03,
+-1.50298444999091796934e-03,
+-1.48808238201701193738e-03,
+-1.47234289888582359565e-03,
+-1.45577569964323665606e-03,
+-1.43839094804500198903e-03,
+-1.42019926635660867151e-03,
+-1.40121172889639514399e-03,
+-1.38143985532579059369e-03,
+-1.36089560369062070010e-03,
+-1.33959136321799648049e-03,
+-1.31753994687265748795e-03,
+-1.29475458367754288694e-03,
+-1.27124891080319826590e-03,
+-1.24703696543038513624e-03,
+-1.22213317639110834699e-03,
+-1.19655235559304484218e-03,
+-1.17030968923203648052e-03,
+-1.14342072879827219220e-03,
+-1.11590138188130184350e-03,
+-1.08776790277930086870e-03,
+-1.05903688291816215454e-03,
+-1.02972524108603069419e-03,
+-9.99850213489021427335e-04,
+-9.69429343633939504844e-04,
+-9.38480472043964680448e-04,
+-9.07021725813329186133e-04,
+-8.75071508006883031112e-04,
+-8.42648486911279294594e-04,
+-8.09771585143337466368e-04,
+-7.76459968622407611070e-04,
+-7.42733035413201104179e-04,
+-7.08610404445038041289e-04,
+-6.74111904114616314332e-04,
+-6.39257560778936587825e-04,
+-6.04067587144468801964e-04,
+-5.68562370559859918927e-04,
+-5.32762461218706014771e-04,
+-4.96688560279258763987e-04,
+-4.60361507907912782377e-04,
+-4.23802271253376780860e-04,
+-3.87031932358470730920e-04,
+-3.50071676016493139785e-04,
+-3.12942777579159074532e-04,
+-2.75666590723110279098e-04,
+-2.38264535182076194354e-04,
+-2.00758084451451004676e-04,
+-1.63168753473010485957e-04,
+-1.25518086305888461329e-04,
+-8.78276437918047763126e-05,
+-5.01189912206633324926e-05,
+-1.24136860045527507159e-05,
+ 2.52667346337536352944e-05,
+ 6.29007659498319457100e-05,
+ 1.00466947938114190518e-04,
+ 1.37943877556209900086e-04,
+ 1.75310220906359231921e-04,
+ 2.12544725367042178004e-04,
+ 2.49626231667856310695e-04,
+ 2.86533685900810760391e-04,
+ 3.23246151461219666419e-04,
+ 3.59742820911436455861e-04,
+ 3.96003027760712372068e-04,
+ 4.32006258154472920323e-04,
+ 4.67732162466665663501e-04,
+ 5.03160566788037619604e-04,
+ 5.38271484304469029561e-04,
+ 5.73045126558938025356e-04,
+ 6.07461914590199476491e-04,
+ 6.41502489942463185145e-04,
+ 6.75147725539870118862e-04,
+ 7.08378736419115317274e-04,
+ 7.41176890315008965633e-04,
+ 7.73523818092431607665e-04,
+ 8.05401424019106036527e-04,
+ 8.36791895873423112462e-04,
+ 8.67677714881635517297e-04,
+ 8.98041665478958536263e-04,
+ 9.27866844889067626453e-04,
+ 9.57136672516743498666e-04,
+ 9.85834899148405139485e-04,
+ 1.01394561595543404760e-03,
+ 1.04145326329548363296e-03,
+ 1.06834263930647441546e-03,
+ 1.09459890828899372543e-03,
+ 1.12020760887248218077e-03,
+ 1.14515466196026915839e-03,
+ 1.16942637844957234711e-03,
+ 1.19300946672199316770e-03,
+ 1.21589103990064808375e-03,
+ 1.23805862286953697812e-03,
+ 1.25950015905194477768e-03,
+ 1.28020401694373142133e-03,
+ 1.30015899639822005152e-03,
+ 1.31935433465907368637e-03,
+ 1.33777971213847393650e-03,
+ 1.35542525793661992536e-03,
+ 1.37228155510049436815e-03,
+ 1.38833964561861015856e-03,
+ 1.40359103514923078820e-03,
+ 1.41802769747961950574e-03,
+ 1.43164207871396926761e-03,
+ 1.44442710118785071390e-03,
+ 1.45637616710717282889e-03,
+ 1.46748316190982897207e-03,
+ 1.47774245734831524007e-03,
+ 1.48714891429181411860e-03,
+ 1.49569788524642525128e-03,
+ 1.50338521659217202661e-03,
+ 1.51020725053600747730e-03,
+ 1.51616082677973940986e-03,
+ 1.52124328390220494439e-03,
+ 1.52545246045525904888e-03,
+ 1.52878669577304190583e-03,
+ 1.53124483049437549141e-03,
+ 1.53282620679826551459e-03,
+ 1.53353066835256834737e-03,
+ 1.53335855997613302801e-03,
+ 1.53231072701479021855e-03,
+ 1.53038851443190564161e-03,
+ 1.52759376561413247157e-03,
+ 1.52392882089336643460e-03,
+ 1.51939651578598348275e-03,
+ 1.51400017895056589190e-03,
+ 1.50774362986558999739e-03,
+ 1.50063117622853013297e-03,
+ 1.49266761107828566796e-03,
+ 1.48385820964260146428e-03,
+ 1.47420872591265969889e-03,
+ 1.46372538894702294843e-03,
+ 1.45241489890715028306e-03,
+ 1.44028442282717193852e-03,
+ 1.42734159012037307990e-03,
+ 1.41359448782537428478e-03,
+ 1.39905165559475546354e-03,
+ 1.38372208042934524870e-03,
+ 1.36761519116132632817e-03,
+ 1.35074085268957954850e-03,
+ 1.33310935997071780372e-03,
+ 1.31473143176951009180e-03,
+ 1.29561820417240587851e-03,
+ 1.27578122386814139279e-03,
+ 1.25523244119940383980e-03,
+ 1.23398420298978994322e-03,
+ 1.21204924515017141255e-03,
+ 1.18944068506927815715e-03,
+ 1.16617201379247414916e-03,
+ 1.14225708799397369063e-03,
+ 1.11771012174662520873e-03,
+ 1.09254567809480241866e-03,
+ 1.06677866043477544145e-03,
+ 1.04042430370825892544e-03,
+ 1.01349816541371835939e-03,
+ 9.86016116441160682393e-04,
+ 9.57994331735642526242e-04,
+ 9.29449280794978792072e-04,
+ 9.00397718007248429838e-04,
+ 8.70856672833736898155e-04,
+ 8.40843439843083260109e-04,
+ 8.10375568602425999827e-04,
+ 7.79470853431471315254e-04,
+ 7.48147323025479091436e-04,
+ 7.16423229952991972615e-04,
+ 6.84317040034933634675e-04,
+ 6.51847421610750755311e-04,
+ 6.19033234697776140604e-04,
+ 5.85893520050684464551e-04,
+ 5.52447488126856715678e-04,
+ 5.18714507964034747881e-04,
+ 4.84714095977265707355e-04,
+ 4.50465904680799719868e-04,
+ 4.15989711342059980889e-04,
+ 3.81305406573980180604e-04,
+ 3.46432982872289069957e-04,
+ 3.11392523104614979499e-04,
+ 2.76204188957184101297e-04,
+ 2.40888209347176124927e-04,
+ 2.05464868805964193327e-04,
+ 1.69954495840752130374e-04,
+ 1.34377451281002371951e-04,
+ 9.87541166164100474301e-05,
+ 6.31048823327933465369e-05,
+ 2.74501362534655310964e-05,
+-8.18974810873998083655e-06,
+-4.37944231806596304514e-05,
+-7.93435789334627901382e-05,
+-1.14816954455838874283e-04,
+-1.50194349489415440680e-04,
+-1.85455635919215376531e-04,
+-2.20580769213464333118e-04,
+-2.55549799805626501933e-04,
+-2.90342884412502183315e-04,
+-3.24940297281641648271e-04,
+-3.59322441362583172488e-04,
+-3.93469859394135197499e-04,
+-4.27363244902898627587e-04,
+-4.60983453105939474694e-04,
+-4.94311511711763339541e-04,
+-5.27328631613451729448e-04,
+-5.60016217467949450198e-04,
+-5.92355878155555572520e-04,
+-6.24329437113732110647e-04,
+-6.55918942539445706461e-04,
+-6.87106677454311985491e-04,
+-7.17875169626881314694e-04,
+-7.48207201346719435846e-04,
+-7.78085819044304792189e-04,
+-8.07494342752076792701e-04,
+-8.36416375400828135574e-04,
+-8.64835811946538645517e-04,
+-8.92736848322267452678e-04,
+-9.20103990210890628799e-04,
+-9.46922061632605917975e-04,
+-9.73176213343664533485e-04,
+-9.98851931040956823177e-04,
+-1.02393504336819934561e-03,
+-1.04841172971923139896e-03,
+-1.07226852783420443203e-03,
+-1.09549234118443920144e-03,
+-1.11807044614193923544e-03,
+-1.13999049892964587558e-03,
+-1.16124054234865384944e-03,
+-1.18180901227872168710e-03,
+-1.20168474394853771157e-03,
+-1.22085697797251154818e-03,
+-1.23931536615045907561e-03,
+-1.25704997702758545543e-03,
+-1.27405130121131457410e-03,
+-1.29031025644257271376e-03,
+-1.30581819241839158958e-03,
+-1.32056689536371330701e-03,
+-1.33454859234959002240e-03,
+-1.34775595535592540575e-03,
+-1.36018210507637331112e-03,
+-1.37182061446355658269e-03,
+-1.38266551201276610521e-03,
+-1.39271128478253266095e-03,
+-1.40195288115051316068e-03,
+-1.41038571330337893055e-03,
+-1.41800565945951256505e-03,
+-1.42480906582346297101e-03,
+-1.43079274827126803893e-03,
+-1.43595399376592503145e-03,
+-1.44029056150241801561e-03,
+-1.44380068378189055887e-03,
+-1.44648306661469805943e-03,
+-1.44833689005223324210e-03,
+-1.44936180824753674604e-03,
+-1.44955794924493913504e-03,
+-1.44892591449903443759e-03,
+-1.44746677812355745846e-03,
+-1.44518208587075661954e-03,
+-1.44207385384213272739e-03,
+-1.43814456693148930849e-03,
+-1.43339717700140213338e-03,
+-1.42783510079440463525e-03,
+-1.42146221758030649220e-03,
+-1.41428286654118624127e-03,
+-1.40630184389584447259e-03,
+-1.39752439976549721300e-03,
+-1.38795623478277815703e-03,
+-1.37760349644625219347e-03,
+-1.36647277522266587767e-03,
+-1.35457110039932790077e-03,
+-1.34190593568940877423e-03,
+-1.32848517459267919869e-03,
+-1.31431713551467539529e-03,
+-1.29941055664714501944e-03,
+-1.28377459061317523298e-03,
+-1.26741879887994307423e-03,
+-1.25035314594268138870e-03,
+-1.23258799328333345374e-03,
+-1.21413409310764655244e-03,
+-1.19500258186405750038e-03,
+-1.17520497354900595698e-03,
+-1.15475315280194222242e-03,
+-1.13365936779458078426e-03,
+-1.11193622291853085743e-03,
+-1.08959667127568366092e-03,
+-1.06665400697560715411e-03,
+-1.04312185724514980105e-03,
+-1.01901417435390105257e-03,
+-9.94345227361283657413e-04,
+-9.69129593689562135808e-04,
+-9.43382150527953696438e-04,
+-9.17118066072678981768e-04,
+-8.90352790608596130796e-04,
+-8.63102047436990239826e-04,
+-8.35381823655337134304e-04,
+-8.07208360794198893050e-04,
+-7.78598145316998046898e-04,
+-7.49567898987517377586e-04,
+-7.20134569111909820377e-04,
+-6.90315318659743713467e-04,
+-6.60127516270525181372e-04,
+-6.29588726151278908240e-04,
+-5.98716697871097070296e-04,
+-5.67529356058555788274e-04,
+-5.36044790008002544103e-04,
+-5.04281243200707597792e-04,
+-4.72257102746954785574e-04,
+-4.39990888755171366542e-04,
+-4.07501243634276436468e-04,
+-3.74806921335187493566e-04,
+-3.41926776538259847692e-04,
+-3.08879753792126179272e-04,
+-2.75684876610755174881e-04,
+-2.42361236534725988821e-04,
+-2.08927982163283266397e-04,
+-1.75404308162909107092e-04,
+-1.41809444259267161117e-04,
+-1.08162644218829444537e-04,
+-7.44831748259327543465e-05,
+-4.07903048621291604812e-05,
+-7.10329409388432176530e-06,
+ 2.65586177250463047000e-05,
+ 6.01762218302914552804e-05,
+ 9.37303513963725428056e-05,
+ 1.27201892452491753700e-04,
+ 1.60571794759468988462e-04,
+ 1.93821082639647593359e-04,
+ 2.26930865755815396869e-04,
+ 2.59882349831586946780e-04,
+ 2.92656847307690018770e-04,
+ 3.25235787928080961190e-04,
+ 3.57600729249660839303e-04,
+ 3.89733367070243196494e-04,
+ 4.21615545768098812836e-04,
+ 4.53229268547830762767e-04,
+ 4.84556707586572316029e-04,
+ 5.15580214074757778309e-04,
+ 5.46282328146297608759e-04,
+ 5.76645788691256379679e-04,
+ 6.06653543047546025234e-04,
+ 6.36288756564360792091e-04,
+ 6.65534822032997838703e-04,
+ 6.94375368979479354152e-04,
+ 7.22794272813854533910e-04,
+ 7.50775663831016056536e-04,
+ 7.78303936058092520403e-04,
+ 8.05363755943419535807e-04,
+ 8.31940070882321368144e-04,
+ 8.58018117574883202973e-04,
+ 8.83583430211330928851e-04,
+ 9.08621848479962369513e-04,
+ 9.33119525393878300641e-04,
+ 9.57062934931689960998e-04,
+ 9.80438879488230432754e-04,
+ 1.00323449713107977488e-03,
+ 1.02543726865899926387e-03,
+ 1.04703502445835567626e-03,
+ 1.06801595115381007736e-03,
+ 1.08836859804968565969e-03,
+ 1.10808188335835252139e-03,
+ 1.12714510021262159095e-03,
+ 1.14554792245836578428e-03,
+ 1.16328041022489597940e-03,
+ 1.18033301526926739412e-03,
+ 1.19669658609257542788e-03,
+ 1.21236237282488557888e-03,
+ 1.22732203187633261143e-03,
+ 1.24156763035219172911e-03,
+ 1.25509165022920821282e-03,
+ 1.26788699229131874430e-03,
+ 1.27994697982256044888e-03,
+ 1.29126536205536050946e-03,
+ 1.30183631737235691941e-03,
+ 1.31165445626020235083e-03,
+ 1.32071482401390893208e-03,
+ 1.32901290319023448333e-03,
+ 1.33654461580914787205e-03,
+ 1.34330632530221187430e-03,
+ 1.34929483820697367936e-03,
+ 1.35450740560668671242e-03,
+ 1.35894172431470653187e-03,
+ 1.36259593780313340884e-03,
+ 1.36546863687537654505e-03,
+ 1.36755886008250635531e-03,
+ 1.36886609388332716047e-03,
+ 1.36939027254837260295e-03,
+ 1.36913177780802522952e-03,
+ 1.36809143824524986725e-03,
+ 1.36627052843346185988e-03,
+ 1.36367076782027457811e-03,
+ 1.36029431935798012128e-03,
+ 1.35614378788172988514e-03,
+ 1.35122221823664079472e-03,
+ 1.34553309315501787302e-03,
+ 1.33908033088521731709e-03,
+ 1.33186828257363392043e-03,
+ 1.32390172940159678815e-03,
+ 1.31518587947901410308e-03,
+ 1.30572636449661312261e-03,
+ 1.29552923613923372595e-03,
+ 1.28460096226200824743e-03,
+ 1.27294842283218667331e-03,
+ 1.26057890563882179363e-03,
+ 1.24750010177327374725e-03,
+ 1.23372010088306036796e-03,
+ 1.21924738620211555243e-03,
+ 1.20409082936042593007e-03,
+ 1.18825968497621972837e-03,
+ 1.17176358503399751995e-03,
+ 1.15461253305178279151e-03,
+ 1.13681689804116217886e-03,
+ 1.11838740826359175386e-03,
+ 1.09933514478704010865e-03,
+ 1.07967153484642012021e-03,
+ 1.05940834501207096011e-03,
+ 1.03855767417023879713e-03,
+ 1.01713194631976918542e-03,
+ 9.95143903189260560158e-04,
+ 9.72606596679090784803e-04,
+ 9.49533381132751461845e-04,
+ 9.25937905442090168628e-04,
+ 9.01834104991060562725e-04,
+ 8.77236193442972891042e-04,
+ 8.52158654375306323994e-04,
+ 8.26616232768399242931e-04,
+ 8.00623926351481181481e-04,
+ 7.74196976812098437357e-04,
+ 7.47350860873750573281e-04,
+ 7.20101281246932219647e-04,
+ 6.92464157459100611118e-04,
+ 6.64455616568401037821e-04,
+ 6.36091983767215129672e-04,
+ 6.07389772880511497576e-04,
+ 5.78365676764722234753e-04,
+ 5.49036557612754723412e-04,
+ 5.19419437170334677249e-04,
+ 4.89531486870367453512e-04,
+ 4.59390017889853828105e-04,
+ 4.29012471135610442413e-04,
+ 3.98416407164879030761e-04,
+ 3.67619496046182284588e-04,
+ 3.36639507166480267224e-04,
+ 3.05494298990473505794e-04,
+ 2.74201808777935912304e-04,
+ 2.42780042265004216643e-04,
+ 2.11247063315343980641e-04,
+ 1.79620983547136846585e-04,
+ 1.47919951941878261405e-04,
+ 1.16162144440711673481e-04,
+ 8.43657535348246083538e-05,
+ 5.25489778551051491483e-05,
+ 2.07300117675779430298e-05,
+-1.10729650196668325771e-05,
+-4.28417978320822792019e-05,
+-7.45583673808965783410e-05,
+-1.06204600086071425293e-04,
+-1.37762478364149087246e-04,
+-1.69214050874914927148e-04,
+-2.00541442721614891851e-04,
+-2.31726865598118244574e-04,
+-2.62752627878274269604e-04,
+-2.93601144640412165671e-04,
+-3.24254947622835021804e-04,
+-3.54696695103594577137e-04,
+-3.84909181699200184275e-04,
+-4.14875348077196936039e-04,
+-4.44578290576414924141e-04,
+-4.74001270730014352076e-04,
+-5.03127724685752076780e-04,
+-5.31941272518206861690e-04,
+-5.60425727427743720910e-04,
+-5.88565104821016545078e-04,
+-6.16343631268131183359e-04,
+-6.43745753330938032602e-04,
+-6.70756146258231328826e-04,
+-6.97359722542432612299e-04,
+-7.23541640333268576586e-04,
+-7.49287311703654272145e-04,
+-7.74582410763238315282e-04,
+-7.99412881615075860547e-04,
+-8.23764946151039185139e-04,
+-8.47625111681623221935e-04,
+-8.70980178395970995424e-04,
+-8.93817246647941095888e-04,
+-9.16123724064377706680e-04,
+-9.37887332471280203011e-04,
+-9.59096114634606271634e-04,
+-9.79738440811607448275e-04,
+-9.99803015109290834847e-04,
+-1.01927888164651272128e-03,
+-1.03815543051633853155e-03,
+-1.05642240354548912901e-03,
+-1.07406989984759745557e-03,
+-1.09108838116762723279e-03,
+-1.10746867701414018585e-03,
+-1.12320198957698577993e-03,
+-1.13827989842765417428e-03,
+-1.15269436499997502028e-03,
+-1.16643773684832734866e-03,
+-1.17950275168172556868e-03,
+-1.19188254117136706138e-03,
+-1.20357063452954798910e-03,
+-1.21456096185834725582e-03,
+-1.22484785726622159678e-03,
+-1.23442606175099434812e-03,
+-1.24329072584775926144e-03,
+-1.25143741204040113979e-03,
+-1.25886209693559965317e-03,
+-1.26556117319820459269e-03,
+-1.27153145124719456523e-03,
+-1.27677016071131685555e-03,
+-1.28127495164393639428e-03,
+-1.28504389549651746975e-03,
+-1.28807548585040771913e-03,
+-1.29036863890675851559e-03,
+-1.29192269373445381593e-03,
+-1.29273741227616803182e-03,
+-1.29281297911274461153e-03,
+-1.29215000098622341193e-03,
+-1.29074950608205050485e-03,
+-1.28861294307102769788e-03,
+-1.28574217991181470426e-03,
+-1.28213950241485154062e-03,
+-1.27780761256874805798e-03,
+-1.27274962663027619951e-03,
+-1.26696907297930137261e-03,
+-1.26046988974006066338e-03,
+-1.25325642217039056117e-03,
+-1.24533341982049493464e-03,
+-1.23670603346324884178e-03,
+-1.22737981179783643172e-03,
+-1.21736069792890478670e-03,
+-1.20665502562341490217e-03,
+-1.19526951534740743209e-03,
+-1.18321127008547502014e-03,
+-1.17048777094514431553e-03,
+-1.15710687254899267061e-03,
+-1.14307679821747196908e-03,
+-1.12840613494519497600e-03,
+-1.11310382817380736260e-03,
+-1.09717917636461301072e-03,
+-1.08064182537422016558e-03,
+-1.06350176263660047178e-03,
+-1.04576931115505939590e-03,
+-1.02745512330771390092e-03,
+-1.00857017447020984660e-03,
+-9.89125756459348273036e-04,
+-9.69133470801857087144e-04,
+-9.48605221831876478482e-04,
+-9.27553209621573911299e-04,
+-9.05989922748946536341e-04,
+-8.83928130907113245029e-04,
+-8.61380877359472856523e-04,
+-8.38361471245136369995e-04,
+-8.14883479739194086997e-04,
+-7.90960720072537894904e-04,
+-7.66607251415539741463e-04,
+-7.41837366630958413780e-04,
+-7.16665583900111865384e-04,
+-6.91106638228288503237e-04,
+-6.65175472833141076361e-04,
+-6.38887230421945938666e-04,
+-6.12257244362626436643e-04,
+-5.85301029753312320944e-04,
+-5.58034274396206606862e-04,
+-5.30472829680567778236e-04,
+-5.02632701380270412693e-04,
+-4.74530040371252698900e-04,
+-4.46181133274236403283e-04,
+-4.17602393028139700758e-04,
+-3.88810349399469656114e-04,
+-3.59821639433645487551e-04,
+-3.30652997853107073409e-04,
+-3.01321247408244021881e-04,
+-2.71843289186502834551e-04,
+-2.42236092885274642951e-04,
+-2.12516687054165319707e-04,
+-1.82702149312243965380e-04,
+-1.52809596545888838484e-04,
+-1.22856175092848034355e-04,
+-9.28590509181383036126e-05,
+-6.28353997874044387486e-05,
+-3.28023974433953014970e-05,
+-2.77720979095154411141e-06,
+ 2.72230169033535440140e-05,
+ 5.71811657920477271538e-05,
+ 8.70801592019578094960e-05,
+ 1.16902968358433966434e-04,
+ 1.46632623073032026736e-04,
+ 1.76252221389186882524e-04,
+ 2.05744939180186014712e-04,
+ 2.35094039694530468169e-04,
+ 2.64282883042567088867e-04,
+ 2.93294935619551385558e-04,
+ 3.22113779459532194229e-04,
+ 3.50723121515214011305e-04,
+ 3.79106802857572401221e-04,
+ 4.07248807791192634405e-04,
+ 4.35133272879688717035e-04,
+ 4.62744495875839806538e-04,
+ 4.90066944551884237959e-04,
+ 5.17085265424790572163e-04,
+ 5.43784292371653644321e-04,
+ 5.70149055130390425110e-04,
+ 5.96164787680977456552e-04,
+ 6.21816936502533586587e-04,
+ 6.47091168701626482176e-04,
+ 6.71973380007443560867e-04,
+ 6.96449702628909074476e-04,
+ 7.20506512970012593690e-04,
+ 7.44130439198579488221e-04,
+ 7.67308368664491478525e-04,
+ 7.90027455163207908972e-04,
+ 8.12275126040571966018e-04,
+ 8.34039089134997737793e-04,
+ 8.55307339553189088961e-04,
+ 8.76068166275680644713e-04,
+ 8.96310158588609247332e-04,
+ 9.16022212337969966855e-04,
+ 9.35193536003619163739e-04,
+ 9.53813656588502287864e-04,
+ 9.71872425321206783247e-04,
+ 9.89360023167912576089e-04,
+ 1.00626696615104373536e-03,
+ 1.02258411047174220705e-03,
+ 1.03830265743327931904e-03,
+ 1.05341415816306632411e-03,
+ 1.06791051813036243917e-03,
+ 1.08178400145754450255e-03,
+ 1.09502723502257035167e-03,
+ 1.10763321235048616507e-03,
+ 1.11959529729188916186e-03,
+ 1.13090722748666861440e-03,
+ 1.14156311761065294014e-03,
+ 1.15155746240435427445e-03,
+ 1.16088513948151006439e-03,
+ 1.16954141191641532681e-03,
+ 1.17752193060865497330e-03,
+ 1.18482273642408174330e-03,
+ 1.19144026211101582494e-03,
+ 1.19737133399079663347e-03,
+ 1.20261317342187467987e-03,
+ 1.20716339803685892770e-03,
+ 1.21102002275194891440e-03,
+ 1.21418146054847906831e-03,
+ 1.21664652302620073833e-03,
+ 1.21841442072828740756e-03,
+ 1.21948476323806070595e-03,
+ 1.21985755904754564205e-03,
+ 1.21953321519817120717e-03,
+ 1.21851253669401512168e-03,
+ 1.21679672568812116337e-03,
+ 1.21438738044255738029e-03,
+ 1.21128649406303441106e-03,
+ 1.20749645300896710394e-03,
+ 1.20302003538006298602e-03,
+ 1.19786040898056927312e-03,
+ 1.19202112916260414589e-03,
+ 1.18550613644981912495e-03,
+ 1.17831975394308238227e-03,
+ 1.17046668450985027511e-03,
+ 1.16195200775891173579e-03,
+ 1.15278117680258848643e-03,
+ 1.14296001480831705549e-03,
+ 1.13249471134179986558e-03,
+ 1.12139181850401392637e-03,
+ 1.10965824686446259441e-03,
+ 1.09730126119316579933e-03,
+ 1.08432847599404177941e-03,
+ 1.07074785084228674831e-03,
+ 1.05656768552886740596e-03,
+ 1.04179661501472100617e-03,
+ 1.02644360419797825434e-03,
+ 1.01051794249726128137e-03,
+ 9.94029238254327297819e-04,
+ 9.76987412959428496231e-04,
+ 9.59402695302853094836e-04,
+ 9.41285615056165433402e-04,
+ 9.22646996786851249575e-04,
+ 9.03497953410057892502e-04,
+ 8.83849879581315145925e-04,
+ 8.63714444933994722302e-04,
+ 8.43103587165879497442e-04,
+ 8.22029504978451252585e-04,
+ 8.00504650873420757484e-04,
+ 7.78541723810587853530e-04,
+ 7.56153661731407702139e-04,
+ 7.33353633952590140861e-04,
+ 7.10155033434391397620e-04,
+ 6.86571468927704795654e-04,
+ 6.62616757005092820061e-04,
+ 6.38304913980008450068e-04,
+ 6.13650147719164789327e-04,
+ 5.88666849352420377441e-04,
+ 5.63369584885875388305e-04,
+ 5.37773086722076747342e-04,
+ 5.11892245092671863312e-04,
+ 4.85742099408737208668e-04,
+ 4.59337829533421374787e-04,
+ 4.32694746982132956003e-04,
+ 4.05828286055327270860e-04,
+ 3.78753994909039224618e-04,
+ 3.51487526568311297540e-04,
+ 3.24044629888701042706e-04,
+ 2.96441140471124468109e-04,
+ 2.68692971535064537448e-04,
+ 2.40816104755891792965e-04,
+ 2.12826581070915530529e-04,
+ 1.84740491459934620937e-04,
+ 1.56573967705388389718e-04,
+ 1.28343173137436734367e-04,
+ 1.00064293369274724200e-04,
+ 7.17535270279865756201e-05,
+ 4.34270764862388947451e-05,
+ 1.51011386001131606149e-05,
+-1.32081045416696524620e-05,
+-4.14844948516519899375e-05,
+-6.97119074558447989051e-05,
+-9.78742598787180241452e-05,
+-1.25955521195249200029e-04,
+-1.53939721145969320030e-04,
+-1.81810959208852370795e-04,
+-2.09553413623342002373e-04,
+-2.37151350361132772252e-04,
+-2.64589132039119191708e-04,
+-2.91851226768812584828e-04,
+-3.18922216937715912854e-04,
+-3.45786807917504923019e-04,
+-3.72429836694131806071e-04,
+-3.98836280414924259936e-04,
+-4.24991264848284251536e-04,
+-4.50880072750091832195e-04,
+-4.76488152133843997395e-04,
+-5.01801124438317467692e-04,
+-5.26804792589028771099e-04,
+-5.51485148948722817865e-04,
+-5.75828383152479162180e-04,
+-5.99820889823062712923e-04,
+-6.23449276162207780341e-04,
+-6.46700369413619538528e-04,
+-6.69561224193530326286e-04,
+-6.92019129684716838985e-04,
+-7.14061616690151953514e-04,
+-7.35676464541983651108e-04,
+-7.56851707862541919249e-04,
+-7.77575643173267975865e-04,
+-7.97836835348055277602e-04,
+-8.17624123907448297453e-04,
+-8.36926629150230058478e-04,
+-8.55733758119046612582e-04,
+-8.74035210396826049359e-04,
+-8.91820983730703649786e-04,
+-9.09081379480705491225e-04,
+-9.25807007889788277297e-04,
+-9.41988793172909236878e-04,
+-9.57617978421671824096e-04,
+-9.72686130322748202653e-04,
+-9.87185143686923052483e-04,
+-1.00110724578650659398e-03,
+-1.01444500049902323544e-03,
+-1.02719131225463187161e-03,
+-1.03933942978544770035e-03,
+-1.05088294967471814964e-03,
+-1.06181581970400955479e-03,
+-1.07213234199665663482e-03,
+-1.08182717595588814667e-03,
+-1.09089534099611235214e-03,
+-1.09933221906604130548e-03,
+-1.10713355696224189685e-03,
+-1.11429546843220921015e-03,
+-1.12081443606577282543e-03,
+-1.12668731297399537551e-03,
+-1.13191132425482891832e-03,
+-1.13648406824482742922e-03,
+-1.14040351755644074963e-03,
+-1.14366801990044438496e-03,
+-1.14627629869328028812e-03,
+-1.14822745344909417364e-03,
+-1.14952095995648801048e-03,
+-1.15015667024007182777e-03,
+-1.15013481230698852258e-03,
+-1.14945598967880415094e-03,
+-1.14812118070920518922e-03,
+-1.14613173768805766059e-03,
+-1.14348938573257991221e-03,
+-1.14019622146641639096e-03,
+-1.13625471148757692386e-03,
+-1.13166769062629166132e-03,
+-1.12643835999398341310e-03,
+-1.12057028482466340680e-03,
+-1.11406739211015104116e-03,
+-1.10693396803060797873e-03,
+-1.09917465518223384131e-03,
+-1.09079444960363011567e-03,
+-1.08179869760285343912e-03,
+-1.07219309238717466423e-03,
+-1.06198367049757311231e-03,
+-1.05117680805022224028e-03,
+-1.03977921678728496210e-03,
+-1.02779793993942468629e-03,
+-1.01524034790259534006e-03,
+-1.00211413373173349912e-03,
+-9.88427308454093486029e-04,
+-9.74188196205089573972e-04,
+-9.59405429189479725879e-04,
+-9.44087942471171881302e-04,
+-9.28244968594481583042e-04,
+-9.11886032040267347637e-04,
+-8.95020943520216660794e-04,
+-8.77659794112658803340e-04,
+-8.59812949243432501564e-04,
+-8.41491042515366753467e-04,
+-8.22704969390060901480e-04,
+-8.03465880725650455872e-04,
+-7.83785176174564036933e-04,
+-7.63674497444838786334e-04,
+-7.43145721429159210325e-04,
+-7.22210953206033133382e-04,
+-7.00882518916405724239e-04,
+-6.79172958520581071529e-04,
+-6.57095018439407888011e-04,
+-6.34661644084213061485e-04,
+-6.11885972279487986777e-04,
+-5.88781323583261557639e-04,
+-5.65361194509265800601e-04,
+-5.41639249655565977945e-04,
+-5.17629313744230818220e-04,
+-4.93345363576712316218e-04,
+-4.68801519909265351684e-04,
+-4.44012039254113445412e-04,
+-4.18991305609581871604e-04,
+-3.93753822125390276140e-04,
+-3.68314202707166818418e-04,
+-3.42687163565271075971e-04,
+-3.16887514712763855660e-04,
+-2.90930151417445159289e-04,
+-2.64830045612876889462e-04,
+-2.38602237273343473298e-04,
+-2.12261825757707105287e-04,
+-1.85823961127170580662e-04,
+-1.59303835441746181271e-04,
+-1.32716674040886725835e-04,
+-1.06077726812662281766e-04,
+-7.94022594569434886792e-05,
+-5.27055447474102572785e-05,
+-2.60028537974079832656e-05,
+ 6.90552665357526391948e-07,
+ 2.73594330103061967382e-05,
+ 5.39885733967170351332e-05,
+ 8.05627964425661594961e-05,
+ 1.07066969865010061308e-04,
+ 1.33486015086968664006e-04,
+ 1.59804915805331028064e-04,
+ 1.86008726516105670021e-04,
+ 2.12082580990773740320e-04,
+ 2.38011700700330354344e-04,
+ 2.63781403181116572490e-04,
+ 2.89377110338554649482e-04,
+ 3.14784356683413138554e-04,
+ 3.39988797496425883184e-04,
+ 3.64976216916463994978e-04,
+ 3.89732535947750265582e-04,
+ 4.14243820381606571868e-04,
+ 4.38496288628281076592e-04,
+ 4.62476319454435203307e-04,
+ 4.86170459622126181851e-04,
+ 5.09565431424569481242e-04,
+ 5.32648140115051980069e-04,
+ 5.55405681224405362376e-04,
+ 5.77825347763134713856e-04,
+ 5.99894637304163990538e-04,
+ 6.21601258942250942466e-04,
+ 6.42933140126212003714e-04,
+ 6.63878433360159405340e-04,
+ 6.84425522770043840912e-04,
+ 7.04563030531877763050e-04,
+ 7.24279823158044638691e-04,
+ 7.43565017638393201127e-04,
+ 7.62407987432378152909e-04,
+ 7.80798368309418419284e-04,
+ 7.98726064033930863682e-04,
+ 8.16181251892069835503e-04,
+ 8.33154388057122906319e-04,
+ 8.49636212790671986259e-04,
+ 8.65617755476581307410e-04,
+ 8.81090339485367181512e-04,
+ 8.96045586865937618293e-04,
+ 9.10475422862473118477e-04,
+ 9.24372080253872034986e-04,
+ 9.37728103513655198570e-04,
+ 9.50536352787640661209e-04,
+ 9.62790007687844002875e-04,
+ 9.74482570900335833865e-04,
+ 9.85607871605071426957e-04,
+ 9.96160068706062381411e-04,
+ 1.00613365387018584458e-03,
+ 1.01552345437301723939e-03,
+ 1.02432463575029123783e-03,
+ 1.03253270425362076584e-03,
+ 1.04014350910924206067e-03,
+ 1.04715324457870439731e-03,
+ 1.05355845182046950481e-03,
+ 1.05935602055159754607e-03,
+ 1.06454319050862085752e-03,
+ 1.06911755270714466277e-03,
+ 1.07307705049946027105e-03,
+ 1.07641998042986067850e-03,
+ 1.07914499288730056890e-03,
+ 1.08125109255521835092e-03,
+ 1.08273763865848467007e-03,
+ 1.08360434500746525242e-03,
+ 1.08385127983937892479e-03,
+ 1.08347886545726241128e-03,
+ 1.08248787766686694993e-03,
+ 1.08087944501203837150e-03,
+ 1.07865504780918649262e-03,
+ 1.07581651698158585126e-03,
+ 1.07236603269432462238e-03,
+ 1.06830612279092259861e-03,
+ 1.06363966103263283235e-03,
+ 1.05836986514164428132e-03,
+ 1.05250029464946915324e-03,
+ 1.04603484855193525419e-03,
+ 1.03897776277230035648e-03,
+ 1.03133360743408474848e-03,
+ 1.02310728394540504521e-03,
+ 1.01430402189651124034e-03,
+ 1.00492937577281401564e-03,
+ 9.94989221484924961370e-04,
+ 9.84489752718325020209e-04,
+ 9.73437477104688721023e-04,
+ 9.61839212217239581185e-04,
+ 9.49702081392630992861e-04,
+ 9.37033509381853305618e-04,
+ 9.23841217832837061606e-04,
+ 9.10133220607474814970e-04,
+ 8.95917818935899651529e-04,
+ 8.81203596410921950570e-04,
+ 8.65999413825665684263e-04,
+ 8.50314403857379305478e-04,
+ 8.34157965600880913111e-04,
+ 8.17539758954521347464e-04,
+ 8.00469698862303906568e-04,
+ 7.82957949415445273941e-04,
+ 7.65014917816926143072e-04,
+ 7.46651248212579373396e-04,
+ 7.27877815392361849668e-04,
+ 7.08705718365645193080e-04,
+ 6.89146273814000625765e-04,
+ 6.69211009425744215821e-04,
+ 6.48911657115913286138e-04,
+ 6.28260146135471188311e-04,
+ 6.07268596074486536641e-04,
+ 5.85949309762400622446e-04,
+ 5.64314766070410454152e-04,
+ 5.42377612619488803404e-04,
+ 5.20150658398866173708e-04,
+ 4.97646866298883240425e-04,
+ 4.74879345562723338432e-04,
+ 4.51861344161378882325e-04,
+ 4.28606241096286539726e-04,
+ 4.05127538634095468555e-04,
+ 3.81438854478096842863e-04,
+ 3.57553913880674515205e-04,
+ 3.33486541701773307050e-04,
+ 3.09250654417399727884e-04,
+ 2.84860252083193681537e-04,
+ 2.60329410257538723227e-04,
+ 2.35672271888895488046e-04,
+ 2.10903039172021308919e-04,
+ 1.86035965377764900275e-04,
+ 1.61085346661131244934e-04,
+ 1.36065513852313800395e-04,
+ 1.10990824235409179101e-04,
+ 8.58756533195474008359e-05,
+ 6.07343866069771497630e-05,
+ 3.55814113632548241332e-05,
+ 1.04311083936491137648e-05,
+-1.47021561691009029690e-05,
+-3.98040390611660384779e-05,
+-6.48602280634465855726e-05,
+-8.98564501522054298295e-05,
+-1.14778479619700933784e-04,
+-1.39612146160650535745e-04,
+-1.64343342919338251907e-04,
+-1.88958034493250977151e-04,
+-2.13442264888526227673e-04,
+-2.37782165422681623619e-04,
+-2.61963962570504571396e-04,
+-2.85973985747828166135e-04,
+-3.09798675029788052153e-04,
+-3.33424588798768176210e-04,
+-3.56838411317501760876e-04,
+-3.80026960223441392147e-04,
+-4.02977193940015090100e-04,
+-4.25676219000628282361e-04,
+-4.48111297281314371974e-04,
+-4.70269853137984079287e-04,
+-4.92139480444267647663e-04,
+-5.13707949526006615523e-04,
+-5.34963213988673739162e-04,
+-5.55893417433529703382e-04,
+-5.76486900059300605252e-04,
+-5.96732205145306224443e-04,
+-6.16618085412612730242e-04,
+-6.36133509259657436812e-04,
+-6.55267666868877677634e-04,
+-6.74009976180998601758e-04,
+-6.92350088733664401595e-04,
+-7.10277895361227803138e-04,
+-7.27783531752448681514e-04,
+-7.44857383863318112810e-04,
+-7.61490093181871590539e-04,
+-7.77672561841829005844e-04,
+-7.93395957582958798182e-04,
+-8.08651718554891877494e-04,
+-8.23431557962021757127e-04,
+-8.37727468546858129381e-04,
+-8.51531726909685537062e-04,
+-8.64836897661822056639e-04,
+-8.77635837410563617207e-04,
+-8.89921698573554803210e-04,
+-9.01687933020594461521e-04,
+-9.12928295540940920420e-04,
+-9.23636847134304576554e-04,
+-9.33807958123846902805e-04,
+-9.43436311089422422263e-04,
+-9.52516903619767376157e-04,
+-9.61045050882069389411e-04,
+-9.69016388007670759208e-04,
+-9.76426872292704612667e-04,
+-9.83272785212578647254e-04,
+-9.89550734249325901482e-04,
+-9.95257654530941207952e-04,
+-1.00039081028195663871e-03,
+-1.00494779608456845030e-03,
+-1.00892653794981169979e-03,
+-1.01232529419831556589e-03,
+-1.01514265615029741774e-03,
+-1.01737754862461565394e-03,
+-1.01902923024675272530e-03,
+-1.02009729356571554777e-03,
+-1.02058166497997625417e-03,
+-1.02048260447267446181e-03,
+-1.01980070515639048741e-03,
+-1.01853689262794660890e-03,
+-1.01669242413375375544e-03,
+-1.01426888754638775715e-03,
+-1.01126820015312980997e-03,
+-1.00769260725730729240e-03,
+-1.00354468059351414899e-03,
+-9.98827316557644555306e-04,
+-9.93543734253049580854e-04,
+-9.87697473353981499761e-04,
+-9.81292391787839295494e-04,
+-9.74332663237617449883e-04,
+-9.66822774466185295462e-04,
+-9.58767522464084383411e-04,
+-9.50172011422648630022e-04,
+-9.41041649534305781055e-04,
+-9.31382145622106083493e-04,
+-9.21199505600451087374e-04,
+-9.10500028769397197308e-04,
+-8.99290303944565551711e-04,
+-8.87577205425210550085e-04,
+-8.75367888802800289162e-04,
+-8.62669786612691802744e-04,
+-8.49490603831530729194e-04,
+-8.35838313223061083780e-04,
+-8.21721150535182709787e-04,
+-8.07147609551117617942e-04,
+-7.92126436997654084955e-04,
+-7.76666627313488014232e-04,
+-7.60777417280939101916e-04,
+-7.44468280523723365504e-04,
+-7.27748921874987655251e-04,
+-7.10629271617923522104e-04,
+-6.93119479603028368700e-04,
+-6.75229909245266381526e-04,
+-6.56971131404673501161e-04,
+-6.38353918154137712354e-04,
+-6.19389236437722294319e-04,
+-6.00088241623651132139e-04,
+-5.80462270955458170714e-04,
+-5.60522836905225714695e-04,
+-5.40281620432863491331e-04,
+-5.19750464155060228240e-04,
+-4.98941365428588355299e-04,
+-4.77866469351204028841e-04,
+-4.56538061684547645785e-04,
+-4.34968561703376289593e-04,
+-4.13170514974962768510e-04,
+-3.91156586073003096314e-04,
+-3.68939551230221718554e-04,
+-3.46532290933948842939e-04,
+-3.23947782468940600423e-04,
+-3.01199092411757270073e-04,
+-2.78299369081070745603e-04,
+-2.55261834948078349290e-04,
+-2.32099779011821834730e-04,
+-2.08826549143248190420e-04,
+-1.85455544402832308909e-04,
+-1.62000207336008043239e-04,
+-1.38474016250865456347e-04,
+-1.14890477482541928256e-04,
+-9.12631176487416705644e-05,
+-6.76054759008182519671e-05,
+-4.39310961748295172825e-05,
+-2.02535194471571128164e-05,
+ 3.41372400124625000704e-06,
+ 2.70571223073466086593e-05,
+ 5.06631897304295544804e-05,
+ 7.42184743349819369285e-05,
+ 9.77095656468657952631e-05,
+ 1.21123102278798669873e-04,
+ 1.44445779520586308278e-04,
+ 1.67664356890219484351e-04,
+ 1.90765665640995252163e-04,
+ 2.13736616220833977771e-04,
+ 2.36564205679401197901e-04,
+ 2.59235525018876972973e-04,
+ 2.81737766484226406522e-04,
+ 3.04058230788827618760e-04,
+ 3.26184334271549601202e-04,
+ 3.48103615980852423070e-04,
+ 3.69803744682461728397e-04,
+ 3.91272525786277706496e-04,
+ 4.12497908188799451267e-04,
+ 4.33467991027201371770e-04,
+ 4.54171030341281908426e-04,
+ 4.74595445639567638761e-04,
+ 4.94729826365895158924e-04,
+ 5.14562938262885013335e-04,
+ 5.34083729628744225196e-04,
+ 5.53281337463915729412e-04,
+ 5.72145093504289737989e-04,
+ 5.90664530137289503671e-04,
+ 6.08829386198019386657e-04,
+ 6.26629612641936822176e-04,
+ 6.44055378091031721643e-04,
+ 6.61097074250476457111e-04,
+ 6.77745321192732130128e-04,
+ 6.93990972506254143876e-04,
+ 7.09825120305858456998e-04,
+ 7.25239100102302775876e-04,
+ 7.40224495528040305620e-04,
+ 7.54773142916835191284e-04,
+ 7.68877135734856572910e-04,
+ 7.82528828860328353779e-04,
+ 7.95720842710183188552e-04,
+ 8.08446067210845170301e-04,
+ 8.20697665611487049177e-04,
+ 8.32469078137362318050e-04,
+ 8.43754025481521134980e-04,
+ 8.54546512132969143805e-04,
+ 8.64840829539518206326e-04,
+ 8.74631559103689298733e-04,
+ 8.83913575010109465319e-04,
+ 8.92682046882942626005e-04,
+ 9.00932442271964615751e-04,
+ 9.08660528966120082696e-04,
+ 9.15862377133194608195e-04,
+ 9.22534361284796920223e-04,
+ 9.28673162065495115362e-04,
+ 9.34275767865342418421e-04,
+ 9.39339476254983990131e-04,
+ 9.43861895242741424407e-04,
+ 9.47840944353070817725e-04,
+ 9.51274855525978185397e-04,
+ 9.54162173837028583338e-04,
+ 9.56501758037713121358e-04,
+ 9.58292780916003973483e-04,
+ 9.59534729477142054460e-04,
+ 9.60227404944570409398e-04,
+ 9.60370922581348226629e-04,
+ 9.59965711332194985249e-04,
+ 9.59012513286591154055e-04,
+ 9.57512382963391348902e-04,
+ 9.55466686417531189252e-04,
+ 9.52877100169494421419e-04,
+ 9.49745609958331992936e-04,
+ 9.46074509319091115633e-04,
+ 9.41866397985661216001e-04,
+ 9.37124180120078799534e-04,
+ 9.31851062369440700205e-04,
+ 9.26050551751833660001e-04,
+ 9.19726453372463970473e-04,
+ 9.12882867971548752663e-04,
+ 9.05524189305535872827e-04,
+ 8.97655101363274135137e-04,
+ 8.89280575418887665219e-04,
+ 8.80405866923194158763e-04,
+ 8.71036512235576058406e-04,
+ 8.61178325198361390401e-04,
+ 8.50837393555776847279e-04,
+ 8.40020075219696923594e-04,
+ 8.28732994384399467708e-04,
+ 8.16983037492857960653e-04,
+ 8.04777349056774379821e-04,
+ 7.92123327333073561259e-04,
+ 7.79028619859369530695e-04,
+ 7.65501118851119729744e-04,
+ 7.51548956463218408713e-04,
+ 7.37180499918858086333e-04,
+ 7.22404346508583494919e-04,
+ 7.07229318462486390359e-04,
+ 6.91664457698695713146e-04,
+ 6.75719020451036778314e-04,
+ 6.59402471779397571228e-04,
+ 6.42724479965596788740e-04,
+ 6.25694910798709228936e-04,
+ 6.08323821752458095656e-04,
+ 5.90621456058646517734e-04,
+ 5.72598236680009584250e-04,
+ 5.54264760185757283245e-04,
+ 5.35631790533803520474e-04,
+ 5.16710252763027825043e-04,
+ 4.97511226599373773682e-04,
+ 4.78045939979498718704e-04,
+ 4.58325762495759227340e-04,
+ 4.38362198766371338136e-04,
+ 4.18166881734467700462e-04,
+ 3.97751565900299880723e-04,
+ 3.77128120490046988070e-04,
+ 3.56308522565547207937e-04,
+ 3.35304850078806907388e-04,
+ 3.14129274875331928468e-04,
+ 2.92794055650324276316e-04,
+ 2.71311530861826331624e-04,
+ 2.49694111604887615530e-04,
+ 2.27954274450881122505e-04,
+ 2.06104554256081410344e-04,
+ 1.84157536943679384566e-04,
+ 1.62125852263222448597e-04,
+ 1.40022166532036894350e-04,
+ 1.17859175362270858218e-04,
+ 9.56495963781261012088e-05,
+ 7.34061619272917469060e-05,
+ 5.11416117907757448134e-05,
+ 2.88686858953092775838e-05,
+ 6.60011703245474962544e-06,
+-1.56513764112641267506e-05,
+-3.78730977094623622752e-05,
+-6.00523790315616779367e-05,
+-8.21765886552515715992e-05,
+-1.04233138151800156347e-04,
+-1.26209489539367793924e-04,
+-1.48093162401345972059e-04,
+-1.69871740964736657117e-04,
+-1.91532881135268300563e-04,
+-2.13064317484699505389e-04,
+-2.34453870186744113427e-04,
+-2.55689451897549299090e-04,
+-2.76759074576870677410e-04,
+-2.97650856246099086537e-04,
+-3.18353027679335392423e-04,
+-3.38853939023753682018e-04,
+-3.59142066345504676773e-04,
+-3.79206018097636495413e-04,
+-3.99034541506046805132e-04,
+-4.18616528870369446116e-04,
+-4.37941023775921783445e-04,
+-4.56997227213373118440e-04,
+-4.75774503602719464699e-04,
+-4.94262386718192386383e-04,
+-5.12450585510814218305e-04,
+-5.30328989825377310544e-04,
+-5.47887676008649280625e-04,
+-5.65116912405763628310e-04,
+-5.82007164741549449030e-04,
+-5.98549101384425463745e-04,
+-6.14733598488893004212e-04,
+-6.30551745014977364258e-04,
+-6.45994847621079656963e-04,
+-6.61054435427856318212e-04,
+-6.75722264650496957927e-04,
+-6.89990323096750768871e-04,
+-7.03850834528551736954e-04,
+-7.17296262884492574242e-04,
+-7.30319316361157646819e-04,
+-7.42912951350982778652e-04,
+-7.55070376234532832961e-04,
+-7.66785055025333219143e-04,
+-7.78050710864884066675e-04,
+-7.88861329366501596444e-04,
+-7.99211161806001623743e-04,
+-8.09094728157404166971e-04,
+-8.18506819972308029276e-04,
+-8.27442503101282920627e-04,
+-8.35897120255950105278e-04,
+-8.43866293410389599859e-04,
+-8.51345926040684010221e-04,
+-8.58332205201442922232e-04,
+-8.64821603438301273262e-04,
+-8.70810880535423945462e-04,
+-8.76297085097227715367e-04,
+-8.81277555963454932789e-04,
+-8.85749923457110387506e-04,
+-8.89712110464565414381e-04,
+-8.93162333347438598848e-04,
+-8.96099102685879683565e-04,
+-8.98521223852970446835e-04,
+-9.00427797420107569638e-04,
+-9.01818219393255059504e-04,
+-9.02692181280114911909e-04,
+-9.03049669988348823954e-04,
+-9.02890967555027251605e-04,
+-9.02216650707655248853e-04,
+-9.01027590257164317372e-04,
+-8.99324950323396755253e-04,
+-8.97110187393653770935e-04,
+-8.94385049215033777793e-04,
+-8.91151573521319268802e-04,
+-8.87412086595320399006e-04,
+-8.83169201667640974690e-04,
+-8.78425817152939884119e-04,
+-8.73185114724849367231e-04,
+-8.67450557230792511539e-04,
+-8.61225886448070839484e-04,
+-8.54515120682583636733e-04,
+-8.47322552211840669678e-04,
+-8.39652744573696728503e-04,
+-8.31510529702644309025e-04,
+-8.22901004915378340120e-04,
+-8.13829529747517842198e-04,
+-8.04301722643430768052e-04,
+-7.94323457501185689437e-04,
+-7.83900860074752763550e-04,
+-7.73040304235644501474e-04,
+-7.61748408096249419140e-04,
+-7.50032029997244466084e-04,
+-7.37898264361402087853e-04,
+-7.25354437416511968473e-04,
+-7.12408102789705661648e-04,
+-6.99067036976015396266e-04,
+-6.85339234683824977817e-04,
+-6.71232904059968502400e-04,
+-6.56756461797351536944e-04,
+-6.41918528127957059397e-04,
+-6.26727921704332315012e-04,
+-6.11193654372324123199e-04,
+-5.95324925838475161287e-04,
+-5.79131118235020063596e-04,
+-5.62621790585767769452e-04,
+-5.45806673175928220784e-04,
+-5.28695661829722569208e-04,
+-5.11298812098492927447e-04,
+-4.93626333363000229307e-04,
+-4.75688582853520537230e-04,
+-4.57496059590992946043e-04,
+-4.39059398252854521209e-04,
+-4.20389362967140572426e-04,
+-4.01496841038451060622e-04,
+-3.82392836609444868555e-04,
+-3.63088464261537163542e-04,
+-3.43594942558548969210e-04,
+-3.23923587536901721236e-04,
+-3.04085806146491737303e-04,
+-2.84093089645560742049e-04,
+-2.63957006953748822640e-04,
+-2.43689197967006995066e-04,
+-2.23301366838275436311e-04,
+-2.02805275227777953529e-04,
+-1.82212735526838365925e-04,
+-1.61535604059103902281e-04,
+-1.40785774263093080554e-04,
+-1.19975169859954066938e-04,
+-9.91157380105508263764e-05,
+-7.82194424651331946842e-05,
+-5.72982567107504074688e-05,
+-3.63641571189655019264e-05,
+-1.54291160986802106125e-05,
+ 5.49490474234285622543e-06,
+ 2.63959614233348352161e-05,
+ 4.72621343997122955673e-05,
+ 6.80815353521026694937e-05,
+ 8.88423139508433642357e-05,
+ 1.09532664592484337918e-04,
+ 1.30140833104319903011e-04,
+ 1.50655123413172910328e-04,
+ 1.71063904174602321451e-04,
+ 1.91355615359099600053e-04,
+ 2.11518774790675712300e-04,
+ 2.31541984635477411745e-04,
+ 2.51413937835562545462e-04,
+ 2.71123424484858896975e-04,
+ 2.90659338143525736164e-04,
+ 3.10010682087186043628e-04,
+ 3.29166575487528168323e-04,
+ 3.48116259520795355564e-04,
+ 3.66849103400749643276e-04,
+ 3.85354610332733758284e-04,
+ 4.03622423385466462271e-04,
+ 4.21642331277442610968e-04,
+ 4.39404274074367811459e-04,
+ 4.56898348794905137527e-04,
+ 4.74114814921268088160e-04,
+ 4.91044099811763397334e-04,
+ 5.07676804012220281824e-04,
+ 5.24003706463404693612e-04,
+ 5.40015769601512427185e-04,
+ 5.55704144348954519501e-04,
+ 5.71060174992583653546e-04,
+ 5.86075403946940813073e-04,
+ 6.00741576399512768568e-04,
+ 6.15050644835952228101e-04,
+ 6.28994773442125574073e-04,
+ 6.42566342381337704884e-04,
+ 6.55757951943882421396e-04,
+ 6.68562426566777384153e-04,
+ 6.80972818721725897499e-04,
+ 6.92982412668881352959e-04,
+ 7.04584728074633746646e-04,
+ 7.15773523491389403184e-04,
+ 7.26542799697492522500e-04,
+ 7.36886802895533226179e-04,
+ 7.46800027767298055768e-04,
+ 7.56277220383868350323e-04,
+ 7.65313380969130045012e-04,
+ 7.73903766515502376799e-04,
+ 7.82043893250363385782e-04,
+ 7.89729538951949232121e-04,
+ 7.96956745113565389119e-04,
+ 8.03721818954994393636e-04,
+ 8.10021335280101820522e-04,
+ 8.15852138179731594357e-04,
+ 8.21211342579053417585e-04,
+ 8.26096335628634381720e-04,
+ 8.30504777938583372936e-04,
+ 8.34434604655206872172e-04,
+ 8.37884026379746372007e-04,
+ 8.40851529928737925421e-04,
+ 8.43335878935819161471e-04,
+ 8.45336114294710332107e-04,
+ 8.46851554443294471733e-04,
+ 8.47881795488795693763e-04,
+ 8.48426711174108750049e-04,
+ 8.48486452685477828516e-04,
+ 8.48061448301770160786e-04,
+ 8.47152402885697889713e-04,
+ 8.45760297217433587059e-04,
+ 8.43886387171142548884e-04,
+ 8.41532202735059621686e-04,
+ 8.38699546875822229616e-04,
+ 8.35390494247859852379e-04,
+ 8.31607389748687583081e-04,
+ 8.27352846921140154882e-04,
+ 8.22629746203563960195e-04,
+ 8.17441233029105799972e-04,
+ 8.11790715775362542797e-04,
+ 8.05681863565683954384e-04,
+ 7.99118603923527101411e-04,
+ 7.92105120281344542502e-04,
+ 7.84645849345590325717e-04,
+ 7.76745478319420114104e-04,
+ 7.68408941984943219712e-04,
+ 7.59641419646665534519e-04,
+ 7.50448331938106580861e-04,
+ 7.40835337493533463253e-04,
+ 7.30808329486818254554e-04,
+ 7.20373432039535070703e-04,
+ 7.09536996500486488726e-04,
+ 6.98305597598893957115e-04,
+ 6.86686029473570981770e-04,
+ 6.74685301580476909020e-04,
+ 6.62310634481180966239e-04,
+ 6.49569455514414613798e-04,
+ 6.36469394353982704203e-04,
+ 6.23018278454912912898e-04,
+ 6.09224128391051378099e-04,
+ 5.95095153086705442279e-04,
+ 5.80639744945168250270e-04,
+ 5.65866474877092448525e-04,
+ 5.50784087231426526705e-04,
+ 5.35401494632215197225e-04,
+ 5.19727772724077859492e-04,
+ 5.03772154829525923431e-04,
+ 4.87544026521280851084e-04,
+ 4.71052920112772989698e-04,
+ 4.54308509069835603569e-04,
+ 4.37320602347533553267e-04,
+ 4.20099138654383497463e-04,
+ 4.02654180648284807775e-04,
+ 3.84995909067011564137e-04,
+ 3.67134616796844961539e-04,
+ 3.49080702882780392719e-04,
+ 3.30844666483778653780e-04,
+ 3.12437100776581622944e-04,
+ 2.93868686811618183737e-04,
+ 2.75150187324561020918e-04,
+ 2.56292440507140670877e-04,
+ 2.37306353740675621137e-04,
+ 2.18202897296279266356e-04,
+ 1.98993098004925772883e-04,
+ 1.79688032901358264856e-04,
+ 1.60298822845364506793e-04,
+ 1.40836626124112224753e-04,
+ 1.21312632039215933556e-04,
+ 1.01738054482220324185e-04,
+ 8.21241255021581603984e-05,
+ 6.24820888690072755080e-05,
+ 4.28231936363832337185e-05,
+ 2.31586877076589681926e-05,
+ 3.49981140855670628566e-06,
+-1.61422089292776860909e-05,
+-3.57561673710188603244e-05,
+-5.53308847633998468008e-05,
+-7.48552150979509803470e-05,
+-9.43180518494260796856e-05,
+-1.13708334285348401584e-04,
+-1.33015053743449631566e-04,
+-1.52227259873300292507e-04,
+-1.71334066838623079324e-04,
+-1.90324659476782091653e-04,
+-2.09188299411965425824e-04,
+-2.27914331118587613423e-04,
+-2.46492187931631313944e-04,
+-2.64911398000205382339e-04,
+-2.83161590181416034876e-04,
+-3.01232499870904074039e-04,
+-3.19113974766915017931e-04,
+-3.36795980564636679867e-04,
+-3.54268606577632174954e-04,
+-3.71522071283203947009e-04,
+-3.88546727788614181063e-04,
+-4.05333069215096399290e-04,
+-4.21871733996659933463e-04,
+-4.38153511090731847231e-04,
+-4.54169345097848065496e-04,
+-4.69910341287265624979e-04,
+-4.85367770526103374431e-04,
+-5.00533074108989832485e-04,
+-5.15397868485681603760e-04,
+-5.29953949884007929905e-04,
+-5.44193298825634374886e-04,
+-5.58108084532057653962e-04,
+-5.71690669218670195068e-04,
+-5.84933612274217158006e-04,
+-5.97829674323603708214e-04,
+-6.10371821171734304026e-04,
+-6.22553227626419856781e-04,
+-6.34367281197839366289e-04,
+-6.45807585673186250637e-04,
+-6.56867964564019149454e-04,
+-6.67542464424877488548e-04,
+-6.77825358041074066233e-04,
+-6.87711147484166077093e-04,
+-6.97194567033422758773e-04,
+-7.06270585961741746359e-04,
+-7.14934411184561628694e-04,
+-7.23181489770394637234e-04,
+-7.31007511311650994522e-04,
+-7.38408410154600355381e-04,
+-7.45380367487197487489e-04,
+-7.51919813283889650751e-04,
+-7.58023428106295344038e-04,
+-7.63688144758921860430e-04,
+-7.68911149799110884596e-04,
+-7.73689884900469453805e-04,
+-7.78022048069176852536e-04,
+-7.81905594712582730464e-04,
+-7.85338738559663196610e-04,
+-7.88319952432907605604e-04,
+-7.90847968871373333856e-04,
+-7.92921780604692572579e-04,
+-7.94540640877896479737e-04,
+-7.95704063626980471514e-04,
+-7.96411823505323844020e-04,
+-7.96663955761047642458e-04,
+-7.96460755965521980358e-04,
+-7.95802779593343299035e-04,
+-7.94690841454150087575e-04,
+-7.93126014976744679770e-04,
+-7.91109631346083286806e-04,
+-7.88643278493758549327e-04,
+-7.85728799942701674856e-04,
+-7.82368293506905928061e-04,
+-7.78564109847002514854e-04,
+-7.74318850882812310596e-04,
+-7.69635368063673682044e-04,
+-7.64516760497901438909e-04,
+-7.58966372942442794175e-04,
+-7.52987793654077996498e-04,
+-7.46584852103500504379e-04,
+-7.39761616553728774091e-04,
+-7.32522391504357027643e-04,
+-7.24871715003236934821e-04,
+-7.16814355827273216350e-04,
+-7.08355310534040027645e-04,
+-6.99499800386016380889e-04,
+-6.90253268149437163720e-04,
+-6.80621374769529714592e-04,
+-6.70609995924295360266e-04,
+-6.60225218458873998675e-04,
+-6.49473336702642350601e-04,
+-6.38360848671277059801e-04,
+-6.26894452156058273537e-04,
+-6.15081040702747340251e-04,
+-6.02927699482527735750e-04,
+-5.90441701057256335301e-04,
+-5.77630501041881037026e-04,
+-5.64501733666179588388e-04,
+-5.51063207239021373221e-04,
+-5.37322899517202385612e-04,
+-5.23288952982047124961e-04,
+-5.08969670026456150538e-04,
+-4.94373508055059602412e-04,
+-4.79509074500653401096e-04,
+-4.64385121759629336102e-04,
+-4.49010542049456493497e-04,
+-4.33394362191214064118e-04,
+-4.17545738320244637712e-04,
+-4.01473950527997305165e-04,
+-3.85188397438232619108e-04,
+-3.68698590720627130540e-04,
+-3.52014149545262831995e-04,
+-3.35144794980849110039e-04,
+-3.18100344340219566650e-04,
+-3.00890705476273645578e-04,
+-2.83525871031688149124e-04,
+-2.66015912645737500133e-04,
+-2.48370975121568597112e-04,
+-2.30601270557308229850e-04,
+-2.12717072444391431304e-04,
+-1.94728709736517952358e-04,
+-1.76646560892675731939e-04,
+-1.58481047897534086224e-04,
+-1.40242630262970099540e-04,
+-1.21941799013744982391e-04,
+-1.03589070661107662103e-04,
+-8.51949811676530225713e-05,
+-6.67700799069139572109e-05,
+-4.83249236211274086098e-05,
+-2.98700703807564870525e-05,
+-1.14160735488978414020e-05,
+ 7.02652424554682768497e-06,
+ 2.54471971228236679705e-05,
+ 4.38354419518023738413e-05,
+ 6.21807843308446069313e-05,
+ 8.04727845460066358498e-05,
+ 9.87010435040899136066e-05,
+ 1.16855208636383958460e-04,
+ 1.34924979770344443406e-04,
+ 1.52900114965400754944e-04,
+ 1.70770436309920342057e-04,
+ 1.88525835675920134431e-04,
+ 2.06156280428297997024e-04,
+ 2.23651819085366783272e-04,
+ 2.41002586927498689160e-04,
+ 2.58198811550729352172e-04,
+ 2.75230818362170949389e-04,
+ 2.92089036014278136209e-04,
+ 3.08764001774616207285e-04,
+ 3.25246366828520531121e-04,
+ 3.41526901511388200801e-04,
+ 3.57596500467790591720e-04,
+ 3.73446187734516289129e-04,
+ 3.89067121744707245228e-04,
+ 4.04450600250306482528e-04,
+ 4.19588065160076859831e-04,
+ 4.34471107290538996557e-04,
+ 4.49091471027067759818e-04,
+ 4.63441058892829452643e-04,
+ 4.77511936022862045707e-04,
+ 4.91296334540600198627e-04,
+ 5.04786657835014449663e-04,
+ 5.17975484735516645760e-04,
+ 5.30855573582563605717e-04,
+ 5.43419866191619145568e-04,
+ 5.55661491708522902247e-04,
+ 5.67573770353875343975e-04,
+ 5.79150217054632036016e-04,
+ 5.90384544960849454512e-04,
+ 6.01270668845691608206e-04,
+ 6.11802708386863214850e-04,
+ 6.21974991327834889066e-04,
+ 6.31782056516764687314e-04,
+ 6.41218656822146407942e-04,
+ 6.50279761923036299723e-04,
+ 6.58960560972716405566e-04,
+ 6.67256465134287500389e-04,
+ 6.75163109986891556320e-04,
+ 6.82676357801303567048e-04,
+ 6.89792299683732634992e-04,
+ 6.96507257586713749917e-04,
+ 7.02817786186088130918e-04,
+ 7.08720674623126924326e-04,
+ 7.14212948110944231481e-04,
+ 7.19291869404349885550e-04,
+ 7.23954940132546750399e-04,
+ 7.28199901993943090293e-04,
+ 7.32024737812592227876e-04,
+ 7.35427672455747746989e-04,
+ 7.38407173612188813538e-04,
+ 7.40961952430967151807e-04,
+ 7.43090964020374881993e-04,
+ 7.44793407806954867699e-04,
+ 7.46068727754538611394e-04,
+ 7.46916612443245453087e-04,
+ 7.47336995008605268868e-04,
+ 7.47330052940939869310e-04,
+ 7.46896207745253873714e-04,
+ 7.46036124461981245935e-04,
+ 7.44750711048991790794e-04,
+ 7.43041117625342466269e-04,
+ 7.40908735577333176642e-04,
+ 7.38355196527534156196e-04,
+ 7.35382371167495095879e-04,
+ 7.31992367954923252131e-04,
+ 7.28187531676248857131e-04,
+ 7.23970441875473923535e-04,
+ 7.19343911150391139564e-04,
+ 7.14310983317213688513e-04,
+ 7.08874931444885593435e-04,
+ 7.03039255760210023485e-04,
+ 6.96807681425207193181e-04,
+ 6.90184156188062745106e-04,
+ 6.83172847909139504749e-04,
+ 6.75778141963576887280e-04,
+ 6.68004638522109246875e-04,
+ 6.59857149711750939035e-04,
+ 6.51340696658104286593e-04,
+ 6.42460506411091959722e-04,
+ 6.33222008755997788076e-04,
+ 6.23630832911684193816e-04,
+ 6.13692804118148903594e-04,
+ 6.03413940115261806379e-04,
+ 5.92800447514970491047e-04,
+ 5.81858718069071527597e-04,
+ 5.70595324834820847096e-04,
+ 5.59017018240628819903e-04,
+ 5.47130722054300845832e-04,
+ 5.34943529255999883701e-04,
+ 5.22462697818653785606e-04,
+ 5.09695646398130772746e-04,
+ 4.96649949935782969619e-04,
+ 4.83333335176001986210e-04,
+ 4.69753676101234622468e-04,
+ 4.55918989287601634543e-04,
+ 4.41837429183325480515e-04,
+ 4.27517283312972833521e-04,
+ 4.12966967410454712222e-04,
+ 3.98195020483432121378e-04,
+ 3.83210099812103391695e-04,
+ 3.68020975885298450622e-04,
+ 3.52636527276817995143e-04,
+ 3.37065735465011645077e-04,
+ 3.21317679598622223548e-04,
+ 3.05401531211941905386e-04,
+ 2.89326548892257452619e-04,
+ 2.73102072902946376928e-04,
+ 2.56737519764977252090e-04,
+ 2.40242376800225943771e-04,
+ 2.23626196639659541874e-04,
+ 2.06898591699577582680e-04,
+ 1.90069228629096543095e-04,
+ 1.73147822732087712776e-04,
+ 1.56144132366777384441e-04,
+ 1.39067953326214697627e-04,
+ 1.21929113202958933396e-04,
+ 1.04737465740963099658e-04,
+ 8.75028851780528622514e-05,
+ 7.02352605825545112366e-05,
+ 5.29444901866215451251e-05,
+ 3.56404757200933205497e-05,
+ 1.83331167478597644273e-05,
+ 1.03230501413102183826e-06,
+-1.62520812034707693762e-05,
+-3.35101827263670735968e-05,
+-5.07321650911279374628e-05,
+-6.79082241459080256747e-05,
+-8.50285916240537564164e-05,
+-1.02083540691677796268e-04,
+-1.19063391466316483881e-04,
+-1.35958516502816118129e-04,
+-1.52759346244455719837e-04,
+-1.69456374435215186046e-04,
+-1.86040163490673691061e-04,
+-2.02501349824351403305e-04,
+-2.18830649126511295058e-04,
+-2.35018861592449355329e-04,
+-2.51056877097335180617e-04,
+-2.66935680314695194647e-04,
+-2.82646355775669996281e-04,
+-2.98180092866208153266e-04,
+-3.13528190759385430846e-04,
+-3.28682063280201183005e-04,
+-3.43633243699864576997e-04,
+-3.58373389457262059472e-04,
+-3.72894286804705877604e-04,
+-3.87187855375492433196e-04,
+-4.01246152670716468933e-04,
+-4.15061378462855390652e-04,
+-4.28625879113702864826e-04,
+-4.41932151804175915588e-04,
+-4.54972848673900734286e-04,
+-4.67740780867979507370e-04,
+-4.80228922488919207114e-04,
+-4.92430414451660788955e-04,
+-5.04338568239140645766e-04,
+-5.15946869556969272587e-04,
+-5.27248981884690759263e-04,
+-5.38238749922089398589e-04,
+-5.48910202928370723023e-04,
+-5.59257557952611700225e-04,
+-5.69275222953672071884e-04,
+-5.78957799807889249809e-04,
+-5.88300087202963859455e-04,
+-5.97297083416476414473e-04,
+-6.05943988977575135647e-04,
+-6.14236209210458085871e-04,
+-6.22169356658183671412e-04,
+-6.29739253385739618761e-04,
+-6.36941933161007476510e-04,
+-6.43773643512582892379e-04,
+-6.50230847663354235948e-04,
+-6.56310226338886878658e-04,
+-6.62008679449682451920e-04,
+-6.67323327646487897066e-04,
+-6.72251513747878452071e-04,
+-6.76790804039441285488e-04,
+-6.80938989443917279398e-04,
+-6.84694086561815564058e-04,
+-6.88054338581924984468e-04,
+-6.91018216061473023945e-04,
+-6.93584417575499262779e-04,
+-6.95751870235252118692e-04,
+-6.97519730075439408322e-04,
+-6.98887382310238512544e-04,
+-6.99854441458020392307e-04,
+-7.00420751334910186674e-04,
+-7.00586384917250637808e-04,
+-7.00351644073214348388e-04,
+-6.99717059163839283017e-04,
+-6.98683388513845408767e-04,
+-6.97251617752650001102e-04,
+-6.95422959026119487901e-04,
+-6.93198850079607088379e-04,
+-6.90580953212918528285e-04,
+-6.87571154107985264316e-04,
+-6.84171560529966103770e-04,
+-6.80384500902708982788e-04,
+-6.76212522759481789864e-04,
+-6.71658391069967749057e-04,
+-6.66725086444653041590e-04,
+-6.61415803217692819561e-04,
+-6.55733947409528573555e-04,
+-6.49683134570482436268e-04,
+-6.43267187506764773208e-04,
+-6.36490133890204668257e-04,
+-6.29356203753268024677e-04,
+-6.21869826870875635171e-04,
+-6.14035630030630393862e-04,
+-6.05858434193134814082e-04,
+-5.97343251544118505024e-04,
+-5.88495282440187417530e-04,
+-5.79319912250014150239e-04,
+-5.69822708092951237674e-04,
+-5.60009415476908612407e-04,
+-5.49885954837576801033e-04,
+-5.39458417981255439720e-04,
+-5.28733064433041348440e-04,
+-5.17716317692869828875e-04,
+-5.06414761401502129881e-04,
+-4.94835135418839880059e-04,
+-4.82984331816689843164e-04,
+-4.70869390788640387446e-04,
+-4.58497496479242630431e-04,
+-4.45875972735065601461e-04,
+-4.33012278780107377589e-04,
+-4.19914004818108983763e-04,
+-4.06588867564375744564e-04,
+-3.93044705709642795341e-04,
+-3.79289475318866453699e-04,
+-3.65331245167339706530e-04,
+-3.51178192017081926713e-04,
+-3.36838595836177763076e-04,
+-3.22320834963867378347e-04,
+-3.07633381224204521288e-04,
+-2.92784794991132475261e-04,
+-2.77783720207839526437e-04,
+-2.62638879363297228237e-04,
+-2.47359068428886473296e-04,
+-2.31953151758071922503e-04,
+-2.16430056951960250863e-04,
+-2.00798769693994654060e-04,
+-1.85068328556394910873e-04,
+-1.69247819781622929874e-04,
+-1.53346372041766269151e-04,
+-1.37373151178878973033e-04,
+-1.21337354929306262606e-04,
+-1.05248207635004573535e-04,
+-8.91149549450086627062e-05,
+-7.29468585098004703403e-05,
+-5.67531906719987081617e-05,
+-4.05432291561632574743e-05,
+-2.43262517606341878125e-05,
+-8.11153105499568761387e-06,
+ 8.09167091459697115441e-06,
+ 2.42741079085157292628e-05,
+ 4.04265547626939556413e-05,
+ 5.65398126401744739798e-05,
+ 7.26047142624750100346e-05,
+ 8.86121291176844783554e-05,
+ 1.04552968642355261246e-04,
+ 1.20418191374254643930e-04,
+ 1.36198808073058146538e-04,
+ 1.51885886806070295480e-04,
+ 1.67470557996213817529e-04,
+ 1.82944019429153478633e-04,
+ 1.98297541217112740890e-04,
+ 2.13522470716304618504e-04,
+ 2.28610237395321440291e-04,
+ 2.43552357651734171758e-04,
+ 2.58340439574197757323e-04,
+ 2.72966187647394017187e-04,
+ 2.87421407397178490465e-04,
+ 3.01698009973331443285e-04,
+ 3.15788016667368121211e-04,
+ 3.29683563362888126455e-04,
+ 3.43376904915868638030e-04,
+ 3.56860419462906380220e-04,
+ 3.70126612654194222032e-04,
+ 3.83168121809794538692e-04,
+ 3.95977719996309473864e-04,
+ 4.08548320021925631847e-04,
+ 4.20872978347595460679e-04,
+ 4.32944898912126369117e-04,
+ 4.44757436869292204114e-04,
+ 4.56304102234621905294e-04,
+ 4.67578563440100960016e-04,
+ 4.78574650794741016362e-04,
+ 4.89286359849140845869e-04,
+ 4.99707854662346487480e-04,
+ 5.09833470968881633315e-04,
+ 5.19657719244667921921e-04,
+ 5.29175287669990585850e-04,
+ 5.38381044987819995518e-04,
+ 5.47270043256114818893e-04,
+ 5.55837520492576445640e-04,
+ 5.64078903210458873843e-04,
+ 5.71989808844079565542e-04,
+ 5.79566048062779125977e-04,
+ 5.86803626972093816082e-04,
+ 5.93698749201003678558e-04,
+ 6.00247817874220647612e-04,
+ 6.06447437468376929041e-04,
+ 6.12294415551340506093e-04,
+ 6.17785764403646210467e-04,
+ 6.22918702521296861058e-04,
+ 6.27690655999173577340e-04,
+ 6.32099259794388049390e-04,
+ 6.36142358868971454465e-04,
+ 6.39818009211379277838e-04,
+ 6.43124478736333145788e-04,
+ 6.46060248062606972720e-04,
+ 6.48624011168465121509e-04,
+ 6.50814675924448241516e-04,
+ 6.52631364503392400953e-04,
+ 6.54073413667472913086e-04,
+ 6.55140374932347883084e-04,
+ 6.55832014608344012786e-04,
+ 6.56148313718822465482e-04,
+ 6.56089467795875169558e-04,
+ 6.55655886553618491575e-04,
+ 6.54848193439355763003e-04,
+ 6.53667225063030848942e-04,
+ 6.52114030505376840972e-04,
+ 6.50189870505314443556e-04,
+ 6.47896216527166549613e-04,
+ 6.45234749708334539252e-04,
+ 6.42207359688187111660e-04,
+ 6.38816143318927205305e-04,
+ 6.35063403259281166260e-04,
+ 6.30951646451974345643e-04,
+ 6.26483582485939526248e-04,
+ 6.21662121844317769152e-04,
+ 6.16490374039393236767e-04,
+ 6.10971645635609837167e-04,
+ 6.05109438161931267354e-04,
+ 5.98907445914837149696e-04,
+ 5.92369553653347702404e-04,
+ 5.85499834187430895707e-04,
+ 5.78302545861415578064e-04,
+ 5.70782129933787834436e-04,
+ 5.62943207855098252772e-04,
+ 5.54790578445580164282e-04,
+ 5.46329214974210436787e-04,
+ 5.37564262140980504354e-04,
+ 5.28501032964188142450e-04,
+ 5.19145005574684313687e-04,
+ 5.09501819918850898904e-04,
+ 4.99577274372495932532e-04,
+ 4.89377322267549059315e-04,
+ 4.78908068333559408525e-04,
+ 4.68175765056459951968e-04,
+ 4.57186808956279780707e-04,
+ 4.45947736786433599192e-04,
+ 4.34465221656520647706e-04,
+ 4.22746069081200064391e-04,
+ 4.10797212957284853512e-04,
+ 3.98625711471500149014e-04,
+ 3.86238742941308148531e-04,
+ 3.73643601591243563771e-04,
+ 3.60847693267234983453e-04,
+ 3.47858531091431943082e-04,
+ 3.34683731060088070306e-04,
+ 3.21331007586994784036e-04,
+ 3.07808168995286370300e-04,
+ 2.94123112959944975862e-04,
+ 2.80283821903894213648e-04,
+ 2.66298358350258257497e-04,
+ 2.52174860233517097834e-04,
+ 2.37921536172264099776e-04,
+ 2.23546660706324561889e-04,
+ 2.09058569500978578149e-04,
+ 1.94465654521075659777e-04,
+ 1.79776359177804124882e-04,
+ 1.64999173451064800808e-04,
+ 1.50142628989783814353e-04,
+ 1.35215294193867887652e-04,
+ 1.20225769279667712834e-04,
+ 1.05182681332417253214e-04,
+ 9.00946793482652321869e-05,
+ 7.49704292687580406678e-05,
+ 5.98186090107322883933e-05,
+ 4.46479034941903122767e-05,
+ 2.94669996713655661538e-05,
+ 1.42845815595480592387e-05,
+-8.90674719386678467731e-07,
+-1.60501058898957495679e-05,
+-3.11850664615309880164e-05,
+-4.62869336522098696559e-05,
+-6.13471122938098376541e-05,
+-7.63570397170260420881e-05,
+-9.13081906125804212970e-05,
+-1.06192081866257116186e-04,
+-1.21000277364919335359e-04,
+-1.35724392770807756941e-04,
+-1.50356100261421840461e-04,
+-1.64887133232308251375e-04,
+-1.79309290960107407722e-04,
+-1.93614443223211164184e-04,
+-2.07794534877538741033e-04,
+-2.21841590384600493343e-04,
+-2.35747718289653712892e-04,
+-2.49505115647181735690e-04,
+-2.63106072391320949463e-04,
+-2.76542975648779115836e-04,
+-2.89808313991833633137e-04,
+-3.02894681629039077587e-04,
+-3.15794782531314804225e-04,
+-3.28501434491123775472e-04,
+-3.41007573112413263187e-04,
+-3.53306255729321028528e-04,
+-3.65390665251150495701e-04,
+-3.77254113931894290764e-04,
+-3.88890047061697880296e-04,
+-4.00292046578829127310e-04,
+-4.11453834599746401911e-04,
+-4.22369276865425247180e-04,
+-4.33032386102221345144e-04,
+-4.43437325295184645198e-04,
+-4.53578410872218030017e-04,
+-4.63450115797292723756e-04,
+-4.73047072571043994947e-04,
+-4.82364076137125729737e-04,
+-4.91396086692756878071e-04,
+-5.00138232402001195638e-04,
+-5.08585812010168398199e-04,
+-5.16734297358173813065e-04,
+-5.24579335795330296312e-04,
+-5.32116752489386786451e-04,
+-5.39342552632568559418e-04,
+-5.46252923542469171619e-04,
+-5.52844236656707828902e-04,
+-5.59113049420296060084e-04,
+-5.65056107064770439183e-04,
+-5.70670344278172711819e-04,
+-5.75952886765007470403e-04,
+-5.80901052695480778210e-04,
+-5.85512354043150645873e-04,
+-5.89784497810519033403e-04,
+-5.93715387141844816964e-04,
+-5.97303122322707935599e-04,
+-6.00546001665863931999e-04,
+-6.03442522282995321911e-04,
+-6.05991380742033013650e-04,
+-6.08191473609774341941e-04,
+-6.10041897879654818233e-04,
+-6.11541951284462828586e-04,
+-6.12691132494012132698e-04,
+-6.13489141197734759101e-04,
+-6.13935878072276153793e-04,
+-6.14031444634213687678e-04,
+-6.13776142978129783147e-04,
+-6.13170475400273522204e-04,
+-6.12215143908160716602e-04,
+-6.10911049616502535922e-04,
+-6.09259292029921744813e-04,
+-6.07261168212986615807e-04,
+-6.04918171848152540562e-04,
+-6.02231992182249067230e-04,
+-5.99204512862249404591e-04,
+-5.95837810661095862788e-04,
+-5.92134154094380829765e-04,
+-5.88096001928879556775e-04,
+-5.83726001583780864344e-04,
+-5.79026987425731846405e-04,
+-5.74001978958720709967e-04,
+-5.68654178909981699100e-04,
+-5.62986971213088379512e-04,
+-5.57003918889516810679e-04,
+-5.50708761829973685031e-04,
+-5.44105414476881875038e-04,
+-5.37197963409420707961e-04,
+-5.29990664832675931022e-04,
+-5.22487941972209408471e-04,
+-5.14694382376049554099e-04,
+-5.06614735125277882745e-04,
+-4.98253907955200866543e-04,
+-4.89616964288741747524e-04,
+-4.80709120183835873340e-04,
+-4.71535741196723874168e-04,
+-4.62102339162885156296e-04,
+-4.52414568897704873120e-04,
+-4.42478224818736978665e-04,
+-4.32299237491589249602e-04,
+-4.21883670101533790608e-04,
+-4.11237714852763253538e-04,
+-4.00367689297795705319e-04,
+-3.89280032598777342174e-04,
+-3.77981301723072956981e-04,
+-3.66478167575481482855e-04,
+-3.54777411069201974430e-04,
+-3.42885919137923399647e-04,
+-3.30810680691371770349e-04,
+-3.18558782516682129776e-04,
+-3.06137405127995278469e-04,
+-2.93553818566704544622e-04,
+-2.80815378154804305266e-04,
+-2.67929520203833435379e-04,
+-2.54903757681815789065e-04,
+-2.41745675840952941541e-04,
+-2.28462927808299829519e-04,
+-2.15063230142214405812e-04,
+-2.01554358357060797247e-04,
+-1.87944142418778622041e-04,
+-1.74240462213917245062e-04,
+-1.60451242994757493389e-04,
+-1.46584450803131455471e-04,
+-1.32648087875677540707e-04,
+-1.18650188032929176604e-04,
+-1.04598812055253963184e-04,
+-9.05020430478532816746e-05,
+-7.63679817980816182978e-05,
+-6.22047421270673621006e-05,
+-4.80204462387773454404e-05,
+-3.38232200690939612160e-05,
+-1.96211886373398563383e-05,
+-5.42247140324502025757e-06,
+ 8.76482236824777340069e-06,
+ 2.29325982315957407963e-05,
+ 3.70727811720706265371e-05,
+ 5.11773202013517019616e-05,
+ 6.52381929346686494130e-05,
+ 7.92474101469974555583e-05,
+ 9.31970203054730103771e-05,
+ 1.07079114075787359224e-04,
+ 1.20885828799772198955e-04,
+ 1.34609352941733671338e-04,
+ 1.48241930501015857979e-04,
+ 1.61775865388299365999e-04,
+ 1.75203525763176128777e-04,
+ 1.88517348330553255508e-04,
+ 2.01709842593477496403e-04,
+ 2.14773595059988993677e-04,
+ 2.27701273401630213721e-04,
+ 2.40485630561381157630e-04,
+ 2.53119508808481513077e-04,
+ 2.65595843738193170946e-04,
+ 2.77907668214037251522e-04,
+ 2.90048116250403941428e-04,
+ 3.02010426833358551230e-04,
+ 3.13787947677527593714e-04,
+ 3.25374138916987524356e-04,
+ 3.36762576728041407650e-04,
+ 3.47946956882078583737e-04,
+ 3.58921098226289516687e-04,
+ 3.69678946090518610861e-04,
+ 3.80214575618283698918e-04,
+ 3.90522195020292855420e-04,
+ 4.00596148748304063669e-04,
+ 4.10430920588102858375e-04,
+ 4.20021136669482232032e-04,
+ 4.29361568391889935302e-04,
+ 4.38447135263920031219e-04,
+ 4.47272907655273392787e-04,
+ 4.55834109459644649508e-04,
+ 4.64126120667108176508e-04,
+ 4.72144479844627002613e-04,
+ 4.79884886523366084934e-04,
+ 4.87343203491520887780e-04,
+ 4.94515458991510439488e-04,
+ 5.01397848820237619291e-04,
+ 5.07986738331495536053e-04,
+ 5.14278664339342934768e-04,
+ 5.20270336921509223872e-04,
+ 5.25958641121905003633e-04,
+ 5.31340638551345634602e-04,
+ 5.36413568885707545825e-04,
+ 5.41174851260732862543e-04,
+ 5.45622085562818821651e-04,
+ 5.49753053615153054572e-04,
+ 5.53565720258578693874e-04,
+ 5.57058234326825011708e-04,
+ 5.60228929515402870182e-04,
+ 5.63076325144043553055e-04,
+ 5.65599126812190268823e-04,
+ 5.67796226947321581655e-04,
+ 5.69666705245914757952e-04,
+ 5.71209829006884771928e-04,
+ 5.72425053357448988464e-04,
+ 5.73312021371367866798e-04,
+ 5.73870564079618605650e-04,
+ 5.74100700373610150010e-04,
+ 5.74002636801101105701e-04,
+ 5.73576767255045208427e-04,
+ 5.72823672555648950346e-04,
+ 5.71744119926011510821e-04,
+ 5.70339062361724402107e-04,
+ 5.68609637894926635629e-04,
+ 5.66557168753326501759e-04,
+ 5.64183160414795923689e-04,
+ 5.61489300558173053124e-04,
+ 5.58477457910976646596e-04,
+ 5.55149680994817618443e-04,
+ 5.51508196769305851677e-04,
+ 5.47555409175347492477e-04,
+ 5.43293897578766660054e-04,
+ 5.38726415115223450716e-04,
+ 5.33855886937539434942e-04,
+ 5.28685408366441232306e-04,
+ 5.23218242945951541104e-04,
+ 5.17457820404608101993e-04,
+ 5.11407734523782039546e-04,
+ 5.05071740914395756958e-04,
+ 4.98453754703430222672e-04,
+ 4.91557848131608235084e-04,
+ 4.84388248063773933609e-04,
+ 4.76949333413366201133e-04,
+ 4.69245632482725018135e-04,
+ 4.61281820220592905877e-04,
+ 4.53062715398815335326e-04,
+ 4.44593277709539084434e-04,
+ 4.35878604784927761902e-04,
+ 4.26923929141124992512e-04,
+ 4.17734615048157432570e-04,
+ 4.08316155327850989487e-04,
+ 3.98674168081502775223e-04,
+ 3.88814393349325734903e-04,
+ 3.78742689703628627584e-04,
+ 3.68465030777748246259e-04,
+ 3.57987501732803619064e-04,
+ 3.47316295664270213630e-04,
+ 3.36457709950689946247e-04,
+ 3.25418142546407844398e-04,
+ 3.14204088220705103369e-04,
+ 3.02822134745452705828e-04,
+ 2.91278959033536570707e-04,
+ 2.79581323230313654512e-04,
+ 2.67736070760376913824e-04,
+ 2.55750122331942382741e-04,
+ 2.43630471901182189993e-04,
+ 2.31384182598852114476e-04,
+ 2.19018382621588081956e-04,
+ 2.06540261090263434262e-04,
+ 1.93957063877727543073e-04,
+ 1.81276089408560325388e-04,
+ 1.68504684432981764438e-04,
+ 1.55650239777576011087e-04,
+ 1.42720186075200863515e-04,
+ 1.29721989476556069784e-04,
+ 1.16663147345869003713e-04,
+ 1.03551183943265592683e-04,
+ 9.03936460960799980377e-05,
+ 7.71980988618959664254e-05,
+ 6.39721211855788279756e-05,
+ 5.07233015529098420324e-05,
+ 3.74592336431094660547e-05,
+ 2.41875119832061500670e-05,
+ 1.09157276060909018059e-05,
+-2.34853628469845146187e-06,
+-1.55977086414162786562e-05,
+-2.88242348869596923613e-05,
+-4.20205812159120831802e-05,
+-5.51792388792400324794e-05,
+-6.82927284502260999177e-05,
+-8.13536040692178018903e-05,
+-9.43544576647877523837e-05,
+-1.07287923148899612901e-04,
+-1.20146680583802623705e-04,
+-1.32923460318065689029e-04,
+-1.45611047089732014966e-04,
+-1.58202284094046845058e-04,
+-1.70690077013562770646e-04,
+-1.83067398008342023790e-04,
+-1.95327289664015750449e-04,
+-2.07462868895485753841e-04,
+-2.19467330804082712487e-04,
+-2.31333952486024421909e-04,
+-2.43056096790058889963e-04,
+-2.54627216022116969682e-04,
+-2.66040855595085605489e-04,
+-2.77290657621565787404e-04,
+-2.88370364447411301270e-04,
+-2.99273822124557198864e-04,
+-3.09994983820817795236e-04,
+-3.20527913164946520654e-04,
+-3.30866787525005792182e-04,
+-3.41005901218438382556e-04,
+-3.50939668651816677209e-04,
+-3.60662627388737895996e-04,
+-3.70169441144112937835e-04,
+-3.79454902703223032924e-04,
+-3.88513936763931614412e-04,
+-3.97341602700649319281e-04,
+-4.05933097248160023023e-04,
+-4.14283757104453339952e-04,
+-4.22389061450620915700e-04,
+-4.30244634386746675411e-04,
+-4.37846247282407585646e-04,
+-4.45189821040535387009e-04,
+-4.52271428273436375180e-04,
+-4.59087295389815042927e-04,
+-4.65633804591701605784e-04,
+-4.71907495780237373154e-04,
+-4.77905068369312367293e-04,
+-4.83623383006156549232e-04,
+-4.89059463197895642403e-04,
+-4.94210496843377989837e-04,
+-4.99073837669386272294e-04,
+-5.03647006570560255671e-04,
+-5.07927692852353862910e-04,
+-5.11913755376417790866e-04,
+-5.15603223607854132746e-04,
+-5.18994298563852079348e-04,
+-5.22085353663235022734e-04,
+-5.24874935476607245785e-04,
+-5.27361764376676599858e-04,
+-5.29544735088589781265e-04,
+-5.31422917139951151225e-04,
+-5.32995555210500379477e-04,
+-5.34262069381259826692e-04,
+-5.35222055283147762558e-04,
+-5.35875284145083223553e-04,
+-5.36221702741643767819e-04,
+-5.36261433240417940797e-04,
+-5.35994772949250210085e-04,
+-5.35422193963616460319e-04,
+-5.34544342714442298307e-04,
+-5.33362039416725316164e-04,
+-5.31876277419383609174e-04,
+-5.30088222456788840664e-04,
+-5.27999211802546121117e-04,
+-5.25610753326072018335e-04,
+-5.22924524452632929344e-04,
+-5.19942371027533258195e-04,
+-5.16666306085201390737e-04,
+-5.13098508523981305419e-04,
+-5.09241321687478316720e-04,
+-5.05097251853375752567e-04,
+-5.00668966630677097357e-04,
+-4.95959293266389714822e-04,
+-4.90971216862717439386e-04,
+-4.85707878505841088215e-04,
+-4.80172573307527546498e-04,
+-4.74368748360683557905e-04,
+-4.68300000610171580050e-04,
+-4.61970074640185440762e-04,
+-4.55382860379525326953e-04,
+-4.48542390726171106338e-04,
+-4.41452839092643458969e-04,
+-4.34118516873516094388e-04,
+-4.26543870836773282920e-04,
+-4.18733480440457346301e-04,
+-4.10692055076295619871e-04,
+-4.02424431241824444132e-04,
+-3.93935569642999588221e-04,
+-3.85230552228620710866e-04,
+-3.76314579158696684014e-04,
+-3.67192965708273077411e-04,
+-3.57871139108791979765e-04,
+-3.48354635328699147479e-04,
+-3.38649095795268096840e-04,
+-3.28760264059559039092e-04,
+-3.18693982406488616858e-04,
+-3.08456188411998706057e-04,
+-2.98052911449364968648e-04,
+-2.87490269146621982028e-04,
+-2.76774463797361711895e-04,
+-2.65911778726769776858e-04,
+-2.54908574615198501266e-04,
+-2.43771285781356852364e-04,
+-2.32506416427293309719e-04,
+-2.21120536847362134797e-04,
+-2.09620279603374160817e-04,
+-1.98012335668160057052e-04,
+-1.86303450539779524029e-04,
+-1.74500420328618278693e-04,
+-1.62610087819718690657e-04,
+-1.50639338512448478849e-04,
+-1.38595096639894068595e-04,
+-1.26484321170500490497e-04,
+-1.14314001793776732867e-04,
+-1.02091154892787922296e-04,
+-8.98228195055708475902e-05,
+-7.75160532779040826849e-05,
+-6.51779284095440432020e-05,
+-5.28155275965366106071e-05,
+-4.04359399717151504088e-05,
+-2.80462570457926562079e-05,
+-1.56535686513557642486e-05,
+-3.26495889210444343624e-06,
+ 9.11249790054165639743e-06,
+ 2.14717412006368892899e-05,
+ 3.38057283092167403242e-05,
+ 4.61074383610954739352e-05,
+ 5.83698763150761234034e-05,
+ 7.05860769251900996464e-05,
+ 8.27491086907310743719e-05,
+ 9.48520777828465352357e-05,
+ 1.06888131945465347230e-04,
+ 1.18850464368359115953e-04,
+ 1.30732317530151336904e-04,
+ 1.42526987009093485245e-04,
+ 1.54227825259548495572e-04,
+ 1.65828245351846937858e-04,
+ 1.77321724673696056200e-04,
+ 1.88701808590856294186e-04,
+ 1.99962114065118143997e-04,
+ 2.11096333227541019164e-04,
+ 2.22098236904959408719e-04,
+ 2.32961678097786452921e-04,
+ 2.43680595407194330610e-04,
+ 2.54249016409682922994e-04,
+ 2.64661060977358164950e-04,
+ 2.74910944541823074223e-04,
+ 2.84992981300038268795e-04,
+ 2.94901587360451048966e-04,
+ 3.04631283827309126255e-04,
+ 3.14176699821949083694e-04,
+ 3.23532575438972966244e-04,
+ 3.32693764636005074025e-04,
+ 3.41655238055194434080e-04,
+ 3.50412085775090025464e-04,
+ 3.58959519991325229707e-04,
+ 3.67292877624660627292e-04,
+ 3.75407622854972045263e-04,
+ 3.83299349579812611254e-04,
+ 3.90963783796212480549e-04,
+ 3.98396785904493201929e-04,
+ 4.05594352932717237652e-04,
+ 4.12552620680778098922e-04,
+ 4.19267865782840679426e-04,
+ 4.25736507687102228546e-04,
+ 4.31955110551815945567e-04,
+ 4.37920385056580596227e-04,
+ 4.43629190127953329428e-04,
+ 4.49078534578485372587e-04,
+ 4.54265578658337963736e-04,
+ 4.59187635518681089644e-04,
+ 4.63842172586124870497e-04,
+ 4.68226812847528570376e-04,
+ 4.72339336044462119145e-04,
+ 4.76177679776842175188e-04,
+ 4.79739940515123866431e-04,
+ 4.83024374520600813590e-04,
+ 4.86029398673382302676e-04,
+ 4.88753591207665154424e-04,
+ 4.91195692353966193756e-04,
+ 4.93354604888095117816e-04,
+ 4.95229394586578497428e-04,
+ 4.96819290588439285358e-04,
+ 4.98123685663175381003e-04,
+ 4.99142136384935733613e-04,
+ 4.99874363212820149900e-04,
+ 5.00320250477433235529e-04,
+ 5.00479846273746572204e-04,
+ 5.00353362260458648866e-04,
+ 4.99941173366037620342e-04,
+ 4.99243817401748952133e-04,
+ 4.98261994581954289173e-04,
+ 4.96996566952077824426e-04,
+ 4.95448557724650537858e-04,
+ 4.93619150523917594661e-04,
+ 4.91509688539529211379e-04,
+ 4.89121673589913252660e-04,
+ 4.86456765095920123584e-04,
+ 4.83516778965485997076e-04,
+ 4.80303686389979968101e-04,
+ 4.76819612553058206749e-04,
+ 4.73066835252845254919e-04,
+ 4.69047783438315086732e-04,
+ 4.64765035660812749103e-04,
+ 4.60221318441676426666e-04,
+ 4.55419504556999951966e-04,
+ 4.50362611240582178668e-04,
+ 4.45053798306218380970e-04,
+ 4.39496366190426988700e-04,
+ 4.33693753916839246001e-04,
+ 4.27649536983611762604e-04,
+ 4.21367425174935209421e-04,
+ 4.14851260298147500507e-04,
+ 4.08105013847745185657e-04,
+ 4.01132784597763502807e-04,
+ 3.93938796123864838888e-04,
+ 3.86527394256778707507e-04,
+ 3.78903044468504332596e-04,
+ 3.71070329192896123955e-04,
+ 3.63033945082216335121e-04,
+ 3.54798700201316714441e-04,
+ 3.46369511160995113223e-04,
+ 3.37751400192573319938e-04,
+ 3.28949492164903488020e-04,
+ 3.19969011546054665687e-04,
+ 3.10815279311211242839e-04,
+ 3.01493709798685276691e-04,
+ 2.92009807515892561881e-04,
+ 2.82369163897162314333e-04,
+ 2.72577454015293597824e-04,
+ 2.62640433248783711044e-04,
+ 2.52563933906683622723e-04,
+ 2.42353861813065601894e-04,
+ 2.32016192853029426611e-04,
+ 2.21556969482438587647e-04,
+ 2.10982297203188133052e-04,
+ 2.00298341006229532702e-04,
+ 1.89511321784351343799e-04,
+ 1.78627512716812605594e-04,
+ 1.67653235627924536433e-04,
+ 1.56594857321689550278e-04,
+ 1.45458785894609618538e-04,
+ 1.34251467028869596798e-04,
+ 1.22979380267843285647e-04,
+ 1.11649035276331349935e-04,
+ 1.00266968087514806969e-04,
+ 8.88397373387060364193e-05,
+ 7.73739204984463118959e-05,
+ 6.58761100865689746284e-05,
+ 5.43529098898822812845e-05,
+ 4.28109311752722368678e-05,
+ 3.12567889026958147750e-05,
+ 1.96970979400246795697e-05,
+ 8.13846928198325526361e-06,
+-3.41249372467339250558e-06,
+-1.49491991475911624329e-05,
+-2.64650702247123145554e-05,
+-3.79535491074849259605e-05,
+-4.94081005893409459882e-05,
+-6.08222158171220890705e-05,
+-7.21894159836215413640e-05,
+-8.35032559989468706153e-05,
+-9.47573281387071252556e-05,
+-1.05945265666950816461e-04,
+-1.17060746431808460001e-04,
+-1.28097496431813168485e-04,
+-1.39049293350893167628e-04,
+-1.49909970060043025702e-04,
+-1.60673418083712545501e-04,
+-1.71333591028951604061e-04,
+-1.81884507975470710237e-04,
+-1.92320256824521286943e-04,
+-2.02634997604990462535e-04,
+-2.12822965734663506043e-04,
+-2.22878475234921188562e-04,
+-2.32795921897065518930e-04,
+-2.42569786398529724757e-04,
+-2.52194637367171917153e-04,
+-2.61665134392132306407e-04,
+-2.70976030979354039815e-04,
+-2.80122177450312201570e-04,
+-2.89098523782284854127e-04,
+-2.97900122388595328931e-04,
+-3.06522130837423188374e-04,
+-3.14959814507391293315e-04,
+-3.23208549178839786662e-04,
+-3.31263823559207256243e-04,
+-3.39121241741069823911e-04,
+-3.46776525591634588071e-04,
+-3.54225517072336341072e-04,
+-3.61464180487291921601e-04,
+-3.68488604659406027153e-04,
+-3.75295005032959282966e-04,
+-3.81879725701552677659e-04,
+-3.88239241360328717068e-04,
+-3.94370159181469716065e-04,
+-4.00269220611873847385e-04,
+-4.05933303092217750898e-04,
+-4.11359421696386878559e-04,
+-4.16544730690475114351e-04,
+-4.21486525010528862399e-04,
+-4.26182241658291949011e-04,
+-4.30629461014228067349e-04,
+-4.34825908067166936634e-04,
+-4.38769453559957806933e-04,
+-4.42458115050543214063e-04,
+-4.45890057887998378632e-04,
+-4.49063596103017892164e-04,
+-4.51977193212385814410e-04,
+-4.54629462937196024159e-04,
+-4.57019169834384534831e-04,
+-4.59145229841358777558e-04,
+-4.61006710733478388374e-04,
+-4.62602832494264496789e-04,
+-4.63932967598159218692e-04,
+-4.64996641205815024796e-04,
+-4.65793531271870616534e-04,
+-4.66323468565258629059e-04,
+-4.66586436602117857111e-04,
+-4.66582571491450407916e-04,
+-4.66312161693693675614e-04,
+-4.65775647692456124232e-04,
+-4.64973621579678497197e-04,
+-4.63906826554567289656e-04,
+-4.62576156336664179227e-04,
+-4.60982654493493390190e-04,
+-4.59127513683252981222e-04,
+-4.57012074813076816290e-04,
+-4.54637826113443851636e-04,
+-4.52006402129344277314e-04,
+-4.49119582628882253825e-04,
+-4.45979291430018782647e-04,
+-4.42587595146185029237e-04,
+-4.38946701851662950556e-04,
+-4.35058959667485500768e-04,
+-4.30926855268744430933e-04,
+-4.26553012314354973531e-04,
+-4.21940189800147375659e-04,
+-4.17091280336356255796e-04,
+-4.12009308350574096971e-04,
+-4.06697428217259312686e-04,
+-4.01158922314968034977e-04,
+-3.95397199012481159307e-04,
+-3.89415790585079821338e-04,
+-3.83218351062148158623e-04,
+-3.76808654007610018769e-04,
+-3.70190590234281159936e-04,
+-3.63368165453703019507e-04,
+-3.56345497862799480068e-04,
+-3.49126815668818354065e-04,
+-3.41716454554033186291e-04,
+-3.34118855081727756696e-04,
+-3.26338560045002091647e-04,
+-3.18380211759965842631e-04,
+-3.10248549305032668161e-04,
+-3.01948405707699765559e-04,
+-2.93484705080720911091e-04,
+-2.84862459709394287826e-04,
+-2.76086767091391477574e-04,
+-2.67162806931154044997e-04,
+-2.58095838090502502794e-04,
+-2.48891195497272449746e-04,
+-2.39554287013787821662e-04,
+-2.30090590267009276020e-04,
+-2.20505649442205787147e-04,
+-2.10805072042026829309e-04,
+-2.00994525612865481291e-04,
+-1.91079734440417233063e-04,
+-1.81066476216359793653e-04,
+-1.70960578678090068449e-04,
+-1.60767916223468677233e-04,
+-1.50494406502535882537e-04,
+-1.40146006988172149195e-04,
+-1.29728711527686151094e-04,
+-1.19248546877326160043e-04,
+-1.08711569221710101099e-04,
+-9.81238606801850763708e-05,
+-8.74915258021262919313e-05,
+-7.68206880531919903462e-05,
+-6.61174862945537560044e-05,
+-5.53880712571479811158e-05,
+-4.46386020128183616507e-05,
+-3.38752424447514053707e-05,
+-2.31041577187158825475e-05,
+-1.23315107575055638581e-05,
+-1.56345872044351334759e-06,
+ 9.19385051001696058297e-06,
+ 1.99342818325943639068e-05,
+ 3.06517164204148291097e-05,
+ 4.13400552010434981019e-05,
+ 5.19932223217173526989e-05,
+ 6.26051685973046974495e-05,
+ 7.31698749393950269174e-05,
+ 8.36813557645763278318e-05,
+ 9.41336623796225205937e-05,
+ 1.04520886342181746720e-04,
+ 1.14837162794693847952e-04,
+ 1.25076673769810187576e-04,
+ 1.35233651465430277944e-04,
+ 1.45302381487516881669e-04,
+ 1.55277206058868723132e-04,
+ 1.65152527192051468401e-04,
+ 1.74922809824715685349e-04,
+ 1.84582584915542787917e-04,
+ 1.94126452499097224393e-04,
+ 2.03549084697879242812e-04,
+ 2.12845228689902707473e-04,
+ 2.22009709630148407153e-04,
+ 2.31037433524272298050e-04,
+ 2.39923390052979132632e-04,
+ 2.48662655345496428575e-04,
+ 2.57250394700618317985e-04,
+ 2.65681865253823213443e-04,
+ 2.73952418588994082733e-04,
+ 2.82057503293309968541e-04,
+ 2.89992667453910593113e-04,
+ 2.97753561094963236852e-04,
+ 3.05335938553796587460e-04,
+ 3.12735660794901402029e-04,
+ 3.19948697660284706902e-04,
+ 3.26971130055313046695e-04,
+ 3.33799152068596993118e-04,
+ 3.40429073024882096823e-04,
+ 3.46857319469846304971e-04,
+ 3.53080437085642826617e-04,
+ 3.59095092536410422437e-04,
+ 3.64898075242447582529e-04,
+ 3.70486299082366027022e-04,
+ 3.75856804022209637847e-04,
+ 3.81006757670713364344e-04,
+ 3.85933456759954328450e-04,
+ 3.90634328550441736316e-04,
+ 3.95106932160183021464e-04,
+ 3.99348959816850238372e-04,
+ 4.03358238032495769118e-04,
+ 4.07132728700219297200e-04,
+ 4.10670530112230828569e-04,
+ 4.13969877898831897789e-04,
+ 4.17029145887845879240e-04,
+ 4.19846846884104163249e-04,
+ 4.22421633368623200468e-04,
+ 4.24752298117164013222e-04,
+ 4.26837774737901984833e-04,
+ 4.28677138127993610176e-04,
+ 4.30269604848864133020e-04,
+ 4.31614533420087809028e-04,
+ 4.32711424531789182885e-04,
+ 4.33559921175517891476e-04,
+ 4.34159808693626808693e-04,
+ 4.34511014747204218304e-04,
+ 4.34613609202668001435e-04,
+ 4.34467803937177638515e-04,
+ 4.34073952563060591527e-04,
+ 4.33432550071505902529e-04,
+ 4.32544232395796221600e-04,
+ 4.31409775894451988712e-04,
+ 4.30030096754630268997e-04,
+ 4.28406250316232413682e-04,
+ 4.26539430317180844748e-04,
+ 4.24430968060405871753e-04,
+ 4.22082331503046044325e-04,
+ 4.19495124268545250320e-04,
+ 4.16671084582238100344e-04,
+ 4.13612084131137220516e-04,
+ 4.10320126848655590979e-04,
+ 4.06797347625035990524e-04,
+ 4.03046010944322816681e-04,
+ 3.99068509448671923049e-04,
+ 3.94867362431040608978e-04,
+ 3.90445214257016648927e-04,
+ 3.85804832716899566078e-04,
+ 3.80949107308997192770e-04,
+ 3.75881047455209468464e-04,
+ 3.70603780649984598967e-04,
+ 3.65120550543784417111e-04,
+ 3.59434714962230262691e-04,
+ 3.53549743862119564622e-04,
+ 3.47469217225564457226e-04,
+ 3.41196822893517369337e-04,
+ 3.34736354339987610389e-04,
+ 3.28091708388290057355e-04,
+ 3.21266882870694259894e-04,
+ 3.14265974232871717151e-04,
+ 3.07093175084575183576e-04,
+ 2.99752771698005490968e-04,
+ 2.92249141455357803153e-04,
+ 2.84586750247056946388e-04,
+ 2.76770149822231086197e-04,
+ 2.68803975092983104406e-04,
+ 2.60692941394056651970e-04,
+ 2.52441841699531203946e-04,
+ 2.44055543798067387786e-04,
+ 2.35538987428655314377e-04,
+ 2.26897181378157982660e-04,
+ 2.18135200542623168421e-04,
+ 2.09258182954089169475e-04,
+ 2.00271326774336208163e-04,
+ 1.91179887257744631369e-04,
+ 1.81989173684729625387e-04,
+ 1.72704546267654705490e-04,
+ 1.63331413031008576943e-04,
+ 1.53875226667652081989e-04,
+ 1.44341481372964688425e-04,
+ 1.34735709658744315766e-04,
+ 1.25063479148570258709e-04,
+ 1.15330389356819486019e-04,
+ 1.05542068452749301325e-04,
+ 9.57041700118449787478e-05,
+ 8.58223697561741577077e-05,
+ 7.59023622856443207175e-05,
+ 6.59498578020433471767e-05,
+ 5.59705788277444033440e-05,
+ 4.59702569209572621425e-05,
+ 3.59546293894085665843e-05,
+ 2.59294360043086512160e-05,
+ 1.59004157166498285290e-05,
+ 5.87330337721188446920e-06,
+-4.14617353701999446564e-06,
+-1.41522981889934754151e-05,
+-2.41393676379234885633e-05,
+-3.41016960841382575317e-05,
+-4.40336181005696522257e-05,
+-5.39294918490548975433e-05,
+-6.37837022796263207513e-05,
+-7.35906643109786139231e-05,
+-8.33448259903158111123e-05,
+-9.30406716307915674464e-05,
+-1.02672724924753142484e-04,
+-1.12235552031169472749e-04,
+-1.21723764635187306645e-04,
+-1.31132022978417295961e-04,
+-1.40455038858246640358e-04,
+-1.49687578594178148693e-04,
+-1.58824465959857513524e-04,
+-1.67860585079007983188e-04,
+-1.76790883283683004619e-04,
+-1.85610373933242124578e-04,
+-1.94314139192479492721e-04,
+-2.02897332767363176810e-04,
+-2.11355182596845939808e-04,
+-2.19682993499378809155e-04,
+-2.27876149772357342645e-04,
+-2.35930117743474312237e-04,
+-2.43840448272265441099e-04,
+-2.51602779200596157229e-04,
+-2.59212837750722130490e-04,
+-2.66666442869611193447e-04,
+-2.73959507518241514052e-04,
+-2.81088040904634635809e-04,
+-2.88048150659414798139e-04,
+-2.94836044952623201488e-04,
+-3.01448034550882504670e-04,
+-3.07880534813461108779e-04,
+-3.14130067626494494971e-04,
+-3.20193263274004568698e-04,
+-3.26066862245033475126e-04,
+-3.31747716975704792786e-04,
+-3.37232793525372445079e-04,
+-3.42519173185958092365e-04,
+-3.47604054023637506869e-04,
+-3.52484752352054538874e-04,
+-3.57158704136308719976e-04,
+-3.61623466326981902238e-04,
+-3.65876718123521590606e-04,
+-3.69916262166333537249e-04,
+-3.73740025656983437721e-04,
+-3.77346061405942046450e-04,
+-3.80732548807360233426e-04,
+-3.83897794740389560527e-04,
+-3.86840234396619738182e-04,
+-3.89558432033239830650e-04,
+-3.92051081651568350539e-04,
+-3.94317007600659507997e-04,
+-3.96355165105705619343e-04,
+-3.98164640721032441449e-04,
+-3.99744652707502629626e-04,
+-4.01094551334191251613e-04,
+-4.02213819104267004522e-04,
+-4.03102070904986001763e-04,
+-4.03759054081854400035e-04,
+-4.04184648436960245865e-04,
+-4.04378866151571740410e-04,
+-4.04341851633132352058e-04,
+-4.04073881286819201839e-04,
+-4.03575363211878201074e-04,
+-4.02846836823000703422e-04,
+-4.01888972397027575446e-04,
+-4.00702570545332346658e-04,
+-3.99288561612268872933e-04,
+-3.97648005000088408580e-04,
+-3.95782088420835174210e-04,
+-3.93692127075682019467e-04,
+-3.91379562762282434078e-04,
+-3.88845962910724810089e-04,
+-3.86093019548719798301e-04,
+-3.83122548196679628581e-04,
+-3.79936486693416947905e-04,
+-3.76536893953195608929e-04,
+-3.72925948654929972394e-04,
+-3.69105947864348422904e-04,
+-3.65079305589995940784e-04,
+-3.60848551273959680056e-04,
+-3.56416328218264332091e-04,
+-3.51785391947902702746e-04,
+-3.46958608511509539966e-04,
+-3.41938952720719716982e-04,
+-3.36729506329282559166e-04,
+-3.31333456153044218079e-04,
+-3.25754092131937047095e-04,
+-3.19994805335147892728e-04,
+-3.14059085910667681873e-04,
+-3.07950520980461819095e-04,
+-3.01672792482518580589e-04,
+-2.95229674961088311026e-04,
+-2.88625033306340523283e-04,
+-2.81862820445018204176e-04,
+-2.74947074983157644778e-04,
+-2.67881918802505628041e-04,
+-2.60671554611964777660e-04,
+-2.53320263455520278562e-04,
+-2.45832402178220821125e-04,
+-2.38212400851451575621e-04,
+-2.30464760159363048859e-04,
+-2.22594048747734558165e-04,
+-2.14604900536931233329e-04,
+-2.06502012000535557258e-04,
+-1.98290139411133950476e-04,
+-1.89974096055152907262e-04,
+-1.81558749417992085131e-04,
+-1.73049018341384308823e-04,
+-1.64449870154523194316e-04,
+-1.55766317780646929318e-04,
+-1.47003416820761271481e-04,
+-1.38166262616194393661e-04,
+-1.29259987291687318631e-04,
+-1.20289756780731966232e-04,
+-1.11260767834878675090e-04,
+-1.02178245018739763763e-04,
+-9.30474376924268498914e-05,
+-8.38736169831565017523e-05,
+-7.46620727477739890053e-05,
+-6.54181105279376081448e-05,
+-5.61470484997162090244e-05,
+-4.68542144193485576007e-05,
+-3.75449425669173780990e-05,
+-2.82245706896867571811e-05,
+-1.88984369468525752515e-05,
+-9.57187685745089512619e-06,
+-2.50220253166946479370e-07,
+ 9.06121176221840221013e-06,
+ 1.83571098449908816895e-05,
+ 2.76321794336816537255e-05,
+ 3.68811437592135666556e-05,
+ 4.60987468417495339684e-05,
+ 5.52797564722329147621e-05,
+ 6.44189671769343854841e-05,
+ 7.35112031636342259672e-05,
+ 8.25513212473374231003e-05,
+ 9.15342137542006137590e-05,
+ 1.00454811401901069581e-04,
+ 1.09308086154850524381e-04,
+ 1.18089054052647829071e-04,
+ 1.26792778010161884652e-04,
+ 1.35414370587798690198e-04,
+ 1.43948996730092746744e-04,
+ 1.52391876471503188604e-04,
+ 1.60738287607595838752e-04,
+ 1.68983568330243670531e-04,
+ 1.77123119825359898573e-04,
+ 1.85152408831718565856e-04,
+ 1.93066970159443514676e-04,
+ 2.00862409166768096517e-04,
+ 2.08534404193699878438e-04,
+ 2.16078708951240975071e-04,
+ 2.23491154864851335540e-04,
+ 2.30767653370864866047e-04,
+ 2.37904198164594560738e-04,
+ 2.44896867398899378224e-04,
+ 2.51741825832007637496e-04,
+ 2.58435326923423880699e-04,
+ 2.64973714876783311267e-04,
+ 2.71353426628539464403e-04,
+ 2.77570993781410069266e-04,
+ 2.83623044481539374282e-04,
+ 2.89506305238360116608e-04,
+ 2.95217602686185913181e-04,
+ 3.00753865286583336493e-04,
+ 3.06112124970612023683e-04,
+ 3.11289518720129045667e-04,
+ 3.16283290087134808400e-04,
+ 3.21090790650627329848e-04,
+ 3.25709481409937177433e-04,
+ 3.30136934114071980105e-04,
+ 3.34370832526131541752e-04,
+ 3.38408973622323120626e-04,
+ 3.42249268724889273759e-04,
+ 3.45889744568388601224e-04,
+ 3.49328544298793523294e-04,
+ 3.52563928404906736999e-04,
+ 3.55594275581636054019e-04,
+ 3.58418083524750480211e-04,
+ 3.61033969656628290525e-04,
+ 3.63440671782813055999e-04,
+ 3.65637048678958849739e-04,
+ 3.67622080607960151355e-04,
+ 3.69394869767037141092e-04,
+ 3.70954640664598411879e-04,
+ 3.72300740426744327174e-04,
+ 3.73432639033317674820e-04,
+ 3.74349929483439925783e-04,
+ 3.75052327890526104696e-04,
+ 3.75539673506779519020e-04,
+ 3.75811928677284036969e-04,
+ 3.75869178723718091930e-04,
+ 3.75711631757917824750e-04,
+ 3.75339618425418329768e-04,
+ 3.74753591579224973156e-04,
+ 3.73954125884068270050e-04,
+ 3.72941917351453974382e-04,
+ 3.71717782805840797795e-04,
+ 3.70282659282345936666e-04,
+ 3.68637603356378044158e-04,
+ 3.66783790405674587840e-04,
+ 3.64722513805233164354e-04,
+ 3.62455184055677408564e-04,
+ 3.59983327845599923502e-04,
+ 3.57308587048594551976e-04,
+ 3.54432717655444305162e-04,
+ 3.51357588642338164626e-04,
+ 3.48085180775715128960e-04,
+ 3.44617585354531092562e-04,
+ 3.40957002890739319448e-04,
+ 3.37105741728795874762e-04,
+ 3.33066216605056779430e-04,
+ 3.28840947147959132123e-04,
+ 3.24432556319903108322e-04,
+ 3.19843768801808070543e-04,
+ 3.15077409321264686852e-04,
+ 3.10136400925462669617e-04,
+ 3.05023763199732222788e-04,
+ 2.99742610432934862910e-04,
+ 2.94296149730754368415e-04,
+ 2.88687679078032178367e-04,
+ 2.82920585351309613817e-04,
+ 2.76998342282779573022e-04,
+ 2.70924508376842870794e-04,
+ 2.64702724780600893301e-04,
+ 2.58336713109347953805e-04,
+ 2.51830273228646013463e-04,
+ 2.45187280994006067195e-04,
+ 2.38411685949818300109e-04,
+ 2.31507508988586837694e-04,
+ 2.24478839972069534785e-04,
+ 2.17329835315641735263e-04,
+ 2.10064715537319865631e-04,
+ 2.02687762772885523210e-04,
+ 1.95203318258571319535e-04,
+ 1.87615779782783292061e-04,
+ 1.79929599108352478208e-04,
+ 1.72149279366823641443e-04,
+ 1.64279372426300712944e-04,
+ 1.56324476234388271998e-04,
+ 1.48289232137772291394e-04,
+ 1.40178322180001724197e-04,
+ 1.31996466379041452969e-04,
+ 1.23748419986174359531e-04,
+ 1.15438970727843310919e-04,
+ 1.07072936032028641199e-04,
+ 9.86551602407646912674e-05,
+ 9.01905118104061922493e-05,
+ 8.16838805012586526922e-05,
+ 7.31401745581928999611e-05,
+ 6.45643178838649969007e-05,
+ 5.59612472061890399498e-05,
+ 4.73359092415654616050e-05,
+ 3.86932578557977460893e-05,
+ 3.00382512239181022112e-05,
+ 2.13758489908508619718e-05,
+ 1.27110094344164514346e-05,
+ 4.04868663231493498654e-06,
+-4.60617236531486804862e-06,
+-1.32486303560268950814e-05,
+-2.18737627965935988274e-05,
+-3.04766606039162663141e-05,
+-3.90524329440386771335e-05,
+-4.75962100075382721592e-05,
+-5.61031457698656416577e-05,
+-6.45684207347658160750e-05,
+-7.29872446596370569490e-05,
+-8.13548592609855323026e-05,
+-8.96665408985710283294e-05,
+-9.79176032367135154100e-05,
+-1.06103399881264301701e-04,
+-1.14219326990759500518e-04,
+-1.22260825860294306986e-04,
+-1.30223385476667787367e-04,
+-1.38102545043372279022e-04,
+-1.45893896474014590726e-04,
+-1.53593086852781251627e-04,
+-1.61195820860575358014e-04,
+-1.68697863165478154166e-04,
+-1.76095040776206332271e-04,
+-1.83383245357263575124e-04,
+-1.90558435504502971490e-04,
+-1.97616638979844499871e-04,
+-2.04553954903916496199e-04,
+-2.11366555905413412665e-04,
+-2.18050690225988521003e-04,
+-2.24602683779532712486e-04,
+-2.31018942164689760873e-04,
+-2.37295952629612913335e-04,
+-2.43430285987647672136e-04,
+-2.49418598483226250720e-04,
+-2.55257633606716517576e-04,
+-2.60944223857345624935e-04,
+-2.66475292453244793581e-04,
+-2.71847854987617462523e-04,
+-2.77059021030343338027e-04,
+-2.82105995673898740650e-04,
+-2.86986081022970918215e-04,
+-2.91696677626899613517e-04,
+-2.96235285854203533526e-04,
+-3.00599507208460371525e-04,
+-3.04787045584920001685e-04,
+-3.08795708467034170797e-04,
+-3.12623408062509989137e-04,
+-3.16268162378132073644e-04,
+-3.19728096232883450198e-04,
+-3.23001442208842737963e-04,
+-3.26086541539376013193e-04,
+-3.28981844934199483665e-04,
+-3.31685913340901627425e-04,
+-3.34197418642568527033e-04,
+-3.36515144291180958672e-04,
+-3.38637985876496302052e-04,
+-3.40564951630163302489e-04,
+-3.42295162864854200010e-04,
+-3.43827854348234302102e-04,
+-3.45162374611635318009e-04,
+-3.46298186193322516443e-04,
+-3.47234865816296292464e-04,
+-3.47972104500599249514e-04,
+-3.48509707610135627091e-04,
+-3.48847594834057013122e-04,
+-3.48985800102794084098e-04,
+-3.48924471438857429929e-04,
+-3.48663870742568846994e-04,
+-3.48204373512918418428e-04,
+-3.47546468503779780370e-04,
+-3.46690757315755763122e-04,
+-3.45637953923957387536e-04,
+-3.44388884142068690732e-04,
+-3.42944485023055438931e-04,
+-3.41305804196959756622e-04,
+-3.39473999146208769290e-04,
+-3.37450336418937347962e-04,
+-3.35236190780833392174e-04,
+-3.32833044306071442267e-04,
+-3.30242485407915102851e-04,
+-3.27466207809625300430e-04,
+-3.24506009456285323105e-04,
+-3.21363791368333459424e-04,
+-3.18041556437396186544e-04,
+-3.14541408165269157499e-04,
+-3.10865549346798478083e-04,
+-3.07016280697481171256e-04,
+-3.02995999426636253033e-04,
+-2.98807197757022834691e-04,
+-2.94452461391812403239e-04,
+-2.89934467929851976634e-04,
+-2.85255985230187464677e-04,
+-2.80419869726833046429e-04,
+-2.75429064694814387804e-04,
+-2.70286598468527671825e-04,
+-2.64995582613490349589e-04,
+-2.59559210052583209764e-04,
+-2.53980753147903693268e-04,
+-2.48263561739382960028e-04,
+-2.42411061141333119629e-04,
+-2.36426750098121530837e-04,
+-2.30314198700187072744e-04,
+-2.24077046261636817458e-04,
+-2.17718999160677065480e-04,
+-2.11243828644175747709e-04,
+-2.04655368597559766909e-04,
+-1.97957513281590559125e-04,
+-1.91154215037028974876e-04,
+-1.84249481958865466954e-04,
+-1.77247375541147338725e-04,
+-1.70152008294119155233e-04,
+-1.62967541334830558729e-04,
+-1.55698181952718529668e-04,
+-1.48348181151564014997e-04,
+-1.40921831169260738459e-04,
+-1.33423462976836989169e-04,
+-1.25857443758204442640e-04,
+-1.18228174371988047249e-04,
+-1.10540086797179302569e-04,
+-1.02797641563733886216e-04,
+-9.50053251698690202779e-05,
+-8.71676474874451848130e-05,
+-7.92891391569480421435e-05,
+-7.13743489735723545724e-05,
+-6.34278412659133373520e-05,
+-5.54541932687728470635e-05,
+-4.74579924915896622650e-05,
+-3.94438340839858202430e-05,
+-3.14163182000519927554e-05,
+-2.33800473626161515084e-05,
+-1.53396238292672757364e-05,
+-7.29964696164099043725e-06,
+ 7.35289400800058785423e-07,
+ 8.76059956072690135676e-06,
+ 1.67717085752691440334e-05,
+ 2.47640548591994233581e-05,
+ 3.27330927774992179306e-05,
+ 4.06742952258349121995e-05,
+ 4.85831561974826067188e-05,
+ 5.64551933352481954465e-05,
+ 6.42859504669411802903e-05,
+ 7.20710001229515570022e-05,
+ 7.98059460346407204163e-05,
+ 8.74864256117493171517e-05,
+ 9.51081123980788522947e-05,
+ 1.02666718503417308400e-04,
+ 1.10157997010735983186e-04,
+ 1.17577744357177826798e-04,
+ 1.24921802687524364020e-04,
+ 1.32186062178827283932e-04,
+ 1.39366463334907178051e-04,
+ 1.46458999249442900882e-04,
+ 1.53459717836390693510e-04,
+ 1.60364724026482917364e-04,
+ 1.67170181928681389327e-04,
+ 1.73872316955147449263e-04,
+ 1.80467417908883949636e-04,
+ 1.86951839032647022755e-04,
+ 1.93322002018104301428e-04,
+ 1.99574397974115166953e-04,
+ 2.05705589353056221948e-04,
+ 2.11712211834139661399e-04,
+ 2.17590976162706123713e-04,
+ 2.23338669944412427466e-04,
+ 2.28952159393546036611e-04,
+ 2.34428391034224761335e-04,
+ 2.39764393353856245438e-04,
+ 2.44957278407680664051e-04,
+ 2.50004243373813900102e-04,
+ 2.54902572057763023537e-04,
+ 2.59649636345685814673e-04,
+ 2.64242897605613895860e-04,
+ 2.68679908035895302198e-04,
+ 2.72958311960145715448e-04,
+ 2.77075847068031439532e-04,
+ 2.81030345601230668959e-04,
+ 2.84819735483968607473e-04,
+ 2.88442041397530505187e-04,
+ 2.91895385798214199429e-04,
+ 2.95177989878195508062e-04,
+ 2.98288174468830185292e-04,
+ 3.01224360885935828203e-04,
+ 3.03985071716642170879e-04,
+ 3.06568931547421675947e-04,
+ 3.08974667632958628800e-04,
+ 3.11201110505533425424e-04,
+ 3.13247194524650732217e-04,
+ 3.15111958366658898717e-04,
+ 3.16794545454155058485e-04,
+ 3.18294204324996645328e-04,
+ 3.19610288940773337035e-04,
+ 3.20742258934658165670e-04,
+ 3.21689679798506877016e-04,
+ 3.22452223009245763068e-04,
+ 3.23029666094488715922e-04,
+ 3.23421892637434677410e-04,
+ 3.23628892221117367076e-04,
+ 3.23650760312099662532e-04,
+ 3.23487698083753741091e-04,
+ 3.23140012179301756075e-04,
+ 3.22608114414811391040e-04,
+ 3.21892521422396742613e-04,
+ 3.20993854233888264126e-04,
+ 3.19912837805281418183e-04,
+ 3.18650300482314343883e-04,
+ 3.17207173407532596471e-04,
+ 3.15584489869251980446e-04,
+ 3.13783384592866167444e-04,
+ 3.11805092974967040537e-04,
+ 3.09650950260776226895e-04,
+ 3.07322390665431383582e-04,
+ 3.04820946439691672133e-04,
+ 3.02148246880660359404e-04,
+ 2.99306017288154683001e-04,
+ 2.96296077867383965149e-04,
+ 2.93120342578621461815e-04,
+ 2.89780817934593706246e-04,
+ 2.86279601746334145390e-04,
+ 2.82618881818277357942e-04,
+ 2.78800934593397952560e-04,
+ 2.74828123749229578238e-04,
+ 2.70702898745622138645e-04,
+ 2.66427793325122298871e-04,
+ 2.62005423966893218578e-04,
+ 2.57438488295109720125e-04,
+ 2.52729763442789332178e-04,
+ 2.47882104372053313750e-04,
+ 2.42898442151831685893e-04,
+ 2.37781782193984719039e-04,
+ 2.32535202449068816293e-04,
+ 2.27161851562591142212e-04,
+ 2.21664946993031298540e-04,
+ 2.16047773092666164701e-04,
+ 2.10313679152429068835e-04,
+ 2.04466077411766494580e-04,
+ 1.98508441034933119868e-04,
+ 1.92444302054725852134e-04,
+ 1.86277249284949120503e-04,
+ 1.80010926202826978225e-04,
+ 1.73649028802625680088e-04,
+ 1.67195303421656588962e-04,
+ 1.60653544540157914395e-04,
+ 1.54027592556047951671e-04,
+ 1.47321331536073504842e-04,
+ 1.40538686944578018788e-04,
+ 1.33683623351231527059e-04,
+ 1.26760142119053490503e-04,
+ 1.19772279074078399062e-04,
+ 1.12724102158015825103e-04,
+ 1.05619709065267838215e-04,
+ 9.84632248656736166819e-05,
+ 9.12587996143574470059e-05,
+ 8.40106059500621168935e-05,
+ 7.67228366833554533723e-05,
+ 6.93997023760999396736e-05,
+ 6.20454289135817277541e-05,
+ 5.46642550706949160956e-05,
+ 4.72604300735806080519e-05,
+ 3.98382111581210927170e-05,
+ 3.24018611266886229260e-05,
+ 2.49556459045488985800e-05,
+ 1.75038320973170900537e-05,
+ 1.00506845508623119789e-05,
+ 2.60046391505357440467e-06,
+-4.84257578724628453024e-06,
+-1.22741895846601957513e-05,
+-1.96901439736055691699e-05,
+-2.70862193254132534745e-05,
+-3.44582122826427863452e-05,
+-4.18019381432365520865e-05,
+-4.91132332314092313582e-05,
+-5.63879572535800466628e-05,
+-6.36219956382819091861e-05,
+-7.08112618586212363026e-05,
+-7.79516997359988795179e-05,
+-8.50392857237956806661e-05,
+-9.20700311697229486791e-05,
+-9.90399845556698052700e-05,
+-1.05945233713539423387e-04,
+-1.12781908016172197095e-04,
+-1.19546180541878292172e-04,
+-1.26234270211473149090e-04,
+-1.32842443896610563079e-04,
+-1.39367018498237036110e-04,
+-1.45804362994017441780e-04,
+-1.52150900453594729216e-04,
+-1.58403110020568740251e-04,
+-1.64557528860099149893e-04,
+-1.70610754071058763354e-04,
+-1.76559444561685330907e-04,
+-1.82400322887701021131e-04,
+-1.88130177051889265882e-04,
+-1.93745862264151107917e-04,
+-1.99244302661073536273e-04,
+-2.04622492984076230016e-04,
+-2.09877500215226739464e-04,
+-2.15006465169834002022e-04,
+-2.20006604044963781320e-04,
+-2.24875209923037860070e-04,
+-2.29609654229712996506e-04,
+-2.34207388145253733377e-04,
+-2.38665943968643126617e-04,
+-2.42982936433764040154e-04,
+-2.47156063976803242084e-04,
+-2.51183109954370624526e-04,
+-2.55061943811678553534e-04,
+-2.58790522200035065601e-04,
+-2.62366890043213652015e-04,
+-2.65789181552087544740e-04,
+-2.69055621187019552206e-04,
+-2.72164524567514133028e-04,
+-2.75114299328679378503e-04,
+-2.77903445924066144594e-04,
+-2.80530558374482365432e-04,
+-2.82994324962458426113e-04,
+-2.85293528871928667081e-04,
+-2.87427048772961131386e-04,
+-2.89393859351164052952e-04,
+-2.91193031781574363133e-04,
+-2.92823734146810019888e-04,
+-2.94285231799317132436e-04,
+-2.95576887667566815150e-04,
+-2.96698162506095247833e-04,
+-2.97648615089306386138e-04,
+-2.98427902348986473068e-04,
+-2.99035779455541356198e-04,
+-2.99472099842951298022e-04,
+-2.99736815177487569105e-04,
+-2.99829975270314748326e-04,
+-2.99751727934055112266e-04,
+-2.99502318783477473017e-04,
+-2.99082090980496079820e-04,
+-2.98491484923676638277e-04,
+-2.97731037882504939382e-04,
+-2.96801383576682481068e-04,
+-2.95703251700761983022e-04,
+-2.94437467394450386442e-04,
+-2.93004950658959568456e-04,
+-2.91406715719765864719e-04,
+-2.89643870336288734163e-04,
+-2.87717615058818976508e-04,
+-2.85629242433306474672e-04,
+-2.83380136154447051858e-04,
+-2.80971770167645455707e-04,
+-2.78405707720416845195e-04,
+-2.75683600363831927699e-04,
+-2.72807186904635450876e-04,
+-2.69778292308697948982e-04,
+-2.66598826556476689500e-04,
+-2.63270783451207898707e-04,
+-2.59796239380568065765e-04,
+-2.56177352032518543517e-04,
+-2.52416359066249054721e-04,
+-2.48515576738865041385e-04,
+-2.44477398488780056640e-04,
+-2.40304293476628925757e-04,
+-2.35998805084586303973e-04,
+-2.31563549375006809058e-04,
+-2.27001213509300385799e-04,
+-2.22314554128057417478e-04,
+-2.17506395693240964359e-04,
+-2.12579628793644199699e-04,
+-2.07537208414486720482e-04,
+-2.02382152172165928486e-04,
+-1.97117538515386705664e-04,
+-1.91746504893500153760e-04,
+-1.86272245893312135556e-04,
+-1.80698011345398386069e-04,
+-1.75027104401053194751e-04,
+-1.69262879581007170742e-04,
+-1.63408740797064619410e-04,
+-1.57468139347822794899e-04,
+-1.51444571889650255424e-04,
+-1.45341578384115073432e-04,
+-1.39162740023062326405e-04,
+-1.32911677132557424445e-04,
+-1.26592047056915218929e-04,
+-1.20207542024052590340e-04,
+-1.13761886993405384643e-04,
+-1.07258837487659783316e-04,
+-1.00702177409562164813e-04,
+-9.40957168450681270561e-05,
+-8.74432898541086471968e-05,
+-8.07487522502475194583e-05,
+-7.40159793705156095938e-05,
+-6.72488638367082234085e-05,
+-6.04513133094537063756e-05,
+-5.36272482362472248819e-05,
+-4.67805995949890251378e-05,
+-3.99153066340006816592e-05,
+-3.30353146100565781473e-05,
+-2.61445725256313035213e-05,
+-1.92470308666743191849e-05,
+-1.23466393421882220175e-05,
+-5.44734462700067394256e-06,
+ 1.44691189122907742152e-06,
+ 8.33219635915731991185e-06,
+ 1.52045846980238205263e-05,
+ 2.20601648356691710140e-05,
+ 2.88950389290342959231e-05,
+ 3.57053255759800123258e-05,
+ 4.24871620149298346875e-05,
+ 4.92367063114172048323e-05,
+ 5.59501395300588034607e-05,
+ 6.26236678908249482520e-05,
+ 6.92535249083772849656e-05,
+ 7.58359735132689484916e-05,
+ 8.23673081538160148027e-05,
+ 8.88438568774603065845e-05,
+ 9.52619833904571407419e-05,
+ 1.01618089094736445996e-04,
+ 1.07908615100796547912e-04,
+ 1.14130044215511548540e-04,
+ 1.20278902903740668169e-04,
+ 1.26351763222651335486e-04,
+ 1.32345244727680633103e-04,
+ 1.38256016349078191072e-04,
+ 1.44080798237992946907e-04,
+ 1.49816363581082602745e-04,
+ 1.55459540382645440516e-04,
+ 1.61007213213293658063e-04,
+ 1.66456324924208517568e-04,
+ 1.71803878326033914858e-04,
+ 1.77046937831481864629e-04,
+ 1.82182631060826721089e-04,
+ 1.87208150409221387497e-04,
+ 1.92120754575244299164e-04,
+ 1.96917770049651416229e-04,
+ 2.01596592563618655673e-04,
+ 2.06154688495617809162e-04,
+ 2.10589596236331749735e-04,
+ 2.14898927510659952262e-04,
+ 2.19080368656271521873e-04,
+ 2.23131681857964108947e-04,
+ 2.27050706337181441982e-04,
+ 2.30835359496065032096e-04,
+ 2.34483638015429345178e-04,
+ 2.37993618906142247269e-04,
+ 2.41363460513226320541e-04,
+ 2.44591403472347386668e-04,
+ 2.47675771618061590050e-04,
+ 2.50614972843412405108e-04,
+ 2.53407499910435565511e-04,
+ 2.56051931211167507936e-04,
+ 2.58546931478778998018e-04,
+ 2.60891252448485638522e-04,
+ 2.63083733467921166392e-04,
+ 2.65123302056677822517e-04,
+ 2.67008974414759331969e-04,
+ 2.68739855879716155965e-04,
+ 2.70315141332255878728e-04,
+ 2.71734115550168267312e-04,
+ 2.72996153510415167677e-04,
+ 2.74100720639277955180e-04,
+ 2.75047373010480411190e-04,
+ 2.75835757491237044091e-04,
+ 2.76465611836200725413e-04,
+ 2.76936764729322759931e-04,
+ 2.77249135773662686282e-04,
+ 2.77402735429210095530e-04,
+ 2.77397664898823418430e-04,
+ 2.77234115962408846773e-04,
+ 2.76912370759493020253e-04,
+ 2.76432801520381165802e-04,
+ 2.75795870246112379866e-04,
+ 2.75002128337457571201e-04,
+ 2.74052216173225097421e-04,
+ 2.72946862638190302849e-04,
+ 2.71686884600967171015e-04,
+ 2.70273186342183185330e-04,
+ 2.68706758933346897579e-04,
+ 2.66988679566817544743e-04,
+ 2.65120110837324977557e-04,
+ 2.63102299975484803154e-04,
+ 2.60936578033862389640e-04,
+ 2.58624359026030797588e-04,
+ 2.56167139019227189586e-04,
+ 2.53566495181161690939e-04,
+ 2.50824084781579728989e-04,
+ 2.47941644149205875185e-04,
+ 2.44920987584716133307e-04,
+ 2.41764006230414186041e-04,
+ 2.38472666897310341073e-04,
+ 2.35049010850323818796e-04,
+ 2.31495152552345612000e-04,
+ 2.27813278367987374863e-04,
+ 2.24005645227630785727e-04,
+ 2.20074579252881860408e-04,
+ 2.16022474343967573742e-04,
+ 2.11851790730109416395e-04,
+ 2.07565053483680750195e-04,
+ 2.03164850999056984188e-04,
+ 1.98653833437066455227e-04,
+ 1.94034711135973993255e-04,
+ 1.89310252989946878202e-04,
+ 1.84483284795969022882e-04,
+ 1.79556687570185045640e-04,
+ 1.74533395834689777828e-04,
+ 1.69416395875703968332e-04,
+ 1.64208723974330704888e-04,
+ 1.58913464610781706397e-04,
+ 1.53533748643116163459e-04,
+ 1.48072751461745600373e-04,
+ 1.42533691120615488420e-04,
+ 1.36919826446232244851e-04,
+ 1.31234455125635378044e-04,
+ 1.25480911774428335794e-04,
+ 1.19662565986003067314e-04,
+ 1.13782820363092171140e-04,
+ 1.07845108532812357350e-04,
+ 1.01852893146268084785e-04,
+ 9.58096638640913071758e-05,
+ 8.97189353288038125020e-05,
+ 8.35842451253892703041e-05,
+ 7.74091517311708171871e-05,
+ 7.11972324561945549498e-05,
+ 6.49520813753084395436e-05,
+ 5.86773072531284785184e-05,
+ 5.23765314630894333252e-05,
+ 4.60533859017605735615e-05,
+ 3.97115108997169615726e-05,
+ 3.33545531299399012877e-05,
+ 2.69861635152601212417e-05,
+ 2.06099951357281601966e-05,
+ 1.42297011374239464445e-05,
+ 7.84893264358421670118e-06,
+ 1.47133666946563786569e-06,
+-4.89944595795788563131e-06,
+-1.12597826742650033679e-05,
+-1.76060512446440944824e-05,
+-2.39346418225641322213e-05,
+-3.02419589988916038355e-05,
+-3.65244238402926538526e-05,
+-4.27784759157675114065e-05,
+-4.90005753101717809908e-05,
+-5.51872046235883968062e-05,
+-6.13348709554239443801e-05,
+-6.74401078721121943153e-05,
+-7.34994773573187349476e-05,
+-7.95095717435526355005e-05,
+-8.54670156241022589347e-05,
+-9.13684677442247916886e-05,
+-9.72106228705329827259e-05,
+-1.02990213637535249144e-04,
+-1.08704012370301582183e-04,
+-1.14348832882239030933e-04,
+-1.19921532246967561266e-04,
+-1.25419012543391523258e-04,
+-1.30838222572801670578e-04,
+-1.36176159547326554701e-04,
+-1.41429870748598893225e-04,
+-1.46596455155808636037e-04,
+-1.51673065042229072161e-04,
+-1.56656907539345593332e-04,
+-1.61545246167741111346e-04,
+-1.66335402333829893021e-04,
+-1.71024756791804714243e-04,
+-1.75610751069764359483e-04,
+-1.80090888859417295109e-04,
+-1.84462737368601463689e-04,
+-1.88723928635743296543e-04,
+-1.92872160805764557030e-04,
+-1.96905199366593993164e-04,
+-2.00820878345682555252e-04,
+-2.04617101465884017146e-04,
+-2.08291843260079455108e-04,
+-2.11843150143963964045e-04,
+-2.15269141446432097026e-04,
+-2.18568010397017243587e-04,
+-2.21738025069880467571e-04,
+-2.24777529283855221449e-04,
+-2.27684943458087584887e-04,
+-2.30458765422837560640e-04,
+-2.33097571185028482272e-04,
+-2.35600015648165144258e-04,
+-2.37964833286258476731e-04,
+-2.40190838771433997885e-04,
+-2.42276927554912959329e-04,
+-2.44222076401095133848e-04,
+-2.46025343874493635128e-04,
+-2.47685870779298261159e-04,
+-2.49202880551373695713e-04,
+-2.50575679602528446788e-04,
+-2.51803657616905742379e-04,
+-2.52886287799411761581e-04,
+-2.53823127076041447393e-04,
+-2.54613816246114423730e-04,
+-2.55258080086343225150e-04,
+-2.55755727406747662873e-04,
+-2.56106651058446010017e-04,
+-2.56310827893362850466e-04,
+-2.56368318675959138472e-04,
+-2.56279267947061176278e-04,
+-2.56043903839951736412e-04,
+-2.55662537848869153827e-04,
+-2.55135564550115290575e-04,
+-2.54463461275976690883e-04,
+-2.53646787741720056760e-04,
+-2.52686185625914012682e-04,
+-2.51582378104383988602e-04,
+-2.50336169338122934043e-04,
+-2.48948443915500688007e-04,
+-2.47420166249151312829e-04,
+-2.45752379927938354159e-04,
+-2.43946207024417992780e-04,
+-2.42002847358256754223e-04,
+-2.39923577716073371238e-04,
+-2.37709751028206703414e-04,
+-2.35362795502931025464e-04,
+-2.32884213718665853896e-04,
+-2.30275581674753719499e-04,
+-2.27538547801391219296e-04,
+-2.24674831929338742875e-04,
+-2.21686224220039661921e-04,
+-2.18574584056813192318e-04,
+-2.15341838897799910417e-04,
+-2.11989983091363462259e-04,
+-2.08521076654672306251e-04,
+-2.04937244016203435910e-04,
+-2.01240672722932391033e-04,
+-1.97433612112999371446e-04,
+-1.93518371954601639930e-04,
+-1.89497321052062165161e-04,
+-1.85372885819735596941e-04,
+-1.81147548824731936421e-04,
+-1.76823847299330738289e-04,
+-1.72404371623836980172e-04,
+-1.67891763780981287087e-04,
+-1.63288715782630906338e-04,
+-1.58597968069809712021e-04,
+-1.53822307886959517469e-04,
+-1.48964567631409072149e-04,
+-1.44027623179032189917e-04,
+-1.39014392187015984161e-04,
+-1.33927832374908250841e-04,
+-1.28770939784726684953e-04,
+-1.23546747021317972074e-04,
+-1.18258321473934703560e-04,
+-1.12908763520077224328e-04,
+-1.07501204712651167732e-04,
+-1.02038805951497883089e-04,
+-9.65247556403633775101e-05,
+-9.09622678303766927241e-05,
+-8.53545803511158610944e-05,
+-7.97049529303493834971e-05,
+-7.40166653035361572950e-05,
+-6.82930153141845771095e-05,
+-6.25373170061634808944e-05,
+-5.67528987090696620090e-05,
+-5.09431011177533815009e-05,
+-4.51112753671087087165e-05,
+-3.92607811032360062451e-05,
+-3.33949845520835634973e-05,
+-2.75172565866769451451e-05,
+-2.16309707940438413821e-05,
+-1.57395015429393948119e-05,
+-9.84622205347808669251e-06,
+-3.95450246978667291299e-06,
+ 1.93229206330573338499e-06,
+ 7.81080331823583281971e-06,
+ 1.36776818965353001598e-05,
+ 1.95295891331412940274e-05,
+ 2.53631989924010254722e-05,
+ 3.11751999544031924995e-05,
+ 3.69622968907776241966e-05,
+ 4.27212129288199275452e-05,
+ 4.84486913029018664584e-05,
+ 5.41414971921248957621e-05,
+ 5.97964195431813658947e-05,
+ 6.54102728773860912868e-05,
+ 7.09798990809431715968e-05,
+ 7.65021691772440931741e-05,
+ 8.19739850804731076412e-05,
+ 8.73922813293384121618e-05,
+ 9.27540268000407564604e-05,
+ 9.80562263975138116018e-05,
+ 1.03295922723993288585e-04,
+ 1.08470197723987624161e-04,
+ 1.13576174304741347185e-04,
+ 1.18611017931288513657e-04,
+ 1.23571938195231626964e-04,
+ 1.28456190356295279348e-04,
+ 1.33261076856053907241e-04,
+ 1.37983948802590338087e-04,
+ 1.42622207425680382412e-04,
+ 1.47173305501465306920e-04,
+ 1.51634748745910018621e-04,
+ 1.56004097176282787189e-04,
+ 1.60278966439910032374e-04,
+ 1.64457029109492771420e-04,
+ 1.68536015944279398771e-04,
+ 1.72513717116415843562e-04,
+ 1.76387983401819222569e-04,
+ 1.80156727334917880767e-04,
+ 1.83817924326707803767e-04,
+ 1.87369613745391966429e-04,
+ 1.90809899959169668648e-04,
+ 1.94136953340610880553e-04,
+ 1.97349011231975375721e-04,
+ 2.00444378871088047271e-04,
+ 2.03421430277243321921e-04,
+ 2.06278609096683117384e-04,
+ 2.09014429407214987486e-04,
+ 2.11627476481567565469e-04,
+ 2.14116407509085294883e-04,
+ 2.16479952275410651545e-04,
+ 2.18716913799805800578e-04,
+ 2.20826168929834235413e-04,
+ 2.22806668893034610273e-04,
+ 2.24657439805431047601e-04,
+ 2.26377583136560162113e-04,
+ 2.27966276130837073623e-04,
+ 2.29422772185062839910e-04,
+ 2.30746401181916479780e-04,
+ 2.31936569779289853983e-04,
+ 2.32992761655362052436e-04,
+ 2.33914537709302807530e-04,
+ 2.34701536217598021733e-04,
+ 2.35353472945890507175e-04,
+ 2.35870141216392695174e-04,
+ 2.36251411930833043378e-04,
+ 2.36497233549024313271e-04,
+ 2.36607632023086867507e-04,
+ 2.36582710687435922303e-04,
+ 2.36422650104641229310e-04,
+ 2.36127707867309972372e-04,
+ 2.35698218356151145605e-04,
+ 2.35134592454421556497e-04,
+ 2.34437317218964954776e-04,
+ 2.33606955508089235429e-04,
+ 2.32644145566544174094e-04,
+ 2.31549600567894977307e-04,
+ 2.30324108114598991807e-04,
+ 2.28968529696129264976e-04,
+ 2.27483800105504667616e-04,
+ 2.25870926814611687646e-04,
+ 2.24130989308722247937e-04,
+ 2.22265138380645918331e-04,
+ 2.20274595384963348642e-04,
+ 2.18160651452820167134e-04,
+ 2.15924666667776987477e-04,
+ 2.13568069203236673070e-04,
+ 2.11092354421993914264e-04,
+ 2.08499083938437130724e-04,
+ 2.05789884644064712763e-04,
+ 2.02966447696813575728e-04,
+ 2.00030527474900313590e-04,
+ 1.96983940495784002342e-04,
+ 1.93828564300923292208e-04,
+ 1.90566336307002704526e-04,
+ 1.87199252624317116680e-04,
+ 1.83729366843086441233e-04,
+ 1.80158788788307001969e-04,
+ 1.76489683244053914514e-04,
+ 1.72724268647881387890e-04,
+ 1.68864815756162396296e-04,
+ 1.64913646281104273863e-04,
+ 1.60873131500388584026e-04,
+ 1.56745690840089552413e-04,
+ 1.52533790431842698147e-04,
+ 1.48239941645072722306e-04,
+ 1.43866699595155821557e-04,
+ 1.39416661628403223006e-04,
+ 1.34892465784759241557e-04,
+ 1.30296789239119602255e-04,
+ 1.25632346722192602372e-04,
+ 1.20901888921826961877e-04,
+ 1.16108200865747232967e-04,
+ 1.11254100286645201583e-04,
+ 1.06342435970584441723e-04,
+ 1.01376086089681932472e-04,
+ 9.63579565200426416864e-05,
+ 9.12909791459249860338e-05,
+ 8.61781101511258242455e-05,
+ 8.10223282985787361839e-05,
+ 7.58266331991632841188e-05,
+ 7.05940435707285904570e-05,
+ 6.53275954883418709775e-05,
+ 6.00303406267707601431e-05,
+ 5.47053444962296712734e-05,
+ 4.93556846723300390086e-05,
+ 4.39844490214451387493e-05,
+ 3.85947339222574980089e-05,
+ 3.31896424847004075168e-05,
+ 2.77722827672396915886e-05,
+ 2.23457659935181742969e-05,
+ 1.69132047694604267319e-05,
+ 1.14777113016647637858e-05,
+ 6.04239561835710224983e-06,
+ 6.10363793728645020518e-07,
+-4.81528382325380808311e-06,
+-1.02314543745700456363e-05,
+-1.56350642523847494154e-05,
+-2.10230408508807413534e-05,
+-2.63923243095009231191e-05,
+-3.17398692468697033722e-05,
+-3.70626464842205185883e-05,
+-4.23576447574330595914e-05,
+-4.76218724167029767991e-05,
+-5.28523591128858801825e-05,
+-5.80461574695681123935e-05,
+-6.32003447399251964056e-05,
+-6.83120244474383017403e-05,
+-7.33783280095512028618e-05,
+-7.83964163433584703636e-05,
+-8.33634814524302451963e-05,
+-8.82767479938875655916e-05,
+-9.31334748248567243206e-05,
+-9.79309565274441714503e-05,
+-1.02666524911384672157e-04,
+-1.07337550493532478228e-04,
+-1.11941443953376520482e-04,
+-1.16475657563775984358e-04,
+-1.20937686596131455368e-04,
+-1.25325070699215711592e-04,
+-1.29635395250910385187e-04,
+-1.33866292682098157263e-04,
+-1.38015443772047713324e-04,
+-1.42080578914434722728e-04,
+-1.46059479353512834980e-04,
+-1.49949978389612786304e-04,
+-1.53749962553389324382e-04,
+-1.57457372748113794830e-04,
+-1.61070205359542604606e-04,
+-1.64586513332575895248e-04,
+-1.68004407214276350055e-04,
+-1.71322056162632199933e-04,
+-1.74537688920543577207e-04,
+-1.77649594754509306677e-04,
+-1.80656124357563160031e-04,
+-1.83555690715879498342e-04,
+-1.86346769938744346575e-04,
+-1.89027902051352861886e-04,
+-1.91597691750067656950e-04,
+-1.94054809119746906601e-04,
+-1.96397990312779409513e-04,
+-1.98626038189485975725e-04,
+-2.00737822919565348781e-04,
+-2.02732282544295099209e-04,
+-2.04608423499208415697e-04,
+-2.06365321097002875567e-04,
+-2.08002119970448036889e-04,
+-2.09518034475094608749e-04,
+-2.10912349051600370295e-04,
+-2.12184418547517878980e-04,
+-2.13333668498409933503e-04,
+-2.14359595368183043079e-04,
+-2.15261766748550323726e-04,
+-2.16039821517564244657e-04,
+-2.16693469957175179064e-04,
+-2.17222493829804320963e-04,
+-2.17626746413933055187e-04,
+-2.17906152498744288149e-04,
+-2.18060708337866669768e-04,
+-2.18090481562302831997e-04,
+-2.17995611052633665597e-04,
+-2.17776306770636030692e-04,
+-2.17432849550450564774e-04,
+-2.16965590849471163170e-04,
+-2.16374952459152508069e-04,
+-2.15661426175948502115e-04,
+-2.14825573432618965528e-04,
+-2.13868024890168464437e-04,
+-2.12789479990694880424e-04,
+-2.11590706471458399373e-04,
+-2.10272539840493795068e-04,
+-2.08835882814101080193e-04,
+-2.07281704716627822619e-04,
+-2.05611040842872101015e-04,
+-2.03824991783563389154e-04,
+-2.01924722714337458607e-04,
+-1.99911462648656409243e-04,
+-1.97786503655151527006e-04,
+-1.95551200039875640226e-04,
+-1.93206967493983087581e-04,
+-1.90755282207361699176e-04,
+-1.88197679948765912066e-04,
+-1.85535755113050746619e-04,
+-1.82771159736013454056e-04,
+-1.79905602477525801202e-04,
+-1.76940847573584393148e-04,
+-1.73878713757827938272e-04,
+-1.70721073153264649115e-04,
+-1.67469850134842302650e-04,
+-1.64127020163558210364e-04,
+-1.60694608592805399886e-04,
+-1.57174689447680583382e-04,
+-1.53569384177978999996e-04,
+-1.49880860385627755508e-04,
+-1.46111330527314676282e-04,
+-1.42263050593096474329e-04,
+-1.38338318761709250845e-04,
+-1.34339474033567067698e-04,
+-1.30268894841948973309e-04,
+-1.26128997643502378410e-04,
+-1.21922235488716284571e-04,
+-1.17651096573263047097e-04,
+-1.13318102771055339347e-04,
+-1.08925808149881126548e-04,
+-1.04476797470485840437e-04,
+-9.99736846699831026861e-05,
+-9.54191113304803323683e-05,
+-9.08157451338251561638e-05,
+-8.61662783033089883962e-05,
+-8.14734260333982814777e-05,
+-7.67399249081906023075e-05,
+-7.19685313096766739269e-05,
+-6.71620198166663929249e-05,
+-6.23231815953190427171e-05,
+-5.74548227822070198159e-05,
+-5.25597628608498169912e-05,
+-4.76408330326411294346e-05,
+-4.27008745831808004092e-05,
+-3.77427372447754268139e-05,
+-3.27692775562946159791e-05,
+-2.77833572210794834225e-05,
+-2.27878414640919380344e-05,
+-1.77855973889981053694e-05,
+-1.27794923363028358154e-05,
+-7.77239224340285758588e-06,
+-2.76716000750597664943e-06,
+ 2.23334614765047225155e-06,
+ 7.22627430035223622482e-06,
+ 1.22087804538059595082e-05,
+ 1.71780301524608407758e-05,
+ 2.21312000908374962855e-05,
+ 2.70654797139531880809e-05,
+ 3.19780728084379127691e-05,
+ 3.68661990834432147361e-05,
+ 4.17270957404514982554e-05,
+ 4.65580190311022323554e-05,
+ 5.13562458021581016814e-05,
+ 5.61190750267443480906e-05,
+ 6.08438293210010258259e-05,
+ 6.55278564453003783789e-05,
+ 7.01685307891888973997e-05,
+ 7.47632548392249471477e-05,
+ 7.93094606288941272312e-05,
+ 8.38046111697948801871e-05,
+ 8.82462018632895745093e-05,
+ 9.26317618918994384889e-05,
+ 9.69588555895161487196e-05,
+ 1.01225083789883730243e-04,
+ 1.05428085152447302661e-04,
+ 1.09565537464902931428e-04,
+ 1.13635158921721518338e-04,
+ 1.17634709377956067329e-04,
+ 1.21561991577586462265e-04,
+ 1.25414852355879225454e-04,
+ 1.29191183814908515468e-04,
+ 1.32888924471751327088e-04,
+ 1.36506060378661892669e-04,
+ 1.40040626214685270945e-04,
+ 1.43490706347988396978e-04,
+ 1.46854435868515841024e-04,
+ 1.50130001590280805039e-04,
+ 1.53315643022813413417e-04,
+ 1.56409653311238074644e-04,
+ 1.59410380144482617453e-04,
+ 1.62316226631138655961e-04,
+ 1.65125652142516246785e-04,
+ 1.67837173122445686060e-04,
+ 1.70449363863413175593e-04,
+ 1.72960857248622345769e-04,
+ 1.75370345459602272869e-04,
+ 1.77676580649003228304e-04,
+ 1.79878375578234217958e-04,
+ 1.81974604219625616178e-04,
+ 1.83964202322818494873e-04,
+ 1.85846167945095638082e-04,
+ 1.87619561945405119441e-04,
+ 1.89283508441830545512e-04,
+ 1.90837195232300557094e-04,
+ 1.92279874178338393460e-04,
+ 1.93610861551680866121e-04,
+ 1.94829538343613950903e-04,
+ 1.95935350536894948301e-04,
+ 1.96927809340166344414e-04,
+ 1.97806491384736336846e-04,
+ 1.98571038883713909618e-04,
+ 1.99221159753417060602e-04,
+ 1.99756627697045236825e-04,
+ 2.00177282250609553729e-04,
+ 2.00483028791162594395e-04,
+ 2.00673838507340500988e-04,
+ 2.00749748332303471193e-04,
+ 2.00710860839155866373e-04,
+ 2.00557344098951099076e-04,
+ 2.00289431501410645185e-04,
+ 1.99907421538506638011e-04,
+ 1.99411677551082736374e-04,
+ 1.98802627438700833676e-04,
+ 1.98080763332926219986e-04,
+ 1.97246641234288935590e-04,
+ 1.96300880613169869337e-04,
+ 1.95244163974890567017e-04,
+ 1.94077236389296096204e-04,
+ 1.92800904985150346445e-04,
+ 1.91416038409673633282e-04,
+ 1.89923566253578820747e-04,
+ 1.88324478441976569726e-04,
+ 1.86619824591544307586e-04,
+ 1.84810713334366470651e-04,
+ 1.82898311608877559096e-04,
+ 1.80883843918355590027e-04,
+ 1.78768591557429662019e-04,
+ 1.76553891807085754475e-04,
+ 1.74241137098672801628e-04,
+ 1.71831774147425040116e-04,
+ 1.69327303056034789413e-04,
+ 1.66729276388829827970e-04,
+ 1.64039298217118011776e-04,
+ 1.61259023136285878450e-04,
+ 1.58390155255254730902e-04,
+ 1.55434447158867309821e-04,
+ 1.52393698843932419136e-04,
+ 1.49269756629439789971e-04,
+ 1.46064512041690788922e-04,
+ 1.42779900675020699667e-04,
+ 1.39417901028690864249e-04,
+ 1.35980533320795114868e-04,
+ 1.32469858279776427946e-04,
+ 1.28887975914319409792e-04,
+ 1.25237024262341641208e-04,
+ 1.21519178119826532425e-04,
+ 1.17736647750260424580e-04,
+ 1.13891677575382762027e-04,
+ 1.09986544848155620062e-04,
+ 1.06023558308557749072e-04,
+ 1.02005056823126766924e-04,
+ 9.79334080089949563690e-05,
+ 9.38110068432369283674e-05,
+ 8.96402742583390368340e-05,
+ 8.54236557246172082802e-05,
+ 8.11636198204074375134e-05,
+ 7.68626567908638934834e-05,
+ 7.25232770962033334184e-05,
+ 6.81480099502408253210e-05,
+ 6.37394018500648417607e-05,
+ 5.93000150977037791236e-05,
+ 5.48324263146410183461e-05,
+ 5.03392249500377099197e-05,
+ 4.58230117835234620669e-05,
+ 4.12863974234202202882e-05,
+ 3.67320008012637997784e-05,
+ 3.21624476634885960824e-05,
+ 2.75803690611435845046e-05,
+ 2.29883998385047982199e-05,
+ 1.83891771214516705382e-05,
+ 1.37853388064824855514e-05,
+ 9.17952205116795011679e-06,
+ 4.57436176706797238011e-06,
+-2.75108842579818438910e-08,
+-4.62346999106136241029e-06,
+-9.21089638641225220430e-06,
+-1.37871791373255400920e-05,
+-1.83497170273250301319e-05,
+-2.28959200315399970119e-05,
+-2.74232107835103849100e-05,
+-3.19290260328724777978e-05,
+-3.64108180931019818124e-05,
+-4.08660562784996536732e-05,
+-4.52922283295994015603e-05,
+-4.96868418262625327142e-05,
+-5.40474255875064181487e-05,
+-5.83715310574944550438e-05,
+-6.26567336767544860471e-05,
+-6.69006342379224212954e-05,
+-7.11008602252454944507e-05,
+-7.52550671370984356097e-05,
+-7.93609397907785223342e-05,
+-8.34161936088556751033e-05,
+-8.74185758863736857033e-05,
+-9.13658670381457783342e-05,
+-9.52558818255899069152e-05,
+-9.90864705622930764172e-05,
+-1.02855520297645628824e-04,
+-1.06560955978024466816e-04,
+-1.10200741584761408303e-04,
+-1.13772881248329986426e-04,
+-1.17275420338133038616e-04,
+-1.20706446527301793710e-04,
+-1.24064090831927222123e-04,
+-1.27346528624161774851e-04,
+-1.30551980618646957209e-04,
+-1.33678713831734421146e-04,
+-1.36725042512981202628e-04,
+-1.39689329048471762296e-04,
+-1.42569984835333479116e-04,
+-1.45365471127236698399e-04,
+-1.48074299850179806918e-04,
+-1.50695034388278933371e-04,
+-1.53226290339108047649e-04,
+-1.55666736238194213047e-04,
+-1.58015094252302533938e-04,
+-1.60270140841145748061e-04,
+-1.62430707387187727537e-04,
+-1.64495680793215953231e-04,
+-1.66464004047380415832e-04,
+-1.68334676755447923760e-04,
+-1.70106755639931378401e-04,
+-1.71779355005955645377e-04,
+-1.73351647173555225515e-04,
+-1.74822862876237544423e-04,
+-1.76192291625613234839e-04,
+-1.77459282041936094012e-04,
+-1.78623242150403258857e-04,
+-1.79683639643093680336e-04,
+-1.80640002106423656165e-04,
+-1.81491917214075620078e-04,
+-1.82239032885274609931e-04,
+-1.82881057408414176473e-04,
+-1.83417759529990343371e-04,
+-1.83848968508822530749e-04,
+-1.84174574135603265346e-04,
+-1.84394526717789769034e-04,
+-1.84508837029895376297e-04,
+-1.84517576229257786137e-04,
+-1.84420875737372863242e-04,
+-1.84218927086907938075e-04,
+-1.83911981734526851434e-04,
+-1.83500350839676173650e-04,
+-1.82984405009505745514e-04,
+-1.82364574010110863959e-04,
+-1.81641346444305146679e-04,
+-1.80815269396154251801e-04,
+-1.79886948042512636280e-04,
+-1.78857045231831964091e-04,
+-1.77726281030521376285e-04,
+-1.76495432237164907125e-04,
+-1.75165331864910952826e-04,
+-1.73736868592374774480e-04,
+-1.72210986183407241141e-04,
+-1.70588682876102914121e-04,
+-1.68871010741435372948e-04,
+-1.67059075011932430324e-04,
+-1.65154033380787864348e-04,
+-1.63157095271909268353e-04,
+-1.61069521081280296517e-04,
+-1.58892621390163224591e-04,
+-1.56627756150609387950e-04,
+-1.54276333843780973348e-04,
+-1.51839810611594959108e-04,
+-1.49319689362255997572e-04,
+-1.46717518850139323847e-04,
+-1.44034892730693565204e-04,
+-1.41273448590855218087e-04,
+-1.38434866955593221692e-04,
+-1.35520870271185604229e-04,
+-1.32533221865797814620e-04,
+-1.29473724888089073738e-04,
+-1.26344221224348324251e-04,
+-1.23146590394907499066e-04,
+-1.19882748430450496667e-04,
+-1.16554646728892494570e-04,
+-1.13164270893511021972e-04,
+-1.09713639553016026698e-04,
+-1.06204803164258788938e-04,
+-1.02639842798286093709e-04,
+-9.90208689104574309690e-05,
+-9.53500200953488063907e-05,
+-9.16294618271747146219e-05,
+-8.78613851864693950078e-05,
+-8.40480055737724741525e-05,
+-8.01915614110729224086e-05,
+-7.62943128317693849017e-05,
+-7.23585403599120898779e-05,
+-6.83865435794958062077e-05,
+-6.43806397945781601344e-05,
+-6.03431626810021750013e-05,
+-5.62764609305052045107e-05,
+-5.21828968880001095782e-05,
+-4.80648451828273766406e-05,
+-4.39246913547101223052e-05,
+-3.97648304753519063080e-05,
+-3.55876657662771198705e-05,
+-3.13956072138546100360e-05,
+-2.71910701822341436737e-05,
+-2.29764740250598643260e-05,
+-1.87542406966089186175e-05,
+-1.45267933633486321363e-05,
+-1.02965550165577958658e-05,
+-6.06594708686369126855e-06,
+-1.83738806147565725218e-06,
+ 2.38670789508730654728e-06,
+ 6.60393231605029799332e-06,
+ 1.08118838022856526365e-05,
+ 1.50081693864890804819e-05,
+ 1.91904058907051211296e-05,
+ 2.33562212764937420536e-05,
+ 2.75032559869653701879e-05,
+ 3.16291642799266015692e-05,
+ 3.57316155513857358346e-05,
+ 3.98082956486727347189e-05,
+ 4.38569081724363369137e-05,
+ 4.78751757667874686011e-05,
+ 5.18608413968659121744e-05,
+ 5.58116696131162758521e-05,
+ 5.97254478015662288413e-05,
+ 6.35999874194105038012e-05,
+ 6.74331252152119678313e-05,
+ 7.12227244330430300963e-05,
+ 7.49666759998972407220e-05,
+ 7.86628996957159043685e-05,
+ 8.23093453053795327638e-05,
+ 8.59039937520326019873e-05,
+ 8.94448582111133600001e-05,
+ 9.29299852044797151680e-05,
+ 9.63574556740282402905e-05,
+ 9.97253860342133961791e-05,
+ 1.03031929202938195831e-04,
+ 1.06275275610134644190e-04,
+ 1.09453654183648506066e-04,
+ 1.12565333311777745389e-04,
+ 1.15608621781949924361e-04,
+ 1.18581869695136337068e-04,
+ 1.21483469355360853659e-04,
+ 1.24311856133939833708e-04,
+ 1.27065509307947152248e-04,
+ 1.29742952872464735155e-04,
+ 1.32342756326188934566e-04,
+ 1.34863535429971070998e-04,
+ 1.37303952937931089294e-04,
+ 1.39662719300668973499e-04,
+ 1.41938593340331764125e-04,
+ 1.44130382897093850406e-04,
+ 1.46236945446754414840e-04,
+ 1.48257188689131702477e-04,
+ 1.50190071106954631209e-04,
+ 1.52034602494970392606e-04,
+ 1.53789844459004473734e-04,
+ 1.55454910884727745025e-04,
+ 1.57028968375900465160e-04,
+ 1.58511236661886526942e-04,
+ 1.59900988974221943979e-04,
+ 1.61197552392132844234e-04,
+ 1.62400308156727989691e-04,
+ 1.63508691953843704383e-04,
+ 1.64522194165353128834e-04,
+ 1.65440360088857943638e-04,
+ 1.66262790125675229700e-04,
+ 1.66989139937054223255e-04,
+ 1.67619120568575667371e-04,
+ 1.68152498542703266729e-04,
+ 1.68589095919475644722e-04,
+ 1.68928790325348127024e-04,
+ 1.69171514950206333802e-04,
+ 1.69317258512600938907e-04,
+ 1.69366065193253035638e-04,
+ 1.69318034536926169398e-04,
+ 1.69173321322751827635e-04,
+ 1.68932135403124315375e-04,
+ 1.68594741511303550284e-04,
+ 1.68161459037872361389e-04,
+ 1.67632661776220571190e-04,
+ 1.67008777637239416583e-04,
+ 1.66290288333431385444e-04,
+ 1.65477729032657161099e-04,
+ 1.64571687981757684184e-04,
+ 1.63572806100295385775e-04,
+ 1.62481776544717680536e-04,
+ 1.61299344243187993495e-04,
+ 1.60026305401423106544e-04,
+ 1.58663506979840374144e-04,
+ 1.57211846142359855600e-04,
+ 1.55672269677209203047e-04,
+ 1.54045773390101885464e-04,
+ 1.52333401470171580496e-04,
+ 1.50536245829059009979e-04,
+ 1.48655445413586417922e-04,
+ 1.46692185492392439651e-04,
+ 1.44647696917026745639e-04,
+ 1.42523255357962074646e-04,
+ 1.40320180515933701443e-04,
+ 1.38039835309150310440e-04,
+ 1.35683625036847225554e-04,
+ 1.33252996519696450227e-04,
+ 1.30749437217595669385e-04,
+ 1.28174474325369749201e-04,
+ 1.25529673846935238340e-04,
+ 1.22816639648479919303e-04,
+ 1.20037012491233243219e-04,
+ 1.17192469044403129027e-04,
+ 1.14284720878873418933e-04,
+ 1.11315513442261188005e-04,
+ 1.08286625015946468605e-04,
+ 1.05199865654693577497e-04,
+ 1.02057076109495512093e-04,
+ 9.88601267342783304043e-05,
+ 9.56109163771139760083e-05,
+ 9.23113712565947120868e-05,
+ 8.89634438240340108539e-05,
+ 8.55691116121616991534e-05,
+ 8.21303760709912982884e-05,
+ 7.86492613915423208508e-05,
+ 7.51278133181146123365e-05,
+ 7.15680979497604612561e-05,
+ 6.79722005317787153359e-05,
+ 6.43422242377698607113e-05,
+ 6.06802889430856936094e-05,
+ 5.69885299903377532185e-05,
+ 5.32690969476886882583e-05,
+ 4.95241523606481209006e-05,
+ 4.57558704980855863662e-05,
+ 4.19664360932403064002e-05,
+ 3.81580430803206248217e-05,
+ 3.43328933276007924294e-05,
+ 3.04931953676192458200e-05,
+ 2.66411631252087834044e-05,
+ 2.27790146442161646153e-05,
+ 1.89089708134602095535e-05,
+ 1.50332540927946444229e-05,
+ 1.11540872399499682495e-05,
+ 7.27369203889113503421e-06,
+ 3.39428803041684083773e-06,
+-4.81908754276311450070e-07,
+-4.35268705634372629675e-06,
+-8.21584164763919663841e-06,
+-1.20691745839433958802e-05,
+-1.59104964523640528653e-05,
+-1.97376276122016780436e-05,
+-2.35483994285795049709e-05,
+-2.73406554981410021381e-05,
+-3.11122528661240456025e-05,
+-3.48610632341272955897e-05,
+-3.85849741578888450833e-05,
+-4.22818902344056668941e-05,
+-4.59497342777289552842e-05,
+-4.95864484827761740015e-05,
+-5.31899955765110986849e-05,
+-5.67583599558492673393e-05,
+-6.02895488116546415976e-05,
+-6.37815932381954160072e-05,
+-6.72325493274930760176e-05,
+-7.06404992478322041284e-05,
+-7.40035523060039669620e-05,
+-7.73198459925695190907e-05,
+-8.05875470096189763401e-05,
+-8.38048522804609266092e-05,
+-8.69699899406400548209e-05,
+-9.00812203098600702616e-05,
+-9.31368368441220313616e-05,
+-9.61351670676795016460e-05,
+-9.90745734842556015267e-05,
+-1.01953454467028386448e-04,
+-1.04770245126946709891e-04,
+-1.07523418158803123158e-04,
+-1.10211484664747875421e-04,
+-1.12832994954700652560e-04,
+-1.15386539323270961746e-04,
+-1.17870748802769852344e-04,
+-1.20284295891912211356e-04,
+-1.22625895259826191760e-04,
+-1.24894304424997594233e-04,
+-1.27088324408796619729e-04,
+-1.29206800363245279464e-04,
+-1.31248622172700554062e-04,
+-1.33212725029144128013e-04,
+-1.35098089980784487676e-04,
+-1.36903744453693149413e-04,
+-1.38628762746211502523e-04,
+-1.40272266495882424152e-04,
+-1.41833425118677113443e-04,
+-1.43311456220300168993e-04,
+-1.44705625979375639015e-04,
+-1.46015249502334635862e-04,
+-1.47239691149835216733e-04,
+-1.48378364834568840904e-04,
+-1.49430734290319368980e-04,
+-1.50396313312156941142e-04,
+-1.51274665967682871333e-04,
+-1.52065406779206268055e-04,
+-1.52768200876835928996e-04,
+-1.53382764122401261215e-04,
+-1.53908863204188484618e-04,
+-1.54346315702462519998e-04,
+-1.54694990125800718034e-04,
+-1.54954805918226855375e-04,
+-1.55125733437199472397e-04,
+-1.55207793902502094903e-04,
+-1.55201059316101394776e-04,
+-1.55105652353058453673e-04,
+-1.54921746223595071862e-04,
+-1.54649564506431944988e-04,
+-1.54289380953534071422e-04,
+-1.53841519266410082720e-04,
+-1.53306352844135500117e-04,
+-1.52684304503277075687e-04,
+-1.51975846169923051046e-04,
+-1.51181498544025521777e-04,
+-1.50301830736287767064e-04,
+-1.49337459877842251886e-04,
+-1.48289050702975444508e-04,
+-1.47157315105178143448e-04,
+-1.45943011666808031192e-04,
+-1.44646945162670226758e-04,
+-1.43269966037836245969e-04,
+-1.41812969860030777154e-04,
+-1.40276896746939125880e-04,
+-1.38662730768791489120e-04,
+-1.36971499326602120161e-04,
+-1.35204272506452450198e-04,
+-1.33362162410215011723e-04,
+-1.31446322463141056745e-04,
+-1.29457946698729233501e-04,
+-1.27398269021328599442e-04,
+-1.25268562446894228622e-04,
+-1.23070138322430765393e-04,
+-1.20804345524507650679e-04,
+-1.18472569637393813956e-04,
+-1.16076232111318126267e-04,
+-1.13616789401283968986e-04,
+-1.11095732087066782702e-04,
+-1.08514583974842290402e-04,
+-1.05874901181016539101e-04,
+-1.03178271198800118515e-04,
+-1.00426311948084758256e-04,
+-9.76206708091875252457e-05,
+-9.47630236410444991074e-05,
+-9.18550737843973141112e-05,
+-8.88985510506610496001e-05,
+-8.58952106969416680562e-05,
+-8.28468323879038561972e-05,
+-7.97552191450655496591e-05,
+-7.66221962841397250411e-05,
+-7.34496103410512394703e-05,
+-7.02393279872563352237e-05,
+-6.69932349350013444994e-05,
+-6.37132348331598941495e-05,
+-6.04012481542852742197e-05,
+-5.70592110735821189476e-05,
+-5.36890743402856300114e-05,
+-5.02928021423770289528e-05,
+-4.68723709650220007926e-05,
+-4.34297684435565900540e-05,
+-3.99669922116305890969e-05,
+-3.64860487451815660126e-05,
+-3.29889522029066755543e-05,
+-2.94777232639011821304e-05,
+-2.59543879631318446101e-05,
+-2.24209765254152845900e-05,
+-1.88795221985704670439e-05,
+-1.53320600864227232015e-05,
+-1.17806259822765688943e-05,
+-8.22725520364250435790e-06,
+-4.67398142876525914271e-06,
+-1.12283553561652046528e-06,
+ 2.42415555586849744280e-06,
+ 5.96497003777039182297e-06,
+ 9.49759236367494958416e-06,
+ 1.30200143930290886731e-05,
+ 1.65302365297154976124e-05,
+ 2.00262688542018995176e-05,
+ 2.35061322486258601641e-05,
+ 2.69678595141725338990e-05,
+ 3.04094964801652475677e-05,
+ 3.38291031041225136330e-05,
+ 3.72247545623280811614e-05,
+ 4.05945423301795488562e-05,
+ 4.39365752517605946421e-05,
+ 4.72489805980300616090e-05,
+ 5.05299051130391751476e-05,
+ 5.37775160475925401854e-05,
+ 5.69900021797799109010e-05,
+ 6.01655748218186950589e-05,
+ 6.33024688126045798455e-05,
+ 6.63989434955355209119e-05,
+ 6.94532836809095877094e-05,
+ 7.24638005925247566689e-05,
+ 7.54288327978053365708e-05,
+ 7.83467471210983574734e-05,
+ 8.12159395395303644084e-05,
+ 8.40348360609798490086e-05,
+ 8.68018935836787020261e-05,
+ 8.95156007369763171777e-05,
+ 9.21744787028109000904e-05,
+ 9.47770820174428766953e-05,
+ 9.73219993530192951838e-05,
+ 9.98078542785484291089e-05,
+ 1.02233305999877626346e-04,
+ 1.04597050078279252879e-04,
+ 1.06897819127260571481e-04,
+ 1.09134383487232477302e-04,
+ 1.11305551877675454743e-04,
+ 1.13410172026465080842e-04,
+ 1.15447131276023696555e-04,
+ 1.17415357165986388734e-04,
+ 1.19313817992076323833e-04,
+ 1.21141523340904152650e-04,
+ 1.22897524600417128735e-04,
+ 1.24580915445738179192e-04,
+ 1.26190832300148298968e-04,
+ 1.27726454771003749460e-04,
+ 1.29187006060312931576e-04,
+ 1.30571753349855405749e-04,
+ 1.31880008160592337128e-04,
+ 1.33111126686225034448e-04,
+ 1.34264510100741093525e-04,
+ 1.35339604839805301758e-04,
+ 1.36335902855876962966e-04,
+ 1.37252941846921911991e-04,
+ 1.38090305458667854995e-04,
+ 1.38847623460269244903e-04,
+ 1.39524571893355508502e-04,
+ 1.40120873194398874121e-04,
+ 1.40636296290376592178e-04,
+ 1.41070656667688923902e-04,
+ 1.41423816414358241448e-04,
+ 1.41695684235501812628e-04,
+ 1.41886215442108465281e-04,
+ 1.41995411913169058797e-04,
+ 1.42023322031210527672e-04,
+ 1.41970040591311803596e-04,
+ 1.41835708683687403576e-04,
+ 1.41620513549942957229e-04,
+ 1.41324688413120390503e-04,
+ 1.40948512281664279549e-04,
+ 1.40492309727460512516e-04,
+ 1.39956450638105661232e-04,
+ 1.39341349943586742142e-04,
+ 1.38647467317560966387e-04,
+ 1.37875306853443076616e-04,
+ 1.37025416715516460461e-04,
+ 1.36098388765306077238e-04,
+ 1.35094858163456845238e-04,
+ 1.34015502947381628333e-04,
+ 1.32861043584951986655e-04,
+ 1.31632242504520034906e-04,
+ 1.30329903601576123319e-04,
+ 1.28954871722338328469e-04,
+ 1.27508032124644551074e-04,
+ 1.25990309916430414392e-04,
+ 1.24402669472184333093e-04,
+ 1.22746113827731657530e-04,
+ 1.21021684053717931608e-04,
+ 1.19230458608205958028e-04,
+ 1.17373552668725822899e-04,
+ 1.15452117444264388342e-04,
+ 1.13467339467561269067e-04,
+ 1.11420439868162524316e-04,
+ 1.09312673626677319912e-04,
+ 1.07145328810660439892e-04,
+ 1.04919725792656324940e-04,
+ 1.02637216450778944853e-04,
+ 1.00299183352382616555e-04,
+ 9.79070389212828459625e-05,
+ 9.54622245890343021661e-05,
+ 9.29662099307709859563e-05,
+ 9.04204917861251337118e-05,
+ 8.78265933657491361646e-05,
+ 8.51860633439697795440e-05,
+ 8.25004749381152567740e-05,
+ 7.97714249750583101993e-05,
+ 7.70005329455285302594e-05,
+ 7.41894400467507647698e-05,
+ 7.13398082139749418204e-05,
+ 6.84533191414649809991e-05,
+ 6.55316732935233309948e-05,
+ 6.25765889061299349127e-05,
+ 5.95898009797798930746e-05,
+ 5.65730602641084840982e-05,
+ 5.35281322348962640303e-05,
+ 5.04567960640498228923e-05,
+ 4.73608435831570034977e-05,
+ 4.42420782412198123029e-05,
+ 4.11023140571756856096e-05,
+ 3.79433745677702796120e-05,
+ 3.47670917715006306549e-05,
+ 3.15753050690913554294e-05,
+ 2.83698602012252819608e-05,
+ 2.51526081840889388815e-05,
+ 2.19254042433976171740e-05,
+ 1.86901067473987712679e-05,
+ 1.54485761396172072233e-05,
+ 1.22026738718400676369e-05,
+ 8.95426133799693216720e-06,
+ 5.70519880953679468414e-06,
+ 2.45734437291689684403e-06,
+-7.87447130237725029692e-07,
+-4.02732515958524032887e-06,
+-7.26044452868275316679e-06,
+-1.04849664530539972413e-05,
+-1.36990595931614081774e-05,
+-1.69009010916851591059e-05,
+-2.00886776045228981175e-05,
+-2.32605863249292218813e-05,
+-2.64148360002174825494e-05,
+-2.95496479404527710906e-05,
+-3.26632570185692985083e-05,
+-3.57539126613519710695e-05,
+-3.88198798307268989525e-05,
+-4.18594399948131874701e-05,
+-4.48708920881937505377e-05,
+-4.78525534608703297839e-05,
+-5.08027608153759224091e-05,
+-5.37198711315230623370e-05,
+-5.66022625782771395811e-05,
+-5.94483354122496957970e-05,
+-6.22565128623159649065e-05,
+-6.50252419998696961625e-05,
+-6.77529945942363268996e-05,
+-7.04382679527763058127e-05,
+-7.30795857452109842494e-05,
+-7.56754988117607863083e-05,
+-7.82245859545587472750e-05,
+-8.07254547120429588646e-05,
+-8.31767421157772956445e-05,
+-8.55771154294189502010e-05,
+-8.79252728693081722763e-05,
+-9.02199443063830727177e-05,
+-9.24598919490082272500e-05,
+-9.46439110063570436353e-05,
+-9.67708303319964480843e-05,
+-9.88395130473318793462e-05,
+-1.00848857144579225412e-04,
+-1.02797796068976429913e-04,
+-1.04685299279854606281e-04,
+-1.06510372790377650341e-04,
+-1.08272059685596318680e-04,
+-1.09969440618577611341e-04,
+-1.11601634284353844629e-04,
+-1.13167797871448837341e-04,
+-1.14667127490753893888e-04,
+-1.16098858581540945157e-04,
+-1.17462266294409572748e-04,
+-1.18756665850985608014e-04,
+-1.19981412880174577386e-04,
+-1.21135903730876983027e-04,
+-1.22219575760907419324e-04,
+-1.23231907602096356184e-04,
+-1.24172419401388892416e-04,
+-1.25040673037858960726e-04,
+-1.25836272315542666532e-04,
+-1.26558863132016492748e-04,
+-1.27208133622654898272e-04,
+-1.27783814280521123164e-04,
+-1.28285678051853307665e-04,
+-1.28713540407127574909e-04,
+-1.29067259387689078475e-04,
+-1.29346735627960067851e-04,
+-1.29551912353247712954e-04,
+-1.29682775353174970954e-04,
+-1.29739352930806405104e-04,
+-1.29721715827507011074e-04,
+-1.29629977123626777182e-04,
+-1.29464292115094922872e-04,
+-1.29224858166029714888e-04,
+-1.28911914537480141833e-04,
+-1.28525742192432532911e-04,
+-1.28066663577224341096e-04,
+-1.27535042379524224485e-04,
+-1.26931283263051979506e-04,
+-1.26255831579210470172e-04,
+-1.25509173055851516688e-04,
+-1.24691833463355639632e-04,
+-1.23804378258269496800e-04,
+-1.22847412204727150179e-04,
+-1.21821578973907172273e-04,
+-1.20727560721779606824e-04,
+-1.19566077645420637825e-04,
+-1.18337887518172143108e-04,
+-1.17043785203959168793e-04,
+-1.15684602151032309364e-04,
+-1.14261205865508758540e-04,
+-1.12774499364983135674e-04,
+-1.11225420612612888125e-04,
+-1.09614941931962398339e-04,
+-1.07944069403014051949e-04,
+-1.06213842239701207601e-04,
+-1.04425332149347485926e-04,
+-1.02579642674402744655e-04,
+-1.00677908516879591628e-04,
+-9.87212948458993696643e-05,
+-9.67109965887680804323e-05,
+-9.46482377060114694195e-05,
+-9.25342704508053923206e-05,
+-9.03703746132478017740e-05,
+-8.81578567499270010759e-05,
+-8.58980493992450127834e-05,
+-8.35923102829684219880e-05,
+-8.12420214944795825900e-05,
+-7.88485886742140853296e-05,
+-7.64134401727725140778e-05,
+-7.39380262022039087908e-05,
+-7.14238179759623244237e-05,
+-6.88723068380450985934e-05,
+-6.62850033818259808810e-05,
+-6.36634365591029851607e-05,
+-6.10091527798890391780e-05,
+-5.83237150034378014633e-05,
+-5.56087018211295729380e-05,
+-5.28657065316302825957e-05,
+-5.00963362089557252181e-05,
+-4.73022107639477868909e-05,
+-4.44849619997154997839e-05,
+-4.16462326615831018211e-05,
+-3.87876754821360727392e-05,
+-3.59109522218197118487e-05,
+-3.30177327057781363410e-05,
+-3.01096938573906879706e-05,
+-2.71885187291101264469e-05,
+-2.42558955311136346803e-05,
+-2.13135166584285751863e-05,
+-1.83630777169545625609e-05,
+-1.54062765490442216251e-05,
+-1.24448122591593738538e-05,
+-9.48038424016769929749e-06,
+-6.51469120083589183379e-06,
+-3.54943019507466532529e-06,
+-5.86295653488527638405e-07,
+ 2.37302158221821148760e-06,
+ 5.32683522143069861928e-06,
+ 8.27346448286191381023e-06,
+ 1.12112350482972268184e-05,
+ 1.41384800113054187414e-05,
+ 1.70535408203802065375e-05,
+ 1.99547682159801403000e-05,
+ 2.28405231609389523773e-05,
+ 2.57091777637233010942e-05,
+ 2.85591161940189065772e-05,
+ 3.13887355901324983888e-05,
+ 3.41964469577007317870e-05,
+ 3.69806760592044563105e-05,
+ 3.97398642937916670619e-05,
+ 4.24724695669193537460e-05,
+ 4.51769671493239000906e-05,
+ 4.78518505248824157702e-05,
+ 5.04956322267979359933e-05,
+ 5.31068446617757945380e-05,
+ 5.56840409216389250861e-05,
+ 5.82257955819805972353e-05,
+ 6.07307054873712566403e-05,
+ 6.31973905227825399032e-05,
+ 6.56244943706810369847e-05,
+ 6.80106852534736013504e-05,
+ 7.03546566608603151554e-05,
+ 7.26551280617074665301e-05,
+ 7.49108456000490471188e-05,
+ 7.71205827748727728481e-05,
+ 7.92831411032435707121e-05,
+ 8.13973507665162628304e-05,
+ 8.34620712392105025155e-05,
+ 8.54761919002437216665e-05,
+ 8.74386326261934136023e-05,
+ 8.93483443662723540333e-05,
+ 9.12043096987145523709e-05,
+ 9.30055433682796324664e-05,
+ 9.47510928045935062712e-05,
+ 9.64400386210567564342e-05,
+ 9.80714950940618610149e-05,
+ 9.96446106222721028753e-05,
+ 1.01158568165728382656e-04,
+ 1.02612585664560169562e-04,
+ 1.04005916437090132763e-04,
+ 1.05337849557132784027e-04,
+ 1.06607710210300974068e-04,
+ 1.07814860029146553436e-04,
+ 1.08958697406971076818e-04,
+ 1.10038657790159221262e-04,
+ 1.11054213948895991334e-04,
+ 1.12004876226144938888e-04,
+ 1.12890192764771252285e-04,
+ 1.13709749712725811358e-04,
+ 1.14463171406168479332e-04,
+ 1.15150120530503418228e-04,
+ 1.15770298259229445850e-04,
+ 1.16323444370574466855e-04,
+ 1.16809337341866760875e-04,
+ 1.17227794421640891544e-04,
+ 1.17578671679441387104e-04,
+ 1.17861864033347977262e-04,
+ 1.18077305255228525620e-04,
+ 1.18224967953752292129e-04,
+ 1.18304863535199995448e-04,
+ 1.18317042142129913288e-04,
+ 1.18261592569961779611e-04,
+ 1.18138642161559509242e-04,
+ 1.17948356679904758004e-04,
+ 1.17690940158963789036e-04,
+ 1.17366634732863803995e-04,
+ 1.16975720443508680781e-04,
+ 1.16518515026772340008e-04,
+ 1.15995373677425865329e-04,
+ 1.15406688792958039944e-04,
+ 1.14752889696471350382e-04,
+ 1.14034442338837080757e-04,
+ 1.13251848980312161972e-04,
+ 1.12405647851827392831e-04,
+ 1.11496412796171015655e-04,
+ 1.10524752889300383963e-04,
+ 1.09491312042027578609e-04,
+ 1.08396768582333136470e-04,
+ 1.07241834818576963558e-04,
+ 1.06027256583881440439e-04,
+ 1.04753812761974128402e-04,
+ 1.03422314794789343279e-04,
+ 1.02033606172135439690e-04,
+ 1.00588561903744460506e-04,
+ 9.90880879740364323887e-05,
+ 9.75331207799133901139e-05,
+ 9.59246265519796495209e-05,
+ 9.42636007594733522788e-05,
+ 9.25510674993434647893e-05,
+ 9.07880788697715116788e-05,
+ 8.89757143285934223474e-05,
+ 8.71150800369563193095e-05,
+ 8.52073081886286283915e-05,
+ 8.32535563253643403313e-05,
+ 8.12550066387327429764e-05,
+ 7.92128652588326546708e-05,
+ 7.71283615303221291911e-05,
+ 7.50027472761658441352e-05,
+ 7.28372960496142743273e-05,
+ 7.06333023747593316630e-05,
+ 6.83920809761930819422e-05,
+ 6.61149659981945323883e-05,
+ 6.38033102139136647918e-05,
+ 6.14584842250172271472e-05,
+ 5.90818756522692805321e-05,
+ 5.66748883175234417645e-05,
+ 5.42389414176053005876e-05,
+ 5.17754686905652722838e-05,
+ 4.92859175748246270223e-05,
+ 4.67717483616246192265e-05,
+ 4.42344333413538523341e-05,
+ 4.16754559442534589821e-05,
+ 3.90963098759170062319e-05,
+ 3.64984982481686095644e-05,
+ 3.38835327057898264913e-05,
+ 3.12529325496060770987e-05,
+ 2.86082238564397440281e-05,
+ 2.59509385964386121227e-05,
+ 2.32826137482886975970e-05,
+ 2.06047904128203539622e-05,
+ 1.79190129255183850797e-05,
+ 1.52268279684512867372e-05,
+ 1.25297836820848089342e-05,
+ 9.82942877762201860177e-06,
+ 7.12731165015420239825e-06,
+ 4.42497949335259697511e-06,
+ 1.72397741607120027234e-06,
+-9.74152438591300545820e-07,
+-3.66787177127622279055e-06,
+-6.35564700089772787053e-06,
+-9.03595013522811150888e-06,
+-1.17072596370426850940e-05,
+-1.43680612853348429033e-05,
+-1.70168490311088741731e-05,
+-1.96521258473063757481e-05,
+-2.22724045722929874815e-05,
+-2.48762087465587318491e-05,
+-2.74620734420669071810e-05,
+-3.00285460838262985587e-05,
+-3.25741872632199556503e-05,
+-3.50975715426378017596e-05,
+-3.75972882509638620259e-05,
+-4.00719422694826037015e-05,
+-4.25201548077314798470e-05,
+-4.49405641689601653135e-05,
+-4.73318265046533437649e-05,
+-4.96926165577844057412e-05,
+-5.20216283943892467806e-05,
+-5.43175761229789356922e-05,
+-5.65791946015099025133e-05,
+-5.88052401314395777510e-05,
+-6.09944911385232351646e-05,
+-6.31457488399748983641e-05,
+-6.52578378976302012505e-05,
+-6.73296070567570273304e-05,
+-6.93599297701697614779e-05,
+-7.13477048073084426077e-05,
+-7.32918568479592438987e-05,
+-7.51913370602950043584e-05,
+-7.70451236629288198831e-05,
+-7.88522224706823078241e-05,
+-8.06116674237784532151e-05,
+-8.23225211001796784195e-05,
+-8.39838752108034195757e-05,
+-8.55948510773545134279e-05,
+-8.71546000925265052688e-05,
+-8.86623041623341395616e-05,
+-9.01171761303480768493e-05,
+-9.15184601836167176863e-05,
+-9.28654322400672107207e-05,
+-9.41574003171887131567e-05,
+-9.53937048818311668537e-05,
+-9.65737191809003779359e-05,
+-9.76968495528504664652e-05,
+-9.87625357197741252134e-05,
+-9.97702510599723062104e-05,
+-1.00719502860870411881e-04,
+-1.01609832552167786510e-04,
+-1.02440815919101530407e-04,
+-1.03212063295764626164e-04,
+-1.03923219738351186561e-04,
+-1.04573965178293452004e-04,
+-1.05164014555214358751e-04,
+-1.05693117929663829482e-04,
+-1.06161060575574886056e-04,
+-1.06567663052451822372e-04,
+-1.06912781257252219227e-04,
+-1.07196306455972030416e-04,
+-1.07418165294943403058e-04,
+-1.07578319791868081681e-04,
+-1.07676767306620711079e-04,
+-1.07713540491867520218e-04,
+-1.07688707223558459772e-04,
+-1.07602370511359431062e-04,
+-1.07454668389108225495e-04,
+-1.07245773785382550523e-04,
+-1.06975894374283873184e-04,
+-1.06645272406552399651e-04,
+-1.06254184521135326192e-04,
+-1.05802941537346746376e-04,
+-1.05291888227765690245e-04,
+-1.04721403072029775822e-04,
+-1.04091897991691806000e-04,
+-1.03403818066321226388e-04,
+-1.02657641231036926891e-04,
+-1.01853877955673766901e-04,
+-1.00993070905791316192e-04,
+-1.00075794585747357554e-04,
+-9.91026549640561086902e-05,
+-9.80742890812979042133e-05,
+-9.69913646407931124161e-05,
+-9.58545795823286168359e-05,
+-9.46646616391909589408e-05,
+-9.34223678787874924024e-05,
+-9.21284842271553308570e-05,
+-9.07838249776128224534e-05,
+-8.93892322839143330148e-05,
+-8.79455756381782092872e-05,
+-8.64537513339248380991e-05,
+-8.49146819145573397919e-05,
+-8.33293156075965769404e-05,
+-8.16986257450709826454e-05,
+-8.00236101703410545325e-05,
+-7.83052906317712431187e-05,
+-7.65447121635933332108e-05,
+-7.47429424543394473968e-05,
+-7.29010712032219468804e-05,
+-7.10202094648487806125e-05,
+-6.91014889826641889262e-05,
+-6.71460615115136803116e-05,
+-6.51550981297363063834e-05,
+-6.31297885411947681941e-05,
+-6.10713403676550390092e-05,
+-5.89809784319366008933e-05,
+-5.68599440322564117804e-05,
+-5.47094942081945308492e-05,
+-5.25309009987145816302e-05,
+-5.03254506926742041614e-05,
+-4.80944430722666716100e-05,
+-4.58391906498364391982e-05,
+-4.35610178985148694948e-05,
+-4.12612604771267081670e-05,
+-3.89412644498179452723e-05,
+-3.66023855008608539076e-05,
+-3.42459881450970870078e-05,
+-3.18734449344449372976e-05,
+-2.94861356610133087193e-05,
+-2.70854465571730438690e-05,
+-2.46727694931252419688e-05,
+-2.22495011724306296223e-05,
+-1.98170423258837072170e-05,
+-1.73767969043094321503e-05,
+-1.49301712706606661907e-05,
+-1.24785733919144050828e-05,
+-1.00234120312237155384e-05,
+-7.56609594078786384176e-06,
+-5.10803305590721484829e-06,
+-2.65062969064796876903e-06,
+-1.95289735662093879841e-07,
+ 2.25658614149781538763e-06,
+ 4.70360129302714707189e-06,
+ 7.14436388406460956736e-06,
+ 9.57748768197934699769e-06,
+ 1.20015928413035928855e-05,
+ 1.44153066838678001481e-05,
+ 1.68172644736985684973e-05,
+ 1.92061101862432256275e-05,
+ 2.15804972714890652230e-05,
+ 2.39390894105489946330e-05,
+ 2.62805612652901807722e-05,
+ 2.86035992205861757688e-05,
+ 3.09069021187789754650e-05,
+ 3.31891819859409621185e-05,
+ 3.54491647495335673412e-05,
+ 3.76855909470640991661e-05,
+ 3.98972164253476286417e-05,
+ 4.20828130299881090571e-05,
+ 4.42411692846974037292e-05,
+ 4.63710910600786401664e-05,
+ 4.84714022315057565344e-05,
+ 5.05409453257393869504e-05,
+ 5.25785821559190830470e-05,
+ 5.45831944446160030582e-05,
+ 5.65536844345369244078e-05,
+ 5.84889754866179482624e-05,
+ 6.03880126651817544857e-05,
+ 6.22497633097759614507e-05,
+ 6.40732175934516200036e-05,
+ 6.58573890671531589130e-05,
+ 6.76013151899331594073e-05,
+ 6.93040578447094631495e-05,
+ 7.09647038392890094557e-05,
+ 7.25823653923957063478e-05,
+ 7.41561806044386303671e-05,
+ 7.56853139127996218504e-05,
+ 7.71689565313425266486e-05,
+ 7.86063268739927838722e-05,
+ 7.99966709621114031078e-05,
+ 8.13392628154750729503e-05,
+ 8.26334048266602784602e-05,
+ 8.38784281186408519097e-05,
+ 8.50736928854174478216e-05,
+ 8.62185887155113381969e-05,
+ 8.73125348981630282396e-05,
+ 8.83549807120687932067e-05,
+ 8.93454056965571380595e-05,
+ 9.02833199050315720431e-05,
+ 9.11682641405671851135e-05,
+ 9.19998101735852404819e-05,
+ 9.27775609414710033911e-05,
+ 9.35011507300643465376e-05,
+ 9.41702453369411529019e-05,
+ 9.47845422164207620109e-05,
+ 9.53437706062401266714e-05,
+ 9.58476916358535753569e-05,
+ 9.62960984163175226676e-05,
+ 9.66888161117409645909e-05,
+ 9.70257019922829883106e-05,
+ 9.73066454687029886274e-05,
+ 9.75315681084497403076e-05,
+ 9.77004236333403651774e-05,
+ 9.78131978988259413559e-05,
+ 9.78699088548996316969e-05,
+ 9.78706064886931931908e-05,
+ 9.78153727488194655671e-05,
+ 9.77043214515344428731e-05,
+ 9.75375981687954049385e-05,
+ 9.73153800983090819503e-05,
+ 9.70378759156690566361e-05,
+ 9.67053256086932366224e-05,
+ 9.63180002940841964183e-05,
+ 9.58762020165379531865e-05,
+ 9.53802635304530459226e-05,
+ 9.48305480643773406665e-05,
+ 9.42274490683603826915e-05,
+ 9.35713899443812172551e-05,
+ 9.28628237600275093996e-05,
+ 9.21022329456168908045e-05,
+ 9.12901289749561102105e-05,
+ 9.04270520299548278501e-05,
+ 8.95135706492842500494e-05,
+ 8.85502813613394572714e-05,
+ 8.75378083017155033231e-05,
+ 8.64768028154355933648e-05,
+ 8.53679430442136669664e-05,
+ 8.42119334989644183860e-05,
+ 8.30095046178623384566e-05,
+ 8.17614123102081163550e-05,
+ 8.04684374863896741690e-05,
+ 7.91313855742244295563e-05,
+ 7.77510860219827716839e-05,
+ 7.63283917883946329882e-05,
+ 7.48641788199511630389e-05,
+ 7.33593455158201108654e-05,
+ 7.18148121806984416748e-05,
+ 7.02315204659344010599e-05,
+ 6.86104327992547092423e-05,
+ 6.69525318034425696596e-05,
+ 6.52588197043136263292e-05,
+ 6.35303177283451494866e-05,
+ 6.17680654903193261922e-05,
+ 5.99731203713451578997e-05,
+ 5.81465568876299857470e-05,
+ 5.62894660503753302872e-05,
+ 5.44029547171763266846e-05,
+ 5.24881449353098910931e-05,
+ 5.05461732772982176055e-05,
+ 4.85781901691450268576e-05,
+ 4.65853592116120024023e-05,
+ 4.45688564950032751967e-05,
+ 4.25298699077687427554e-05,
+ 4.04695984393985014349e-05,
+ 3.83892514779906950887e-05,
+ 3.62900481029001826128e-05,
+ 3.41732163729119983926e-05,
+ 3.20399926102781816627e-05,
+ 2.98916206811338720545e-05,
+ 2.77293512726352792174e-05,
+ 2.55544411672685861127e-05,
+ 2.33681525147488944956e-05,
+ 2.11717521018997930282e-05,
+ 1.89665106210108342917e-05,
+ 1.67537019369919437987e-05,
+ 1.45346023538229485151e-05,
+ 1.23104898806885715561e-05,
+ 1.00826434982246897416e-05,
+ 7.85234242529587054475e-06,
+ 5.62086538672328424332e-06,
+ 3.38948988238076994443e-06,
+ 1.15949145807567223944e-06,
+-1.06785702137072707871e-06,
+-3.29128609643022805093e-06,
+-5.50953043415126442282e-06,
+-7.72132954601048490098e-06,
+-9.92542850192639466761e-06,
+-1.21205786400318798465e-05,
+-1.43055382718054505098e-05,
+-1.64790733821644087950e-05,
+-1.86399583241264707630e-05,
+-2.07869765076501085866e-05,
+-2.29189210822677048591e-05,
+-2.50345956131302830444e-05,
+-2.71328147500858357817e-05,
+-2.92124048894140672726e-05,
+-3.12722048278788822620e-05,
+-3.33110664086613662642e-05,
+-3.53278551589146714283e-05,
+-3.73214509185134290983e-05,
+-3.92907484596808479252e-05,
+-4.12346580971520483842e-05,
+-4.31521062885095992652e-05,
+-4.50420362244331414815e-05,
+-4.69034084084459727392e-05,
+-4.87352012259119438489e-05,
+-5.05364115019466182167e-05,
+-5.23060550479419978189e-05,
+-5.40431671964060976313e-05,
+-5.57468033238534737064e-05,
+-5.74160393614016982132e-05,
+-5.90499722928839986262e-05,
+-6.06477206401485110371e-05,
+-6.22084249353098108415e-05,
+-6.37312481796986922324e-05,
+-6.52153762892660273948e-05,
+-6.66600185262068023343e-05,
+-6.80644079165767824100e-05,
+-6.94278016536845402323e-05,
+-7.07494814870478466295e-05,
+-7.20287540967148501693e-05,
+-7.32649514527553767347e-05,
+-7.44574311597405420022e-05,
+-7.56055767860350496235e-05,
+-7.67087981777354925789e-05,
+-7.77665317570998471846e-05,
+-7.87782408053171710489e-05,
+-7.97434157294830232507e-05,
+-8.06615743136474125027e-05,
+-8.15322619538178135472e-05,
+-8.23550518768057822480e-05,
+-8.31295453428154712148e-05,
+-8.38553718316820378541e-05,
+-8.45321892126865308053e-05,
+-8.51596838978487685485e-05,
+-8.57375709786715794677e-05,
+-8.62655943462551288645e-05,
+-8.67435267947428979536e-05,
+-8.71711701080811815620e-05,
+-8.75483551300409708427e-05,
+-8.78749418175082112241e-05,
+-8.81508192770273922871e-05,
+-8.83759057846058285928e-05,
+-8.85501487887902459777e-05,
+-8.86735248970403253620e-05,
+-8.87460398454319876341e-05,
+-8.87677284517321478442e-05,
+-8.87386545518955844984e-05,
+-8.86589109200488812183e-05,
+-8.85286191720270214433e-05,
+-8.83479296525471903935e-05,
+-8.81170213061050432417e-05,
+-8.78361015316937552991e-05,
+-8.75054060214538136477e-05,
+-8.71251985833677709175e-05,
+-8.66957709481281274576e-05,
+-8.62174425603089747113e-05,
+-8.56905603539940554595e-05,
+-8.51154985129900034952e-05,
+-8.44926582158212472655e-05,
+-8.38224673656400427703e-05,
+-8.31053803052506274724e-05,
+-8.23418775174244912257e-05,
+-8.15324653107033707304e-05,
+-8.06776754908900028181e-05,
+-7.97780650184373106007e-05,
+-7.88342156519530526523e-05,
+-7.78467335780445683635e-05,
+-7.68162490277368720107e-05,
+-7.57434158797055202611e-05,
+-7.46289112505573565791e-05,
+-7.34734350724463647960e-05,
+-7.22777096582538457334e-05,
+-7.10424792545960120905e-05,
+-6.97685095829731762810e-05,
+-6.84565873693016984378e-05,
+-6.71075198621341007877e-05,
+-6.57221343398554209113e-05,
+-6.43012776071557890780e-05,
+-6.28458154810835923102e-05,
+-6.13566322669881414808e-05,
+-5.98346302246723383829e-05,
+-5.82807290250536745514e-05,
+-5.66958651977116231350e-05,
+-5.50809915695821473340e-05,
+-5.34370766951852471703e-05,
+-5.17651042787056485015e-05,
+-5.00660725882709159050e-05,
+-4.83409938627764752253e-05,
+-4.65908937116066385552e-05,
+-4.48168105076074261466e-05,
+-4.30197947736637000340e-05,
+-4.12009085632678118496e-05,
+-3.93612248353795128467e-05,
+-3.75018268240328908462e-05,
+-3.56238074029696449125e-05,
+-3.37282684457607440684e-05,
+-3.18163201816986404395e-05,
+-2.98890805479001212680e-05,
+-2.79476745379709999822e-05,
+-2.59932335476144176260e-05,
+-2.40268947175631300377e-05,
+-2.20498002742151532848e-05,
+-2.00630968683545589837e-05,
+-1.80679349123383810435e-05,
+-1.60654679161321810180e-05,
+-1.40568518225757011658e-05,
+-1.20432443422608051199e-05,
+-1.00258042884029404491e-05,
+-8.00569091208727099719e-06,
+-5.98406323826935972361e-06,
+-3.96207940290984570201e-06,
+-1.94089599162064887166e-06,
+ 7.83326198005747898907e-08,
+ 2.09445492257301924948e-06,
+ 4.10632292949940006763e-06,
+ 6.11279282652582891513e-06,
+ 8.11272562092629197044e-06,
+ 1.01049877857409114437e-05,
+ 1.20884519001330790116e-05,
+ 1.40619972852336154977e-05,
+ 1.60245106352098204275e-05,
+ 1.79748866431337342073e-05,
+ 1.99120286213276946629e-05,
+ 2.18348491158356895975e-05,
+ 2.37422705146771266798e-05,
+ 2.56332256495490372664e-05,
+ 2.75066583906145059298e-05,
+ 2.93615242341154332678e-05,
+ 3.11967908823933051383e-05,
+ 3.30114388160605143471e-05,
+ 3.48044618580061525877e-05,
+ 3.65748677288642252687e-05,
+ 3.83216785937263849210e-05,
+ 4.00439315997342949434e-05,
+ 4.17406794042833988461e-05,
+ 4.34109906935455636926e-05,
+ 4.50539506910283595867e-05,
+ 4.66686616558951677231e-05,
+ 4.82542433707754188257e-05,
+ 4.98098336188025105076e-05,
+ 5.13345886496223527710e-05,
+ 5.28276836341212981227e-05,
+ 5.42883131076322484254e-05,
+ 5.57156914013806444015e-05,
+ 5.71090530619421132309e-05,
+ 5.84676532584898041777e-05,
+ 5.97907681776162523235e-05,
+ 6.10776954055230943694e-05,
+ 6.23277542973780997616e-05,
+ 6.35402863336491786732e-05,
+ 6.47146554632286333470e-05,
+ 6.58502484331734486145e-05,
+ 6.69464751048926757886e-05,
+ 6.80027687566194964435e-05,
+ 6.90185863720170044832e-05,
+ 6.99934089147837939756e-05,
+ 7.09267415890902172158e-05,
+ 7.18181140857647161381e-05,
+ 7.26670808140748066949e-05,
+ 7.34732211190075503587e-05,
+ 7.42361394839436268501e-05,
+ 7.49554657186243128170e-05,
+ 7.56308551323502581193e-05,
+ 7.62619886923002242643e-05,
+ 7.68485731669290054405e-05,
+ 7.73903412543740319013e-05,
+ 7.78870516958209856877e-05,
+ 7.83384893737935715909e-05,
+ 7.87444653953147782324e-05,
+ 7.91048171599420551657e-05,
+ 7.94194084126392720741e-05,
+ 7.96881292814878859675e-05,
+ 7.99108963002358391528e-05,
+ 8.00876524156968731425e-05,
+ 8.02183669800153831232e-05,
+ 8.03030357278285665534e-05,
+ 8.03416807383593541874e-05,
+ 8.03343503824849146247e-05,
+ 8.02811192548356472283e-05,
+ 8.01820880909844978159e-05,
+ 8.00373836697980867074e-05,
+ 7.98471587010282266798e-05,
+ 7.96115916982296047740e-05,
+ 7.93308868371003252356e-05,
+ 7.90052737993477842459e-05,
+ 7.86350076021916034787e-05,
+ 7.82203684136235352425e-05,
+ 7.77616613535522615110e-05,
+ 7.72592162809664708160e-05,
+ 7.67133875672632579209e-05,
+ 7.61245538558890809302e-05,
+ 7.54931178084552014299e-05,
+ 7.48195058374859282803e-05,
+ 7.41041678259918263445e-05,
+ 7.33475768340236086891e-05,
+ 7.25502287924132663235e-05,
+ 7.17126421838883761507e-05,
+ 7.08353577117746115253e-05,
+ 6.99189379564657824580e-05,
+ 6.89639670199154882456e-05,
+ 6.79710501583437364317e-05,
+ 6.69408134033987737470e-05,
+ 6.58739031720058094803e-05,
+ 6.47709858651478100500e-05,
+ 6.36327474558071720916e-05,
+ 6.24598930663620521917e-05,
+ 6.12531465356429315541e-05,
+ 6.00132499759513726788e-05,
+ 5.87409633202952744489e-05,
+ 5.74370638601181475024e-05,
+ 5.61023457738005077431e-05,
+ 5.47376196462178894200e-05,
+ 5.33437119796454611961e-05,
+ 5.19214646963013157221e-05,
+ 5.04717346328268796885e-05,
+ 4.89953930270064014403e-05,
+ 4.74933249970308410371e-05,
+ 4.59664290136169696407e-05,
+ 4.44156163652937726011e-05,
+ 4.28418106171734954413e-05,
+ 4.12459470635278838894e-05,
+ 3.96289721744912600845e-05,
+ 3.79918430372181689441e-05,
+ 3.63355267918223325723e-05,
+ 3.46610000624296407993e-05,
+ 3.29692483836776077948e-05,
+ 3.12612656229971128227e-05,
+ 2.95380533990134290555e-05,
+ 2.78006204964105713487e-05,
+ 2.60499822775738051233e-05,
+ 2.42871600914147949164e-05,
+ 2.25131806796356132906e-05,
+ 2.07290755808621738894e-05,
+ 1.89358805329046950760e-05,
+ 1.71346348735776756247e-05,
+ 1.53263809403626031776e-05,
+ 1.35121634692837809516e-05,
+ 1.16930289933384643446e-05,
+ 9.87002524082706459254e-06,
+ 8.04420053392769432833e-06,
+ 6.21660318786371497718e-06,
+ 4.38828091098144307670e-06,
+ 2.56028020614524101076e-06,
+ 7.33645773704159215729e-07,
+-1.09058008356538882663e-06,
+-2.91135805322907028961e-06,
+-4.72765240333595687151e-06,
+-6.53843156959771685090e-06,
+-8.34266873927393720254e-06,
+-1.01393424314343474083e-05,
+-1.19274370732709349764e-05,
+-1.37059435721405858846e-05,
+-1.54738598829871196378e-05,
+-1.72301915709141233841e-05,
+-1.89739523684456172069e-05,
+-2.07041647273114594839e-05,
+-2.24198603643615891102e-05,
+-2.41200808013344202745e-05,
+-2.58038778981763044563e-05,
+-2.74703143796157200874e-05,
+-2.91184643547017321143e-05,
+-3.07474138290197399233e-05,
+-3.23562612093023567895e-05,
+-3.39441178001584614038e-05,
+-3.55101082926439871944e-05,
+-3.70533712444301888567e-05,
+-3.85730595512544287501e-05,
+-4.00683409094500665032e-05,
+-4.15383982693033816007e-05,
+-4.29824302789406134098e-05,
+-4.43996517185575042359e-05,
+-4.57892939247349858053e-05,
+-4.71506052046175686584e-05,
+-4.84828512397324982693e-05,
+-4.97853154792346060619e-05,
+-5.10572995223683090350e-05,
+-5.22981234899434565362e-05,
+-5.35071263846277400461e-05,
+-5.46836664398836234187e-05,
+-5.58271214573224499331e-05,
+-5.69368891323614851295e-05,
+-5.80123873679696164230e-05,
+-5.90530545763586015842e-05,
+-6.00583499684634902521e-05,
+-6.10277538310640554767e-05,
+-6.19607677914099007560e-05,
+-6.28569150692159534649e-05,
+-6.37157407158944321529e-05,
+-6.45368118409359687801e-05,
+-6.53197178252850279385e-05,
+-6.60640705216541051321e-05,
+-6.67695044416362863812e-05,
+-6.74356769295752540719e-05,
+-6.80622683230799142623e-05,
+-6.86489821001279852154e-05,
+-6.91955450126904592642e-05,
+-6.97017072068230802637e-05,
+-7.01672423291767658176e-05,
+-7.05919476198861947256e-05,
+-7.09756439918057140982e-05,
+-7.13181760960681986961e-05,
+-7.16194123739501793333e-05,
+-7.18792450950348377767e-05,
+-7.20975903816736135316e-05,
+-7.22743882197516537879e-05,
+-7.24096024557741556067e-05,
+-7.25032207802958942548e-05,
+-7.25552546977243766621e-05,
+-7.25657394825357868065e-05,
+-7.25347341219498558274e-05,
+-7.24623212451169996162e-05,
+-7.23486070388806753713e-05,
+-7.21937211501822589683e-05,
+-7.19978165751875085875e-05,
+-7.17610695352167158104e-05,
+-7.14836793395702676862e-05,
+-7.11658682353526731877e-05,
+-7.08078812443949090743e-05,
+-7.04099859873934258306e-05,
+-6.99724724953850081566e-05,
+-6.94956530086853716552e-05,
+-6.89798617634244460098e-05,
+-6.84254547658288183589e-05,
+-6.78328095543798148277e-05,
+-6.72023249500277669805e-05,
+-6.65344207946062419579e-05,
+-6.58295376776219041525e-05,
+-6.50881366515859591205e-05,
+-6.43106989360903185575e-05,
+-6.34977256107851671055e-05,
+-6.26497372974739176162e-05,
+-6.17672738315155477485e-05,
+-6.08508939227416309091e-05,
+-5.99011748060970076221e-05,
+-5.89187118822223946605e-05,
+-5.79041183481987132707e-05,
+-5.68580248186811984187e-05,
+-5.57810789376551931251e-05,
+-5.46739449810503702100e-05,
+-5.35373034504554770174e-05,
+-5.23718506581807131213e-05,
+-5.11782983039181917171e-05,
+-4.99573730432570882465e-05,
+-4.87098160483125057073e-05,
+-4.74363825607329001348e-05,
+-4.61378414373535389293e-05,
+-4.48149746887680454615e-05,
+-4.34685770110934173059e-05,
+-4.20994553112074291123e-05,
+-4.07084282257405295205e-05,
+-3.92963256341110296946e-05,
+-3.78639881658720183844e-05,
+-3.64122667027106395048e-05,
+-3.49420218753273198247e-05,
+-3.34541235555410240970e-05,
+-3.19494503438986083817e-05,
+-3.04288890530928917170e-05,
+-2.88933341874874255505e-05,
+-2.73436874190750308462e-05,
+-2.57808570601205806739e-05,
+-2.42057575328682884756e-05,
+-2.26193088365677101494e-05,
+-2.10224360121490399698e-05,
+-1.94160686048590696543e-05,
+-1.78011401251455341182e-05,
+-1.61785875081583371295e-05,
+-1.45493505721038791060e-05,
+-1.29143714758213699049e-05,
+-1.12745941758700444585e-05,
+-9.63096388344320252515e-06,
+-7.98442652142029617504e-06,
+-6.33592818186786765829e-06,
+-4.68641458429933138496e-06,
+-3.03683053500296397801e-06,
+-1.38811938774586377356e-06,
+ 2.58777493839178202322e-07,
+ 1.90292127187864929960e-06,
+ 3.54337616759140759028e-06,
+ 5.17920999202801067562e-06,
+ 6.80949467391633912354e-06,
+ 8.43330678431570807498e-06,
+ 1.00497280577839181130e-05,
+ 1.16578459097642718917e-05,
+ 1.32567539499020862689e-05,
+ 1.48455524910031115056e-05,
+ 1.64233490533491062295e-05,
+ 1.79892588640891236808e-05,
+ 1.95424053514245014756e-05,
+ 2.10819206333345681716e-05,
+ 2.26069460005168742459e-05,
+ 2.41166323933478058403e-05,
+ 2.56101408725446344061e-05,
+ 2.70866430832949805965e-05,
+ 2.85453217125733007859e-05,
+ 2.99853709394462142215e-05,
+ 3.14059968780488809876e-05,
+ 3.28064180130436779592e-05,
+ 3.41858656273021432946e-05,
+ 3.55435842215810670545e-05,
+ 3.68788319259649065773e-05,
+ 3.81908809028492260114e-05,
+ 3.94790177412656769699e-05,
+ 4.07425438422898093392e-05,
+ 4.19807757953880351259e-05,
+ 4.31930457454549954818e-05,
+ 4.43787017503647075972e-05,
+ 4.55371081288425238044e-05,
+ 4.66676457984745168698e-05,
+ 4.77697126036755268658e-05,
+ 4.88427236334443488387e-05,
+ 4.98861115287400902485e-05,
+ 5.08993267793200968442e-05,
+ 5.18818380098863440766e-05,
+ 5.28331322553930322872e-05,
+ 5.37527152253746494555e-05,
+ 5.46401115571613411491e-05,
+ 5.54948650578534959663e-05,
+ 5.63165389349345359561e-05,
+ 5.71047160154089449252e-05,
+ 5.78589989533570669814e-05,
+ 5.85790104258065492428e-05,
+ 5.92643933168274041653e-05,
+ 5.99148108897627355894e-05,
+ 6.05299469475165509511e-05,
+ 6.11095059808236870788e-05,
+ 6.16532133044444885040e-05,
+ 6.21608151812043867963e-05,
+ 6.26320789338565816822e-05,
+ 6.30667930446937390586e-05,
+ 6.34647672428986905826e-05,
+ 6.38258325795768347542e-05,
+ 6.41498414904665125455e-05,
+ 6.44366678463023396118e-05,
+ 6.46862069908247323737e-05,
+ 6.48983757664325786518e-05,
+ 6.50731125274843654437e-05,
+ 6.52103771412599882238e-05,
+ 6.53101509766035163464e-05,
+ 6.53724368802683817540e-05,
+ 6.53972591410049980528e-05,
+ 6.53846634414262362599e-05,
+ 6.53347167976985163280e-05,
+ 6.52475074871135241571e-05,
+ 6.51231449636010796761e-05,
+ 6.49617597612497395644e-05,
+ 6.47635033859116657304e-05,
+ 6.45285481949697814485e-05,
+ 6.42570872653582068207e-05,
+ 6.39493342499302042841e-05,
+ 6.36055232222692201391e-05,
+ 6.32259085100558739911e-05,
+ 6.28107645171077595475e-05,
+ 6.23603855342008971162e-05,
+ 6.18750855388094879363e-05,
+ 6.13551979838913776489e-05,
+ 6.08010755758598702586e-05,
+ 6.02130900418846006969e-05,
+ 5.95916318866736676439e-05,
+ 5.89371101388912814706e-05,
+ 5.82499520873748857785e-05,
+ 5.75306030073172492193e-05,
+ 5.67795258765894393974e-05,
+ 5.59972010823701890950e-05,
+ 5.51841261183018495025e-05,
+ 5.43408152723015371618e-05,
+ 5.34677993052802834643e-05,
+ 5.25656251209348160261e-05,
+ 5.16348554268246720794e-05,
+ 5.06760683869446402865e-05,
+ 4.96898572660009552938e-05,
+ 4.86768300656121986501e-05,
+ 4.76376091526542401900e-05,
+ 4.65728308799746458426e-05,
+ 4.54831451997094723732e-05,
+ 4.43692152694205702067e-05,
+ 4.32317170513272638010e-05,
+ 4.20713389048248215750e-05,
+ 4.08887811725691820543e-05,
+ 3.96847557603624830438e-05,
+ 3.84599857110910642592e-05,
+ 3.72152047729705208619e-05,
+ 3.59511569623536525052e-05,
+ 3.46685961213579385467e-05,
+ 3.33682854705920874040e-05,
+ 3.20509971572010551400e-05,
+ 3.07175117985585750834e-05,
+ 2.93686180218123159854e-05,
+ 2.80051119996170835922e-05,
+ 2.66277969822622470077e-05,
+ 2.52374828265144898710e-05,
+ 2.38349855214322459531e-05,
+ 2.24211267114313739257e-05,
+ 2.09967332168798777813e-05,
+ 1.95626365525002586521e-05,
+ 1.81196724438590493929e-05,
+ 1.66686803422232323734e-05,
+ 1.52105029380648706125e-05,
+ 1.37459856734939339152e-05,
+ 1.22759762539012447631e-05,
+ 1.08013241590919135580e-05,
+ 9.32288015419072379738e-06,
+ 7.84149580059962841079e-06,
+ 6.35802296728773956217e-06,
+ 4.87331334269314813773e-06,
+ 3.38821794751525819401e-06,
+ 1.90358664867536025810e-06,
+ 4.20267674722007678397e-07,
+-1.06089286704349063181e-06,
+-2.53905147144755971960e-06,
+-4.01336771405853671665e-06,
+-5.48300472726051319248e-06,
+-6.94712967353908428204e-06,
+-8.40491421565995491089e-06,
+-9.85553498354600196257e-06,
+-1.12981740375379932287e-05,
+-1.27320193278005813889e-05,
+-1.41562651496129757108e-05,
+-1.55701125942935366840e-05,
+-1.69727699954863943171e-05,
+-1.83634533706132413357e-05,
+-1.97413868571768872317e-05,
+-2.11058031437259111299e-05,
+-2.24559438952188090413e-05,
+-2.37910601725753876787e-05,
+-2.51104128461361075818e-05,
+-2.64132730028669993332e-05,
+-2.76989223470385161768e-05,
+-2.89666535941785825052e-05,
+-3.02157708580817170672e-05,
+-3.14455900306639634365e-05,
+-3.26554391544575276863e-05,
+-3.38446587875432448227e-05,
+-3.50126023607246299988e-05,
+-3.61586365267507298072e-05,
+-3.72821415014014433467e-05,
+-3.83825113962520523994e-05,
+-3.94591545429407643156e-05,
+-4.05114938087662831479e-05,
+-4.15389669034495396562e-05,
+-4.25410266768976613630e-05,
+-4.35171414078138610380e-05,
+-4.44667950830035220650e-05,
+-4.53894876672311637202e-05,
+-4.62847353634881464551e-05,
+-4.71520708635396170122e-05,
+-4.79910435886203451676e-05,
+-4.88012199201597561809e-05,
+-4.95821834204167205301e-05,
+-5.03335350429265633945e-05,
+-5.10548933326265304408e-05,
+-5.17458946156012646414e-05,
+-5.24061931783268363742e-05,
+-5.30354614363393909939e-05,
+-5.36333900922485962647e-05,
+-5.41996882830139510762e-05,
+-5.47340837164388594079e-05,
+-5.52363227967925824054e-05,
+-5.57061707395272917836e-05,
+-5.61434116750343203787e-05,
+-5.65478487413978341881e-05,
+-5.69193041661166998697e-05,
+-5.72576193367504884379e-05,
+-5.75626548604881785863e-05,
+-5.78342906126072504132e-05,
+-5.80724257738199440486e-05,
+-5.82769788565022921634e-05,
+-5.84478877198096668589e-05,
+-5.85851095736871960683e-05,
+-5.86886209717912786239e-05,
+-5.87584177933450407718e-05,
+-5.87945152139549069526e-05,
+-5.87969476654236840492e-05,
+-5.87657687846015756232e-05,
+-5.87010513513210692091e-05,
+-5.86028872154704082165e-05,
+-5.84713872132640056231e-05,
+-5.83066810727762474998e-05,
+-5.81089173088098371331e-05,
+-5.78782631071765932274e-05,
+-5.76149041984740298956e-05,
+-5.73190447214473209757e-05,
+-5.69909070760322414208e-05,
+-5.66307317661793541358e-05,
+-5.62387772325672526141e-05,
+-5.58153196753171827195e-05,
+-5.53606528668218819548e-05,
+-5.48750879548260181830e-05,
+-5.43589532558681387997e-05,
+-5.38125940392313040217e-05,
+-5.32363723015430049873e-05,
+-5.26306665321520585781e-05,
+-5.19958714694554905247e-05,
+-5.13323978483126871185e-05,
+-5.06406721387124545189e-05,
+-4.99211362758563274877e-05,
+-4.91742473818266735545e-05,
+-4.84004774790149961978e-05,
+-4.76003131954764758258e-05,
+-4.67742554624208601633e-05,
+-4.59228192039893781543e-05,
+-4.50465330195347888644e-05,
+-4.41459388585886764659e-05,
+-4.32215916887159588432e-05,
+-4.22740591564579529368e-05,
+-4.13039212415705373426e-05,
+-4.03117699047655450996e-05,
+-3.92982087291690829157e-05,
+-3.82638525557110084044e-05,
+-3.72093271126660717248e-05,
+-3.61352686395672686765e-05,
+-3.50423235057168379857e-05,
+-3.39311478235224090556e-05,
+-3.28024070568877919004e-05,
+-3.16567756248915059525e-05,
+-3.04949365009877199171e-05,
+-2.93175808079664161425e-05,
+-2.81254074089120697057e-05,
+-2.69191224944017248270e-05,
+-2.56994391661852553642e-05,
+-2.44670770175918836234e-05,
+-2.32227617109122020126e-05,
+-2.19672245519847623529e-05,
+-2.07012020622797709220e-05,
+-1.94254355486677272565e-05,
+-1.81406706711849960521e-05,
+-1.68476570089850853130e-05,
+-1.55471476247899104671e-05,
+-1.42398986280482303988e-05,
+-1.29266687370718316063e-05,
+-1.16082188403988693324e-05,
+-1.02853115576371897586e-05,
+-8.95871080003975092416e-06,
+-7.62918133106494951846e-06,
+-6.29748832717637000583e-06,
+-4.96439693911456911849e-06,
+-3.63067185393867396159e-06,
+-2.29707685802459498842e-06,
+-9.64374401315848450426e-07,
+ 3.66674836944231519952e-07,
+ 1.69531238074935703441e-06,
+ 3.02078238789119312040e-06,
+ 4.34233207830084875904e-06,
+ 5.65921215992918806928e-06,
+ 6.97067725192901449440e-06,
+ 8.27598630488246552004e-06,
+ 9.57440301788133736832e-06,
+ 1.08651962521827093731e-05,
+ 1.21476404412087555200e-05,
+ 1.34210159967052598768e-05,
+ 1.46846097107889237831e-05,
+ 1.59377151536783862637e-05,
+ 1.71796330668853545218e-05,
+ 1.84096717516477081152e-05,
+ 1.96271474523901250152e-05,
+ 2.08313847350004374291e-05,
+ 2.20217168597138741371e-05,
+ 2.31974861483999769760e-05,
+ 2.43580443460485478093e-05,
+ 2.55027529762765186715e-05,
+ 2.66309836906033699266e-05,
+ 2.77421186114023531077e-05,
+ 2.88355506682450058473e-05,
+ 2.99106839275143976181e-05,
+ 3.09669339150908589178e-05,
+ 3.20037279319387916966e-05,
+ 3.30205053624261607144e-05,
+ 3.40167179752114232517e-05,
+ 3.49918302165381128787e-05,
+ 3.59453194957816331854e-05,
+ 3.68766764630972321086e-05,
+ 3.77854052790209193153e-05,
+ 3.86710238758958244651e-05,
+ 3.95330642109541764121e-05,
+ 4.03710725109682755916e-05,
+ 4.11846095083103026020e-05,
+ 4.19732506683146705116e-05,
+ 4.27365864078233130617e-05,
+ 4.34742223048040452049e-05,
+ 4.41857792989385563150e-05,
+ 4.48708938830692915926e-05,
+ 4.55292182854370863364e-05,
+ 4.61604206425851002231e-05,
+ 4.67641851628709925696e-05,
+ 4.73402122805066265026e-05,
+ 4.78882188000329483382e-05,
+ 4.84079380311931386409e-05,
+ 4.88991199141192096943e-05,
+ 4.93615311347864993397e-05,
+ 4.97949552306842973051e-05,
+ 5.01991926866579958816e-05,
+ 5.05740610208843503087e-05,
+ 5.09193948609473228035e-05,
+ 5.12350460099867614349e-05,
+ 5.15208835028994156444e-05,
+ 5.17767936525754493993e-05,
+ 5.20026800861617919140e-05,
+ 5.21984637713472843972e-05,
+ 5.23640830326715540628e-05,
+ 5.24994935578649676486e-05,
+ 5.26046683942319904669e-05,
+ 5.26795979350977647813e-05,
+ 5.27242898963412381865e-05,
+ 5.27387692830453080699e-05,
+ 5.27230783462991780706e-05,
+ 5.26772765301947225270e-05,
+ 5.26014404090633305310e-05,
+ 5.24956636150047901762e-05,
+ 5.23600567557668073533e-05,
+ 5.21947473230388830738e-05,
+ 5.19998795912271193358e-05,
+ 5.17756145067857189357e-05,
+ 5.15221295681833840827e-05,
+ 5.12396186965899134232e-05,
+ 5.09282920973702621955e-05,
+ 5.05883761124873977634e-05,
+ 5.02201130639010932745e-05,
+ 4.98237610880825857601e-05,
+ 4.93995939617437136368e-05,
+ 4.89479009189001211121e-05,
+ 4.84689864593871208814e-05,
+ 4.79631701489468674927e-05,
+ 4.74307864110306472431e-05,
+ 4.68721843104290958456e-05,
+ 4.62877273288830334104e-05,
+ 4.56777931328110654310e-05,
+ 4.50427733333015571236e-05,
+ 4.43830732385187975314e-05,
+ 4.36991115986785094998e-05,
+ 4.29913203437512904219e-05,
+ 4.22601443140560245420e-05,
+ 4.15060409839102542823e-05,
+ 4.07294801785067884332e-05,
+ 3.99309437841909614544e-05,
+ 3.91109254523149503578e-05,
+ 3.82699302968499331071e-05,
+ 3.74084745859401725113e-05,
+ 3.65270854275851831246e-05,
+ 3.56263004496409294844e-05,
+ 3.47066674743320204575e-05,
+ 3.37687441874715604177e-05,
+ 3.28130978025864834921e-05,
+ 3.18403047201496259048e-05,
+ 3.08509501821220885999e-05,
+ 2.98456279220141111716e-05,
+ 2.88249398106583463292e-05,
+ 2.77894954979411405727e-05,
+ 2.67399120506568739174e-05,
+ 2.56768135867345998077e-05,
+ 2.46008309060387078085e-05,
+ 2.35126011179608967452e-05,
+ 2.24127672660373206972e-05,
+ 2.13019779497730199318e-05,
+ 2.01808869439458528371e-05,
+ 1.90501528155745074983e-05,
+ 1.79104385387887921337e-05,
+ 1.67624111078244624493e-05,
+ 1.56067411483699600464e-05,
+ 1.44441025274743162915e-05,
+ 1.32751719622829946729e-05,
+ 1.21006286277736464400e-05,
+ 1.09211537637588811984e-05,
+ 9.73743028136644528262e-06,
+ 8.55014236922561691437e-06,
+ 7.35997509958635033394e-06,
+ 6.16761403459692181825e-06,
+ 4.97374483296533837542e-06,
+ 3.77905285722950647743e-06,
+ 2.58422278186008839003e-06,
+ 1.38993820241930683239e-06,
+ 1.96881245997903772338e-07,
+-9.94267816848598569217e-07,
+-2.18283095844447963890e-06,
+-3.36813277840069707876e-06,
+-4.54950088586700000424e-06,
+-5.72626627941386950107e-06,
+-6.89776372433048807836e-06,
+-8.06333212712694707145e-06,
+-9.22231490703067589279e-06,
+-1.03740603642693244191e-05,
+-1.15179220449344173161e-05,
+-1.26532591022196861730e-05,
+-1.37794366538495711072e-05,
+-1.48958261354584999990e-05,
+-1.60018056497799296184e-05,
+-1.70967603114136951952e-05,
+-1.81800825869820380861e-05,
+-1.92511726305242952264e-05,
+-2.03094386138927829864e-05,
+-2.13542970520092069756e-05,
+-2.23851731227873900821e-05,
+-2.34015009815511875976e-05,
+-2.44027240697762211102e-05,
+-2.53882954179860686225e-05,
+-2.63576779426533689202e-05,
+-2.73103447369098503218e-05,
+-2.82457793549575378290e-05,
+-2.91634760899918437553e-05,
+-3.00629402455041167019e-05,
+-3.09436883998153130820e-05,
+-3.18052486637019455554e-05,
+-3.26471609309779970515e-05,
+-3.34689771219005548241e-05,
+-3.42702614192727262341e-05,
+-3.50505904971203557973e-05,
+-3.58095537418260222574e-05,
+-3.65467534655933827146e-05,
+-3.72618051121717498101e-05,
+-3.79543374546707974228e-05,
+-3.86239927854306394216e-05,
+-3.92704270978131317837e-05,
+-3.98933102598363287456e-05,
+-4.04923261795653974715e-05,
+-4.10671729621785269976e-05,
+-4.16175630586323642046e-05,
+-4.21432234058559141441e-05,
+-4.26438955584067616068e-05,
+-4.31193358115292238756e-05,
+-4.35693153155569312869e-05,
+-4.39936201816156069303e-05,
+-4.43920515785651946397e-05,
+-4.47644258211561343495e-05,
+-4.51105744493632472049e-05,
+-4.54303442988531914885e-05,
+-4.57235975625737596506e-05,
+-4.59902118434391446694e-05,
+-4.62300801980975147932e-05,
+-4.64431111717703053654e-05,
+-4.66292288241590738816e-05,
+-4.67883727464197082162e-05,
+-4.69204980692097139592e-05,
+-4.70255754618213880035e-05,
+-4.71035911224101212042e-05,
+-4.71545467593474220552e-05,
+-4.71784595637180143891e-05,
+-4.71753621729942670049e-05,
+-4.71453026259235373810e-05,
+-4.70883443086696765927e-05,
+-4.70045658922535814004e-05,
+-4.68940612613444625227e-05,
+-4.67569394344568726790e-05,
+-4.65933244756150703129e-05,
+-4.64033553975471216042e-05,
+-4.61871860564808808737e-05,
+-4.59449850386188616159e-05,
+-4.56769355383655138421e-05,
+-4.53832352283949652812e-05,
+-4.50640961216473178623e-05,
+-4.47197444253447825278e-05,
+-4.43504203871267281252e-05,
+-4.39563781334040550529e-05,
+-4.35378855000395927045e-05,
+-4.30952238554646824297e-05,
+-4.26286879163457669119e-05,
+-4.21385855559199974771e-05,
+-4.16252376051221437895e-05,
+-4.10889776466288376587e-05,
+-4.05301518019508379771e-05,
+-3.99491185117068837215e-05,
+-3.93462483092169100062e-05,
+-3.87219235875561562329e-05,
+-3.80765383602142771309e-05,
+-3.74104980155082837679e-05,
+-3.67242190649002693526e-05,
+-3.60181288853753334362e-05,
+-3.52926654560366292231e-05,
+-3.45482770890794257056e-05,
+-3.37854221553090375610e-05,
+-3.30045688043594255523e-05,
+-3.22061946798075831645e-05,
+-3.13907866293216945321e-05,
+-3.05588404100427330412e-05,
+-2.97108603893675688823e-05,
+-2.88473592413132615716e-05,
+-2.79688576386454084658e-05,
+-2.70758839409515568225e-05,
+-2.61689738788582883049e-05,
+-2.52486702345479146949e-05,
+-2.43155225188067227653e-05,
+-2.33700866447662229544e-05,
+-2.24129245985293835562e-05,
+-2.14446041069073238181e-05,
+-2.04656983024178883341e-05,
+-1.94767853857754148804e-05,
+-1.84784482860567825561e-05,
+-1.74712743187444023349e-05,
+-1.64558548418461311194e-05,
+-1.54327849102923173909e-05,
+-1.44026629288111792759e-05,
+-1.33660903034842037365e-05,
+-1.23236710921832843933e-05,
+-1.12760116540923691986e-05,
+-1.02237202985157386555e-05,
+-9.16740693317562989567e-06,
+-8.10768271220163393815e-06,
+-7.04515968401436206049e-06,
+-5.98045043930514029506e-06,
+-4.91416775931360371891e-06,
+-3.84692426460422025455e-06,
+-2.77933206454218416435e-06,
+-1.71200240766848139346e-06,
+-6.45545333172962557628e-07,
+ 4.19430676336646794336e-07,
+ 1.48231904057302648397e-06,
+ 2.54251542561663930372e-06,
+ 3.59941808609308168670e-06,
+ 4.65242820524958869112e-06,
+ 5.70095023278988534811e-06,
+ 6.74439222023971488674e-06,
+ 7.78216615367016922942e-06,
+ 8.81368828359270617260e-06,
+ 9.83837945182666922020e-06,
+ 1.08556654151943217460e-05,
+ 1.18649771658138885200e-05,
+ 1.28657512478499302136e-05,
+ 1.38574300705307268156e-05,
+ 1.48394622172600090695e-05,
+ 1.58113027506664198453e-05,
+ 1.67724135133877546580e-05,
+ 1.77222634244721200859e-05,
+ 1.86603287711980042802e-05,
+ 1.95860934961685117974e-05,
+ 2.04990494795206747223e-05,
+ 2.13986968160965711628e-05,
+ 2.22845440874262652991e-05,
+ 2.31561086283755511721e-05,
+ 2.40129167883148332595e-05,
+ 2.48545041866689361690e-05,
+ 2.56804159627113593367e-05,
+ 2.64902070194693860814e-05,
+ 2.72834422616106000525e-05,
+ 2.80596968271851059942e-05,
+ 2.88185563131008925446e-05,
+ 2.95596169942142674564e-05,
+ 3.02824860359208226652e-05,
+ 3.09867817001359949951e-05,
+ 3.16721335445593264431e-05,
+ 3.23381826151192079948e-05,
+ 3.29845816314999765108e-05,
+ 3.36109951656569510029e-05,
+ 3.42170998132293449818e-05,
+ 3.48025843577636647915e-05,
+ 3.53671499276745119299e-05,
+ 3.59105101458437678133e-05,
+ 3.64323912718148200060e-05,
+ 3.69325323364901809465e-05,
+ 3.74106852692794952407e-05,
+ 3.78666150176288244058e-05,
+ 3.83000996588942581029e-05,
+ 3.87109305044850893402e-05,
+ 3.90989121962477274223e-05,
+ 3.94638627950426708552e-05,
+ 3.98056138614771284553e-05,
+ 4.01240105287611420687e-05,
+ 4.04189115676629857573e-05,
+ 4.06901894435291198787e-05,
+ 4.09377303653654542282e-05,
+ 4.11614343269538722871e-05,
+ 4.13612151399990495742e-05,
+ 4.15370004592994877942e-05,
+ 4.16887317999427647820e-05,
+ 4.18163645465287068582e-05,
+ 4.19198679544291165572e-05,
+ 4.19992251430971813499e-05,
+ 4.20544330814450761122e-05,
+ 4.20855025653108131916e-05,
+ 4.20924581870419940027e-05,
+ 4.20753382972270773108e-05,
+ 4.20341949586107831312e-05,
+ 4.19690938922323789214e-05,
+ 4.18801144158325268558e-05,
+ 4.17673493745770476031e-05,
+ 4.16309050641507942731e-05,
+ 4.14709011462787672121e-05,
+ 4.12874705567371297560e-05,
+ 4.10807594059191025335e-05,
+ 4.08509268720259451839e-05,
+ 4.05981450869582284656e-05,
+ 4.03225990149817188125e-05,
+ 4.00244863242588127953e-05,
+ 3.97040172513205211744e-05,
+ 3.93614144585763300172e-05,
+ 3.89969128849576671548e-05,
+ 3.86107595897814662080e-05,
+ 3.82032135899500682069e-05,
+ 3.77745456905820574433e-05,
+ 3.73250383091862464823e-05,
+ 3.68549852934909236125e-05,
+ 3.63646917330434846769e-05,
+ 3.58544737646997589589e-05,
+ 3.53246583721261741586e-05,
+ 3.47755831794332366546e-05,
+ 3.42075962390870128276e-05,
+ 3.36210558142060423280e-05,
+ 3.30163301553966777682e-05,
+ 3.23937972722568060207e-05,
+ 3.17538446996900900290e-05,
+ 3.10968692591733985816e-05,
+ 3.04232768151230764501e-05,
+ 2.97334820265093258108e-05,
+ 2.90279080938678783936e-05,
+ 2.83069865018621188567e-05,
+ 2.75711567575615524813e-05,
+ 2.68208661245598943643e-05,
+ 2.60565693531506030998e-05,
+ 2.52787284066631597003e-05,
+ 2.44878121841591343355e-05,
+ 2.36842962396411912224e-05,
+ 2.28686624979444416434e-05,
+ 2.20413989674784742564e-05,
+ 2.12029994499905229957e-05,
+ 2.03539632475213441687e-05,
+ 1.94947948667270345394e-05,
+ 1.86260037207404863615e-05,
+ 1.77481038287503190129e-05,
+ 1.68616135134610017573e-05,
+ 1.59670550966399525954e-05,
+ 1.50649545929016600080e-05,
+ 1.41558414019059438765e-05,
+ 1.32402479991802029098e-05,
+ 1.23187096257152244321e-05,
+ 1.13917639765278494500e-05,
+ 1.04599508883682767454e-05,
+ 9.52381202675309655368e-06,
+ 8.58389057250431938178e-06,
+ 7.64073090797513138387e-06,
+ 6.69487830314289765184e-06,
+ 5.74687860175188295145e-06,
+ 4.79727790767192774363e-06,
+ 3.84662227168647334824e-06,
+ 2.89545737884364760088e-06,
+ 1.94432823658253304009e-06,
+ 9.93778863798429985474e-07,
+ 4.43519810261418219453e-08,
+-9.03411298083134494987e-07,
+-1.84897177381668332505e-06,
+-2.79179246581568572222e-06,
+-3.73133891666547724968e-06,
+-4.66707949352351104895e-06,
+-5.59848568756837193684e-06,
+-6.52503241114909488603e-06,
+-7.44619829242155147390e-06,
+-8.36146596735429801020e-06,
+-9.27032236890755496482e-06,
+-1.01722590132379665735e-05,
+-1.10667722827682534897e-05,
+-1.19533637059645449316e-05,
+-1.28315402336673929602e-05,
+-1.37008145118236726118e-05,
+-1.45607051504696124636e-05,
+-1.54107369888173211751e-05,
+-1.62504413562997488372e-05,
+-1.70793563294315240981e-05,
+-1.78970269843458541098e-05,
+-1.87030056448704560027e-05,
+-1.94968521260079873374e-05,
+-2.02781339726898497515e-05,
+-2.10464266936743830125e-05,
+-2.18013139904647730040e-05,
+-2.25423879811231864039e-05,
+-2.32692494188629845134e-05,
+-2.39815079053020545374e-05,
+-2.46787820982652636209e-05,
+-2.53606999140241696946e-05,
+-2.60268987238786572637e-05,
+-2.66770255449520642306e-05,
+-2.73107372251350898203e-05,
+-2.79277006220566396152e-05,
+-2.85275927760007770367e-05,
+-2.91101010766786506953e-05,
+-2.96749234237720292370e-05,
+-3.02217683811674436194e-05,
+-3.07503553247967688486e-05,
+-3.12604145840304585829e-05,
+-3.17516875765274536082e-05,
+-3.22239269364954619744e-05,
+-3.26768966362916865294e-05,
+-3.31103721013135404044e-05,
+-3.35241403181086740208e-05,
+-3.39179999356772221173e-05,
+-3.42917613599035768068e-05,
+-3.46452468410814200988e-05,
+-3.49782905544949971623e-05,
+-3.52907386740210617191e-05,
+-3.55824494387227893157e-05,
+-3.58532932124095292024e-05,
+-3.61031525361412189944e-05,
+-3.63319221736595660043e-05,
+-3.65395091497331203439e-05,
+-3.67258327814061905970e-05,
+-3.68908247021470958485e-05,
+-3.70344288788946495372e-05,
+-3.71566016220048470271e-05,
+-3.72573115881061459097e-05,
+-3.73365397758733679086e-05,
+-3.73942795147359094356e-05,
+-3.74305364465390174970e-05,
+-3.74453285001817191228e-05,
+-3.74386858592581299020e-05,
+-3.74106509227334344111e-05,
+-3.73612782586900054964e-05,
+-3.72906345511812774523e-05,
+-3.71987985402384284698e-05,
+-3.70858609550741078051e-05,
+-3.69519244405358592356e-05,
+-3.67971034768620346741e-05,
+-3.66215242927991649845e-05,
+-3.64253247721413610217e-05,
+-3.62086543537608289011e-05,
+-3.59716739251909398806e-05,
+-3.57145557098436036985e-05,
+-3.54374831479307815388e-05,
+-3.51406507711717790501e-05,
+-3.48242640713705212661e-05,
+-3.44885393629439755150e-05,
+-3.41337036395026344345e-05,
+-3.37599944245618602615e-05,
+-3.33676596164906268116e-05,
+-3.29569573277930418366e-05,
+-3.25281557188254321234e-05,
+-3.20815328260544299979e-05,
+-3.16173763849646847373e-05,
+-3.11359836477270585640e-05,
+-3.06376611957413178553e-05,
+-3.01227247471705252121e-05,
+-2.95914989595860117668e-05,
+-2.90443172278450244467e-05,
+-2.84815214773259415084e-05,
+-2.79034619526477284249e-05,
+-2.73104970020026914545e-05,
+-2.67029928572347473455e-05,
+-2.60813234097965965382e-05,
+-2.54458699827217350983e-05,
+-2.47970210987495716533e-05,
+-2.41351722447432573014e-05,
+-2.34607256325420285845e-05,
+-2.27740899563922217575e-05,
+-2.20756801471030884767e-05,
+-2.13659171230650388217e-05,
+-2.06452275383031910749e-05,
+-1.99140435276834237366e-05,
+-1.91728024494465332597e-05,
+-1.84219466252117046706e-05,
+-1.76619230776150628139e-05,
+-1.68931832657115450086e-05,
+-1.61161828183312975558e-05,
+-1.53313812655206427630e-05,
+-1.45392417682358304494e-05,
+-1.37402308464459345215e-05,
+-1.29348181058055242533e-05,
+-1.21234759630454037166e-05,
+-1.13066793702690812049e-05,
+-1.04849055382779459772e-05,
+-9.65863365911334948940e-06,
+-8.82834462796514155621e-06,
+-7.99452076460905629502e-06,
+-7.15764553453369098759e-06,
+-6.31820326991743474922e-06,
+-5.47667889061570897704e-06,
+-4.63355762531863929758e-06,
+-3.78932473303858924915e-06,
+-2.94446522508681059839e-06,
+-2.09946358769777104725e-06,
+-1.25480350545903780141e-06,
+-4.10967585703884757521e-07,
+ 4.31562915977009008788e-07,
+ 1.27230836894944277571e-06,
+ 2.11079103932071460005e-06,
+ 2.94653536014252898618e-06,
+ 3.77906819987967961097e-06,
+ 4.60791912899369108820e-06,
+ 5.43262068449194016279e-06,
+ 6.25270863229422647450e-06,
+ 7.06772222727031654239e-06,
+ 7.87720447080152108251e-06,
+ 8.68070236573491179038e-06,
+ 9.47776716855934883059e-06,
+ 1.02679546387046329188e-05,
+ 1.10508252847855289948e-05,
+ 1.18259446076950094435e-05,
+ 1.25928833403731488022e-05,
+ 1.33512176841488130493e-05,
+ 1.41005295415132480126e-05,
+ 1.48404067452006041290e-05,
+ 1.55704432834508311935e-05,
+ 1.62902395213322402135e-05,
+ 1.69994024180030318645e-05,
+ 1.76975457398040286305e-05,
+ 1.83842902690431043002e-05,
+ 1.90592640083929755197e-05,
+ 1.97221023807678906147e-05,
+ 2.03724484245830909945e-05,
+ 2.10099529842914574005e-05,
+ 2.16342748960969371002e-05,
+ 2.22450811687472009364e-05,
+ 2.28420471593103576108e-05,
+ 2.34248567438443574510e-05,
+ 2.39932024828722749476e-05,
+ 2.45467857815675249479e-05,
+ 2.50853170445967065243e-05,
+ 2.56085158254919929746e-05,
+ 2.61161109705264067420e-05,
+ 2.66078407569898643540e-05,
+ 2.70834530258070006151e-05,
+ 2.75427053084297310910e-05,
+ 2.79853649479419435960e-05,
+ 2.84112092143175989727e-05,
+ 2.88200254137772721131e-05,
+ 2.92116109921902309310e-05,
+ 2.95857736324748295058e-05,
+ 2.99423313459514552895e-05,
+ 3.02811125576063902359e-05,
+ 3.06019561852344731414e-05,
+ 3.09047117124088772445e-05,
+ 3.11892392552770306917e-05,
+ 3.14554096231257185974e-05,
+ 3.17031043727105386106e-05,
+ 3.19322158563235434462e-05,
+ 3.21426472635838068469e-05,
+ 3.23343126569389799764e-05,
+ 3.25071370008686157485e-05,
+ 3.26610561847839823827e-05,
+ 3.27960170396232209987e-05,
+ 3.29119773481435616428e-05,
+ 3.30089058489176179569e-05,
+ 3.30867822340391137381e-05,
+ 3.31455971405566354542e-05,
+ 3.31853521356474453628e-05,
+ 3.32060596955532425618e-05,
+ 3.32077431783010264656e-05,
+ 3.31904367902360999997e-05,
+ 3.31541855463981258254e-05,
+ 3.30990452247738323123e-05,
+ 3.30250823144645263966e-05,
+ 3.29323739578086778848e-05,
+ 3.28210078865044069620e-05,
+ 3.26910823517787598727e-05,
+ 3.25427060486570274289e-05,
+ 3.23759980343831654933e-05,
+ 3.21910876410516532862e-05,
+ 3.19881143825098785360e-05,
+ 3.17672278555962777865e-05,
+ 3.15285876357804020743e-05,
+ 3.12723631672755098660e-05,
+ 3.09987336476968641276e-05,
+ 3.07078879073422307631e-05,
+ 3.04000242831731254834e-05,
+ 3.00753504875796523151e-05,
+ 2.97340834720133863225e-05,
+ 2.93764492855759244065e-05,
+ 2.90026829286541534467e-05,
+ 2.86130282016945522135e-05,
+ 2.82077375492130921937e-05,
+ 2.77870718991382409868e-05,
+ 2.73513004975885902525e-05,
+ 2.69007007391876059731e-05,
+ 2.64355579930219527422e-05,
+ 2.59561654243505824063e-05,
+ 2.54628238121749757804e-05,
+ 2.49558413627831115046e-05,
+ 2.44355335193822060570e-05,
+ 2.39022227679302646662e-05,
+ 2.33562384393019751726e-05,
+ 2.27979165078862079359e-05,
+ 2.22275993867542926926e-05,
+ 2.16456357195166269815e-05,
+ 2.10523801689935258924e-05,
+ 2.04481932028270123260e-05,
+ 1.98334408761695914203e-05,
+ 1.92084946115600319473e-05,
+ 1.85737309761447836221e-05,
+ 1.79295314563576179442e-05,
+ 1.72762822302007563351e-05,
+ 1.66143739372523043473e-05,
+ 1.59442014465590105223e-05,
+ 1.52661636225209913461e-05,
+ 1.45806630889290942863e-05,
+ 1.38881059912848947536e-05,
+ 1.31889017575441241904e-05,
+ 1.24834628574239182218e-05,
+ 1.17722045604144076358e-05,
+ 1.10555446926362083376e-05,
+ 1.03339033926850970682e-05,
+ 9.60770286660610835401e-06,
+ 8.87736714213917295769e-06,
+ 8.14332182237846214528e-06,
+ 7.40599383898811708220e-06,
+ 6.66581120511662847053e-06,
+ 5.92320276815220692627e-06,
+ 5.17859796246125674333e-06,
+ 4.43242656225190390784e-06,
+ 3.68511843470406844027e-06,
+ 2.93710329350725519965e-06,
+ 2.18881045294667824256e-06,
+ 1.44066858267776568184e-06,
+ 6.93105463328498643878e-07,
+-5.34522569318000109946e-08,
+-7.98579304717572919173e-07,
+-1.54185202251970832288e-06,
+-2.28284860840320051088e-06,
+-3.02114935421031389665e-06,
+-3.75633688210878496775e-06,
+-4.48799637936313885382e-06,
+-5.21571583119760455970e-06,
+-5.93908625161027179838e-06,
+-6.65770191203593872154e-06,
+-7.37116056769570928293e-06,
+-8.07906368153382318078e-06,
+-8.78101664560747212731e-06,
+-9.47662899980729766419e-06,
+-1.01655146477980716876e-05,
+-1.08472920700360401147e-05,
+-1.15215845337792326716e-05,
+-1.21880202999511892778e-05,
+-1.28462328267551614196e-05,
+-1.34958609699263177819e-05,
+-1.41365491795134746316e-05,
+-1.47679476930840737262e-05,
+-1.53897127252478330606e-05,
+-1.60015066533978296873e-05,
+-1.66029981995690071228e-05,
+-1.71938626083174473280e-05,
+-1.77737818205255124692e-05,
+-1.83424446430409821820e-05,
+-1.88995469140607142496e-05,
+-1.94447916641716418988e-05,
+-1.99778892729651633619e-05,
+-2.04985576211432968317e-05,
+-2.10065222380378098066e-05,
+-2.15015164444660525898e-05,
+-2.19832814908509086081e-05,
+-2.24515666905336362430e-05,
+-2.29061295482131846272e-05,
+-2.33467358834453286897e-05,
+-2.37731599491474201167e-05,
+-2.41851845450333852378e-05,
+-2.45826011259452240434e-05,
+-2.49652099050124548756e-05,
+-2.53328199515970210081e-05,
+-2.56852492839710685329e-05,
+-2.60223249566979663422e-05,
+-2.63438831426579298076e-05,
+-2.66497692096954663589e-05,
+-2.69398377918485816931e-05,
+-2.72139528551308018016e-05,
+-2.74719877578380960005e-05,
+-2.77138253053556592794e-05,
+-2.79393577994475523249e-05,
+-2.81484870820020636713e-05,
+-2.83411245732301139656e-05,
+-2.85171913042964311541e-05,
+-2.86766179443786176822e-05,
+-2.88193448221488309965e-05,
+-2.89453219416760952935e-05,
+-2.90545089927504981216e-05,
+-2.91468753556345132793e-05,
+-2.92224001002483448552e-05,
+-2.92810719798009543599e-05,
+-2.93228894188808181459e-05,
+-2.93478604960236810328e-05,
+-2.93560029207774113129e-05,
+-2.93473440052880433669e-05,
+-2.93219206304335843936e-05,
+-2.92797792065350247323e-05,
+-2.92209756286776301080e-05,
+-2.91455752266783351279e-05,
+-2.90536527097378728982e-05,
+-2.89452921058199178666e-05,
+-2.88205866958015281636e-05,
+-2.86796389424427922371e-05,
+-2.85225604142267152093e-05,
+-2.83494717041206751521e-05,
+-2.81605023433202391432e-05,
+-2.79557907100283667510e-05,
+-2.77354839333381227289e-05,
+-2.74997377922758771290e-05,
+-2.72487166100799959093e-05,
+-2.69825931437795252883e-05,
+-2.67015484691465684885e-05,
+-2.64057718610977712947e-05,
+-2.60954606696212069907e-05,
+-2.57708201913090847589e-05,
+-2.54320635365780473264e-05,
+-2.50794114926622185510e-05,
+-2.47130923824611631432e-05,
+-2.43333419193429083098e-05,
+-2.39404030579782670638e-05,
+-2.35345258413101434184e-05,
+-2.31159672437494752078e-05,
+-2.26849910106949353332e-05,
+-2.22418674944758635930e-05,
+-2.17868734868193039472e-05,
+-2.13202920479438652059e-05,
+-2.08424123323838041491e-05,
+-2.03535294116561999106e-05,
+-1.98539440938636343103e-05,
+-1.93439627403565497755e-05,
+-1.88238970795673100412e-05,
+-1.82940640181116715769e-05,
+-1.77547854492869263538e-05,
+-1.72063880590754648210e-05,
+-1.66492031297704090782e-05,
+-1.60835663413408166554e-05,
+-1.55098175706546329380e-05,
+-1.49283006886787883053e-05,
+-1.43393633557766034665e-05,
+-1.37433568152237134072e-05,
+-1.31406356850657396885e-05,
+-1.25315577484303698698e-05,
+-1.19164837424470248790e-05,
+-1.12957771458482026110e-05,
+-1.06698039654265613285e-05,
+-1.00389325214426427445e-05,
+-9.40353323211844157182e-06,
+-8.76397839734067131087e-06,
+-8.12064198169950727862e-06,
+-7.47389939698852350989e-06,
+-6.82412728429159437049e-06,
+-6.17170329578283326645e-06,
+-5.51700587636662085001e-06,
+-4.86041404527424057491e-06,
+-4.20230717776569626185e-06,
+-3.54306478703081491720e-06,
+-2.88306630643768218789e-06,
+-2.22269087224340068095e-06,
+-1.56231710689249263685e-06,
+-9.02322903026265212716e-07,
+-2.43085208325657879777e-07,
+ 4.15020188692070241853e-07,
+ 1.07161887179235378480e-06,
+ 1.72633800896124487047e-06,
+ 2.37880656301163715107e-06,
+ 3.02865550076134820403e-06,
+ 3.67551800066570465779e-06,
+ 4.31902965876675653769e-06,
+ 4.95882869287509108695e-06,
+ 5.59455614484735050385e-06,
+ 6.22585608085616216224e-06,
+ 6.85237578953995891761e-06,
+ 7.47376597792307623553e-06,
+ 8.08968096499781815715e-06,
+ 8.69977887286206749402e-06,
+ 9.30372181530736666231e-06,
+ 9.90117608375414723029e-06,
+ 1.04918123304324667667e-05,
+ 1.10753057487085165546e-05,
+ 1.16513362504588705059e-05,
+ 1.22195886403962862164e-05,
+ 1.27797527872529815987e-05,
+ 1.33315237917292095805e-05,
+ 1.38746021511168710365e-05,
+ 1.44086939205101016335e-05,
+ 1.49335108705172178858e-05,
+ 1.54487706413894936150e-05,
+ 1.59541968934863105428e-05,
+ 1.64495194539962877323e-05,
+ 1.69344744598370269687e-05,
+ 1.74088044966656047203e-05,
+ 1.78722587339096677364e-05,
+ 1.83245930557734450217e-05,
+ 1.87655701881329496747e-05,
+ 1.91949598212630230727e-05,
+ 1.96125387283323720589e-05,
+ 2.00180908796079946171e-05,
+ 2.04114075523055411008e-05,
+ 2.07922874360462036562e-05,
+ 2.11605367338478548244e-05,
+ 2.15159692586163032817e-05,
+ 2.18584065250839677179e-05,
+ 2.21876778371520620508e-05,
+ 2.25036203706003066312e-05,
+ 2.28060792511126929382e-05,
+ 2.30949076276010261842e-05,
+ 2.33699667407799707231e-05,
+ 2.36311259869688547377e-05,
+ 2.38782629770920889936e-05,
+ 2.41112635908534832393e-05,
+ 2.43300220260626135784e-05,
+ 2.45344408430947687194e-05,
+ 2.47244310044678461521e-05,
+ 2.48999119095234487111e-05,
+ 2.50608114242014547006e-05,
+ 2.52070659059005263759e-05,
+ 2.53386202234201725390e-05,
+ 2.54554277719819088525e-05,
+ 2.55574504833309083937e-05,
+ 2.56446588309218829473e-05,
+ 2.57170318301951886415e-05,
+ 2.57745570339536455825e-05,
+ 2.58172305228509982138e-05,
+ 2.58450568910080320990e-05,
+ 2.58580492267732674574e-05,
+ 2.58562290886494391582e-05,
+ 2.58396264764083687885e-05,
+ 2.58082797974207070447e-05,
+ 2.57622358282285832381e-05,
+ 2.57015496713930713401e-05,
+ 2.56262847076503301675e-05,
+ 2.55365125434126198959e-05,
+ 2.54323129536535378888e-05,
+ 2.53137738202205607126e-05,
+ 2.51809910656159463322e-05,
+ 2.50340685822968625073e-05,
+ 2.48731181575412977117e-05,
+ 2.46982593939325721589e-05,
+ 2.45096196255167505238e-05,
+ 2.43073338296873121584e-05,
+ 2.40915445348619378086e-05,
+ 2.38624017240045997246e-05,
+ 2.36200627340624288075e-05,
+ 2.33646921513807236321e-05,
+ 2.30964617031644264128e-05,
+ 2.28155501450558444859e-05,
+ 2.25221431449012520778e-05,
+ 2.22164331627798575491e-05,
+ 2.18986193273720365431e-05,
+ 2.15689073087443379398e-05,
+ 2.12275091876318188378e-05,
+ 2.08746433212990305033e-05,
+ 2.05105342060640502609e-05,
+ 2.01354123365703269947e-05,
+ 1.97495140618939641253e-05,
+ 1.93530814385750261550e-05,
+ 1.89463620806633047968e-05,
+ 1.85296090068704985814e-05,
+ 1.81030804849221997979e-05,
+ 1.76670398732044751401e-05,
+ 1.72217554598013985296e-05,
+ 1.67675002990209279609e-05,
+ 1.63045520455078192621e-05,
+ 1.58331927860449225669e-05,
+ 1.53537088691371193265e-05,
+ 1.48663907324963997689e-05,
+ 1.43715327285100159978e-05,
+ 1.38694329478100649496e-05,
+ 1.33603930410508834665e-05,
+ 1.28447180389832295180e-05,
+ 1.23227161709552708244e-05,
+ 1.17946986819301291035e-05,
+ 1.12609796481351171312e-05,
+ 1.07218757914499571946e-05,
+ 1.01777062926427738516e-05,
+ 9.62879260356504592831e-06,
+ 9.07545825840731586903e-06,
+ 8.51802868414534395823e-06,
+ 7.95683101026131923061e-06,
+ 7.39219387787010935662e-06,
+ 6.82444724835357750922e-06,
+ 6.25392221161505916386e-06,
+ 5.68095079406488222078e-06,
+ 5.10586576644759276318e-06,
+ 4.52900045162168937197e-06,
+ 3.95068853240210902949e-06,
+ 3.37126385957580590002e-06,
+ 2.79106026020026960787e-06,
+ 2.21041134629440781136e-06,
+ 1.62965032403097053739e-06,
+ 1.04910980353893797621e-06,
+ 4.69121609423969816268e-07,
+-1.09983407885784446779e-07,
+-6.87875559861819363080e-07,
+-1.26422650655941540912e-06,
+-1.83870944215866707785e-06,
+-2.41099927925814251037e-06,
+-2.98077283181781552669e-06,
+-3.54770899664894408157e-06,
+-4.11148893334953399492e-06,
+-4.67179624258384839990e-06,
+-5.22831714261491216074e-06,
+-5.78074064397335153019e-06,
+-6.32875872218480591626e-06,
+-6.87206648846043886310e-06,
+-7.41036235823793521568e-06,
+-7.94334821749933495355e-06,
+-8.47072958676628828367e-06,
+-8.99221578268483114820e-06,
+-9.50752007711151433478e-06,
+-1.00163598536144939110e-05,
+-1.05184567613050262248e-05,
+-1.10135368659148606880e-05,
+-1.15013307980458232298e-05,
+-1.19815738984936175071e-05,
+-1.24540063605928145280e-05,
+-1.29183733694884611521e-05,
+-1.33744252382685912655e-05,
+-1.38219175408834683421e-05,
+-1.42606112417824770782e-05,
+-1.46902728222004355977e-05,
+-1.51106744030272206920e-05,
+-1.55215938641985491263e-05,
+-1.59228149605396966692e-05,
+-1.63141274340170367916e-05,
+-1.66953271223259263928e-05,
+-1.70662160637601778752e-05,
+-1.74266025983238355662e-05,
+-1.77763014650210005691e-05,
+-1.81151338952815387428e-05,
+-1.84429277024754141470e-05,
+-1.87595173674722256573e-05,
+-1.90647441202047199617e-05,
+-1.93584560171974732774e-05,
+-1.96405080150238890778e-05,
+-1.99107620396580777466e-05,
+-2.01690870516893970240e-05,
+-2.04153591073708575137e-05,
+-2.06494614154744169461e-05,
+-2.08712843899290058163e-05,
+-2.10807256982194106203e-05,
+-2.12776903055268819069e-05,
+-2.14620905145943367527e-05,
+-2.16338460013017256061e-05,
+-2.17928838459405791773e-05,
+-2.19391385601769272338e-05,
+-2.20725521096971615139e-05,
+-2.21930739325313472097e-05,
+-2.23006609530529530257e-05,
+-2.23952775916547660337e-05,
+-2.24768957701059413827e-05,
+-2.25454949125917081373e-05,
+-2.26010619424491719610e-05,
+-2.26435912746056351556e-05,
+-2.26730848037337861828e-05,
+-2.26895518881395304210e-05,
+-2.26930093293992605151e-05,
+-2.26834813477678370105e-05,
+-2.26609995533789395977e-05,
+-2.26256029132635929800e-05,
+-2.25773377142134946906e-05,
+-2.25162575215193229503e-05,
+-2.24424231336153037980e-05,
+-2.23559025326656501465e-05,
+-2.22567708311276078921e-05,
+-2.21451102143313804113e-05,
+-2.20210098791169147888e-05,
+-2.18845659685713447666e-05,
+-2.17358815029120373732e-05,
+-2.15750663065627956596e-05,
+-2.14022369314727249265e-05,
+-2.12175165767294450026e-05,
+-2.10210350045200421447e-05,
+-2.08129284524956139116e-05,
+-2.05933395425968121279e-05,
+-2.03624171863999439073e-05,
+-2.01203164870448847703e-05,
+-1.98671986378080534994e-05,
+-1.96032308173856533286e-05,
+-1.93285860819534852074e-05,
+-1.90434432540722883950e-05,
+-1.87479868085084750535e-05,
+-1.84424067550420635135e-05,
+-1.81268985183354106028e-05,
+-1.78016628149372209476e-05,
+-1.74669055274989030828e-05,
+-1.71228375762811146975e-05,
+-1.67696747880257406472e-05,
+-1.64076377622852373006e-05,
+-1.60369517352758793533e-05,
+-1.56578464413495735093e-05,
+-1.52705559721640566414e-05,
+-1.48753186336378656238e-05,
+-1.44723768007754817841e-05,
+-1.40619767704562352530e-05,
+-1.36443686122615369144e-05,
+-1.32198060174485617084e-05,
+-1.27885461461470160532e-05,
+-1.23508494728771689751e-05,
+-1.19069796304737485969e-05,
+-1.14572032525241123438e-05,
+-1.10017898143939981797e-05,
+-1.05410114729497751473e-05,
+-1.00751429050663908628e-05,
+-9.60446114501671036024e-06,
+-9.12924542083821511740e-06,
+-8.64977698977298705156e-06,
+-8.16633897287741896158e-06,
+-7.67921618889827246499e-06,
+-7.18869498751202211574e-06,
+-6.69506308202449553879e-06,
+-6.19860938162804727016e-06,
+-5.69962382331348281457e-06,
+-5.19839720353396213883e-06,
+-4.69522100971802372742e-06,
+-4.19038725172889743185e-06,
+-3.68418829336696433132e-06,
+-3.17691668401197745318e-06,
+-2.66886499050160637978e-06,
+-2.16032562934221739981e-06,
+-1.65159069934772865291e-06,
+-1.14295181480165719692e-06,
+-6.34699939237223993940e-07,
+-1.27125219930865964068e-07,
+ 3.79483176804446976763e-07,
+ 8.84837229415048084051e-07,
+ 1.38865022392344135295e-06,
+ 1.89063691565660948537e-06,
+ 2.39051368980350543056e-06,
+ 2.88799872070356053645e-06,
+ 3.38281212979515968504e-06,
+ 3.87467614211226955731e-06,
+ 4.36331524126018218350e-06,
+ 4.84845632277730857507e-06,
+ 5.32982884579943108584e-06,
+ 5.80716498294156890627e-06,
+ 6.28019976832197123205e-06,
+ 6.74867124362975824505e-06,
+ 7.21232060217923931738e-06,
+ 7.67089233085512087109e-06,
+ 8.12413434987819258522e-06,
+ 8.57179815031460507597e-06,
+ 9.01363892925431026452e-06,
+ 9.44941572258580350576e-06,
+ 9.87889153529582866875e-06,
+ 1.03018334692242354077e-05,
+ 1.07180128482058532928e-05,
+ 1.11272053405328737749e-05,
+ 1.15291910786727369798e-05,
+ 1.19237547761785921742e-05,
+ 1.23106858417307881825e-05,
+ 1.26897784902497355293e-05,
+ 1.30608318510224895531e-05,
+ 1.34236500727868487704e-05,
+ 1.37780424257190294344e-05,
+ 1.41238234002725815088e-05,
+ 1.44608128028181916441e-05,
+ 1.47888358480361837552e-05,
+ 1.51077232480150609343e-05,
+ 1.54173112980111264947e-05,
+ 1.57174419588311981054e-05,
+ 1.60079629357866409767e-05,
+ 1.62887277541956994331e-05,
+ 1.65595958313870623361e-05,
+ 1.68204325451708860712e-05,
+ 1.70711092987549151222e-05,
+ 1.73115035820617087312e-05,
+ 1.75414990294297246641e-05,
+ 1.77609854736682751155e-05,
+ 1.79698589964435695681e-05,
+ 1.81680219749743536840e-05,
+ 1.83553831250179843454e-05,
+ 1.85318575401295563383e-05,
+ 1.86973667271814836071e-05,
+ 1.88518386381246428555e-05,
+ 1.89952076979892261869e-05,
+ 1.91274148291101984921e-05,
+ 1.92484074715740798728e-05,
+ 1.93581395998826688587e-05,
+ 1.94565717358317040323e-05,
+ 1.95436709576050705363e-05,
+ 1.96194109050871230563e-05,
+ 1.96837717813977941246e-05,
+ 1.97367403506575926565e-05,
+ 1.97783099319904582180e-05,
+ 1.98084803897790467670e-05,
+ 1.98272581201802304074e-05,
+ 1.98346560339216278375e-05,
+ 1.98306935353937785049e-05,
+ 1.98153964980584857704e-05,
+ 1.97887972361948640476e-05,
+ 1.97509344730071558156e-05,
+ 1.97018533051198989033e-05,
+ 1.96416051634883520843e-05,
+ 1.95702477707543367439e-05,
+ 1.94878450950789703635e-05,
+ 1.93944673004863832040e-05,
+ 1.92901906937534684103e-05,
+ 1.91750976678850051373e-05,
+ 1.90492766422124609142e-05,
+ 1.89128219991563888266e-05,
+ 1.87658340176993620855e-05,
+ 1.86084188036114926950e-05,
+ 1.84406882164763881947e-05,
+ 1.82627597935659933724e-05,
+ 1.80747566706147357355e-05,
+ 1.78768074995447826664e-05,
+ 1.76690463631958512617e-05,
+ 1.74516126871156478269e-05,
+ 1.72246511484645271060e-05,
+ 1.69883115820999146554e-05,
+ 1.67427488838910094079e-05,
+ 1.64881229113318102759e-05,
+ 1.62245983815127213317e-05,
+ 1.59523447665149745417e-05,
+ 1.56715361862937387256e-05,
+ 1.53823512991161662699e-05,
+ 1.50849731896229228884e-05,
+ 1.47795892545813357618e-05,
+ 1.44663910864051258596e-05,
+ 1.41455743545015973133e-05,
+ 1.38173386845338111450e-05,
+ 1.34818875356564122405e-05,
+ 1.31394280758153236577e-05,
+ 1.27901710551714238936e-05,
+ 1.24343306777357970924e-05,
+ 1.20721244712898652016e-05,
+ 1.17037731556691947766e-05,
+ 1.13295005094903200078e-05,
+ 1.09495332354001166718e-05,
+ 1.05641008239284915968e-05,
+ 1.01734354160254741075e-05,
+ 9.77777166436417707733e-06,
+ 9.37734659349238440105e-06,
+ 8.97239945891504566951e-06,
+ 8.56317160519109046130e-06,
+ 8.14990632312829315351e-06,
+ 7.73284870615977176810e-06,
+ 7.31224550598672419900e-06,
+ 6.88834498757161637657e-06,
+ 6.46139678356662984916e-06,
+ 6.03165174826215254474e-06,
+ 5.59936181114026503485e-06,
+ 5.16477983011814751843e-06,
+ 4.72815944456637594131e-06,
+ 4.28975492818819883339e-06,
+ 3.84982104183822503198e-06,
+ 3.40861288638080421604e-06,
+ 2.96638575565200338164e-06,
+ 2.52339498962473315831e-06,
+ 2.07989582785497810255e-06,
+ 1.63614326329362652845e-06,
+ 1.19239189654723987055e-06,
+ 7.48895790669445095407e-07,
+ 3.05908326571625776241e-07,
+-1.36317940881114572753e-07,
+-5.77531425986414698518e-07,
+-1.01748165446873717438e-06,
+-1.45591940480376818372e-06,
+-1.89259684853121109570e-06,
+-2.32726768946181945073e-06,
+-2.75968730172187791391e-06,
+-3.18961286654260444098e-06,
+-3.61680350772475395115e-06,
+-4.04102042570235190153e-06,
+-4.46202703013145677961e-06,
+-4.87958907093086315863e-06,
+-5.29347476770270431638e-06,
+-5.70345493746202430210e-06,
+-6.10930312060542652779e-06,
+-6.51079570505022606116e-06,
+-6.90771204847647766264e-06,
+-7.29983459860577372710e-06,
+-7.68694901145177016447e-06,
+-8.06884426747877637565e-06,
+-8.44531278560606176982e-06,
+-8.81615053499690261524e-06,
+-9.18115714457292360416e-06,
+-9.54013601019537525608e-06,
+-9.89289439945689410725e-06,
+-1.02392435540285157503e-05,
+-1.05789987895082151180e-05,
+-1.09119795927181496489e-05,
+-1.12380097164049367058e-05,
+-1.15569172712818179387e-05,
+-1.18685348153817650919e-05,
+-1.21726994406635834228e-05,
+-1.24692528568320288901e-05,
+-1.27580414723287455134e-05,
+-1.30389164724542902805e-05,
+-1.33117338945781214641e-05,
+-1.35763547004100975057e-05,
+-1.38326448452840637915e-05,
+-1.40804753444306167702e-05,
+-1.43197223362026314689e-05,
+-1.45502671422277009592e-05,
+-1.47719963244507672032e-05,
+-1.49848017390525759050e-05,
+-1.51885805872105738001e-05,
+-1.53832354626835289546e-05,
+-1.55686743961984593867e-05,
+-1.57448108966214301034e-05,
+-1.59115639888950593595e-05,
+-1.60688582487281346781e-05,
+-1.62166238340240249699e-05,
+-1.63547965130369332254e-05,
+-1.64833176892467266300e-05,
+-1.66021344229449986304e-05,
+-1.67111994495269690472e-05,
+-1.68104711944856884120e-05,
+-1.68999137851070388113e-05,
+-1.69794970588658022861e-05,
+-1.70491965685248872658e-05,
+-1.71089935839418872147e-05,
+-1.71588750905891277256e-05,
+-1.71988337847946457871e-05,
+-1.72288680657142012447e-05,
+-1.72489820240458028352e-05,
+-1.72591854275000641512e-05,
+-1.72594937030417242213e-05,
+-1.72499279159197036566e-05,
+-1.72305147455039143491e-05,
+-1.72012864579503712398e-05,
+-1.71622808757165273689e-05,
+-1.71135413439511928759e-05,
+-1.70551166937853976150e-05,
+-1.69870612025510246137e-05,
+-1.69094345509577617692e-05,
+-1.68223017772587667151e-05,
+-1.67257332284380452606e-05,
+-1.66198045084538685654e-05,
+-1.65045964235747666643e-05,
+-1.63801949248439752678e-05,
+-1.62466910477154159362e-05,
+-1.61041808488969476394e-05,
+-1.59527653404471681951e-05,
+-1.57925504211673684571e-05,
+-1.56236468053350227754e-05,
+-1.54461699488246402123e-05,
+-1.52602399726646910730e-05,
+-1.50659815840795875837e-05,
+-1.48635239950677219589e-05,
+-1.46530008385678102385e-05,
+-1.44345500822663306819e-05,
+-1.42083139401014696147e-05,
+-1.39744387815186386459e-05,
+-1.37330750385350818741e-05,
+-1.34843771106714372927e-05,
+-1.32285032678095108182e-05,
+-1.29656155510367461763e-05,
+-1.26958796715383549959e-05,
+-1.24194649075998671690e-05,
+-1.21365439997829936740e-05,
+-1.18472930443392576808e-05,
+-1.15518913849262173693e-05,
+-1.12505215026924608397e-05,
+-1.09433689047985292748e-05,
+-1.06306220114370569618e-05,
+-1.03124720414310326811e-05,
+-9.98911289646390806746e-06,
+-9.66074104402634771841e-06,
+-9.32755539913410898457e-06,
+-8.98975720490331666607e-06,
+-8.64754991204318386249e-06,
+-8.30113905734212395051e-06,
+-7.95073214121866026069e-06,
+-7.59653850440942178638e-06,
+-7.23876920386707314615e-06,
+-6.87763688794204854321e-06,
+-6.51335567091628095621e-06,
+-6.14614100697516552689e-06,
+-5.77620956367455239778e-06,
+-5.40377909498920278296e-06,
+-5.02906831401159492038e-06,
+-4.65229676537581108160e-06,
+-4.27368469748049481391e-06,
+-3.89345293458471427688e-06,
+-3.51182274885061115744e-06,
+-3.12901573240642411555e-06,
+-2.74525366950255710500e-06,
+-2.36075840884032086628e-06,
+-1.97575173612730443720e-06,
+-1.59045524696390774673e-06,
+-1.20509022010166682739e-06,
+-8.19877491164466545524e-07,
+-4.35037326897878480005e-07,
+-5.07893000186937941852e-08,
+ 3.32647835264701963937e-07,
+ 7.15056266991011401958e-07,
+ 1.09621924837422310365e-06,
+ 1.47592121985241872538e-06,
+ 1.85394793018892599705e-06,
+ 2.23008655655825313813e-06,
+ 2.60412582354907889203e-06,
+ 2.97585612102449336496e-06,
+ 3.34506962075543128396e-06,
+ 3.71156039179419859137e-06,
+ 4.07512451449323400283e-06,
+ 4.43556019312523663384e-06,
+ 4.79266786703672172316e-06,
+ 5.14625032027519291555e-06,
+ 5.49611278963019283487e-06,
+ 5.84206307102959016220e-06,
+ 6.18391162423353208402e-06,
+ 6.52147167576954129561e-06,
+ 6.85455932005260181654e-06,
+ 7.18299361864097611125e-06,
+ 7.50659669756249047314e-06,
+ 7.82519384267587422464e-06,
+ 8.13861359300433846395e-06,
+ 8.44668783199705641891e-06,
+ 8.74925187666988167100e-06,
+ 9.04614456457850991435e-06,
+ 9.33720833857896873390e-06,
+ 9.62228932933213677251e-06,
+ 9.90123743550565465295e-06,
+ 1.01739064016425803086e-05,
+ 1.04401538936425447330e-05,
+ 1.06998415718315421479e-05,
+ 1.09528351615697443715e-05,
+ 1.11990045213757959499e-05,
+ 1.14382237085241558977e-05,
+ 1.16703710420870291280e-05,
+ 1.18953291633899048006e-05,
+ 1.21129850938512417829e-05,
+ 1.23232302901790470909e-05,
+ 1.25259606968983349296e-05,
+ 1.27210767961849803022e-05,
+ 1.29084836549834598316e-05,
+ 1.30880909693871328668e-05,
+ 1.32598131062616946208e-05,
+ 1.34235691420937951136e-05,
+ 1.35792828990487302932e-05,
+ 1.37268829782224906786e-05,
+ 1.38663027900751689578e-05,
+ 1.39974805820346134686e-05,
+ 1.41203594632604494623e-05,
+ 1.42348874265606466504e-05,
+ 1.43410173674542311574e-05,
+ 1.44387071003753392044e-05,
+ 1.45279193720158173131e-05,
+ 1.46086218718049036649e-05,
+ 1.46807872395258838879e-05,
+ 1.47443930700731856367e-05,
+ 1.47994219153501084768e-05,
+ 1.48458612833167961215e-05,
+ 1.48837036341919119975e-05,
+ 1.49129463738179148723e-05,
+ 1.49335918441997313264e-05,
+ 1.49456473112284446691e-05,
+ 1.49491249496032089275e-05,
+ 1.49440418249668886146e-05,
+ 1.49304198732706183515e-05,
+ 1.49082858773864185118e-05,
+ 1.48776714409868946381e-05,
+ 1.48386129597128356167e-05,
+ 1.47911515896521751179e-05,
+ 1.47353332131532132959e-05,
+ 1.46712084019985736114e-05,
+ 1.45988323779665271851e-05,
+ 1.45182649708080687578e-05,
+ 1.44295705736699748613e-05,
+ 1.43328180959947710691e-05,
+ 1.42280809139304630388e-05,
+ 1.41154368182840922366e-05,
+ 1.39949679600544020416e-05,
+ 1.38667607935803263323e-05,
+ 1.37309060173433526632e-05,
+ 1.35874985124628946476e-05,
+ 1.34366372789253006354e-05,
+ 1.32784253695879846650e-05,
+ 1.31129698220019766261e-05,
+ 1.29403815880963342583e-05,
+ 1.27607754617702922906e-05,
+ 1.25742700044388885011e-05,
+ 1.23809874685797173814e-05,
+ 1.21810537193292244224e-05,
+ 1.19745981541777892090e-05,
+ 1.17617536208142295677e-05,
+ 1.15426563331714449024e-05,
+ 1.13174457857225807409e-05,
+ 1.10862646660882621001e-05,
+ 1.08492587659991565309e-05,
+ 1.06065768906759967075e-05,
+ 1.03583707666798818434e-05,
+ 1.01047949482890619580e-05,
+ 9.84600672246289829138e-06,
+ 9.58216601244215827264e-06,
+ 9.31343528005553203603e-06,
+ 9.03997942678299933766e-06,
+ 8.76196569363900174996e-06,
+ 8.47956355993590845071e-06,
+ 8.19294464098436757177e-06,
+ 7.90228258480172436834e-06,
+ 7.60775296787702002085e-06,
+ 7.30953319006439522813e-06,
+ 7.00780236866348362574e-06,
+ 6.70274123175005229701e-06,
+ 6.39453201082003652993e-06,
+ 6.08335833281021253502e-06,
+ 5.76940511155902288967e-06,
+ 5.45285843877125582177e-06,
+ 5.13390547455034551393e-06,
+ 4.81273433756231556671e-06,
+ 4.48953399489534794848e-06,
+ 4.16449415167896653590e-06,
+ 3.83780514052692429906e-06,
+ 3.50965781086775528301e-06,
+ 3.18024341822695296120e-06,
+ 2.84975351352448496748e-06,
+ 2.51837983245139741199e-06,
+ 2.18631418498888039782e-06,
+ 1.85374834513309478132e-06,
+ 1.52087394088868180660e-06,
+ 1.18788234459368242750e-06,
+ 8.54964563638969000998e-07,
+ 5.22311131639455979077e-07,
+ 1.90112000130503982774e-07,
+-1.41443569165127144841e-07,
+-4.72167111427258322109e-07,
+-8.01871065130554529929e-07,
+-1.13036887767394417904e-06,
+-1.45747511019990077643e-06,
+-1.78300554152943349745e-06,
+-2.10677727116673305869e-06,
+-2.42860882131162050769e-06,
+-2.74832023782412414206e-06,
+-3.06573319008543263771e-06,
+-3.38067106969957008626e-06,
+-3.69295908798608184869e-06,
+-4.00242437219907550613e-06,
+-4.30889606043524369669e-06,
+-4.61220539516788939752e-06,
+-4.91218581536073784053e-06,
+-5.20867304711107137976e-06,
+-5.50150519277325040547e-06,
+-5.79052281851486924603e-06,
+-6.07556904025867903059e-06,
+-6.35648960796446912367e-06,
+-6.63313298820617108662e-06,
+-6.90535044500056127508e-06,
+-7.17299611884493175119e-06,
+-7.43592710392244173663e-06,
+-7.69400352343472750019e-06,
+-7.94708860302274787185e-06,
+-8.19504874223798014101e-06,
+-8.43775358402712548757e-06,
+-8.67507608219503231826e-06,
+-8.90689256681143526513e-06,
+-9.13308280752864666172e-06,
+-9.35353007477842320907e-06,
+-9.56812119881768913406e-06,
+-9.77674662659346799308e-06,
+-9.97930047640225587741e-06,
+-1.01756805903098395061e-05,
+-1.03657885843171664226e-05,
+-1.05495298962378540402e-05,
+-1.07268138312754163948e-05,
+-1.08975536052689632541e-05,
+-1.10616663855950794401e-05,
+-1.12190733297047288709e-05,
+-1.13696996212789541697e-05,
+-1.15134745039878948566e-05,
+-1.16503313128391599354e-05,
+-1.17802075031027646805e-05,
+-1.19030446768033701643e-05,
+-1.20187886067651972661e-05,
+-1.21273892582080803395e-05,
+-1.22288008078826377517e-05,
+-1.23229816607413100770e-05,
+-1.24098944641409426887e-05,
+-1.24895061195742445941e-05,
+-1.25617877919291833080e-05,
+-1.26267149162764970278e-05,
+-1.26842672021870910226e-05,
+-1.27344286355826809563e-05,
+-1.27771874781232745640e-05,
+-1.28125362641396452218e-05,
+-1.28404717951158474197e-05,
+-1.28609951317310474550e-05,
+-1.28741115834723465414e-05,
+-1.28798306958283372134e-05,
+-1.28781662350772487912e-05,
+-1.28691361706835918807e-05,
+-1.28527626553190634970e-05,
+-1.28290720025245128650e-05,
+-1.27980946620313942489e-05,
+-1.27598651927620886218e-05,
+-1.27144222335301226119e-05,
+-1.26618084714623414664e-05,
+-1.26020706081659076143e-05,
+-1.25352593236666657602e-05,
+-1.24614292381415428035e-05,
+-1.23806388714751623682e-05,
+-1.22929506006672047076e-05,
+-1.21984306151204884824e-05,
+-1.20971488698402506546e-05,
+-1.19891790365764339750e-05,
+-1.18745984529418113659e-05,
+-1.17534880695398776456e-05,
+-1.16259323951374368445e-05,
+-1.14920194399183685165e-05,
+-1.13518406568538079223e-05,
+-1.12054908812311493295e-05,
+-1.10530682683752438347e-05,
+-1.08946742296059593923e-05,
+-1.07304133664714714479e-05,
+-1.05603934032992665185e-05,
+-1.03847251181075779763e-05,
+-1.02035222719208779302e-05,
+-1.00169015365332405226e-05,
+-9.82498242076738657132e-06,
+-9.62788719526892533595e-06,
+-9.42574081589087935042e-06,
+-9.21867084571004267567e-06,
+-9.00680737572287916197e-06,
+-8.79028294427637022824e-06,
+-8.56923245527351259271e-06,
+-8.34379309521075756921e-06,
+-8.11410424909460554577e-06,
+-7.88030741528924488369e-06,
+-7.64254611934633504094e-06,
+-7.40096582686917382960e-06,
+-7.15571385546351836380e-06,
+-6.90693928582781290984e-06,
+-6.65479287203611895166e-06,
+-6.39942695106712918212e-06,
+-6.14099535163319854876e-06,
+-5.87965330236342373891e-06,
+-5.61555733939511250274e-06,
+-5.34886521342830269742e-06,
+-5.07973579629795705422e-06,
+-4.80832898711880610677e-06,
+-4.53480561805786592893e-06,
+-4.25932735978965902460e-06,
+-3.98205662668941065763e-06,
+-3.70315648181929639785e-06,
+-3.42279054176300851270e-06,
+-3.14112288136435437299e-06,
+-2.85831793842106375632e-06,
+-2.57454041839861196264e-06,
+-2.28995519920570692832e-06,
+-2.00472723609599568439e-06,
+-1.71902146674648263972e-06,
+-1.43300271656756140053e-06,
+-1.14683560429862268911e-06,
+-8.60684447942252036623e-07,
+-5.74713171094427766504e-07,
+-2.89085209713597664617e-07,
+-3.96341939478251296110e-09,
+ 2.80490016808534609067e-07,
+ 5.64113679962953421250e-07,
+ 8.46747006173344896037e-07,
+ 1.12823037680340410583e-06,
+ 1.40840520793811109215e-06,
+ 1.68711403904242672689e-06,
+ 1.96420062076637285675e-06,
+ 2.23951000184795544334e-06,
+ 2.51288861506598641053e-06,
+ 2.78418436219555765417e-06,
+ 3.05324669791958273155e-06,
+ 3.31992671265051673821e-06,
+ 3.58407721421717316118e-06,
+ 3.84555280837218626654e-06,
+ 4.10420997807660228022e-06,
+ 4.35990716151877168199e-06,
+ 4.61250482882560770565e-06,
+ 4.86186555742507531383e-06,
+ 5.10785410601973079235e-06,
+ 5.35033748713194356707e-06,
+ 5.58918503818238221671e-06,
+ 5.82426849106429956731e-06,
+ 6.05546204017706400874e-06,
+ 6.28264240888338113098e-06,
+ 6.50568891435568739365e-06,
+ 6.72448353077756515444e-06,
+ 6.93891095087089373919e-06,
+ 7.14885864570919282062e-06,
+ 7.35421692279753319929e-06,
+ 7.55487898238148465092e-06,
+ 7.75074097196019129528e-06,
+ 7.94170203897623056888e-06,
+ 8.12766438165342534124e-06,
+ 8.30853329796486298722e-06,
+ 8.48421723269773222391e-06,
+ 8.65462782259947107971e-06,
+ 8.81967993958106861606e-06,
+ 8.97929173195711876623e-06,
+ 9.13338466370594821242e-06,
+ 9.28188355172597093559e-06,
+ 9.42471660107943996656e-06,
+ 9.56181543820204782021e-06,
+ 9.69311514206661032516e-06,
+ 9.81855427328706617540e-06,
+ 9.93807490115107773816e-06,
+ 1.00516226285705943843e-05,
+ 1.01591466149406832020e-05,
+ 1.02605995968987750983e-05,
+ 1.03559379069769316912e-05,
+ 1.04451214901417424743e-05,
+ 1.05281139182170699055e-05,
+ 1.06048824021864677416e-05,
+ 1.06753978023731855288e-05,
+ 1.07396346364968783339e-05,
+ 1.07975710856074994448e-05,
+ 1.08491889978979006982e-05,
+ 1.08944738903980051003e-05,
+ 1.09334149485546700144e-05,
+ 1.09660050237023010909e-05,
+ 1.09922406284309627094e-05,
+ 1.10121219298593066863e-05,
+ 1.10256527408215773174e-05,
+ 1.10328405089781558080e-05,
+ 1.10336963038616736523e-05,
+ 1.10282348018699333952e-05,
+ 1.10164742692203395746e-05,
+ 1.09984365428796701980e-05,
+ 1.09741470094854162102e-05,
+ 1.09436345822753026573e-05,
+ 1.09069316760433128688e-05,
+ 1.08640741801411637853e-05,
+ 1.08151014295454121441e-05,
+ 1.07600561740116316219e-05,
+ 1.06989845453377939037e-05,
+ 1.06319360227604537122e-05,
+ 1.05589633965072819227e-05,
+ 1.04801227295333686110e-05,
+ 1.03954733174649689091e-05,
+ 1.03050776467800735478e-05,
+ 1.02090013512532056038e-05,
+ 1.01073131666939828753e-05,
+ 1.00000848840093901980e-05,
+ 9.88739130062094606394e-06,
+ 9.76931017026862892453e-06,
+ 9.64592215123430269373e-06,
+ 9.51731075301832287069e-06,
+ 9.38356228150362642153e-06,
+ 9.24476578264260636546e-06,
+ 9.10101298470273608427e-06,
+ 8.95239823910756736568e-06,
+ 8.79901845991063759865e-06,
+ 8.64097306194044156673e-06,
+ 8.47836389765517216299e-06,
+ 8.31129519274676613631e-06,
+ 8.13987348053439576051e-06,
+ 7.96420753518800302127e-06,
+ 7.78440830382320983472e-06,
+ 7.60058883750940706770e-06,
+ 7.41286422123340111201e-06,
+ 7.22135150286187937354e-06,
+ 7.02616962114339291517e-06,
+ 6.82743933279976089379e-06,
+ 6.62528313874512338812e-06,
+ 6.41982520947684842004e-06,
+ 6.21119130968985121773e-06,
+ 5.99950872215320453294e-06,
+ 5.78490617089735561883e-06,
+ 5.56751374375751685266e-06,
+ 5.34746281431924760940e-06,
+ 5.12488596331278031701e-06,
+ 4.89991689950258687289e-06,
+ 4.67269038011961418454e-06,
+ 4.44334213087987709952e-06,
+ 4.21200876564441589159e-06,
+ 3.97882770575729567648e-06,
+ 3.74393709911667144121e-06,
+ 3.50747573902317319374e-06,
+ 3.26958298285330172902e-06,
+ 3.03039867060520659957e-06,
+ 2.79006304336402052000e-06,
+ 2.54871666173396763366e-06,
+ 2.30650032428370582201e-06,
+ 2.06355498605534895103e-06,
+ 1.82002167717590069487e-06,
+ 1.57604142162576490206e-06,
+ 1.33175515621080687286e-06,
+ 1.08730364977607694810e-06,
+ 8.42827422715224723608e-07,
+ 5.98466666817798730862e-07,
+ 3.54361165500383015065e-07,
+ 1.10650214466601145526e-07,
+-1.32527457159341769654e-07,
+-3.75033765181279387019e-07,
+-6.16731348117982223764e-07,
+-8.57483644384870604974e-07,
+-1.09715496882697242401e-06,
+-1.33561058856459451812e-06,
+-1.57271679809768592289e-06,
+-1.80834099364739390638e-06,
+-2.04235174667385346287e-06,
+-2.27461887654183985059e-06,
+-2.50501352229047160599e-06,
+-2.73340821346838846000e-06,
+-2.95967693999581947631e-06,
+-3.18369522101568454449e-06,
+-3.40534017269651038867e-06,
+-3.62449057495060442016e-06,
+-3.84102693703176620771e-06,
+-4.05483156197683158547e-06,
+-4.26578860985994465493e-06,
+-4.47378415981817885059e-06,
+-4.67870627082610431870e-06,
+-4.88044504117963632650e-06,
+-5.07889266666103897304e-06,
+-5.27394349735436316360e-06,
+-5.46549409308178958515e-06,
+-5.65344327743282125745e-06,
+-5.83769219035584263823e-06,
+-6.01814433929215356056e-06,
+-6.19470564881734900520e-06,
+-6.36728450877158616566e-06,
+-6.53579182085452806356e-06,
+-6.70014104365581900433e-06,
+-6.86024823610766216613e-06,
+-7.01603209933177423939e-06,
+-7.16741401686316151218e-06,
+-7.31431809323110943569e-06,
+-7.45667119087909145226e-06,
+-7.59440296540647431485e-06,
+-7.72744589911581192265e-06,
+-7.85573533285050310242e-06,
+-7.97920949610866873263e-06,
+-8.09780953542020220872e-06,
+-8.21147954097478835185e-06,
+-8.32016657148992507269e-06,
+-8.42382067730890197923e-06,
+-8.52239492171977940256e-06,
+-8.61584540048746502295e-06,
+-8.70413125959197291938e-06,
+-8.78721471116717128705e-06,
+-8.86506104763514668932e-06,
+-8.93763865403249516855e-06,
+-9.00491901852594998912e-06,
+-9.06687674111571462719e-06,
+-9.12348954052592163661e-06,
+-9.17473825928260702616e-06,
+-9.22060686698159047512e-06,
+-9.26108246174664932824e-06,
+-9.29615526988461694400e-06,
+-9.32581864373973304274e-06,
+-9.35006905775386307602e-06,
+-9.36890610273917822759e-06,
+-9.38233247837104300938e-06,
+-9.39035398390946727946e-06,
+-9.39297950715976480397e-06,
+-9.39022101168187463889e-06,
+-9.38209352226113891724e-06,
+-9.36861510865258015606e-06,
+-9.34980686761262702199e-06,
+-9.32569290323271860845e-06,
+-9.29630030559048952147e-06,
+-9.26165912773481235900e-06,
+-9.22180236102228707016e-06,
+-9.17676590882337654416e-06,
+-9.12658855861738727770e-06,
+-9.07131195249644772880e-06,
+-9.01098055609939421230e-06,
+-8.94564162599733138977e-06,
+-8.87534517555361527068e-06,
+-8.80014393928162666969e-06,
+-8.72009333572471611652e-06,
+-8.63525142888329921994e-06,
+-8.54567888821502508222e-06,
+-8.45143894723457394103e-06,
+-8.35259736074052112995e-06,
+-8.24922236069722452712e-06,
+-8.14138461080064133836e-06,
+-8.02915715975743407074e-06,
+-7.91261539330765898304e-06,
+-7.79183698502164539547e-06,
+-7.66690184590263985908e-06,
+-7.53789207282747358732e-06,
+-7.40489189585616646447e-06,
+-7.26798762444797763775e-06,
+-7.12726759261192169612e-06,
+-6.98282210303029636403e-06,
+-6.83474337018834747465e-06,
+-6.68312546254524426573e-06,
+-6.52806424378415029071e-06,
+-6.36965731317252602944e-06,
+-6.20800394507595081702e-06,
+-6.04320502765754885186e-06,
+-5.87536300080224453186e-06,
+-5.70458179330339185380e-06,
+-5.53096675935019674964e-06,
+-5.35462461435186519118e-06,
+-5.17566337014321141424e-06,
+-4.99419226960263364762e-06,
+-4.81032172072758387396e-06,
+-4.62416323020455543279e-06,
+-4.43582933651357265599e-06,
+-4.24543354260686772332e-06,
+-4.05309024820171368161e-06,
+-3.85891468172737918331e-06,
+-3.66302283196632931856e-06,
+-3.46553137942988627687e-06,
+-3.26655762750855510455e-06,
+-3.06621943343732231445e-06,
+-2.86463513911618343607e-06,
+-2.66192350182618693409e-06,
+-2.45820362488117562057e-06,
+-2.25359488825541727446e-06,
+-2.04821687922720013799e-06,
+-1.84218932307831247064e-06,
+-1.63563201388926604866e-06,
+-1.42866474546994879804e-06,
+-1.22140724246515182631e-06,
+-1.01397909167432569799e-06,
+-8.06499673625078029042e-07,
+-5.99088094436327444290e-07,
+-3.91863118017023242330e-07,
+-1.84943098628889751524e-07,
+ 2.15540861419684426667e-08,
+ 2.27511101966967466315e-07,
+ 4.32811223880043209387e-07,
+ 6.37338401859019189379e-07,
+ 8.40977325854192905002e-07,
+ 1.04361349022508806704e-06,
+ 1.24513325755019998089e-06,
+ 1.44542392177450216890e-06,
+ 1.64437377065950114052e-06,
+ 1.84187214750444789869e-06,
+ 2.03780951209777257423e-06,
+ 2.23207750087511452161e-06,
+ 2.42456898624406490649e-06,
+ 2.61517813504639618351e-06,
+ 2.80380046612576570131e-06,
+ 2.99033290696995661509e-06,
+ 3.17467384939732300976e-06,
+ 3.35672320425774437633e-06,
+ 3.53638245511906924553e-06,
+ 3.71355471091059317744e-06,
+ 3.88814475749635763264e-06,
+ 4.06005910814819412596e-06,
+ 4.22920605290116388692e-06,
+ 4.39549570675089384069e-06,
+ 4.55884005668278723919e-06,
+ 4.71915300750006533998e-06,
+ 4.87635042643024103849e-06,
+ 5.03035018648692755928e-06,
+ 5.18107220856522701196e-06,
+ 5.32843850224952383525e-06,
+ 5.47237320531358473132e-06,
+ 5.61280262189333594894e-06,
+ 5.74965525931381193962e-06,
+ 5.88286186355211838841e-06,
+ 6.01235545332134090329e-06,
+ 6.13807135275468517243e-06,
+ 6.25994722267931996977e-06,
+ 6.37792309046513804878e-06,
+ 6.49194137843068450202e-06,
+ 6.60194693079779326846e-06,
+ 6.70788703918137587323e-06,
+ 6.80971146660357458814e-06,
+ 6.90737247002230281208e-06,
+ 7.00082482136491290685e-06,
+ 7.09002582705877526905e-06,
+ 7.17493534605098864026e-06,
+ 7.25551580631220637360e-06,
+ 7.33173221981546288786e-06,
+ 7.40355219598984530240e-06,
+ 7.47094595364170035832e-06,
+ 7.53388633134188754210e-06,
+ 7.59234879627670417821e-06,
+ 7.64631145156141268828e-06,
+ 7.69575504201604814413e-06,
+ 7.74066295840411851953e-06,
+ 7.78102124013589340075e-06,
+ 7.81681857643788967132e-06,
+ 7.84804630599365161535e-06,
+ 7.87469841505748138885e-06,
+ 7.89677153404848565748e-06,
+ 7.91426493262873480251e-06,
+ 7.92718051327426929855e-06,
+ 7.93552280334505359466e-06,
+ 7.93929894566308982874e-06,
+ 7.93851868760764620798e-06,
+ 7.93319436873791183408e-06,
+ 7.92334090695392168925e-06,
+ 7.90897578320756958670e-06,
+ 7.89011902477623500857e-06,
+ 7.86679318711244252764e-06,
+ 7.83902333428366876954e-06,
+ 7.80683701801724535304e-06,
+ 7.77026425536612447970e-06,
+ 7.72933750501182780370e-06,
+ 7.68409164222195630977e-06,
+ 7.63456393248006921998e-06,
+ 7.58079400380666152174e-06,
+ 7.52282381779056517397e-06,
+ 7.46069763935092151688e-06,
+ 7.39446200525034590259e-06,
+ 7.32416569138081104189e-06,
+ 7.24985967884426853560e-06,
+ 7.17159711885090219710e-06,
+ 7.08943329645732147265e-06,
+ 7.00342559317115033967e-06,
+ 6.91363344844324002262e-06,
+ 6.82011832007511287137e-06,
+ 6.72294364356627759040e-06,
+ 6.62217479042785679954e-06,
+ 6.51787902548926013278e-06,
+ 6.41012546322492830867e-06,
+ 6.29898502313035979733e-06,
+ 6.18453038417209923617e-06,
+ 6.06683593834504205765e-06,
+ 5.94597774336311937993e-06,
+ 5.82203347451249516448e-06,
+ 5.69508237570125013232e-06,
+ 5.56520520973042217313e-06,
+ 5.43248420782122392469e-06,
+ 5.29700301842786852943e-06,
+ 5.15884665536775968036e-06,
+ 5.01810144530070211867e-06,
+ 4.87485497458916059279e-06,
+ 4.72919603557198831207e-06,
+ 4.58121457228396545999e-06,
+ 4.43100162565413800605e-06,
+ 4.27864927821586065842e-06,
+ 4.12425059836174341351e-06,
+ 3.96789958417691884638e-06,
+ 3.80969110688415655311e-06,
+ 3.64972085393445999985e-06,
+ 3.48808527177698559195e-06,
+ 3.32488150834214283460e-06,
+ 3.16020735527182339492e-06,
+ 2.99416118993082249565e-06,
+ 2.82684191723347329501e-06,
+ 2.65834891131958394095e-06,
+ 2.48878195711375767025e-06,
+ 2.31824119180212634826e-06,
+ 2.14682704626095390252e-06,
+ 1.97464018646858031233e-06,
+ 1.80178145494066620423e-06,
+ 1.62835181221444846777e-06,
+ 1.45445227842166370380e-06,
+ 1.28018387498127474226e-06,
+ 1.10564756644572971662e-06,
+ 9.30944202533528893967e-07,
+ 7.56174460383558706575e-07,
+ 5.81438787057772137935e-07,
+ 4.06837342332995493781e-07,
+ 2.32469941807973572217e-07,
+ 5.84360003605464838908e-08,
+-1.15165524016196481795e-07,
+-2.88236185961157478515e-07,
+-4.60678108053030918551e-07,
+-6.32394035641693353382e-07,
+-8.03287391175248576365e-07,
+-9.73262327992278866677e-07,
+-1.14222378354964966348e-06,
+-1.31007753205661820651e-06,
+-1.47673023648642007660e-06,
+-1.64208949993695062100e-06,
+-1.80606391631259277593e-06,
+-1.96856312029973079598e-06,
+-2.12949783660893906853e-06,
+-2.28877992845738131554e-06,
+-2.44632244526540991875e-06,
+-2.60203966954189995785e-06,
+-2.75584716293343213363e-06,
+-2.90766181141288047594e-06,
+-3.05740186958367351418e-06,
+-3.20498700407640839933e-06,
+-3.35033833601523650274e-06,
+-3.49337848253191377853e-06,
+-3.63403159730610840275e-06,
+-3.77222341011111343188e-06,
+-3.90788126534447433042e-06,
+-4.04093415952591392912e-06,
+-4.17131277773873497690e-06,
+-4.29894952900307645335e-06,
+-4.42377858055843327302e-06,
+-4.54573589104088312044e-06,
+-4.66475924253666648223e-06,
+-4.78078827150107880212e-06,
+-4.89376449852186315914e-06,
+-5.00363135691748540988e-06,
+-5.11033422015512990528e-06,
+-5.21382042807596778544e-06,
+-5.31403931191554123584e-06,
+-5.41094221810950165016e-06,
+-5.50448253087047069913e-06,
+-5.59461569353127499173e-06,
+-5.68129922864175650784e-06,
+-5.76449275681243674909e-06,
+-5.84415801429719277657e-06,
+-5.92025886930820698860e-06,
+-5.99276133705720719759e-06,
+-6.06163359351762427620e-06,
+-6.12684598790327211872e-06,
+-6.18837105385967135374e-06,
+-6.24618351936512419082e-06,
+-6.30026031533919750782e-06,
+-6.35058058295712848316e-06,
+-6.39712567966953613306e-06,
+-6.43987918392721429004e-06,
+-6.47882689861198942782e-06,
+-6.51395685317499943250e-06,
+-6.54525930448471249620e-06,
+-6.57272673638766514792e-06,
+-6.59635385798559469776e-06,
+-6.61613760063350534395e-06,
+-6.63207711366379757420e-06,
+-6.64417375884241211495e-06,
+-6.65243110356349872368e-06,
+-6.65685491279031274194e-06,
+-6.65745313974966963219e-06,
+-6.65423591538958656902e-06,
+-6.64721553660889651050e-06,
+-6.63640645326926765439e-06,
+-6.62182525400028480084e-06,
+-6.60349065080916732668e-06,
+-6.58142346250719060277e-06,
+-6.55564659696565526196e-06,
+-6.52618503221475609801e-06,
+-6.49306579639951552747e-06,
+-6.45631794660739462695e-06,
+-6.41597254658263945040e-06,
+-6.37206264334415081952e-06,
+-6.32462324272206488792e-06,
+-6.27369128383118030161e-06,
+-6.21930561249836743221e-06,
+-6.16150695366234792122e-06,
+-6.10033788276449535378e-06,
+-6.03584279615001515287e-06,
+-5.96806788049923278545e-06,
+-5.89706108130940631553e-06,
+-5.82287207044756658384e-06,
+-5.74555221279694319542e-06,
+-5.66515453201526036843e-06,
+-5.58173367543274885226e-06,
+-5.49534587810695348729e-06,
+-5.40604892606070708310e-06,
+-5.31390211872570004752e-06,
+-5.21896623061564390400e-06,
+-5.12130347225329365013e-06,
+-5.02097745037598523939e-06,
+-4.91805312744465109411e-06,
+-4.81259678048159588907e-06,
+-4.70467595926274513780e-06,
+-4.59435944389046620792e-06,
+-4.48171720177175865495e-06,
+-4.36682034403174463086e-06,
+-4.24974108138584086476e-06,
+-4.13055267949739200956e-06,
+-4.00932941385171509125e-06,
+-3.88614652417032873467e-06,
+-3.76108016839454787432e-06,
+-3.63420737626596489757e-06,
+-3.50560600253174686132e-06,
+-3.37535467980288975763e-06,
+-3.24353277109359282678e-06,
+-3.11022032207008786392e-06,
+-2.97549801303766165317e-06,
+-2.83944711069247344591e-06,
+-2.70214941967136185736e-06,
+-2.56368723392205452038e-06,
+-2.42414328792700028154e-06,
+-2.28360070780758763959e-06,
+-2.14214296233768618929e-06,
+-1.99985381389505311643e-06,
+-1.85681726937918172971e-06,
+-1.71311753112369806511e-06,
+-1.56883894783374962087e-06,
+-1.42406596557164193617e-06,
+-1.27888307882598605392e-06,
+-1.13337478168536349648e-06,
+-9.87625519151570836163e-07,
+-8.41719638613064665786e-07,
+-6.95741341511352204364e-07,
+-5.49774635225687810111e-07,
+-4.03903285203652358387e-07,
+-2.58210767364619000791e-07,
+-1.12780220802875344963e-07,
+ 3.23055991830684097878e-08,
+ 1.76964367708724778855e-07,
+ 3.21114236543438189078e-07,
+ 4.64673879946063572873e-07,
+ 6.07562540071123210426e-07,
+ 7.49700071920371749061e-07,
+ 8.91006987815025860095e-07,
+ 1.03140450136427425456e-06,
+ 1.17081457090602433941e-06,
+ 1.30915994239623084851e-06,
+ 1.44636419172353368897e-06,
+ 1.58235176642631552541e-06,
+ 1.71704802678972351765e-06,
+ 1.85037928630060069746e-06,
+ 1.98227285143870244472e-06,
+ 2.11265706078306988520e-06,
+ 2.24146132341246485419e-06,
+ 2.36861615658157347906e-06,
+ 2.49405322264845444755e-06,
+ 2.61770536524023275885e-06,
+ 2.73950664463357572141e-06,
+ 2.85939237233350266468e-06,
+ 2.97729914483249884479e-06,
+ 3.09316487653266211920e-06,
+ 3.20692883181446816197e-06,
+ 3.31853165623432036477e-06,
+ 3.42791540683944990220e-06,
+ 3.53502358157950725138e-06,
+ 3.63980114780429875857e-06,
+ 3.74219456983363037592e-06,
+ 3.84215183558227767505e-06,
+ 3.93962248223251686305e-06,
+ 4.03455762093816806731e-06,
+ 4.12690996055009787897e-06,
+ 4.21663383035196559137e-06,
+ 4.30368520179581453395e-06,
+ 4.38802170922777651609e-06,
+ 4.46960266959470585012e-06,
+ 4.54838910112321163730e-06,
+ 4.62434374096319227585e-06,
+ 4.69743106178853688561e-06,
+ 4.76761728734836138144e-06,
+ 4.83487040696272629773e-06,
+ 4.89916018895741111830e-06,
+ 4.96045819303296106926e-06,
+ 5.01873778156387963061e-06,
+ 5.07397412982442447456e-06,
+ 5.12614423513811590729e-06,
+ 5.17522692494871317675e-06,
+ 5.22120286381103742548e-06,
+ 5.26405455930064433061e-06,
+ 5.30376636684197204255e-06,
+ 5.34032449345513637005e-06,
+ 5.37371700042290210606e-06,
+ 5.40393380487774409700e-06,
+ 5.43096668031327048978e-06,
+ 5.45480925602115842708e-06,
+ 5.47545701545760188074e-06,
+ 5.49290729354319507956e-06,
+ 5.50715927290080433390e-06,
+ 5.51821397903640711657e-06,
+ 5.52607427446940615412e-06,
+ 5.53074485181774806004e-06,
+ 5.53223222584567817618e-06,
+ 5.53054472448127380454e-06,
+ 5.52569247881201016526e-06,
+ 5.51768741206704879188e-06,
+ 5.50654322759543274221e-06,
+ 5.49227539585013617960e-06,
+ 5.47490114038823605808e-06,
+ 5.45443942289814534188e-06,
+ 5.43091092726536726806e-06,
+ 5.40433804268870449940e-06,
+ 5.37474484585942960917e-06,
+ 5.34215708221641970028e-06,
+ 5.30660214629070434828e-06,
+ 5.26810906115345203946e-06,
+ 5.22670845698185819179e-06,
+ 5.18243254875779933987e-06,
+ 5.13531511311474995156e-06,
+ 5.08539146434873193589e-06,
+ 5.03269842960957088606e-06,
+ 4.97727432328926165021e-06,
+ 4.91915892062447536855e-06,
+ 4.85839343053077035771e-06,
+ 4.79502046768650205761e-06,
+ 4.72908402388465426040e-06,
+ 4.66062943867137881228e-06,
+ 4.58970336929019699759e-06,
+ 4.51635375995152054556e-06,
+ 4.44062981044616933641e-06,
+ 4.36258194412544737627e-06,
+ 4.28226177526485068410e-06,
+ 4.19972207583456497138e-06,
+ 4.11501674169647542961e-06,
+ 4.02820075825028238263e-06,
+ 3.93933016554731602391e-06,
+ 3.84846202289762216335e-06,
+ 3.75565437298938188386e-06,
+ 3.66096620554404999308e-06,
+ 3.56445742052937107578e-06,
+ 3.46618879095310788465e-06,
+ 3.36622192525887642755e-06,
+ 3.26461922935039320666e-06,
+ 3.16144386826273460570e-06,
+ 3.05675972750716587302e-06,
+ 2.95063137411155366322e-06,
+ 2.84312401738004221383e-06,
+ 2.73430346939548900412e-06,
+ 2.62423610528835733665e-06,
+ 2.51298882329570483720e-06,
+ 2.40062900463402164141e-06,
+ 2.28722447320975292833e-06,
+ 2.17284345519123839340e-06,
+ 2.05755453846596430753e-06,
+ 1.94142663200690945903e-06,
+ 1.82452892517181498007e-06,
+ 1.70693084695912356741e-06,
+ 1.58870202524435859482e-06,
+ 1.46991224602059460634e-06,
+ 1.35063141266662197534e-06,
+ 1.23092950526634752769e-06,
+ 1.11087654000282617921e-06,
+ 9.90542528650260827215e-07,
+ 8.69997438187136635693e-07,
+ 7.49311150553558232788e-07,
+ 6.28553422575956171735e-07,
+ 5.07793846080199777306e-07,
+ 3.87101808219950752071e-07,
+ 2.66546452036637359768e-07,
+ 1.46196637279211919523e-07,
+ 2.61209014996513097622e-08,
+-9.36125785480710641559e-08,
+-2.12936025188332329408e-07,
+-3.31782097760571907408e-07,
+-4.50083930191668236211e-07,
+-5.67775168183275709294e-07,
+-6.84790005993688176635e-07,
+-8.01063222793833814618e-07,
+-9.16530218579230311038e-07,
+-1.03112704961422672079e-06,
+-1.14479046339492176093e-06,
+-1.25745793310772014899e-06,
+-1.36906769156673085052e-06,
+-1.47955876461155409369e-06,
+-1.58887100394770566988e-06,
+-1.69694511941227368702e-06,
+-1.80372271064780189541e-06,
+-1.90914629816775581196e-06,
+-2.01315935379763895325e-06,
+-2.11570633047440601331e-06,
+-2.21673269139235624129e-06,
+-2.31618493847693730396e-06,
+-2.41401064017204397923e-06,
+-2.51015845853012064279e-06,
+-2.60457817558802397410e-06,
+-2.69722071901685094830e-06,
+-2.78803818703287373008e-06,
+-2.87698387255719700099e-06,
+-2.96401228661247619401e-06,
+-3.04907918094525491427e-06,
+-3.13214156986324088414e-06,
+-3.21315775127703456810e-06,
+-3.29208732693637732224e-06,
+-3.36889122185290401895e-06,
+-3.44353170289642487268e-06,
+-3.51597239656325077098e-06,
+-3.58617830590191733468e-06,
+-3.65411582659302460743e-06,
+-3.71975276217506551713e-06,
+-3.78305833841012117849e-06,
+-3.84400321678365093078e-06,
+-3.90255950713312254181e-06,
+-3.95870077940074512301e-06,
+-4.01240207450610770714e-06,
+-4.06363991433488812364e-06,
+-4.11239231084125285599e-06,
+-4.15863877425935865654e-06,
+-4.20236032042448446743e-06,
+-4.24353947720017342875e-06,
+-4.28216029001119185047e-06,
+-4.31820832648155806497e-06,
+-4.35167068017766995946e-06,
+-4.38253597345699451516e-06,
+-4.41079435942349164690e-06,
+-4.43643752299069560910e-06,
+-4.45945868105587513408e-06,
+-4.47985258178600159821e-06,
+-4.49761550302029909350e-06,
+-4.51274524979143300062e-06,
+-4.52524115097084023650e-06,
+-4.53510405504175193850e-06,
+-4.54233632500539397060e-06,
+-4.54694183242584894293e-06,
+-4.54892595061959283142e-06,
+-4.54829554699628510261e-06,
+-4.54505897455774022598e-06,
+-4.53922606256257512138e-06,
+-4.53080810636444806448e-06,
+-4.51981785643228738179e-06,
+-4.50626950656128519675e-06,
+-4.49017868128402610519e-06,
+-4.47156242249136545128e-06,
+-4.45043917527324955132e-06,
+-4.42682877299008102390e-06,
+-4.40075242158549665903e-06,
+-4.37223268315208425070e-06,
+-4.34129345876175116439e-06,
+-4.30795997057291989114e-06,
+-4.27225874322715952063e-06,
+-4.23421758454818478526e-06,
+-4.19386556555651685739e-06,
+-4.15123299981356679695e-06,
+-4.10635142210863573125e-06,
+-4.05925356650451797034e-06,
+-4.00997334375461245165e-06,
+-3.95854581810788347368e-06,
+-3.90500718351647261954e-06,
+-3.84939473926163028560e-06,
+-3.79174686501394100978e-06,
+-3.73210299534384178129e-06,
+-3.67050359369971365087e-06,
+-3.60699012586834896589e-06,
+-3.54160503293725947090e-06,
+-3.47439170377438781006e-06,
+-3.40539444704242567051e-06,
+-3.33465846276757226665e-06,
+-3.26222981347759901722e-06,
+-3.18815539492950643052e-06,
+-3.11248290644416109035e-06,
+-3.03526082086643820009e-06,
+-2.95653835416947222251e-06,
+-2.87636543472176765438e-06,
+-2.79479267223601303066e-06,
+-2.71187132641859964837e-06,
+-2.62765327533899515464e-06,
+-2.54219098353815390706e-06,
+-2.45553746989530186833e-06,
+-2.36774627527249690158e-06,
+-2.27887142995641191922e-06,
+-2.18896742091688744107e-06,
+-2.09808915890182256402e-06,
+-2.00629194538800892082e-06,
+-1.91363143940754862785e-06,
+-1.82016362426948875164e-06,
+-1.72594477419635162234e-06,
+-1.63103142089514905451e-06,
+-1.53548032008255493308e-06,
+-1.43934841798375985031e-06,
+-1.34269281782482158857e-06,
+-1.24557074633660619018e-06,
+-1.14803952029313359972e-06,
+-1.05015651309915032019e-06,
+-9.51979121449571438300e-07,
+-8.53564732078559276071e-07,
+-7.54970688617303580583e-07,
+-6.56254258580785667422e-07,
+-5.57472600498841932364e-07,
+-4.58682731214803567250e-07,
+-3.59941493366721268602e-07,
+-2.61305523070885236846e-07,
+-1.62831217825798099669e-07,
+-6.45747046531622918148e-08,
+ 3.34081915028460607542e-08,
+ 1.31061979105115269233e-07,
+ 2.28331531061093047517e-07,
+ 3.25162115452506418290e-07,
+ 4.21499425940175324931e-07,
+ 5.17289611827256223732e-07,
+ 6.12479307764515172907e-07,
+ 7.07015663081470306902e-07,
+ 8.00846370727535963142e-07,
+ 8.93919695807548723643e-07,
+ 9.86184503696360592316e-07,
+ 1.07759028771747680805e-06,
+ 1.16808719637099324993e-06,
+ 1.25762606009643313325e-06,
+ 1.34615841755636422783e-06,
+ 1.43363654142701431353e-06,
+ 1.52001346368244521319e-06,
+ 1.60524300035914707475e-06,
+ 1.68927977578831839769e-06,
+ 1.77207924628335479643e-06,
+ 1.85359772327053896192e-06,
+ 1.93379239585117203927e-06,
+ 2.01262135278386203690e-06,
+ 2.09004360387575857427e-06,
+ 2.16601910077334100819e-06,
+ 2.24050875713967010219e-06,
+ 2.31347446821209968128e-06,
+ 2.38487912972836386475e-06,
+ 2.45468665621208123303e-06,
+ 2.52286199861151334042e-06,
+ 2.58937116127982583862e-06,
+ 2.65418121829169547439e-06,
+ 2.71726032908779813765e-06,
+ 2.77857775344037205028e-06,
+ 2.83810386573328862561e-06,
+ 2.89581016855032907358e-06,
+ 2.95166930556685687487e-06,
+ 3.00565507373729543829e-06,
+ 3.05774243477661226693e-06,
+ 3.10790752592901346437e-06,
+ 3.15612767002082679062e-06,
+ 3.20238138479374552623e-06,
+ 3.24664839151536307337e-06,
+ 3.28890962286420223838e-06,
+ 3.32914723008697677049e-06,
+ 3.36734458942622126102e-06,
+ 3.40348630781685071737e-06,
+ 3.43755822785064014868e-06,
+ 3.46954743200808672055e-06,
+ 3.49944224615744907365e-06,
+ 3.52723224232133607687e-06,
+ 3.55290824071145572597e-06,
+ 3.57646231103275916171e-06,
+ 3.59788777305844983311e-06,
+ 3.61717919647792329573e-06,
+ 3.63433240001992844556e-06,
+ 3.64934444985388431064e-06,
+ 3.66221365727246736405e-06,
+ 3.67293957565916496310e-06,
+ 3.68152299674478401627e-06,
+ 3.68796594615754264255e-06,
+ 3.69227167827109476069e-06,
+ 3.69444467035641090999e-06,
+ 3.69449061604251067923e-06,
+ 3.69241641809255407447e-06,
+ 3.68823018050121809172e-06,
+ 3.68194119992049474706e-06,
+ 3.67355995642082701168e-06,
+ 3.66309810359520425440e-06,
+ 3.65056845801397982505e-06,
+ 3.63598498803867909083e-06,
+ 3.61936280200335549955e-06,
+ 3.60071813577239656246e-06,
+ 3.58006833968386969076e-06,
+ 3.55743186488838466342e-06,
+ 3.53282824909282608752e-06,
+ 3.50627810171953317514e-06,
+ 3.47780308849131654283e-06,
+ 3.44742591545312398587e-06,
+ 3.41517031244148100487e-06,
+ 3.38106101601311265410e-06,
+ 3.34512375184437054455e-06,
+ 3.30738521661340731931e-06,
+ 3.26787305937770838069e-06,
+ 3.22661586245842979003e-06,
+ 3.18364312184520498148e-06,
+ 3.13898522713461071050e-06,
+ 3.09267344101413714559e-06,
+ 3.04473987830630518563e-06,
+ 2.99521748458606001315e-06,
+ 2.94414001438530427212e-06,
+ 2.89154200899865406331e-06,
+ 2.83745877390457421898e-06,
+ 2.78192635581631105178e-06,
+ 2.72498151937718603862e-06,
+ 2.66666172351495323772e-06,
+ 2.60700509747023960325e-06,
+ 2.54605041651313995614e-06,
+ 2.48383707736592921508e-06,
+ 2.42040507334248784649e-06,
+ 2.35579496922448726218e-06,
+ 2.29004787588705505843e-06,
+ 2.22320542469039954603e-06,
+ 2.15530974165298533032e-06,
+ 2.08640342142196774357e-06,
+ 2.01652950105673072815e-06,
+ 1.94573143364140580303e-06,
+ 1.87405306174228235695e-06,
+ 1.80153859072609659169e-06,
+ 1.72823256195534356335e-06,
+ 1.65417982587563572154e-06,
+ 1.57942551501363361584e-06,
+ 1.50401501689824875799e-06,
+ 1.42799394692362609795e-06,
+ 1.35140812116891807883e-06,
+ 1.27430352919099175392e-06,
+ 1.19672630680600165567e-06,
+ 1.11872270887555548908e-06,
+ 1.04033908211438514454e-06,
+ 9.61621837932593595614e-07,
+ 8.82617425331797973857e-07,
+ 8.03372303868260350135e-07,
+ 7.23932916698523442543e-07,
+ 6.44345663725568065214e-07,
+ 5.64656874857124303848e-07,
+ 4.84912783394116915736e-07,
+ 4.05159499563223062539e-07,
+ 3.25442984208674460614e-07,
+ 2.45809022658112731786e-07,
+ 1.66303198777160306628e-07,
+ 8.69708692272027903669e-08,
+ 7.85713794072117322522e-09,
+-7.09931691716676215865e-08,
+-1.49535529268482347680e-07,
+-2.27725747365171486868e-07,
+-3.05519980848837318375e-07,
+-3.82874763706501346521e-07,
+-4.59747030453731194650e-07,
+-5.36094139750675601478e-07,
+-6.11873897692766847291e-07,
+-6.87044580763594041777e-07,
+-7.61564958437679165913e-07,
+-8.35394315421141605512e-07,
+-9.08492473518483241836e-07,
+-9.80819813113976304058e-07,
+-1.05233729425625164956e-06,
+-1.12300647733612530584e-06,
+-1.19278954334437999738e-06,
+-1.26164931370253481165e-06,
+-1.32954926965386881663e-06,
+-1.39645357120588546386e-06,
+-1.46232707561449405058e-06,
+-1.52713535540064995902e-06,
+-1.59084471589067184708e-06,
+-1.65342221227063001310e-06,
+-1.71483566614886781052e-06,
+-1.77505368161545113680e-06,
+-1.83404566079325564072e-06,
+-1.89178181887221348355e-06,
+-1.94823319862069280282e-06,
+-2.00337168436514229084e-06,
+-2.05717001543450264187e-06,
+-2.10960179906117775394e-06,
+-2.16064152273371070425e-06,
+-2.21026456599565581941e-06,
+-2.25844721168562965249e-06,
+-2.30516665661384152826e-06,
+-2.35040102167078548251e-06,
+-2.39412936136406383631e-06,
+-2.43633167277975945574e-06,
+-2.47698890396499016471e-06,
+-2.51608296172876497540e-06,
+-2.55359671885850362846e-06,
+-2.58951402074998920553e-06,
+-2.62381969144887382413e-06,
+-2.65649953910217082780e-06,
+-2.68754036081854804860e-06,
+-2.71692994693660306132e-06,
+-2.74465708470059315127e-06,
+-2.77071156134348277634e-06,
+-2.79508416657755373943e-06,
+-2.81776669449305452715e-06,
+-2.83875194486578497579e-06,
+-2.85803372387518624004e-06,
+-2.87560684423360267943e-06,
+-2.89146712472987382482e-06,
+-2.90561138918856466730e-06,
+-2.91803746484780862573e-06,
+-2.92874418015865453993e-06,
+-2.93773136200894074995e-06,
+-2.94499983237584587605e-06,
+-2.95055140441023676853e-06,
+-2.95438887795761926909e-06,
+-2.95651603451999344031e-06,
+-2.95693763166347438543e-06,
+-2.95565939687693110985e-06,
+-2.95268802088687215850e-06,
+-2.94803115043462330338e-06,
+-2.94169738052167357241e-06,
+-2.93369624612953431959e-06,
+-2.92403821342084482528e-06,
+-2.91273467042851974806e-06,
+-2.89979791724021359437e-06,
+-2.88524115568552475564e-06,
+-2.86907847853367548813e-06,
+-2.85132485820962740443e-06,
+-2.83199613503694229294e-06,
+-2.81110900501579379722e-06,
+-2.78868100714493697984e-06,
+-2.76473051029656053377e-06,
+-2.73927669965326065288e-06,
+-2.71233956271653185119e-06,
+-2.68393987489646478775e-06,
+-2.65409918469246439721e-06,
+-2.62283979847510613493e-06,
+-2.59018476487935021233e-06,
+-2.55615785881960940799e-06,
+-2.52078356513729817673e-06,
+-2.48408706189168983184e-06,
+-2.44609420330517115589e-06,
+-2.40683150237354884389e-06,
+-2.36632611315396292482e-06,
+-2.32460581274025857810e-06,
+-2.28169898293852692147e-06,
+-2.23763459165468254892e-06,
+-2.19244217400458949748e-06,
+-2.14615181316064773556e-06,
+-2.09879412094551363500e-06,
+-2.05040021818578316432e-06,
+-2.00100171483782110160e-06,
+-1.95063068989816435785e-06,
+-1.89931967111113481318e-06,
+-1.84710161448549238660e-06,
+-1.79400988363453340540e-06,
+-1.74007822895002694472e-06,
+-1.68534076662445773069e-06,
+-1.62983195753369262521e-06,
+-1.57358658599301992021e-06,
+-1.51663973839943020132e-06,
+-1.45902678177302702247e-06,
+-1.40078334221047426768e-06,
+-1.34194528326338093541e-06,
+-1.28254868425455118572e-06,
+-1.22262981854484770803e-06,
+-1.16222513176453179750e-06,
+-1.10137122001903489497e-06,
+-1.04010480808683832089e-06,
+-9.78462727617415689625e-07,
+-9.16481895344879420621e-07,
+-8.54199291329082445989e-07,
+-7.91651937236919995967e-07,
+-7.28876874676428218509e-07,
+-6.65911143596146899220e-07,
+-6.02791760762178925358e-07,
+-5.39555698325257482511e-07,
+-4.76239862490052774988e-07,
+-4.12881072298987595103e-07,
+-3.49516038541690854304e-07,
+-2.86181342804064272744e-07,
+-2.22913416666661733927e-07,
+-1.59748521064022687018e-07,
+-9.67227258185584328684e-08,
+-3.38718893582766938970e-08,
+ 2.87683613695412570172e-08,
+ 9.11626507777930940099e-08,
+ 1.53275874301229528026e-07,
+ 2.15073217829609376242e-07,
+ 2.76520176901766833620e-07,
+ 3.37582575650052953442e-07,
+ 3.98226585485819280378e-07,
+ 4.58418743513730979390e-07,
+ 5.18125970668006750755e-07,
+ 5.77315589558766536398e-07,
+ 6.35955342019936643428e-07,
+ 6.94013406349350241498e-07,
+ 7.51458414232049067549e-07,
+ 8.08259467337988365555e-07,
+ 8.64386153585596963575e-07,
+ 9.19808563062980821321e-07,
+ 9.74497303597860849836e-07,
+ 1.02842351597027310336e-06,
+ 1.08155888875847427063e-06,
+ 1.13387567281072351305e-06,
+ 1.18534669533762647095e-06,
+ 1.23594537361629275206e-06,
+ 1.28564572830046089292e-06,
+ 1.33442239633006842733e-06,
+ 1.38225064343414957853e-06,
+ 1.42910637622117390762e-06,
+ 1.47496615385122660710e-06,
+ 1.51980719928470874307e-06,
+ 1.56360741010246000211e-06,
+ 1.60634536889251227715e-06,
+ 1.64800035319896004223e-06,
+ 1.68855234502865835288e-06,
+ 1.72798203991181336901e-06,
+ 1.76627085551270775016e-06,
+ 1.80340093978719079100e-06,
+ 1.83935517868373362992e-06,
+ 1.87411720338522404077e-06,
+ 1.90767139708889131071e-06,
+ 1.94000290132205409853e-06,
+ 1.97109762179168084047e-06,
+ 2.00094223376600235736e-06,
+ 2.02952418698673586018e-06,
+ 2.05683171011063731075e-06,
+ 2.08285381467995650348e-06,
+ 2.10758029862004405122e-06,
+ 2.13100174926526816907e-06,
+ 2.15310954591206726866e-06,
+ 2.17389586189977999014e-06,
+ 2.19335366621972616361e-06,
+ 2.21147672465324978376e-06,
+ 2.22825960043981455305e-06,
+ 2.24369765447650766928e-06,
+ 2.25778704505024781826e-06,
+ 2.27052472710528124541e-06,
+ 2.28190845104710389511e-06,
+ 2.29193676108612702237e-06,
+ 2.30060899312292095007e-06,
+ 2.30792527217872156528e-06,
+ 2.31388650937382493307e-06,
+ 2.31849439845752497517e-06,
+ 2.32175141189321189097e-06,
+ 2.32366079650259840000e-06,
+ 2.32422656867321367902e-06,
+ 2.32345350913359285878e-06,
+ 2.32134715730082542021e-06,
+ 2.31791380520532445909e-06,
+ 2.31316049099797609704e-06,
+ 2.30709499204498586449e-06,
+ 2.29972581761599807363e-06,
+ 2.29106220117129925082e-06,
+ 2.28111409225408822216e-06,
+ 2.26989214799404362660e-06,
+ 2.25740772422860767231e-06,
+ 2.24367286624860951035e-06,
+ 2.22870029917506208745e-06,
+ 2.21250341797413235839e-06,
+ 2.19509627711749353150e-06,
+ 2.17649357989546114511e-06,
+ 2.15671066739044013289e-06,
+ 2.13576350711850353347e-06,
+ 2.11366868134673037600e-06,
+ 2.09044337509497678252e-06,
+ 2.06610536382953460056e-06,
+ 2.04067300085759004675e-06,
+ 2.01416520443082648289e-06,
+ 1.98660144456682630719e-06,
+ 1.95800172959701842290e-06,
+ 1.92838659245047678824e-06,
+ 1.89777707668168250577e-06,
+ 1.86619472225263513379e-06,
+ 1.83366155107768614062e-06,
+ 1.80020005234090271963e-06,
+ 1.76583316759495554916e-06,
+ 1.73058427565218490126e-06,
+ 1.69447717727606724807e-06,
+ 1.65753607968390744685e-06,
+ 1.61978558087014416989e-06,
+ 1.58125065376022968674e-06,
+ 1.54195663020503578884e-06,
+ 1.50192918482580689152e-06,
+ 1.46119431871970167741e-06,
+ 1.41977834303604934816e-06,
+ 1.37770786243346328062e-06,
+ 1.33500975842797161234e-06,
+ 1.29171117264239797330e-06,
+ 1.24783948996719974604e-06,
+ 1.20342232164300215316e-06,
+ 1.15848748827509167059e-06,
+ 1.11306300279010028919e-06,
+ 1.06717705334514073476e-06,
+ 1.02085798619962035772e-06,
+ 9.74134288559960768089e-07,
+ 9.27034571407410057516e-07,
+ 8.79587552319131062115e-07,
+ 8.31822038292692897728e-07,
+ 7.83766908584062082816e-07,
+ 7.35451097569259232492e-07,
+ 6.86903577639007368221e-07,
+ 6.38153342137989641187e-07,
+ 5.89229388356360835835e-07,
+ 5.40160700585000643775e-07,
+ 4.90976233243457187642e-07,
+ 4.41704894091038422500e-07,
+ 3.92375527528903780770e-07,
+ 3.43016898004928283419e-07,
+ 2.93657673529008577219e-07,
+ 2.44326409308779522962e-07,
+ 1.95051531514807551777e-07,
+ 1.45861321184445247206e-07,
+ 9.67838982725986303713e-08,
+ 4.78472058599844523217e-08,
+-9.21005474744702503668e-10,
+-4.94931931086882342167e-08,
+-9.78420376464564573501e-08,
+-1.45940458001584575920e-07,
+-1.93761626279445676683e-07,
+-2.41278982453654766505e-07,
+-2.88466248828108414775e-07,
+-3.35297444276962340684e-07,
+-3.81746898255006320598e-07,
+-4.27789264571066302430e-07,
+-4.73399534917222114972e-07,
+-5.18553052146814792709e-07,
+-5.63225523294378261140e-07,
+-6.07393032330819015965e-07,
+-6.51032052647343771201e-07,
+-6.94119459261828810033e-07,
+-7.36632540741495661135e-07,
+-7.78549010835974351873e-07,
+-8.19847019815002990540e-07,
+-8.60505165505228740834e-07,
+-9.00502504020766893004e-07,
+-9.39818560182277438796e-07,
+-9.78433337620207624330e-07,
+-1.01632732855600549368e-06,
+-1.05348152325874204263e-06,
+-1.08987741917143933322e-06,
+-1.12549702970306422209e-06,
+-1.16032289268355194760e-06,
+-1.19433807847637408471e-06,
+-1.22752619774656060195e-06,
+-1.25987140888039317136e-06,
+-1.29135842505383920910e-06,
+-1.32197252094692572073e-06,
+-1.35169953910148305289e-06,
+-1.38052589591981443812e-06,
+-1.40843858730261145449e-06,
+-1.43542519392307942238e-06,
+-1.46147388613708025001e-06,
+-1.48657342852669403075e-06,
+-1.51071318407641715728e-06,
+-1.53388311798088013959e-06,
+-1.55607380108330755062e-06,
+-1.57727641294412167073e-06,
+-1.59748274453934551225e-06,
+-1.61668520058867329841e-06,
+-1.63487680151331660552e-06,
+-1.65205118502362447400e-06,
+-1.66820260733800235944e-06,
+-1.68332594403215350657e-06,
+-1.69741669052133461662e-06,
+-1.71047096217573973425e-06,
+-1.72248549407075639464e-06,
+-1.73345764037363372509e-06,
+-1.74338537336835821088e-06,
+-1.75226728212076132235e-06,
+-1.76010257078606954751e-06,
+-1.76689105656130685063e-06,
+-1.77263316728519251133e-06,
+-1.77732993868832065915e-06,
+-1.78098301129675234904e-06,
+-1.78359462699196298197e-06,
+-1.78516762523086079262e-06,
+-1.78570543892935940332e-06,
+-1.78521209001314350987e-06,
+-1.78369218463975973750e-06,
+-1.78115090809610287207e-06,
+-1.77759401937562411090e-06,
+-1.77302784543973451412e-06,
+-1.76745927516809092517e-06,
+-1.76089575300256703723e-06,
+-1.75334527228990434716e-06,
+-1.74481636832821328595e-06,
+-1.73531811112254267233e-06,
+-1.72486009785515407010e-06,
+-1.71345244507588775535e-06,
+-1.70110578061850780769e-06,
+-1.68783123524888313502e-06,
+-1.67364043405101201273e-06,
+-1.65854548755706267844e-06,
+-1.64255898262770882562e-06,
+-1.62569397308913031908e-06,
+-1.60796397013341495032e-06,
+-1.58938293248850158598e-06,
+-1.56996525636511224694e-06,
+-1.54972576518680987152e-06,
+-1.52867969911091771475e-06,
+-1.50684270434656038082e-06,
+-1.48423082227753830000e-06,
+-1.46086047839705183582e-06,
+-1.43674847106163933866e-06,
+-1.41191196007170637922e-06,
+-1.38636845508614875617e-06,
+-1.36013580387858669546e-06,
+-1.33323218044282189100e-06,
+-1.30567607295518684662e-06,
+-1.27748627160150214245e-06,
+-1.24868185627640912946e-06,
+-1.21928218416289764874e-06,
+-1.18930687719987378282e-06,
+-1.15877580944566389195e-06,
+-1.12770909434537172875e-06,
+-1.09612707191003274157e-06,
+-1.06405029581553169958e-06,
+-1.03149952042926247822e-06,
+-9.98495687772529807701e-07,
+-9.65059914426676481838e-07,
+-9.31213478390952664649e-07,
+-8.96977805900184483883e-07,
+-8.62374458209779445916e-07,
+-8.27425118357190793336e-07,
+-7.92151577906262162004e-07,
+-7.56575723683538659993e-07,
+-7.20719524513991164460e-07,
+-6.84605017964106205270e-07,
+-6.48254297100182736997e-07,
+-6.11689497269627655389e-07,
+-5.74932782912928941364e-07,
+-5.38006334414506664360e-07,
+-5.00932334998829214645e-07,
+-4.63732957681074963406e-07,
+-4.26430352278680451037e-07,
+-3.89046632491231587593e-07,
+-3.51603863057291967577e-07,
+-3.14124046993758822385e-07,
+-2.76629112926271202933e-07,
+-2.39140902517306048575e-07,
+-2.01681157999109538668e-07,
+-1.64271509818435231461e-07,
+-1.26933464399964462611e-07,
+-8.96883920351864315859e-08,
+-5.25575149034115698627e-08,
+-1.55618952314867990895e-08,
+ 2.12775764013299585065e-08,
+ 5.79401926069906488081e-08,
+ 9.44054405745448819568e-08,
+ 1.30653013292186337421e-07,
+ 1.66662820599558795692e-07,
+ 2.02415000063943526019e-07,
+ 2.37889927675723810546e-07,
+ 2.73068228356823773127e-07,
+ 3.07930786275391611075e-07,
+ 3.42458754964303537689e-07,
+ 3.76633567235821728614e-07,
+ 4.10436944888391124100e-07,
+ 4.43850908200505621429e-07,
+ 4.76857785206895217304e-07,
+ 5.09440220752432540740e-07,
+ 5.41581185319310635908e-07,
+ 5.73263983623200237778e-07,
+ 6.04472262974243596559e-07,
+ 6.35190021398912689916e-07,
+ 6.65401615518975020092e-07,
+ 6.95091768183470321082e-07,
+ 7.24245575851318119156e-07,
+ 7.52848515719723294374e-07,
+ 7.80886452596346764020e-07,
+ 8.08345645511779781934e-07,
+ 8.35212754069576196438e-07,
+ 8.61474844531168266227e-07,
+ 8.87119395633187721666e-07,
+ 9.12134304134851931249e-07,
+ 9.36507890093278214952e-07,
+ 9.60228901864740647514e-07,
+ 9.83286520829949339681e-07,
+ 1.00567036584242141413e-06,
+ 1.02737049739676264377e-06,
+ 1.04837742151761943520e-06,
+ 1.06868209336723852610e-06,
+ 1.08827592057027628516e-06,
+ 1.10715076625582966250e-06,
+ 1.12529895181575091329e-06,
+ 1.14271325937887085896e-06,
+ 1.15938693400089711674e-06,
+ 1.17531368556989454737e-06,
+ 1.19048769042744956491e-06,
+ 1.20490359270577919489e-06,
+ 1.21855650538120670311e-06,
+ 1.23144201104462276445e-06,
+ 1.24355616238968221938e-06,
+ 1.25489548241968085992e-06,
+ 1.26545696437420174112e-06,
+ 1.27523807137680262633e-06,
+ 1.28423673580516101703e-06,
+ 1.29245135838526580120e-06,
+ 1.29988080701139087871e-06,
+ 1.30652441529377014066e-06,
+ 1.31238198083599927004e-06,
+ 1.31745376324439163689e-06,
+ 1.32174048187173134272e-06,
+ 1.32524331329766233412e-06,
+ 1.32796388854876269223e-06,
+ 1.32990429006080199844e-06,
+ 1.33106704838625078829e-06,
+ 1.33145513865011407038e-06,
+ 1.33107197675730615317e-06,
+ 1.32992141535492971224e-06,
+ 1.32800773955295289713e-06,
+ 1.32533566240690744947e-06,
+ 1.32191032016635722368e-06,
+ 1.31773726729301165080e-06,
+ 1.31282247125248552902e-06,
+ 1.30717230708382066220e-06,
+ 1.30079355175099455860e-06,
+ 1.29369337828076866856e-06,
+ 1.28587934969133494247e-06,
+ 1.27735941271630673508e-06,
+ 1.26814189132872078392e-06,
+ 1.25823548006989592576e-06,
+ 1.24764923718779050332e-06,
+ 1.23639257759010710187e-06,
+ 1.22447526561697376243e-06,
+ 1.21190740763842257076e-06,
+ 1.19869944448191002670e-06,
+ 1.18486214369488304102e-06,
+ 1.17040659164850020835e-06,
+ 1.15534418548697581979e-06,
+ 1.13968662492878543633e-06,
+ 1.12344590392501977927e-06,
+ 1.10663430218058598693e-06,
+ 1.08926437654394660522e-06,
+ 1.07134895227114512445e-06,
+ 1.05290111416989715657e-06,
+ 1.03393419762981751439e-06,
+ 1.01446177954410255975e-06,
+ 9.94497669129371662775e-07,
+ 9.74055898649058925340e-07,
+ 9.53150714046586472362e-07,
+ 9.31796565494312280840e-07,
+ 9.10008097864302267693e-07,
+ 8.87800141127001133190e-07,
+ 8.65187700683895514984e-07,
+ 8.42185947640272748656e-07,
+ 8.18810209024182236434e-07,
+ 7.95075957957726542799e-07,
+ 7.70998803786799171281e-07,
+ 7.46594482175384812077e-07,
+ 7.21878845170593542560e-07,
+ 6.96867851244202251346e-07,
+ 6.71577555317616239466e-07,
+ 6.46024098775229858276e-07,
+ 6.20223699473059009471e-07,
+ 5.94192641748351015229e-07,
+ 5.67947266436226132378e-07,
+ 5.41503960899324198661e-07,
+ 5.14879149076390935720e-07,
+ 4.88089281555710163631e-07,
+ 4.61150825679230424805e-07,
+ 4.34080255683209686411e-07,
+ 4.06894042881135298369e-07,
+ 3.79608645894640438035e-07,
+ 3.52240500938070933540e-07,
+ 3.24806012162310247429e-07,
+ 2.97321542063398880870e-07,
+ 2.69803401961428131034e-07,
+ 2.42267842555118836346e-07,
+ 2.14731044557422131870e-07,
+ 1.87209109417413194962e-07,
+ 1.59718050133666455064e-07,
+ 1.32273782164225461408e-07,
+ 1.04892114438199221113e-07,
+ 7.75887404739308462697e-08,
+ 5.03792296086632588358e-08,
+ 2.32790183440865896232e-08,
+-3.69659818658931578941e-09,
+-3.05324746267394544896e-08,
+-5.72136236741530471848e-08,
+-8.37252242245850243792e-08,
+-1.10052629376678321428e-07,
+-1.36181374294073481367e-07,
+-1.62097183920627326452e-07,
+-1.87785980544769814165e-07,
+-2.13233891209139598521e-07,
+-2.38427254961746979659e-07,
+-2.63352629945029146904e-07,
+-2.87996800319276546365e-07,
+-3.12346783017024135980e-07,
+-3.36389834325182185351e-07,
+-3.60113456291384048568e-07,
+-3.83505402952390790727e-07,
+-4.06553686380447893525e-07,
+-4.29246582545680592520e-07,
+-4.51572636991498591533e-07,
+-4.73520670320518712649e-07,
+-4.95079783488583814637e-07,
+-5.16239362904583738092e-07,
+-5.36989085333807117288e-07,
+-5.57318922603415019422e-07,
+-5.77219146106557435187e-07,
+-5.96680331105458410703e-07,
+-6.15693360830245960493e-07,
+-6.34249430372643094367e-07,
+-6.52340050373084766760e-07,
+-6.69957050499727724785e-07,
+-6.87092582718938420602e-07,
+-7.03739124355339611445e-07,
+-7.19889480941261699077e-07,
+-7.35536788854606509566e-07,
+-7.50674517744575483077e-07,
+-7.65296472744807734602e-07,
+-7.79396796473609713033e-07,
+-7.92969970821073911788e-07,
+-8.06010818523039620686e-07,
+-8.18514504521946435161e-07,
+-8.30476537114796092696e-07,
+-8.41892768888536356313e-07,
+-8.52759397443332283837e-07,
+-8.63072965904298430121e-07,
+-8.72830363222411219091e-07,
+-8.82028824265426919197e-07,
+-8.90665929699767875244e-07,
+-8.98739605664438117104e-07,
+-9.06248123238310469019e-07,
+-9.13190097701748130089e-07,
+-9.19564487594497149126e-07,
+-9.25370593571038710503e-07,
+-9.30608057055225739965e-07,
+-9.35276858695977623270e-07,
+-9.39377316625935791305e-07,
+-9.42910084525095898317e-07,
+-9.45876149491550481034e-07,
+-9.48276829721570430580e-07,
+-9.50113772001370499672e-07,
+-9.51388949013003911569e-07,
+-9.52104656456936804630e-07,
+-9.52263509993941125969e-07,
+-9.51868442009069101583e-07,
+-9.50922698200532126112e-07,
+-9.49429833996434605628e-07,
+-9.47393710802382531800e-07,
+-9.44818492083089586131e-07,
+-9.41708639281177158997e-07,
+-9.38068907576461653450e-07,
+-9.33904341489098676729e-07,
+-9.29220270330045943147e-07,
+-9.24022303502344510841e-07,
+-9.18316325656801089995e-07,
+-9.12108491705894399878e-07,
+-9.05405221699414408662e-07,
+-8.98213195565829804566e-07,
+-8.90539347723179252958e-07,
+-8.82390861563444624379e-07,
+-8.73775163814392542299e-07,
+-8.64699918782943232475e-07,
+-8.55173022484167478071e-07,
+-8.45202596660064471297e-07,
+-8.34796982692334232859e-07,
+-8.23964735413379340429e-07,
+-8.12714616819815811869e-07,
+-8.01055589692947371830e-07,
+-7.88996811130245460602e-07,
+-7.76547625992668790471e-07,
+-7.63717560271924312522e-07,
+-7.50516314382267606353e-07,
+-7.36953756381291203872e-07,
+-7.23039915124214685738e-07,
+-7.08784973356202141615e-07,
+-6.94199260747239361661e-07,
+-6.79293246874135843310e-07,
+-6.64077534154205262483e-07,
+-6.48562850735273878957e-07,
+-6.32760043346189360169e-07,
+-6.16680070113397994562e-07,
+-6.00333993346826913225e-07,
+-5.83732972300828602773e-07,
+-5.66888255913847209443e-07,
+-5.49811175532121660261e-07,
+-5.32513137621453772346e-07,
+-5.15005616471779758539e-07,
+-4.97300146899023921939e-07,
+-4.79408316948729425562e-07,
+-4.61341760605933600647e-07,
+-4.43112150515734081304e-07,
+-4.24731190718963677602e-07,
+-4.06210609407354576801e-07,
+-3.87562151702548692569e-07,
+-3.68797572463265930466e-07,
+-3.49928629124907727258e-07,
+-3.30967074575835952180e-07,
+-3.11924650074512148172e-07,
+-2.92813078211650909737e-07,
+-2.73644055921480525304e-07,
+-2.54429247546160283934e-07,
+-2.35180277957349847825e-07,
+-2.15908725738868123295e-07,
+-1.96626116434371227810e-07,
+-1.77343915863602168094e-07,
+-1.58073523511642661593e-07,
+-1.38826265993976471359e-07,
+-1.19613390601659479034e-07,
+-1.00446058929897965640e-07,
+-8.13353405935726935918e-08,
+-6.22922070331324441674e-08,
+-4.33275254142092293362e-08,
+-2.44520526242285169324e-08,
+ 0 /* Need a final zero coefficient */
+
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/mid_qual_coeffs.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/mid_qual_coeffs.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/mid_qual_coeffs.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,5315 @@
+/*
+** Copyright (C) 2002,2003 Erik de Castro Lopo <erikd at mega-nerd.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 of the License, or
+** (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA.
+*/
+
+
+/*
+** f = make_filter (19, 128, 100.2) ;
+** Pass band width : 0.0039063 (should be 0.0039062)
+** Stop band atten. : 100.35 dB
+** -3dB band width : 0.665
+** half length : 5285
+** increment : 128
+*/
+
+ 9.20381425342432724079e-01,
+ 9.20302993473144703707e-01,
+ 9.20067721990720843728e-01,
+ 9.19675683262634269255e-01,
+ 9.19126997871811179941e-01,
+ 9.18421834572361261984e-01,
+ 9.17560410227629907887e-01,
+ 9.16542989730570578644e-01,
+ 9.15369885906517022356e-01,
+ 9.14041459398341027409e-01,
+ 9.12558118534084750095e-01,
+ 9.10920319177104365060e-01,
+ 9.09128564558774221460e-01,
+ 9.07183405093831884969e-01,
+ 9.05085438178449441793e-01,
+ 9.02835307971073142141e-01,
+ 9.00433705156164609917e-01,
+ 8.97881366690907456451e-01,
+ 8.95179075534992096941e-01,
+ 8.92327660363587904513e-01,
+ 8.89327995263616055688e-01,
+ 8.86180999413433867495e-01,
+ 8.82887636746086057471e-01,
+ 8.79448915596223401714e-01,
+ 8.75865888330860098421e-01,
+ 8.72139650964099621966e-01,
+ 8.68271342755988384532e-01,
+ 8.64262145795659297853e-01,
+ 8.60113284568922442652e-01,
+ 8.55826025510500576488e-01,
+ 8.51401676541053253899e-01,
+ 8.46841586589208494829e-01,
+ 8.42147145098761318316e-01,
+ 8.37319781521271289115e-01,
+ 8.32360964794223279206e-01,
+ 8.27272202804994805092e-01,
+ 8.22055041840814237908e-01,
+ 8.16711066024966680921e-01,
+ 8.11241896739414047879e-01,
+ 8.05649192034131989004e-01,
+ 7.99934646023336304310e-01,
+ 7.94099988268876399999e-01,
+ 7.88146983151028934778e-01,
+ 7.82077429226948894758e-01,
+ 7.75893158577014574462e-01,
+ 7.69596036139359007677e-01,
+ 7.63187959032822549332e-01,
+ 7.56670855868614267159e-01,
+ 7.50046686050942712498e-01,
+ 7.43317439066910390366e-01,
+ 7.36485133765944488538e-01,
+ 7.29551817629036647439e-01,
+ 7.22519566028118842560e-01,
+ 7.15390481475825179558e-01,
+ 7.08166692865972891013e-01,
+ 7.00850354705043199210e-01,
+ 6.93443646334978125445e-01,
+ 6.85948771147587565977e-01,
+ 6.78367955790895149626e-01,
+ 6.70703449367723969488e-01,
+ 6.62957522626846706970e-01,
+ 6.55132467147013564102e-01,
+ 6.47230594514182855370e-01,
+ 6.39254235492288658271e-01,
+ 6.31205739187853498429e-01,
+ 6.23087472208794013184e-01,
+ 6.14901817817740559136e-01,
+ 6.06651175080214377644e-01,
+ 5.98337958007979286990e-01,
+ 5.89964594697926170141e-01,
+ 5.81533526466822769940e-01,
+ 5.73047206982255086238e-01,
+ 5.64508101390120198282e-01,
+ 5.55918685439004245374e-01,
+ 5.47281444601789957005e-01,
+ 5.38598873194839455891e-01,
+ 5.29873473495091729113e-01,
+ 5.21107754855426819063e-01,
+ 5.12304232818644900149e-01,
+ 5.03465428230393974296e-01,
+ 4.94593866351407229764e-01,
+ 4.85692075969380243627e-01,
+ 4.76762588510854068424e-01,
+ 4.67807937153435049460e-01,
+ 4.58830655938690934459e-01,
+ 4.49833278886094922733e-01,
+ 4.40818339108329071419e-01,
+ 4.31788367928309491095e-01,
+ 4.22745893998278443604e-01,
+ 4.13693442421281976085e-01,
+ 4.04633533875401296687e-01,
+ 3.95568683741051418945e-01,
+ 3.86501401231698737959e-01,
+ 3.77434188528326886036e-01,
+ 3.68369539917981492216e-01,
+ 3.59309940936731631034e-01,
+ 3.50257867517365428789e-01,
+ 3.41215785142159444554e-01,
+ 3.32186148001037462318e-01,
+ 3.23171398155436717659e-01,
+ 3.14173964708215069930e-01,
+ 3.05196262979898602641e-01,
+ 2.96240693691587786418e-01,
+ 2.87309642154843669637e-01,
+ 2.78405477468841422439e-01,
+ 2.69530551725107592187e-01,
+ 2.60687199220140719547e-01,
+ 2.51877735676207303861e-01,
+ 2.43104457470603635416e-01,
+ 2.34369640873684476068e-01,
+ 2.25675541295929371621e-01,
+ 2.17024392544335781308e-01,
+ 2.08418406088417329514e-01,
+ 1.99859770336071163044e-01,
+ 1.91350649919593329695e-01,
+ 1.82893184992099055997e-01,
+ 1.74489490534610131034e-01,
+ 1.66141655674062554970e-01,
+ 1.57851743012483253237e-01,
+ 1.49621787967589486845e-01,
+ 1.41453798125033586297e-01,
+ 1.33349752602548832225e-01,
+ 1.25311601426208646393e-01,
+ 1.17341264919035181968e-01,
+ 1.09440633102170670199e-01,
+ 1.01611565108827309190e-01,
+ 9.38558886112234730392e-02,
+ 8.61753992607110774760e-02,
+ 7.85718601412871003875e-02,
+ 7.10470012366834768880e-02,
+ 6.36025189112217892440e-02,
+ 5.62400754046094436545e-02,
+ 4.89612983408535609731e-02,
+ 4.17677802514581156257e-02,
+ 3.46610781130688300200e-02,
+ 2.76427128997189970605e-02,
+ 2.07141691498255002546e-02,
+ 1.38768945480800508230e-02,
+ 7.13229952237052523822e-03,
+ 4.81756855863834190269e-04,
+-6.07339868562557089193e-03,
+-1.25318707108654243260e-02,
+-1.88924015449200635719e-02,
+-2.51537725552469157431e-02,
+-3.13148044620756293988e-02,
+-3.73743576329800403224e-02,
+-4.33313323615558548818e-02,
+-4.91846691301275826258e-02,
+-5.49333488564130167919e-02,
+-6.05763931240776432041e-02,
+-6.61128643971268664670e-02,
+-7.15418662180770936754e-02,
+-7.68625433898662002719e-02,
+-8.20740821414635834952e-02,
+-8.71757102771481412473e-02,
+-9.21666973094307923065e-02,
+-9.70463545756019146937e-02,
+-1.01814035337895597566e-01,
+-1.06469134867262671396e-01,
+-1.11011090510758053673e-01,
+-1.15439381742549487808e-01,
+-1.19753530198565633080e-01,
+-1.23953099694804141917e-01,
+-1.28037696229327896402e-01,
+-1.32006967967990523904e-01,
+-1.35860605213926149970e-01,
+-1.39598340360859801690e-01,
+-1.43219947830287880342e-01,
+-1.46725243992595816289e-01,
+-1.50114087072177021520e-01,
+-1.53386377036633686499e-01,
+-1.56542055470133889550e-01,
+-1.59581105431021136321e-01,
+-1.62503551293762121821e-01,
+-1.65309458575341239328e-01,
+-1.67998933746201201123e-01,
+-1.70572124025848675943e-01,
+-1.73029217163238657751e-01,
+-1.75370441202067656183e-01,
+-1.77596064231102662712e-01,
+-1.79706394119684198518e-01,
+-1.81701778238549410682e-01,
+-1.83582603166114660675e-01,
+-1.85349294380384888026e-01,
+-1.87002315936635632454e-01,
+-1.88542170131047126524e-01,
+-1.89969397150449442746e-01,
+-1.91284574708360660678e-01,
+-1.92488317667500768993e-01,
+-1.93581277648966099125e-01,
+-1.94564142628253139433e-01,
+-1.95437636518337454206e-01,
+-1.96202518740000220188e-01,
+-1.96859583779614849552e-01,
+-1.97409660734602421250e-01,
+-1.97853612846778603718e-01,
+-1.98192337023800152496e-01,
+-1.98426763348949375398e-01,
+-1.98557854579480330681e-01,
+-1.98586605633759266665e-01,
+-1.98514043067442053081e-01,
+-1.98341224538922389353e-01,
+-1.98069238264312830200e-01,
+-1.97699202462185225082e-01,
+-1.97232264788348182760e-01,
+-1.96669601760900314424e-01,
+-1.96012418175829317146e-01,
+-1.95261946513421102978e-01,
+-1.94419446335739987131e-01,
+-1.93486203675455742390e-01,
+-1.92463530416288858271e-01,
+-1.91352763665352892941e-01,
+-1.90155265117664590280e-01,
+-1.88872420413116609561e-01,
+-1.87505638486184761371e-01,
+-1.86056350908662238020e-01,
+-1.84526011225710412367e-01,
+-1.82916094285511643402e-01,
+-1.81228095562823987574e-01,
+-1.79463530476726945695e-01,
+-1.77623933702856395822e-01,
+-1.75710858480429804596e-01,
+-1.73725875914355953888e-01,
+-1.71670574272733023058e-01,
+-1.69546558280039033617e-01,
+-1.67355448406313112031e-01,
+-1.65098880152636018348e-01,
+-1.62778503333212087867e-01,
+-1.60395981354360589455e-01,
+-1.57952990490720118766e-01,
+-1.55451219158974890400e-01,
+-1.52892367189410044448e-01,
+-1.50278145095599335868e-01,
+-1.47610273342536069130e-01,
+-1.44890481613516919346e-01,
+-1.42120508076075402482e-01,
+-1.39302098647282379673e-01,
+-1.36437006258713466877e-01,
+-1.33526990121390659594e-01,
+-1.30573814991000874963e-01,
+-1.27579250433698415668e-01,
+-1.24545070092789769700e-01,
+-1.21473050956605960193e-01,
+-1.18364972627860873255e-01,
+-1.15222616594794866063e-01,
+-1.12047765504399418623e-01,
+-1.08842202438021534716e-01,
+-1.05607710189640782716e-01,
+-1.02346070547107481641e-01,
+-9.90590635766376431670e-02,
+-9.57484669108492753020e-02,
+-9.24160550406251946054e-02,
+-8.90635986110882432731e-02,
+-8.56928637219669248060e-02,
+-8.23056112326309707861e-02,
+-7.89035960720733398066e-02,
+-7.54885665541076555929e-02,
+-7.20622636980560449249e-02,
+-6.86264205551892075841e-02,
+-6.51827615411845612270e-02,
+-6.17330017748623643969e-02,
+-5.82788464234569522637e-02,
+-5.48219900546751473525e-02,
+-5.13641159957934842484e-02,
+-4.79068957000384210154e-02,
+-4.44519881204940292552e-02,
+-4.10010390917734252048e-02,
+-3.75556807196898087553e-02,
+-3.41175307791583073969e-02,
+-3.06881921205520574736e-02,
+-2.72692520847377800619e-02,
+-2.38622819270072061837e-02,
+-2.04688362501167613050e-02,
+-1.70904524466470482402e-02,
+-1.37286501508831742385e-02,
+-1.03849307004176948793e-02,
+-7.06077660767133897385e-03,
+-3.75765104151932821316e-03,
+-4.76997319211794638602e-04,
+ 2.77976159123423990222e-03,
+ 6.01122355799481745270e-03,
+ 9.21600776157955291212e-03,
+ 1.23927551599897541740e-02,
+ 1.55401289427332476439e-02,
+ 1.86568149735395066857e-02,
+ 2.17415222216296409596e-02,
+ 2.47929831813923952366e-02,
+ 2.78099542803314468686e-02,
+ 3.07912162751492260448e-02,
+ 3.37355746358383862260e-02,
+ 3.66418599176616260893e-02,
+ 3.95089281209001219608e-02,
+ 4.23356610382612519317e-02,
+ 4.51209665898422082608e-02,
+ 4.78637791455433780907e-02,
+ 5.05630598348475110426e-02,
+ 5.32177968438652948535e-02,
+ 5.58270056995735716732e-02,
+ 5.83897295411673830645e-02,
+ 6.09050393784494881189e-02,
+ 6.33720343372027039575e-02,
+ 6.57898418914746596631e-02,
+ 6.81576180827297012366e-02,
+ 7.04745477258180152980e-02,
+ 7.27398446017178401668e-02,
+ 7.49527516370186164263e-02,
+ 7.71125410701128527480e-02,
+ 7.92185146040738086270e-02,
+ 8.12700035461998010478e-02,
+ 8.32663689342140606042e-02,
+ 8.52070016491116299928e-02,
+ 8.70913225146551783773e-02,
+ 8.89187823835221463620e-02,
+ 9.06888622101164748601e-02,
+ 9.24010731100602389354e-02,
+ 9.40549564063880572107e-02,
+ 9.56500836624715466971e-02,
+ 9.71860567017110571486e-02,
+ 9.86625076140278250980e-02,
+ 1.00079098749209560726e-01,
+ 1.01435522697153571170e-01,
+ 1.02731502255068357643e-01,
+ 1.03966790381692222867e-01,
+ 1.05141170138599651662e-01,
+ 1.06254454618664812005e-01,
+ 1.07306486861763028529e-01,
+ 1.08297139757793273174e-01,
+ 1.09226315937109075271e-01,
+ 1.10093947648453857613e-01,
+ 1.10899996624498939357e-01,
+ 1.11644453935089996155e-01,
+ 1.12327339828307448677e-01,
+ 1.12948703559463028978e-01,
+ 1.13508623208143408223e-01,
+ 1.14007205483430296145e-01,
+ 1.14444585517425839738e-01,
+ 1.14820926647215854066e-01,
+ 1.15136420185409663053e-01,
+ 1.15391285179401628658e-01,
+ 1.15585768159497587204e-01,
+ 1.15720142876065593129e-01,
+ 1.15794710025859670655e-01,
+ 1.15809796967682440694e-01,
+ 1.15765757427549992320e-01,
+ 1.15662971193527863711e-01,
+ 1.15501843800413089847e-01,
+ 1.15282806204434651320e-01,
+ 1.15006314448161270358e-01,
+ 1.14672849315791761104e-01,
+ 1.14282915979024457531e-01,
+ 1.13837043633692902578e-01,
+ 1.13335785127364224723e-01,
+ 1.12779716578100402957e-01,
+ 1.12169436984582482353e-01,
+ 1.11505567827804186187e-01,
+ 1.10788752664543674320e-01,
+ 1.10019656712822919142e-01,
+ 1.09198966429570901160e-01,
+ 1.08327389080707270352e-01,
+ 1.07405652303864840302e-01,
+ 1.06434503663973611953e-01,
+ 1.05414710201933409239e-01,
+ 1.04347057976597171192e-01,
+ 1.03232351600300586991e-01,
+ 1.02071413768162977398e-01,
+ 1.00865084781397620906e-01,
+ 9.96142220648654208581e-02,
+ 9.83196996791074473432e-02,
+ 9.69824078270985767691e-02,
+ 9.56032523559593450102e-02,
+ 9.41831542538692501054e-02,
+ 9.27230491424269054335e-02,
+ 9.12238867646961854030e-02,
+ 8.96866304691910365410e-02,
+ 8.81122566900391923639e-02,
+ 8.65017544235756330462e-02,
+ 8.48561247016157149670e-02,
+ 8.31763800616522747111e-02,
+ 8.14635440142294359189e-02,
+ 7.97186505077449730772e-02,
+ 7.79427433909263833733e-02,
+ 7.61368758732360317865e-02,
+ 7.43021099834537401829e-02,
+ 7.24395160266886328770e-02,
+ 7.05501720400689841250e-02,
+ 6.86351632473627820685e-02,
+ 6.66955815127786150187e-02,
+ 6.47325247941935855156e-02,
+ 6.27470965960619936341e-02,
+ 6.07404054222478104186e-02,
+ 5.87135642290347939398e-02,
+ 5.66676898785539728820e-02,
+ 5.46039025928778953833e-02,
+ 5.25233254090291187821e-02,
+ 5.04270836351378148876e-02,
+ 4.83163043079990264794e-02,
+ 4.61921156522659484556e-02,
+ 4.40556465415169601352e-02,
+ 4.19080259614387148903e-02,
+ 3.97503824753536946779e-02,
+ 3.75838436923350352470e-02,
+ 3.54095357381316658274e-02,
+ 3.32285827291374860626e-02,
+ 3.10421062496353539206e-02,
+ 2.88512248325339532018e-02,
+ 2.66570534438272561950e-02,
+ 2.44607029709929951755e-02,
+ 2.22632797155504665032e-02,
+ 2.00658848899928875242e-02,
+ 1.78696141193047525197e-02,
+ 1.56755569472778119589e-02,
+ 1.34847963478305701845e-02,
+ 1.12984082415343196903e-02,
+ 9.11746101754993230892e-03,
+ 6.94301506117043099736e-03,
+ 4.77612228716621078223e-03,
+ 2.61782567912160601259e-03,
+ 4.69158834953931199938e-04,
+-1.66885448120184334310e-03,
+-3.79520078056328966087e-03,
+-5.90887728454510350456e-03,
+-8.00889235270581950621e-03,
+-1.00942659036281096735e-02,
+-1.21640298285631744818e-02,
+-1.42172283976795769261e-02,
+-1.62529186587560860178e-02,
+-1.82701708281667977996e-02,
+-2.02680686740044913030e-02,
+-2.22457098911984715861e-02,
+-2.42022064684845883420e-02,
+-2.61366850470883434199e-02,
+-2.80482872709881952966e-02,
+-2.99361701286294627777e-02,
+-3.17995062859638480401e-02,
+-3.36374844106955839251e-02,
+-3.54493094876133021942e-02,
+-3.72342031249025678941e-02,
+-3.89914038513265101549e-02,
+-4.07201674041748756805e-02,
+-4.24197670078825320172e-02,
+-4.40894936432238218615e-02,
+-4.57286563069958726380e-02,
+-4.73365822621031329120e-02,
+-4.89126172779674045499e-02,
+-5.04561258611889093539e-02,
+-5.19664914763842064604e-02,
+-5.34431167571409876382e-02,
+-5.48854237070259126652e-02,
+-5.62928538905927214331e-02,
+-5.76648686143374361590e-02,
+-5.90009490975559047765e-02,
+-6.03005966330638770723e-02,
+-6.15633327377404851455e-02,
+-6.27886992928659848356e-02,
+-6.39762586742271682771e-02,
+-6.51255938719669663639e-02,
+-6.62363086001636625078e-02,
+-6.73080273961252362191e-02,
+-6.83403957093936531564e-02,
+-6.93330799804545011567e-02,
+-7.02857677091563298744e-02,
+-7.11981675128459667867e-02,
+-7.20700091742300513742e-02,
+-7.29010436789823551562e-02,
+-7.36910432431144429843e-02,
+-7.44398013301399846808e-02,
+-7.51471326580581411303e-02,
+-7.58128731961966451092e-02,
+-7.64368801519491603003e-02,
+-7.70190319474562123947e-02,
+-7.75592281862732546571e-02,
+-7.80573896100858338754e-02,
+-7.85134580455219832640e-02,
+-7.89273963411314394278e-02,
+-7.92991882945930925963e-02,
+-7.96288385702248469045e-02,
+-7.99163726068679303172e-02,
+-8.01618365162299895132e-02,
+-8.03652969717648935077e-02,
+-8.05268410881816582014e-02,
+-8.06465762916719064446e-02,
+-8.07246301809524391402e-02,
+-8.07611503792237672705e-02,
+-8.07563043771459543319e-02,
+-8.07102793669422780010e-02,
+-8.06232820677405676024e-02,
+-8.04955385422673613816e-02,
+-8.03272940050135386691e-02,
+-8.01188126219958829388e-02,
+-7.98703773022373386681e-02,
+-7.95822894810978148650e-02,
+-7.92548688955872077111e-02,
+-7.88884533517974217975e-02,
+-7.84833984845913629202e-02,
+-7.80400775096937587838e-02,
+-7.75588809683271651618e-02,
+-7.70402164645424963885e-02,
+-7.64845083953963472689e-02,
+-7.58921976741284420864e-02,
+-7.52637414464975562645e-02,
+-7.45996128004335623540e-02,
+-7.39003004691712872543e-02,
+-7.31663085280282593503e-02,
+-7.23981560849959182580e-02,
+-7.15963769653113479841e-02,
+-7.07615193901859063086e-02,
+-6.98941456498595042879e-02,
+-6.89948317711622932658e-02,
+-6.80641671797573843961e-02,
+-6.71027543572484258538e-02,
+-6.61112084933319216207e-02,
+-6.50901571331780198770e-02,
+-6.40402398202278705375e-02,
+-6.29621077345897672828e-02,
+-6.18564233272276414732e-02,
+-6.07238599501278633608e-02,
+-5.95651014826367106170e-02,
+-5.83808419541620299276e-02,
+-5.71717851634284957019e-02,
+-5.59386442944868889082e-02,
+-5.46821415296654678162e-02,
+-5.34030076596649916354e-02,
+-5.21019816909916097525e-02,
+-5.07798104509243897198e-02,
+-4.94372481902171159729e-02,
+-4.80750561837304871138e-02,
+-4.66940023291949543593e-02,
+-4.52948607443019804486e-02,
+-4.38784113623226362799e-02,
+-4.24454395264523623443e-02,
+-4.09967355830820473495e-02,
+-3.95330944741913298257e-02,
+-3.80553153290659820773e-02,
+-3.65642010555344981748e-02,
+-3.50605579309238787888e-02,
+-3.35451951929296859900e-02,
+-3.20189246305989869135e-02,
+-3.04825601756209853266e-02,
+-2.89369174941192380812e-02,
+-2.73828135791425071599e-02,
+-2.58210663440446019923e-02,
+-2.42524942169475357656e-02,
+-2.26779157364765740490e-02,
+-2.10981491489598167732e-02,
+-1.95140120072784944982e-02,
+-1.79263207715556205368e-02,
+-1.63358904118689959861e-02,
+-1.47435340131725541729e-02,
+-1.31500623826066934119e-02,
+-1.15562836593809201841e-02,
+-9.96300292740478522779e-03,
+-8.37102183084635804999e-03,
+-6.78113819279113280714e-03,
+-5.19414563717416049443e-03,
+-3.61083321415951816885e-03,
+-2.03198502912982836496e-03,
+-4.58379875457016528785e-04,
+ 1.10920912878408159559e-03,
+ 2.67001489999788748156e-03,
+ 4.22327674398739229267e-03,
+ 5.76824070645192907292e-03,
+ 7.30415991891262585123e-03,
+ 8.83029493991307340428e-03,
+ 1.03459140913472139728e-02,
+ 1.18502937897689078484e-02,
+ 1.33427188725394711699e-02,
+ 1.48224829186761088151e-02,
+ 1.62888885642629918649e-02,
+ 1.77412478122899279487e-02,
+ 1.91788823367922064977e-02,
+ 2.06011237811589489888e-02,
+ 2.20073140504912223570e-02,
+ 2.33968055978847275234e-02,
+ 2.47689617045220474012e-02,
+ 2.61231567534600458980e-02,
+ 2.74587764969989392427e-02,
+ 2.87752183175302503337e-02,
+ 3.00718914817559267172e-02,
+ 3.13482173881795972425e-02,
+ 3.26036298077741898416e-02,
+ 3.38375751177299316508e-02,
+ 3.50495125281968383790e-02,
+ 3.62389143019323234363e-02,
+ 3.74052659667742509741e-02,
+ 3.85480665208594169835e-02,
+ 3.96668286305130596281e-02,
+ 4.07610788207384555637e-02,
+ 4.18303576582400582495e-02,
+ 4.28742199269152648999e-02,
+ 4.38922347957571498678e-02,
+ 4.48839859791098777508e-02,
+ 4.58490718892284668251e-02,
+ 4.67871057810912635566e-02,
+ 4.76977158894239181008e-02,
+ 4.85805455578927625204e-02,
+ 4.94352533604324947958e-02,
+ 5.02615132146747092823e-02,
+ 5.10590144874505449946e-02,
+ 5.18274620923405288098e-02,
+ 5.25665765792536696099e-02,
+ 5.32760942160161940495e-02,
+ 5.39557670619600152073e-02,
+ 5.46053630334999498541e-02,
+ 5.52246659616954863048e-02,
+ 5.58134756417962285546e-02,
+ 5.63716078747732926568e-02,
+ 5.68988945008435942352e-02,
+ 5.73951834249974424118e-02,
+ 5.78603386345437897820e-02,
+ 5.82942402086913807890e-02,
+ 5.86967843201876629533e-02,
+ 5.90678832290408364902e-02,
+ 5.94074652683551154841e-02,
+ 5.97154748223121395467e-02,
+ 5.99918722963358186373e-02,
+ 6.02366340794795798730e-02,
+ 6.04497524990822918123e-02,
+ 6.06312357677402588574e-02,
+ 6.07811079226447462109e-02,
+ 6.08994087573431347460e-02,
+ 6.09861937459786132565e-02,
+ 6.10415339600735781800e-02,
+ 6.10655159779199541159e-02,
+ 6.10582417866455048894e-02,
+ 6.10198286770287368075e-02,
+ 6.09504091311373757955e-02,
+ 6.08501307028684462752e-02,
+ 6.07191558914731074892e-02,
+ 6.05576620081493127712e-02,
+ 6.03658410357920463540e-02,
+ 6.01438994819913433365e-02,
+ 5.98920582253712890930e-02,
+ 5.96105523553696475814e-02,
+ 5.92996310055547357076e-02,
+ 5.89595571805846263569e-02,
+ 5.85906075769135961662e-02,
+ 5.81930723973530239501e-02,
+ 5.77672551595985947492e-02,
+ 5.73134724988377947108e-02,
+ 5.68320539645518138516e-02,
+ 5.63233418116318024227e-02,
+ 5.57876907859301829351e-02,
+ 5.52254679043691909524e-02,
+ 5.46370522297332239514e-02,
+ 5.40228346402717510277e-02,
+ 5.33832175942438452720e-02,
+ 5.27186148895339920517e-02,
+ 5.20294514184751963337e-02,
+ 5.13161629180133513350e-02,
+ 5.05791957153526455793e-02,
+ 4.98190064692186004858e-02,
+ 4.90360619068817560340e-02,
+ 4.82308385570846126500e-02,
+ 4.74038224790149093080e-02,
+ 4.65555089874726130139e-02,
+ 4.56864023743756911267e-02,
+ 4.47970156267560870589e-02,
+ 4.38878701413918104191e-02,
+ 4.29594954362301426065e-02,
+ 4.20124288587509150950e-02,
+ 4.10472152914242438548e-02,
+ 4.00644068544164441703e-02,
+ 3.90645626056996611575e-02,
+ 3.80482482387188569728e-02,
+ 3.70160357777762072384e-02,
+ 3.59685032712854929615e-02,
+ 3.49062344830574772248e-02,
+ 3.38298185817733007563e-02,
+ 3.27398498288028888537e-02,
+ 3.16369272645302956892e-02,
+ 3.05216543933420694779e-02,
+ 2.93946388674391281826e-02,
+ 2.82564921696314662325e-02,
+ 2.71078292952747976208e-02,
+ 2.59492684335090040282e-02,
+ 2.47814306479556094309e-02,
+ 2.36049395570361274233e-02,
+ 2.24204210140672086093e-02,
+ 2.12285027872915685321e-02,
+ 2.00298142400041241651e-02,
+ 1.88249860109280658937e-02,
+ 1.76146496949991550329e-02,
+ 1.63994375247131611573e-02,
+ 1.51799820521929199751e-02,
+ 1.39569158321288973312e-02,
+ 1.27308711057459132687e-02,
+ 1.15024794859493635635e-02,
+ 1.02723716438034538834e-02,
+ 9.04117699648874194318e-03,
+ 7.80952339689281599400e-03,
+ 6.57803682497710377058e-03,
+ 5.34734108107065390925e-03,
+ 4.11805748123311807923e-03,
+ 2.89080455483250748500e-03,
+ 1.66619774448026097997e-03,
+ 4.44849108462394484276e-04,
+-7.72632974192619353775e-04,
+-1.98564409587129479459e-03,
+-3.19358410962515939027e-03,
+-4.39585741537518604610e-03,
+-5.59187324294384193596e-03,
+-6.78104593178024354222e-03,
+-7.96279520725374188872e-03,
+-9.13654645338901789942e-03,
+-1.03017309819179135599e-02,
+-1.14577862975281108415e-02,
+-1.26041563591888523127e-02,
+-1.37402918374362748022e-02,
+-1.48656503675044012608e-02,
+-1.59796967981878784704e-02,
+-1.70819034363291870349e-02,
+-1.81717502868205364741e-02,
+-1.92487252880175659098e-02,
+-2.03123245424604338683e-02,
+-2.13620525428040268501e-02,
+-2.23974223928605567502e-02,
+-2.34179560236593246880e-02,
+-2.44231844044319607034e-02,
+-2.54126477484353970049e-02,
+-2.63858957135253285875e-02,
+-2.73424875973971651111e-02,
+-2.82819925274152735029e-02,
+-2.92039896449517132060e-02,
+-3.01080682841611060874e-02,
+-3.09938281451182656712e-02,
+-3.18608794612527251866e-02,
+-3.27088431610126698090e-02,
+-3.35373510236956218211e-02,
+-3.43460458293886189418e-02,
+-3.51345815029584646050e-02,
+-3.59026232520415142235e-02,
+-3.66498476989806504234e-02,
+-3.73759430066653228208e-02,
+-3.80806089982259413085e-02,
+-3.87635572705481989964e-02,
+-3.94245113015637763110e-02,
+-4.00632065512871449187e-02,
+-4.06793905565660182666e-02,
+-4.12728230195161804872e-02,
+-4.18432758896181006270e-02,
+-4.23905334394521562946e-02,
+-4.29143923340550431655e-02,
+-4.34146616938810431252e-02,
+-4.38911631513571320884e-02,
+-4.43437309010235244933e-02,
+-4.47722117432520008706e-02,
+-4.51764651215424140052e-02,
+-4.55563631533957985598e-02,
+-4.59117906547691981278e-02,
+-4.62426451581186420681e-02,
+-4.65488369240420196693e-02,
+-4.68302889465325583584e-02,
+-4.70869369518625499604e-02,
+-4.73187293911136036551e-02,
+-4.75256274263797934276e-02,
+-4.77076049106652452791e-02,
+-4.78646483615089088359e-02,
+-4.79967569283660938639e-02,
+-4.81039423537813551346e-02,
+-4.81862289283918193705e-02,
+-4.82436534398009986280e-02,
+-4.82762651153660765635e-02,
+-4.82841255589469900422e-02,
+-4.82673086816636301433e-02,
+-4.82259006267171733140e-02,
+-4.81599996883273831494e-02,
+-4.80697162248445095112e-02,
+-4.79551725660972635867e-02,
+-4.78165029150386111656e-02,
+-4.76538532437557615928e-02,
+-4.74673811839129988766e-02,
+-4.72572559116971463444e-02,
+-4.70236580273407853148e-02,
+-4.67667794292976057857e-02,
+-4.64868231831488537553e-02,
+-4.61840033853220879867e-02,
+-4.58585450217043055776e-02,
+-4.55106838212354786188e-02,
+-4.51406661045703067048e-02,
+-4.47487486278967949715e-02,
+-4.43351984220053674246e-02,
+-4.39002926267011706063e-02,
+-4.34443183206557337339e-02,
+-4.29675723467968784242e-02,
+-4.24703611333365343983e-02,
+-4.19530005105376649355e-02,
+-4.14158155233245728333e-02,
+-4.08591402398425090903e-02,
+-4.02833175560728118381e-02,
+-3.96886989966125647289e-02,
+-3.90756445117304562764e-02,
+-3.84445222708086342678e-02,
+-3.77957084522856853748e-02,
+-3.71295870302152039577e-02,
+-3.64465495575560030628e-02,
+-3.57469949463106728693e-02,
+-3.50313292446328208851e-02,
+-3.42999654110217877534e-02,
+-3.35533230857262762536e-02,
+-3.27918283594781714840e-02,
+-3.20159135396808763874e-02,
+-3.12260169141751545152e-02,
+-3.04225825127068701115e-02,
+-2.96060598662241068746e-02,
+-2.87769037641279583351e-02,
+-2.79355740096046620269e-02,
+-2.70825351731674365818e-02,
+-2.62182563445339765484e-02,
+-2.53432108829716763732e-02,
+-2.44578761662360491536e-02,
+-2.35627333382326387134e-02,
+-2.26582670555346976649e-02,
+-2.17449652328813719526e-02,
+-2.08233187877915476571e-02,
+-1.98938213844193738378e-02,
+-1.89569691767836438767e-02,
+-1.80132605515005567165e-02,
+-1.70631958701489179486e-02,
+-1.61072772113989640119e-02,
+-1.51460081130329674015e-02,
+-1.41798933139869222375e-02,
+-1.32094384965426719925e-02,
+-1.22351500287977872639e-02,
+-1.12575347075429474386e-02,
+-1.02770995016708190789e-02,
+-9.29435129624720662855e-03,
+-8.30979663736668323903e-03,
+-7.32394147791955510418e-03,
+-6.33729092439597792991e-03,
+-5.35034898484767259402e-03,
+-4.36361831813259892082e-03,
+-3.37759998456233596562e-03,
+-2.39279319807447028376e-03,
+-1.40969508004874419758e-03,
+-4.28800414884481764701e-04,
+ 5.49398592542026499921e-04,
+ 1.52441255742493384819e-03,
+ 2.49575515346705124192e-03,
+ 3.46294334909421361660e-03,
+ 4.42549764133481383921e-03,
+ 5.38294228725484918269e-03,
+ 6.33480553283812409388e-03,
+ 7.28061983920614500670e-03,
+ 8.21992210606954480656e-03,
+ 9.15225389230991427658e-03,
+ 1.00771616335884814375e-02,
+ 1.09941968568804098599e-02,
+ 1.19029163918370119862e-02,
+ 1.28028825788794285712e-02,
+ 1.36936634739278067369e-02,
+ 1.45748330496734655737e-02,
+ 1.54459713933036285605e-02,
+ 1.63066649005877105372e-02,
+ 1.71565064662418664820e-02,
+ 1.79950956704824222010e-02,
+ 1.88220389616893905849e-02,
+ 1.96369498350979915235e-02,
+ 2.04394490074384753420e-02,
+ 2.12291645874509368741e-02,
+ 2.20057322421993752093e-02,
+ 2.27687953591133446229e-02,
+ 2.35180052036899414625e-02,
+ 2.42530210727860510989e-02,
+ 2.49735104434401083973e-02,
+ 2.56791491171582640651e-02,
+ 2.63696213596067048635e-02,
+ 2.70446200356534542653e-02,
+ 2.77038467397033236206e-02,
+ 2.83470119212748915272e-02,
+ 2.89738350057704117935e-02,
+ 2.95840445103900430424e-02,
+ 3.01773781551470283990e-02,
+ 3.07535829689405612597e-02,
+ 3.13124153906489052779e-02,
+ 3.18536413652031544230e-02,
+ 3.23770364346098321606e-02,
+ 3.28823858238901367557e-02,
+ 3.33694845219050725826e-02,
+ 3.38381373570426913222e-02,
+ 3.42881590677418662816e-02,
+ 3.47193743678329280744e-02,
+ 3.51316180066747196786e-02,
+ 3.55247348240743179848e-02,
+ 3.58985797999757036414e-02,
+ 3.62530180989057912444e-02,
+ 3.65879251091717136446e-02,
+ 3.69031864768026920953e-02,
+ 3.71986981342348130286e-02,
+ 3.74743663237384755371e-02,
+ 3.77301076155911810361e-02,
+ 3.79658489210015839821e-02,
+ 3.81815274997910139576e-02,
+ 3.83770909628457501661e-02,
+ 3.85524972693506232102e-02,
+ 3.87077147188212219997e-02,
+ 3.88427219379517477127e-02,
+ 3.89575078623010107037e-02,
+ 3.90520717128378727634e-02,
+ 3.91264229673738417326e-02,
+ 3.91805813269093319851e-02,
+ 3.92145766769267448137e-02,
+ 3.92284490436606639308e-02,
+ 3.92222485453833716318e-02,
+ 3.91960353387427393179e-02,
+ 3.91498795601925853038e-02,
+ 3.90838612625587153437e-02,
+ 3.89980703467861372635e-02,
+ 3.88926064889137598768e-02,
+ 3.87675790623278684888e-02,
+ 3.86231070553441427351e-02,
+ 3.84593189841744911850e-02,
+ 3.82763528013330134314e-02,
+ 3.80743557995419576456e-02,
+ 3.78534845111941978257e-02,
+ 3.76139046034402041441e-02,
+ 3.73557907689583551525e-02,
+ 3.70793266124797640804e-02,
+ 3.67847045331337260676e-02,
+ 3.64721256026843687614e-02,
+ 3.61417994397318920186e-02,
+ 3.57939440799517269443e-02,
+ 3.54287858424472551500e-02,
+ 3.50465591922946295700e-02,
+ 3.46475065993586336943e-02,
+ 3.42318783934602438590e-02,
+ 3.37999326159794388769e-02,
+ 3.33519348679760310739e-02,
+ 3.28881581549163512501e-02,
+ 3.24088827280907126882e-02,
+ 3.19143959228117141125e-02,
+ 3.14049919934835039537e-02,
+ 3.08809719456320137809e-02,
+ 3.03426433649902835277e-02,
+ 2.97903202437320435703e-02,
+ 2.92243228039485228309e-02,
+ 2.86449773184645310742e-02,
+ 2.80526159290918272737e-02,
+ 2.74475764624171579553e-02,
+ 2.68302022432251076334e-02,
+ 2.62008419056547099679e-02,
+ 2.55598492021924458828e-02,
+ 2.49075828106016076979e-02,
+ 2.42444061388931500489e-02,
+ 2.35706871284384854304e-02,
+ 2.28867980553310382263e-02,
+ 2.21931153300989475463e-02,
+ 2.14900192958749729211e-02,
+ 2.07778940251304410081e-02,
+ 2.00571271150767407865e-02,
+ 1.93281094818433703264e-02,
+ 1.85912351535375483524e-02,
+ 1.78469010622939669442e-02,
+ 1.70955068354214992365e-02,
+ 1.63374545857532041393e-02,
+ 1.55731487013095522970e-02,
+ 1.48029956343801779445e-02,
+ 1.40274036901342491479e-02,
+ 1.32467828148644800601e-02,
+ 1.24615443839752523814e-02,
+ 1.16721009898197274068e-02,
+ 1.08788662294939664221e-02,
+ 1.00822544926967554851e-02,
+ 9.28268074975848594965e-03,
+ 8.48056033994836096224e-03,
+ 7.67630876016376067356e-03,
+ 6.87034145410842303492e-03,
+ 6.06307360206417237519e-03,
+ 5.25491991135924960826e-03,
+ 4.44629440763854959229e-03,
+ 3.63761022703795386390e-03,
+ 2.82927940936458007654e-03,
+ 2.02171269238637712692e-03,
+ 1.21531930732854268409e-03,
+ 4.10506775680379075531e-04,
+-3.92319292591773477897e-04,
+-1.19275539932616717227e-03,
+-1.99040035684389668771e-03,
+-2.78485548493010359392e-03,
+-3.57572480602225085608e-03,
+-4.36261523851058825862e-03,
+-5.14513678806150041162e-03,
+-5.92290273686880194143e-03,
+-6.69552983074627079685e-03,
+-7.46263846397084845696e-03,
+-8.22385286178995214557e-03,
+-8.97880126050735853649e-03,
+-9.72711608506233310623e-03,
+-1.04684341240196421979e-02,
+-1.12023967018896625919e-02,
+-1.19286498486973670946e-02,
+-1.26468444667234853479e-02,
+-1.33566364943390990250e-02,
+-1.40576870668614704873e-02,
+-1.47496626743549175825e-02,
+-1.54322353163073335003e-02,
+-1.61050826531120676310e-02,
+-1.67678881542855998110e-02,
+-1.74203412433571909468e-02,
+-1.80621374393645714451e-02,
+-1.86929784948938332301e-02,
+-1.93125725306022809347e-02,
+-1.99206341661660978060e-02,
+-2.05168846475965727105e-02,
+-2.11010519708690891250e-02,
+-2.16728710018125117487e-02,
+-2.22320835922093923420e-02,
+-2.27784386920556920775e-02,
+-2.33116924579366280312e-02,
+-2.38316083574713066806e-02,
+-2.43379572697852361585e-02,
+-2.48305175819705514773e-02,
+-2.53090752814938702020e-02,
+-2.57734240445178890144e-02,
+-2.62233653201022591517e-02,
+-2.66587084102499136118e-02,
+-2.70792705457725754736e-02,
+-2.74848769579453880429e-02,
+-2.78753609459266790682e-02,
+-2.82505639399193153594e-02,
+-2.86103355600531468472e-02,
+-2.89545336709700236455e-02,
+-2.92830244320940215330e-02,
+-2.95956823435738237971e-02,
+-2.98923902878850261677e-02,
+-3.01730395670819218079e-02,
+-3.04375299356923270655e-02,
+-3.06857696292481205158e-02,
+-3.09176753884519220361e-02,
+-3.11331724789744579418e-02,
+-3.13321947068878961518e-02,
+-3.15146844297364905896e-02,
+-3.16805925632501414468e-02,
+-3.18298785837100445262e-02,
+-3.19625105259753808373e-02,
+-3.20784649771835711496e-02,
+-3.21777270661380843109e-02,
+-3.22602904484012090180e-02,
+-3.23261572871092819903e-02,
+-3.23753382295313973938e-02,
+-3.24078523793953007792e-02,
+-3.24237272650036850719e-02,
+-3.24229988031694352224e-02,
+-3.24057112589975146455e-02,
+-3.23719172015455164404e-02,
+-3.23216774553950619842e-02,
+-3.22550610481695601561e-02,
+-3.21721451540349229203e-02,
+-3.20730150332222269105e-02,
+-3.19577639676131355917e-02,
+-3.18264931924307492572e-02,
+-3.16793118240798893259e-02,
+-3.15163367841841124406e-02,
+-3.13376927198667984409e-02,
+-3.11435119203261716325e-02,
+-3.09339342297566856355e-02,
+-3.07091069566692957682e-02,
+-3.04691847796660503223e-02,
+-3.02143296497258302680e-02,
+-2.99447106890591077666e-02,
+-2.96605040865920502324e-02,
+-2.93618929901409558836e-02,
+-2.90490673953408620744e-02,
+-2.87222240313914564669e-02,
+-2.83815662436870431995e-02,
+-2.80273038733983362314e-02,
+-2.76596531340728875314e-02,
+-2.72788364853265505316e-02,
+-2.68850825036951179836e-02,
+-2.64786257507202589523e-02,
+-2.60597066383420963853e-02,
+-2.56285712916748155410e-02,
+-2.51854714092403474124e-02,
+-2.47306641207374125480e-02,
+-2.42644118424243347698e-02,
+-2.37869821301946587910e-02,
+-2.32986475304263404573e-02,
+-2.27996854286841091342e-02,
+-2.22903778963591883699e-02,
+-2.17710115353269804961e-02,
+-2.12418773207074841614e-02,
+-2.07032704418132450230e-02,
+-2.01554901413684046940e-02,
+-1.95988395530860316784e-02,
+-1.90336255376889230961e-02,
+-1.84601585174617617569e-02,
+-1.78787523094215382302e-02,
+-1.72897239571940322667e-02,
+-1.66933935616846752803e-02,
+-1.60900841106333160335e-02,
+-1.54801213071404045879e-02,
+-1.48638333972560768986e-02,
+-1.42415509967192804169e-02,
+-1.36136069169392123768e-02,
+-1.29803359903072849241e-02,
+-1.23420748949298001579e-02,
+-1.16991619788734471652e-02,
+-1.10519370840110493781e-02,
+-1.04007413695592701441e-02,
+-9.74591713539885336204e-03,
+-9.08780764526554395155e-03,
+-8.42675694990374125892e-03,
+-7.76310971027038485004e-03,
+-7.09721102088000169172e-03,
+-6.42940623337920000302e-03,
+-5.76004078043931225933e-03,
+-5.08946000005612835676e-03,
+-4.41800896034429992076e-03,
+-3.74603228491338785533e-03,
+-3.07387397891339432532e-03,
+-2.40187725583507205585e-03,
+-1.73038436515272897598e-03,
+-1.05973642089167863906e-03,
+-3.90273231208217510901e-04,
+ 2.77666870936983212030e-04,
+ 9.43747195927376416637e-04,
+ 1.60763286437934816049e-03,
+ 2.26899097268967123858e-03,
+ 2.92749075716241266912e-03,
+ 3.58280375663248612170e-03,
+ 4.23460397351204959754e-03,
+ 4.88256803317746110316e-03,
+ 5.52637534162357668688e-03,
+ 6.16570824130805751617e-03,
+ 6.80025216511182754170e-03,
+ 7.42969578834302112058e-03,
+ 8.05373117871052007777e-03,
+ 8.67205394419879975476e-03,
+ 9.28436337877218062498e-03,
+ 9.89036260584076794278e-03,
+ 1.04897587194219873291e-02,
+ 1.10822629229305347903e-02,
+ 1.16675906655330941658e-02,
+ 1.22454617760050857300e-02,
+ 1.28156005940266576326e-02,
+ 1.33777360988594062191e-02,
+ 1.39316020353439252305e-02,
+ 1.44769370371622355803e-02,
+ 1.50134847473070466572e-02,
+ 1.55409939357074259464e-02,
+ 1.60592186139547725421e-02,
+ 1.65679181470810912846e-02,
+ 1.70668573623377166359e-02,
+ 1.75558066549289203129e-02,
+ 1.80345420906532633021e-02,
+ 1.85028455054086320153e-02,
+ 1.89605046015185567387e-02,
+ 1.94073130408384669776e-02,
+ 1.98430705346031681369e-02,
+ 2.02675829299774241943e-02,
+ 2.06806622932754168021e-02,
+ 2.10821269898129222409e-02,
+ 2.14718017603625459244e-02,
+ 2.18495177941796202281e-02,
+ 2.22151127985720682478e-02,
+ 2.25684310649855168762e-02,
+ 2.29093235315810418717e-02,
+ 2.32376478422810298086e-02,
+ 2.35532684022618996056e-02,
+ 2.38560564298757396551e-02,
+ 2.41458900049817716538e-02,
+ 2.44226541136732810955e-02,
+ 2.46862406893853837675e-02,
+ 2.49365486503724774481e-02,
+ 2.51734839335446165809e-02,
+ 2.53969595246556420487e-02,
+ 2.56068954848354853049e-02,
+ 2.58032189734641453915e-02,
+ 2.59858642673822630431e-02,
+ 2.61547727764399259853e-02,
+ 2.63098930553838268598e-02,
+ 2.64511808120856638238e-02,
+ 2.65785989121172516736e-02,
+ 2.66921173796784670651e-02,
+ 2.67917133948867500215e-02,
+ 2.68773712874392570193e-02,
+ 2.69490825266583827746e-02,
+ 2.70068457079358954787e-02,
+ 2.70506665355911626869e-02,
+ 2.70805578021602322281e-02,
+ 2.70965393641366091015e-02,
+ 2.70986381141830531827e-02,
+ 2.70868879498386908034e-02,
+ 2.70613297387449595888e-02,
+ 2.70220112804171637422e-02,
+ 2.69689872645891524916e-02,
+ 2.69023192261612989484e-02,
+ 2.68220754967820745884e-02,
+ 2.67283311530973760606e-02,
+ 2.66211679617003732501e-02,
+ 2.65006743208199592454e-02,
+ 2.63669451987833119988e-02,
+ 2.62200820692939373657e-02,
+ 2.60601928435633990733e-02,
+ 2.58873917993413214800e-02,
+ 2.57017995068857182939e-02,
+ 2.55035427519193710899e-02,
+ 2.52927544556184984159e-02,
+ 2.50695735916821975386e-02,
+ 2.48341451005307974065e-02,
+ 2.45866198006852616775e-02,
+ 2.43271542973778100161e-02,
+ 2.40559108884488212499e-02,
+ 2.37730574675824729569e-02,
+ 2.34787674249385819314e-02,
+ 2.31732195452361150467e-02,
+ 2.28565979033475072391e-02,
+ 2.25290917574611608554e-02,
+ 2.21908954398750551951e-02,
+ 2.18422082454798119344e-02,
+ 2.14832343179954671220e-02,
+ 2.11141825340238932507e-02,
+ 2.07352663849828984521e-02,
+ 2.03467038569848726604e-02,
+ 1.99487173087274823058e-02,
+ 1.95415333474632871291e-02,
+ 1.91253827031149341298e-02,
+ 1.87005001006056471857e-02,
+ 1.82671241304729649324e-02,
+ 1.78254971178373536334e-02,
+ 1.73758649897937239581e-02,
+ 1.69184771412996537432e-02,
+ 1.64535862996303787475e-02,
+ 1.59814483874737844893e-02,
+ 1.55023223847373312068e-02,
+ 1.50164701891417791402e-02,
+ 1.45241564756737676078e-02,
+ 1.40256485549719173145e-02,
+ 1.35212162307227472952e-02,
+ 1.30111316561379447565e-02,
+ 1.24956691895912394563e-02,
+ 1.19751052494878589688e-02,
+ 1.14497181684445926975e-02,
+ 1.09197880468538122134e-02,
+ 1.03855966059087159725e-02,
+ 9.84742704016562143965e-03,
+ 9.30556386971926295659e-03,
+ 8.76029279206604755137e-03,
+ 8.21190053373426452621e-03,
+ 7.66067470175298657897e-03,
+ 7.10690363503945106427e-03,
+ 6.55087625577790554771e-03,
+ 5.99288192086684483317e-03,
+ 5.43321027350959859931e-03,
+ 4.87215109502278989617e-03,
+ 4.30999415693893248719e-03,
+ 3.74702907347534584434e-03,
+ 3.18354515444554302464e-03,
+ 2.61983125868587608809e-03,
+ 2.05617564807023672779e-03,
+ 1.49286584218635853295e-03,
+ 9.30188473745678081825e-04,
+ 3.68429144797911432754e-04,
+-1.92127716177123029819e-04,
+-7.51198996231790326432e-04,
+-1.30850303889562991251e-03,
+-1.86375978403549190029e-03,
+-2.41669090655965632108e-03,
+-2.96701995390177180115e-03,
+-3.51447248221491799144e-03,
+-4.05877619121137057229e-03,
+-4.59966105758124674252e-03,
+-5.13685946692752325171e-03,
+-5.67010634415242211620e-03,
+-6.19913928223347811958e-03,
+-6.72369866932763082107e-03,
+-7.24352781414225668777e-03,
+-7.75837306951438713393e-03,
+-8.26798395413882135363e-03,
+-8.77211327238880053669e-03,
+-9.27051723217174085401e-03,
+-9.76295556076584719607e-03,
+-1.02491916185828580571e-02,
+-1.07289925108050229752e-02,
+-1.12021291968433227976e-02,
+-1.16683765975679858140e-02,
+-1.21275137002619763649e-02,
+-1.25793236612475982372e-02,
+-1.30235939061431136438e-02,
+-1.34601162277011333901e-02,
+-1.38886868811863382206e-02,
+-1.43091066772499612286e-02,
+-1.47211810722588463257e-02,
+-1.51247202560407922184e-02,
+-1.55195392370066180543e-02,
+-1.59054579246123636849e-02,
+-1.62823012091269786472e-02,
+-1.66498990386690776111e-02,
+-1.70080864934834194435e-02,
+-1.73567038574233001302e-02,
+-1.76955966866107171354e-02,
+-1.80246158752456059338e-02,
+-1.83436177185377254084e-02,
+-1.86524639727363474029e-02,
+-1.89510219122339153286e-02,
+-1.92391643837212557300e-02,
+-1.95167698573757708580e-02,
+-1.97837224750605396306e-02,
+-2.00399120955206018480e-02,
+-2.02852343365580237156e-02,
+-2.05195906141726648608e-02,
+-2.07428881786561915279e-02,
+-2.09550401476275363621e-02,
+-2.11559655360012838221e-02,
+-2.13455892828807378137e-02,
+-2.15238422753686667321e-02,
+-2.16906613692930197446e-02,
+-2.18459894068418723767e-02,
+-2.19897752311081634558e-02,
+-2.21219736975437064608e-02,
+-2.22425456823232385595e-02,
+-2.23514580876230314899e-02,
+-2.24486838438175441424e-02,
+-2.25342019086016941143e-02,
+-2.26079972630452222249e-02,
+-2.26700609045897422122e-02,
+-2.27203898369985682337e-02,
+-2.27589870572722542674e-02,
+-2.27858615395436989171e-02,
+-2.28010282159679666947e-02,
+-2.28045079546240481161e-02,
+-2.27963275344472623973e-02,
+-2.27765196172116414497e-02,
+-2.27451227165837051303e-02,
+-2.27021811642711575374e-02,
+-2.26477450732895796426e-02,
+-2.25818702983737081003e-02,
+-2.25046183935598033410e-02,
+-2.24160565669674592681e-02,
+-2.23162576328110422164e-02,
+-2.22052999606712764269e-02,
+-2.20832674220598039472e-02,
+-2.19502493343100429923e-02,
+-2.18063404018299551723e-02,
+-2.16516406547519850434e-02,
+-2.14862553850184781479e-02,
+-2.13102950799411924865e-02,
+-2.11238753532740700103e-02,
+-2.09271168738412970123e-02,
+-2.07201452917621688210e-02,
+-2.05030911623162483137e-02,
+-2.02760898674933312535e-02,
+-2.00392815352738624946e-02,
+-1.97928109566855824075e-02,
+-1.95368275006852568088e-02,
+-1.92714850269127511984e-02,
+-1.89969417963674683247e-02,
+-1.87133603800582019872e-02,
+-1.84209075656767175266e-02,
+-1.81197542623479680712e-02,
+-1.78100754035098000905e-02,
+-1.74920498479764381650e-02,
+-1.71658602792400527548e-02,
+-1.68316931030659776292e-02,
+-1.64897383434381879230e-02,
+-1.61401895369109177336e-02,
+-1.57832436254263346054e-02,
+-1.54191008476533275573e-02,
+-1.50479646289087866384e-02,
+-1.46700414697199573583e-02,
+-1.42855408330877838713e-02,
+-1.38946750305117498053e-02,
+-1.34976591068377456406e-02,
+-1.30947107239892130554e-02,
+-1.26860500436455827383e-02,
+-1.22718996089274719891e-02,
+-1.18524842251538416876e-02,
+-1.14280308397327317466e-02,
+-1.09987684212486756113e-02,
+-1.05649278378112127658e-02,
+-1.01267417347274506223e-02,
+-9.68444441156269923698e-03,
+-9.23827169865409740523e-03,
+-8.78846083313997161746e-03,
+-8.33525033457069991494e-03,
+-7.87887988016375100109e-03,
+-7.41959017977004194749e-03,
+-6.95762285061261864794e-03,
+-6.49322029186454475341e-03,
+-6.02662555912889408988e-03,
+-5.55808223888622741915e-03,
+-5.08783432297227420499e-03,
+-4.61612608315053844776e-03,
+-4.14320194584339666216e-03,
+-3.66930636708468534829e-03,
+-3.19468370775774284862e-03,
+-2.71957810918098006822e-03,
+-2.24423336910424412252e-03,
+-1.76889281817741881794e-03,
+-1.29379919695378617014e-03,
+-8.19194533489142270866e-04,
+-3.45320021597831196877e-04,
+ 1.27584100174339069422e-04,
+ 5.99278668799195350127e-04,
+ 1.06952571617924155171e-03,
+ 1.53808858766556200148e-03,
+ 2.00473205962055367468e-03,
+ 2.46922245597071959855e-03,
+ 2.93132776369034713654e-03,
+ 3.39081774716058033034e-03,
+ 3.84746406134854872921e-03,
+ 4.30104036375060765768e-03,
+ 4.75132242504706578390e-03,
+ 5.19808823841395525878e-03,
+ 5.64111812743960539668e-03,
+ 6.08019485259521982184e-03,
+ 6.51510371620631252576e-03,
+ 6.94563266587837867261e-03,
+ 7.37157239632470640683e-03,
+ 7.79271644955021464130e-03,
+ 8.20886131334327799614e-03,
+ 8.61980651802961989061e-03,
+ 9.02535473144288127867e-03,
+ 9.42531185206835209200e-03,
+ 9.81948710031542437715e-03,
+ 1.02076931078787062901e-02,
+ 1.05897460051441894696e-02,
+ 1.09654655066032842570e-02,
+ 1.13346749942337312461e-02,
+ 1.16972015988115480428e-02,
+ 1.20528762791150233225e-02,
+ 1.24015338989890838706e-02,
+ 1.27430133022312791491e-02,
+ 1.30771573852710050467e-02,
+ 1.34038131676064240644e-02,
+ 1.37228318599705717551e-02,
+ 1.40340689301969769737e-02,
+ 1.43373841667557219703e-02,
+ 1.46326417399349796578e-02,
+ 1.49197102606399897157e-02,
+ 1.51984628367875466287e-02,
+ 1.54687771272712503573e-02,
+ 1.57305353934761547874e-02,
+ 1.59836245483238222065e-02,
+ 1.62279362028255533246e-02,
+ 1.64633667101300000535e-02,
+ 1.66898172070444779369e-02,
+ 1.69071936530182861946e-02,
+ 1.71154068665722303155e-02,
+ 1.73143725591620549487e-02,
+ 1.75040113664655661019e-02,
+ 1.76842488770822502120e-02,
+ 1.78550156586383436397e-02,
+ 1.80162472812886650941e-02,
+ 1.81678843386109678537e-02,
+ 1.83098724658869831117e-02,
+ 1.84421623557678958372e-02,
+ 1.85647097713225045501e-02,
+ 1.86774755564665419227e-02,
+ 1.87804256437758242126e-02,
+ 1.88735310596836944330e-02,
+ 1.89567679270675991388e-02,
+ 1.90301174652290280842e-02,
+ 1.90935659872729333875e-02,
+ 1.91471048948949201796e-02,
+ 1.91907306705839213190e-02,
+ 1.92244448672513647269e-02,
+ 1.92482540952976406701e-02,
+ 1.92621700071291257483e-02,
+ 1.92662092791390723856e-02,
+ 1.92603935911679381709e-02,
+ 1.92447496034597632930e-02,
+ 1.92193089311317975854e-02,
+ 1.91841081161766568997e-02,
+ 1.91391885970173640519e-02,
+ 1.90845966756356746896e-02,
+ 1.90203834822977521646e-02,
+ 1.89466049378990836205e-02,
+ 1.88633217139549183572e-02,
+ 1.87705991902617184974e-02,
+ 1.86685074102564685372e-02,
+ 1.85571210341025014112e-02,
+ 1.84365192895308768750e-02,
+ 1.83067859204682249763e-02,
+ 1.81680091334814851345e-02,
+ 1.80202815420731528306e-02,
+ 1.78637001088602434540e-02,
+ 1.76983660856705124487e-02,
+ 1.75243849515933046435e-02,
+ 1.73418663490196370280e-02,
+ 1.71509240177099529789e-02,
+ 1.69516757269280171627e-02,
+ 1.67442432056789658468e-02,
+ 1.65287520710933055756e-02,
+ 1.63053317549959643495e-02,
+ 1.60741154287042248283e-02,
+ 1.58352399260948337179e-02,
+ 1.55888456649855098451e-02,
+ 1.53350765668743439091e-02,
+ 1.50740799750810755553e-02,
+ 1.48060065713376716456e-02,
+ 1.45310102908721653497e-02,
+ 1.42492482360351419013e-02,
+ 1.39608805885138576031e-02,
+ 1.36660705201842418155e-02,
+ 1.33649841026482960049e-02,
+ 1.30577902155067059053e-02,
+ 1.27446604534163440703e-02,
+ 1.24257690319823609071e-02,
+ 1.21012926925372719250e-02,
+ 1.17714106058561026463e-02,
+ 1.14363042748611334204e-02,
+ 1.10961574363676110377e-02,
+ 1.07511559619219848605e-02,
+ 1.04014877577871447251e-02,
+ 1.00473426641261246589e-02,
+ 9.68891235343915212253e-03,
+ 9.32639022830554151322e-03,
+ 8.95997131848667513476e-03,
+ 8.58985217744295814768e-03,
+ 8.21623077831776238433e-03,
+ 7.83930640944576623275e-03,
+ 7.45927956943647635368e-03,
+ 7.07635186189118064320e-03,
+ 6.69072588980388575225e-03,
+ 6.30260514970595094736e-03,
+ 5.91219392560345287368e-03,
+ 5.51969718276637197341e-03,
+ 5.12532046142244023662e-03,
+ 4.72926977040892190796e-03,
+ 4.33175148083997027526e-03,
+ 3.93297221983980160170e-03,
+ 3.53313876439927251547e-03,
+ 3.13245793540825817960e-03,
+ 2.73113649191582047102e-03,
+ 2.32938102567640907548e-03,
+ 1.92739785602901348045e-03,
+ 1.52539292516795199454e-03,
+ 1.12357169385324685146e-03,
+ 7.22139037616026076630e-04,
+ 3.21299143509566089132e-04,
+-7.87445925439102364842e-05,
+-4.77789667756481134173e-04,
+-8.75634573781077039240e-04,
+-1.27207889726797546831e-03,
+-1.66692341962379432171e-03,
+-2.05997021592245954311e-03,
+-2.45102275292159678052e-03,
+-2.83988598613405971924e-03,
+-3.22636645590845556192e-03,
+-3.61027238247302534671e-03,
+-3.99141375989387706819e-03,
+-4.36960244890573310667e-03,
+-4.74465226856734742511e-03,
+-5.11637908669945132983e-03,
+-5.48460090906132020916e-03,
+-5.84913796722293360258e-03,
+-6.20981280509260748224e-03,
+-6.56645036405622325310e-03,
+-6.91887806669126605857e-03,
+-7.26692589901343100750e-03,
+-7.61042649121839841903e-03,
+-7.94921519688219710420e-03,
+-8.28313017058056322295e-03,
+-8.61201244389523008771e-03,
+-8.93570599976736823500e-03,
+-9.25405784516927093497e-03,
+-9.56691808205707705515e-03,
+-9.87413997657404438058e-03,
+-1.01755800264738422573e-02,
+-1.04710980267316584175e-02,
+-1.07605571333162300385e-02,
+-1.10438239250919990192e-02,
+-1.13207684638271209587e-02,
+-1.15912643522783440769e-02,
+-1.18551887903295075782e-02,
+-1.21124226291589674048e-02,
+-1.23628504234125462247e-02,
+-1.26063604813613176076e-02,
+-1.28428449130213884893e-02,
+-1.30721996762182875867e-02,
+-1.32943246205750771616e-02,
+-1.35091235294078314266e-02,
+-1.37165041595128135710e-02,
+-1.39163782788270101731e-02,
+-1.41086617019519286464e-02,
+-1.42932743235239592683e-02,
+-1.44701401494216879556e-02,
+-1.46391873257979802936e-02,
+-1.48003481659278162547e-02,
+-1.49535591748633858722e-02,
+-1.50987610718883325661e-02,
+-1.52358988107658115813e-02,
+-1.53649215977745036421e-02,
+-1.54857829075290397841e-02,
+-1.55984404965814546506e-02,
+-1.57028564148030853886e-02,
+-1.57989970145448431482e-02,
+-1.58868329575775346640e-02,
+-1.59663392198137396583e-02,
+-1.60374950938135772682e-02,
+-1.61002841890790400481e-02,
+-1.61546944301414231726e-02,
+-1.62007180524483263007e-02,
+-1.62383515960572676062e-02,
+-1.62675958971449409474e-02,
+-1.62884560773407099932e-02,
+-1.63009415308956705226e-02,
+-1.63050659096987474173e-02,
+-1.63008471061523926848e-02,
+-1.62883072339218455682e-02,
+-1.62674726065730329561e-02,
+-1.62383737141145109706e-02,
+-1.62010451974609233361e-02,
+-1.61555258208356707084e-02,
+-1.61018584421316855726e-02,
+-1.60400899812505326469e-02,
+-1.59702713864408145372e-02,
+-1.58924575986573272945e-02,
+-1.58067075139647107707e-02,
+-1.57130839440085059988e-02,
+-1.56116535745792449352e-02,
+-1.55024869222944727820e-02,
+-1.53856582894260490724e-02,
+-1.52612457168996174667e-02,
+-1.51293309354949591372e-02,
+-1.49899993152762481957e-02,
+-1.48433398132821487564e-02,
+-1.46894449195070758013e-02,
+-1.45284106012046419082e-02,
+-1.43603362455460986657e-02,
+-1.41853246006673119201e-02,
+-1.40034817151370259009e-02,
+-1.38149168758828280734e-02,
+-1.36197425446084856987e-02,
+-1.34180742927401692316e-02,
+-1.32100307349369578552e-02,
+-1.29957334612042334221e-02,
+-1.27753069676474068084e-02,
+-1.25488785859041301896e-02,
+-1.23165784112953900081e-02,
+-1.20785392297338319001e-02,
+-1.18348964434312736022e-02,
+-1.15857879954438421077e-02,
+-1.13313542930994892027e-02,
+-1.10717381303457890890e-02,
+-1.08070846090634192782e-02,
+-1.05375410593865573988e-02,
+-1.02632569590727744380e-02,
+-9.98438385196800254340e-03,
+-9.70107526560752726763e-03,
+-9.41348662799971515336e-03,
+-9.12177518363594015682e-03,
+-8.82609990877025046840e-03,
+-8.52662142601712247370e-03,
+-8.22350191830830204442e-03,
+-7.91690504225831676033e-03,
+-7.60699584098104789748e-03,
+-7.29394065640553979080e-03,
+-6.97790704113636535422e-03,
+-6.65906366990342071799e-03,
+-6.33758025065010895116e-03,
+-6.01362743530314651508e-03,
+-5.68737673027295675271e-03,
+-5.35900040672940281006e-03,
+-5.02867141070039921913e-03,
+-4.69656327303835750137e-03,
+-4.36285001930248206997e-03,
+-4.02770607960259777180e-03,
+-3.69130619844926536818e-03,
+-3.35382534465939949331e-03,
+-3.01543862135967731183e-03,
+-2.67632117613655082580e-03,
+-2.33664811137678819775e-03,
+-1.99659439484433081508e-03,
+-1.65633477053923894307e-03,
+-1.31604366988200688349e-03,
+-9.75895123270567642695e-04,
+-6.36062672051197525343e-04,
+-2.96719280950014205507e-04,
+ 4.19627489923029214371e-05,
+ 3.79811866940293777015e-04,
+ 7.16657358192283769176e-04,
+ 1.05232942947910620979e-03,
+ 1.38665929358586822832e-03,
+ 1.71947925326047606175e-03,
+ 2.05062278436349190031e-03,
+ 2.37992461822022008389e-03,
+ 2.70722082313579063065e-03,
+ 3.03234888503091078518e-03,
+ 3.35514778716229861502e-03,
+ 3.67545808888595972735e-03,
+ 3.99312200342836869094e-03,
+ 4.30798347462560838467e-03,
+ 4.61988825259515914490e-03,
+ 4.92868396830371639783e-03,
+ 5.23422020699498662111e-03,
+ 5.53634858044424124635e-03,
+ 5.83492279800282634405e-03,
+ 6.12979873640210736613e-03,
+ 6.42083450828168002950e-03,
+ 6.70789052941064140034e-03,
+ 6.99082958457222531506e-03,
+ 7.26951689207744420479e-03,
+ 7.54382016688265842619e-03,
+ 7.81360968227803008579e-03,
+ 8.07875833012169572434e-03,
+ 8.33914167959036965738e-03,
+ 8.59463803442023742407e-03,
+ 8.84512848861381158205e-03,
+ 9.09049698058539933088e-03,
+ 9.33063034572383098730e-03,
+ 9.56541836734724204572e-03,
+ 9.79475382602876601390e-03,
+ 1.00185325472712388750e-02,
+ 1.02366534475112885144e-02,
+ 1.04490185784319629392e-02,
+ 1.06555331695659429025e-02,
+ 1.08561056691723126222e-02,
+ 1.10506477833681605177e-02,
+ 1.12390745135014444300e-02,
+ 1.14213041917481192972e-02,
+ 1.15972585149209383992e-02,
+ 1.17668625764762845715e-02,
+ 1.19300448967066957673e-02,
+ 1.20867374511089888806e-02,
+ 1.22368756969161197878e-02,
+ 1.23803985977854972417e-02,
+ 1.25172486466337395256e-02,
+ 1.26473718866117884607e-02,
+ 1.27707179302137523863e-02,
+ 1.28872399765134221933e-02,
+ 1.29968948265256969976e-02,
+ 1.30996428966874464001e-02,
+ 1.31954482304573617740e-02,
+ 1.32842785080317399987e-02,
+ 1.33661050541768675060e-02,
+ 1.34409028441777739227e-02,
+ 1.35086505079049911532e-02,
+ 1.35693303320018558017e-02,
+ 1.36229282601955156012e-02,
+ 1.36694338917359037994e-02,
+ 1.37088404779683696588e-02,
+ 1.37411449170452750618e-02,
+ 1.37663477467847624597e-02,
+ 1.37844531356839973546e-02,
+ 1.37954688720959822018e-02,
+ 1.37994063515802581343e-02,
+ 1.37962805624378334612e-02,
+ 1.37861100694423310831e-02,
+ 1.37689169957797372806e-02,
+ 1.37447270032107649734e-02,
+ 1.37135692704694871907e-02,
+ 1.36754764699141325573e-02,
+ 1.36304847424457160204e-02,
+ 1.35786336707117930717e-02,
+ 1.35199662506130090928e-02,
+ 1.34545288611307815863e-02,
+ 1.33823712324960784892e-02,
+ 1.33035464127193650552e-02,
+ 1.32181107325021699600e-02,
+ 1.31261237685532539815e-02,
+ 1.30276483053305639631e-02,
+ 1.29227502952338896280e-02,
+ 1.28114988172704970942e-02,
+ 1.26939660342200184157e-02,
+ 1.25702271483237072724e-02,
+ 1.24403603555233947114e-02,
+ 1.23044467982784695020e-02,
+ 1.21625705169872422307e-02,
+ 1.20148184000413785211e-02,
+ 1.18612801325425308574e-02,
+ 1.17020481437095178606e-02,
+ 1.15372175530077808459e-02,
+ 1.13668861150298707019e-02,
+ 1.11911541631600167795e-02,
+ 1.10101245520525005406e-02,
+ 1.08239025989581676146e-02,
+ 1.06325960239305756377e-02,
+ 1.04363148889449076223e-02,
+ 1.02351715359647547215e-02,
+ 1.00292805239893083324e-02,
+ 9.81875856511689806827e-03,
+ 9.60372445965929077971e-03,
+ 9.38429903034274093265e-03,
+ 9.16060505563077998037e-03,
+ 8.93276720220602567235e-03,
+ 8.70091195664717161062e-03,
+ 8.46516755633743532561e-03,
+ 8.22566391964303297857e-03,
+ 7.98253257539762242634e-03,
+ 7.73590659173173638558e-03,
+ 7.48592050428459592631e-03,
+ 7.23271024383650030370e-03,
+ 6.97641306340083741655e-03,
+ 6.71716746481300884530e-03,
+ 6.45511312485713174836e-03,
+ 6.19039082096706390346e-03,
+ 5.92314235654277116555e-03,
+ 5.65351048592053172237e-03,
+ 5.38163883903518876911e-03,
+ 5.10767184581618297751e-03,
+ 4.83175466035329001513e-03,
+ 4.55403308487579983055e-03,
+ 4.27465349357983477596e-03,
+ 3.99376275634679561710e-03,
+ 3.71150816239089074641e-03,
+ 3.42803734387406560530e-03,
+ 3.14349819952992014238e-03,
+ 2.85803881833283880340e-03,
+ 2.57180740325433027441e-03,
+ 2.28495219514192630592e-03,
+ 1.99762139676367333693e-03,
+ 1.70996309705198873234e-03,
+ 1.42212519558894585903e-03,
+ 1.13425532736955879051e-03,
+ 8.46500787880119249379e-04,
+ 5.59008458531536360676e-04,
+ 2.71924732482213711831e-04,
+-1.46045591101362367902e-05,
+-3.00434220371862336588e-04,
+-5.85419763496916080447e-04,
+-8.69417480990889736912e-04,
+-1.15228451734444565895e-03,
+-1.43387894009652252202e-03,
+-1.71405981025574941264e-03,
+-1.99268725204318009406e-03,
+-2.26962252192313383714e-03,
+-2.54472807688939806764e-03,
+-2.81786764197139655633e-03,
+-3.08890627693018818625e-03,
+-3.35771044210986593925e-03,
+-3.62414806341412312415e-03,
+-3.88808859637569193338e-03,
+-4.14940308928948755479e-03,
+-4.40796424537761438733e-03,
+-4.66364648395760274940e-03,
+-4.91632600058568031837e-03,
+-5.16588082614466512915e-03,
+-5.41219088485122776233e-03,
+-5.65513805115323408418e-03,
+-5.89460620549208617197e-03,
+-6.13048128890366673949e-03,
+-6.36265135643233371854e-03,
+-6.59100662933489230694e-03,
+-6.81543954604840913902e-03,
+-7.03584481190112302068e-03,
+-7.25211944754226237736e-03,
+-7.46416283606952078722e-03,
+-7.67187676883409296058e-03,
+-7.87516548990104849060e-03,
+-8.07393573914804915659e-03,
+-8.26809679398036317943e-03,
+-8.45756050964779383661e-03,
+-8.64224135814309693537e-03,
+-8.82205646566693382771e-03,
+-8.99692564864382551826e-03,
+-9.16677144827266789096e-03,
+-9.33151916359954529401e-03,
+-9.49109688309758385560e-03,
+-9.64543551474287760850e-03,
+-9.79446881457346311961e-03,
+-9.93813341372091867132e-03,
+-1.00763688439045248635e-02,
+-1.02091175613780275888e-02,
+-1.03363249693213758024e-02,
+-1.04579394386685748525e-02,
+-1.05739123273658041507e-02,
+-1.06841979980529435540e-02,
+-1.07887538341634794947e-02,
+-1.08875402544387003823e-02,
+-1.09805207258518982422e-02,
+-1.10676617749403266577e-02,
+-1.11489329975425002783e-02,
+-1.12243070669403085388e-02,
+-1.12937597404047310179e-02,
+-1.13572698641464103764e-02,
+-1.14148193766721185033e-02,
+-1.14663933105489043718e-02,
+-1.15119797925795526450e-02,
+-1.15515700423923072665e-02,
+-1.15851583694501700239e-02,
+-1.16127421684842080385e-02,
+-1.16343219133579756086e-02,
+-1.16499011493693144931e-02,
+-1.16594864839973874626e-02,
+-1.16630875761035632254e-02,
+-1.16607171235953484961e-02,
+-1.16523908495632707444e-02,
+-1.16381274869015692575e-02,
+-1.16179487614245235960e-02,
+-1.15918793734899987224e-02,
+-1.15599469781440481603e-02,
+-1.15221821637996792859e-02,
+-1.14786184294645918214e-02,
+-1.14292921605328150897e-02,
+-1.13742426031563578781e-02,
+-1.13135118372134652748e-02,
+-1.12471447478901080685e-02,
+-1.11751889958936409530e-02,
+-1.10976949863161849369e-02,
+-1.10147158361676694022e-02,
+-1.09263073405979870001e-02,
+-1.08325279378290572491e-02,
+-1.07334386728172945930e-02,
+-1.06291031596689976302e-02,
+-1.05195875428303799864e-02,
+-1.04049604570749746474e-02,
+-1.02852929863124966520e-02,
+-1.01606586212423712773e-02,
+-1.00311332158768314049e-02,
+-9.89679494295862653697e-03,
+-9.75772424829860450524e-03,
+-9.61400380405963254915e-03,
+-9.46571846101251432315e-03,
+-9.31295519979207127303e-03,
+-9.15580308117954107250e-03,
+-8.99435319544003054892e-03,
+-8.82869861074311521043e-03,
+-8.65893432069447625821e-03,
+-8.48515719100898131722e-03,
+-8.30746590535331487504e-03,
+-8.12596091038898099557e-03,
+-7.94074436004471931327e-03,
+-7.75192005904976402797e-03,
+-7.55959340575841978738e-03,
+-7.36387133429604930773e-03,
+-7.16486225605968488073e-03,
+-6.96267600060247564275e-03,
+-6.75742375593618195551e-03,
+-6.54921800828115602267e-03,
+-6.33817248129906873205e-03,
+-6.12440207483747056649e-03,
+-5.90802280322155672770e-03,
+-5.68915173312445864029e-03,
+-5.46790692104878739421e-03,
+-5.24440735045367430189e-03,
+-5.01877286855873742250e-03,
+-4.79112412285956183744e-03,
+-4.56158249738753112518e-03,
+-4.33027004874617267582e-03,
+-4.09730944195998200014e-03,
+-3.86282388616571940171e-03,
+-3.62693707018273397286e-03,
+-3.38977309799298612628e-03,
+-3.15145642416600349836e-03,
+-2.91211178926129628936e-03,
+-2.67186415524058896998e-03,
+-2.43083864092491410552e-03,
+-2.18916045752724818321e-03,
+-1.94695484429555434880e-03,
+-1.70434700429766003774e-03,
+-1.46146204038146722802e-03,
+-1.21842489134170429109e-03,
+-9.75360268326885652967e-04,
+-7.32392591517812274748e-04,
+-4.89645927108687487733e-04,
+-2.47243924624317883750e-04,
+-5.30975460243512911756e-06,
+ 2.36033953325794955153e-04,
+ 4.76665171927515821017e-04,
+ 7.16462537401301477295e-04,
+ 9.55305409921098193718e-04,
+ 1.19307393366231218393e-03,
+ 1.42964909627860559810e-03,
+ 1.66491278780242935725e-03,
+ 1.89874785893865663695e-03,
+ 2.13103817872366176761e-03,
+ 2.36166869152246855501e-03,
+ 2.59052547333455795292e-03,
+ 2.81749578738373649203e-03,
+ 3.04246813896196085722e-03,
+ 3.26533232950441303435e-03,
+ 3.48597950986718595895e-03,
+ 3.70430223278326144556e-03,
+ 3.92019450447253243325e-03,
+ 4.13355183537975935659e-03,
+ 4.34427129001856843216e-03,
+ 4.55225153589615232075e-03,
+ 4.75739289149763357190e-03,
+ 4.95959737330627960239e-03,
+ 5.15876874183868530666e-03,
+ 5.35481254667346043274e-03,
+ 5.54763617045254779636e-03,
+ 5.73714887183583450297e-03,
+ 5.92326182738835572278e-03,
+ 6.10588817238264490450e-03,
+ 6.28494304049680499458e-03,
+ 6.46034360239086408867e-03,
+ 6.63200910314530080181e-03,
+ 6.79986089854376415248e-03,
+ 6.96382249018552904052e-03,
+ 7.12381955941148153205e-03,
+ 7.27978000003043010380e-03,
+ 7.43163394983032809388e-03,
+ 7.57931382086227036637e-03,
+ 7.72275432848473775138e-03,
+ 7.86189251915526618464e-03,
+ 7.99666779695973849174e-03,
+ 8.12702194886731447976e-03,
+ 8.25289916870263103033e-03,
+ 8.37424607982448221399e-03,
+ 8.49101175650416456486e-03,
+ 8.60314774399449817832e-03,
+ 8.71060807728277902706e-03,
+ 8.81334929852170718967e-03,
+ 8.91133047313173894122e-03,
+ 9.00451320457064906255e-03,
+ 9.09286164776551726618e-03,
+ 9.17634252120343510417e-03,
+ 9.25492511767886209817e-03,
+ 9.32858131369380602638e-03,
+ 9.39728557751129400799e-03,
+ 9.46101497585938137902e-03,
+ 9.51974917928707746462e-03,
+ 9.57347046617182048656e-03,
+ 9.62216372537993622216e-03,
+ 9.66581645758253331369e-03,
+ 9.70441877522852311411e-03,
+ 9.73796340117899505984e-03,
+ 9.76644566600631813813e-03,
+ 9.78986350396279965402e-03,
+ 9.80821744762437608411e-03,
+ 9.82151062121512652414e-03,
+ 9.82974873261935853941e-03,
+ 9.83294006408857654278e-03,
+ 9.83109546165142171581e-03,
+ 9.82422832323481126648e-03,
+ 9.81235458550605912920e-03,
+ 9.79549270944552429030e-03,
+ 9.77366366466025406068e-03,
+ 9.74689091245018769671e-03,
+ 9.71520038763806249860e-03,
+ 9.67862047917591658552e-03,
+ 9.63718200954081366527e-03,
+ 9.59091821293355135947e-03,
+ 9.53986471229417709594e-03,
+ 9.48405949514947999024e-03,
+ 9.42354288830722815196e-03,
+ 9.35835753141333638594e-03,
+ 9.28854834938808680833e-03,
+ 9.21416252375845123979e-03,
+ 9.13524946290390424397e-03,
+ 9.05186077123359793262e-03,
+ 8.96405021731353467140e-03,
+ 8.87187370096227494176e-03,
+ 8.77538921933519559804e-03,
+ 8.67465683201655221590e-03,
+ 8.56973862514041548333e-03,
+ 8.46069867456020023588e-03,
+ 8.34760300808964732233e-03,
+ 8.23051956683512782320e-03,
+ 8.10951816564266063370e-03,
+ 7.98467045268167613381e-03,
+ 7.85604986818807735083e-03,
+ 7.72373160239066269828e-03,
+ 7.58779255264339144021e-03,
+ 7.44831127978854735938e-03,
+ 7.30536796377457674917e-03,
+ 7.15904435855267175237e-03,
+ 7.00942374627864812214e-03,
+ 6.85659089084312764473e-03,
+ 6.70063199075772355368e-03,
+ 6.54163463142106230142e-03,
+ 6.37968773679228450674e-03,
+ 6.21488152049734249999e-03,
+ 6.04730743639451170240e-03,
+ 5.87705812862679335268e-03,
+ 5.70422738118673677138e-03,
+ 5.52891006702203955531e-03,
+ 5.35120209670836722432e-03,
+ 5.17120036671731789918e-03,
+ 4.98900270730638639716e-03,
+ 4.80470783005945180355e-03,
+ 4.61841527510534633622e-03,
+ 4.43022535804147177957e-03,
+ 4.24023911659228945614e-03,
+ 4.04855825702851463560e-03,
+ 3.85528510037712974709e-03,
+ 3.66052252844891639130e-03,
+ 3.46437392971235937414e-03,
+ 3.26694314504209770700e-03,
+ 3.06833441336932816884e-03,
+ 2.86865231726372458751e-03,
+ 2.66800172847322068781e-03,
+ 2.46648775345124351629e-03,
+ 2.26421567889880867575e-03,
+ 2.06129091734864790947e-03,
+ 1.85781895282100093132e-03,
+ 1.65390528657631021014e-03,
+ 1.44965538299551312262e-03,
+ 1.24517461561208316219e-03,
+ 1.04056821332572727035e-03,
+ 8.35941206823879187984e-04,
+ 6.31398375237409098873e-04,
+ 4.27044193058938911355e-04,
+ 2.22982777348387794809e-04,
+ 1.93178352541883997372e-05,
+-1.83847388125652280721e-04,
+-3.86410161515063485180e-04,
+-5.88268318839344113436e-04,
+-7.89320310186791547317e-04,
+-9.89465252327087745748e-04,
+-1.18860297876262669368e-03,
+-1.38663408928657127910e-03,
+-1.58345999902536368857e-03,
+-1.77898298694016492559e-03,
+-1.97310624376432260790e-03,
+-2.16573391935423681734e-03,
+-2.35677116942951958567e-03,
+-2.54612420168103805937e-03,
+-2.73370032122395708804e-03,
+-2.91940797537506343401e-03,
+-3.10315679773186291548e-03,
+-3.28485765153320842871e-03,
+-3.46442267228143797181e-03,
+-3.64176530960461748362e-03,
+-3.81680036834099439130e-03,
+-3.98944404882473329516e-03,
+-4.15961398635617159159e-03,
+-4.32722928983605027026e-03,
+-4.49221057954843436960e-03,
+-4.65448002407309498196e-03,
+-4.81396137631140419444e-03,
+-4.97058000860978871360e-03,
+-5.12426294696375662918e-03,
+-5.27493890428890055411e-03,
+-5.42253831274242328875e-03,
+-5.56699335508204027484e-03,
+-5.70823799504863171883e-03,
+-5.84620800675817245406e-03,
+-5.98084100309233864662e-03,
+-6.11207646307366722627e-03,
+-6.23985575821544256880e-03,
+-6.36412217783412659938e-03,
+-6.48482095331432296242e-03,
+-6.60189928131710984660e-03,
+-6.71530634592089337165e-03,
+-6.82499333968801785016e-03,
+-6.93091348364723199016e-03,
+-7.03302204618568189975e-03,
+-7.13127636084264718980e-03,
+-7.22563584299942916062e-03,
+-7.31606200545875488828e-03,
+-7.40251847290886687281e-03,
+-7.48497099526800394043e-03,
+-7.56338745990427392674e-03,
+-7.63773790272863697948e-03,
+-7.70799451815705905650e-03,
+-7.77413166794023880596e-03,
+-7.83612588885893024404e-03,
+-7.89395589928373019040e-03,
+-7.94760260459900953756e-03,
+-7.99704910149071600267e-03,
+-8.04228068109907878735e-03,
+-8.08328483103710852820e-03,
+-8.12005123627678772336e-03,
+-8.15257177890556759825e-03,
+-8.18084053675576655662e-03,
+-8.20485378091061375028e-03,
+-8.22460997209095365235e-03,
+-8.24010975592739773610e-03,
+-8.25135595712299906024e-03,
+-8.25835357251225588016e-03,
+-8.26110976302289051754e-03,
+-8.25963384454711686822e-03,
+-8.25393727773001892323e-03,
+-8.24403365668276502665e-03,
+-8.22993869662941301968e-03,
+-8.21167022049609611478e-03,
+-8.18924814445231435966e-03,
+-8.16269446241428900390e-03,
+-8.13203322952094770359e-03,
+-8.09729054459370524433e-03,
+-8.05849453159142650738e-03,
+-8.01567532007289515472e-03,
+-7.96886502467894497492e-03,
+-7.91809772364769626218e-03,
+-7.86340943637591806292e-03,
+-7.80483810004095092394e-03,
+-7.74242354529683460967e-03,
+-7.67620747106049876318e-03,
+-7.60623341840202440295e-03,
+-7.53254674355573021483e-03,
+-7.45519459006761028158e-03,
+-7.37422586009548602926e-03,
+-7.28969118487934625988e-03,
+-7.20164289439836468459e-03,
+-7.11013498623295006618e-03,
+-7.01522309364934187198e-03,
+-6.91696445292533119292e-03,
+-6.81541786993564071423e-03,
+-6.71064368601629723105e-03,
+-6.60270374312706912617e-03,
+-6.49166134833155817480e-03,
+-6.37758123761547179170e-03,
+-6.26052953906250375660e-03,
+-6.14057373540916311833e-03,
+-6.01778262599883193018e-03,
+-5.89222628815630304622e-03,
+-5.76397603800424263021e-03,
+-5.63310439074257793962e-03,
+-5.49968502041355174204e-03,
+-5.36379271917321667762e-03,
+-5.22550335609255588165e-03,
+-5.08489383551021401769e-03,
+-4.94204205495888618943e-03,
+-4.79702686268924927138e-03,
+-4.64992801481256979451e-03,
+-4.50082613208717050024e-03,
+-4.34980265636943953800e-03,
+-4.19693980675457916502e-03,
+-4.04232053542952999431e-03,
+-3.88602848326117904232e-03,
+-3.72814793514442046479e-03,
+-3.56876377513224178270e-03,
+-3.40796144137293617951e-03,
+-3.24582688087653560907e-03,
+-3.08244650413554361137e-03,
+-2.91790713962266495818e-03,
+-2.75229598818970896956e-03,
+-2.58570057739144132034e-03,
+-2.41820871575722370558e-03,
+-2.24990844703554021197e-03,
+-2.08088800443330694187e-03,
+-1.91123576487488202463e-03,
+-1.74104020330362123901e-03,
+-1.57038984704899425675e-03,
+-1.39937323028345179249e-03,
+-1.22807884859140337835e-03,
+-1.05659511367403743075e-03,
+-8.85010308212021861753e-04,
+-7.13412540909905373669e-04,
+-5.41889701744388552207e-04,
+-3.70529417438410636591e-04,
+-1.99419007184688332895e-04,
+-2.86454386391723757354e-05,
+ 1.41704715791932274720e-04,
+ 3.11545322351527997646e-04,
+ 4.80790728994517078173e-04,
+ 6.49355808093498481151e-04,
+ 8.17155998766742235409e-04,
+ 9.84107348806230984584e-04,
+ 1.15012655618750773805e-03,
+ 1.31513101013778751017e-03,
+ 1.47903883174614527579e-03,
+ 1.64176891409281364154e-03,
+ 1.80324096188044400921e-03,
+ 1.96337553054683720821e-03,
+ 2.12209406484084378217e-03,
+ 2.27931893684354004020e-03,
+ 2.43497348341521844400e-03,
+ 2.58898204305202080458e-03,
+ 2.74126999213337996242e-03,
+ 2.89176378054382390501e-03,
+ 3.04039096665289229962e-03,
+ 3.18708025163550725742e-03,
+ 3.33176151311842744587e-03,
+ 3.47436583813595005824e-03,
+ 3.61482555538014498075e-03,
+ 3.75307426673132269943e-03,
+ 3.88904687805323055413e-03,
+ 4.02267962924054024026e-03,
+ 4.15391012350339004777e-03,
+ 4.28267735587738347658e-03,
+ 4.40892174094537157153e-03,
+ 4.53258513975950821928e-03,
+ 4.65361088595093140563e-03,
+ 4.77194381101678308937e-03,
+ 4.88753026877269871470e-03,
+ 5.00031815896078389583e-03,
+ 5.11025695000340892532e-03,
+ 5.21729770089245179637e-03,
+ 5.32139308220599526605e-03,
+ 5.42249739624305147206e-03,
+ 5.52056659626851391892e-03,
+ 5.61555830486112211863e-03,
+ 5.70743183135652247528e-03,
+ 5.79614818837954730302e-03,
+ 5.88167010745905063929e-03,
+ 5.96396205371965346109e-03,
+ 6.04299023964566684591e-03,
+ 6.11872263791200451943e-03,
+ 6.19112899327779828834e-03,
+ 6.26018083353982283945e-03,
+ 6.32585147954144774024e-03,
+ 6.38811605423505318724e-03,
+ 6.44695149079576538403e-03,
+ 6.50233653978409681384e-03,
+ 6.55425177535713839039e-03,
+ 6.60267960052677606309e-03,
+ 6.64760425146517907463e-03,
+ 6.68901180085764834188e-03,
+ 6.72689016030344512365e-03,
+ 6.76122908176596693758e-03,
+ 6.79202015807388054941e-03,
+ 6.81925682247539518416e-03,
+ 6.84293434724847406819e-03,
+ 6.86304984136987261678e-03,
+ 6.87960224724697578386e-03,
+ 6.89259233651607575860e-03,
+ 6.90202270491214152359e-03,
+ 6.90789776621477530361e-03,
+ 6.91022374527592089799e-03,
+ 6.90900867013538935724e-03,
+ 6.90426236323048170274e-03,
+ 6.89599643170657299052e-03,
+ 6.88422425683606498820e-03,
+ 6.86896098255334458527e-03,
+ 6.85022350311395231137e-03,
+ 6.82803044988653656810e-03,
+ 6.80240217728674077119e-03,
+ 6.77336074786231978617e-03,
+ 6.74092991653942995994e-03,
+ 6.70513511404041261804e-03,
+ 6.66600342948348283806e-03,
+ 6.62356359217582818522e-03,
+ 6.57784595261113724102e-03,
+ 6.52888246268356915031e-03,
+ 6.47670665513047465189e-03,
+ 6.42135362221612788353e-03,
+ 6.36285999366974046321e-03,
+ 6.30126391389077868121e-03,
+ 6.23660501843537051769e-03,
+ 6.16892440979760654785e-03,
+ 6.09826463250009130623e-03,
+ 6.02466964750847117777e-03,
+ 5.94818480598439686818e-03,
+ 5.86885682239295450313e-03,
+ 5.78673374697901473501e-03,
+ 5.70186493762921998985e-03,
+ 5.61430103113523277375e-03,
+ 5.52409391387439444726e-03,
+ 5.43129669192503241465e-03,
+ 5.33596366063239947036e-03,
+ 5.23815027364322050724e-03,
+ 5.13791311142524926431e-03,
+ 5.03530984929013124274e-03,
+ 4.93039922493699201561e-03,
+ 4.82324100553432541516e-03,
+ 4.71389595435920891187e-03,
+ 4.60242579701116046043e-03,
+ 4.48889318721965805553e-03,
+ 4.37336167226419578885e-03,
+ 4.25589565802507278913e-03,
+ 4.13656037368400047310e-03,
+ 4.01542183609403160321e-03,
+ 3.89254681383765111652e-03,
+ 3.76800279099204432978e-03,
+ 3.64185793062176202395e-03,
+ 3.51418103801726458557e-03,
+ 3.38504152369975422690e-03,
+ 3.25450936621163181353e-03,
+ 3.12265507471182202082e-03,
+ 2.98954965139678783756e-03,
+ 2.85526455376563029209e-03,
+ 2.71987165675057146821e-03,
+ 2.58344321473122102290e-03,
+ 2.44605182345362590079e-03,
+ 2.30777038187338556438e-03,
+ 2.16867205394239955310e-03,
+ 2.02883023036007446166e-03,
+ 1.88831849030696359050e-03,
+ 1.74721056318321156346e-03,
+ 1.60558029036844077814e-03,
+ 1.46350158702526116430e-03,
+ 1.32104840396417614300e-03,
+ 1.17829468959044993299e-03,
+ 1.03531435195189738287e-03,
+ 8.92181220906407453086e-04,
+ 7.48969010429437957559e-04,
+ 6.05751281079198837520e-04,
+ 4.62601402639519420582e-04,
+ 3.19592516958703328628e-04,
+ 1.76797501002548605557e-04,
+ 3.42889301410700559898e-05,
+-1.07860958314116714895e-04,
+-2.49580301302545907224e-04,
+-3.90797645920318444633e-04,
+-5.31441985020897648614e-04,
+-6.71442792492634734323e-04,
+-8.10730058197295030964e-04,
+-9.49234322550691531593e-04,
+-1.08688671073021991820e-03,
+-1.22361896649146595362e-03,
+-1.35936348557852870918e-03,
+-1.49405334871076226656e-03,
+-1.62762235413136985458e-03,
+-1.76000504970118200505e-03,
+-1.89113676452272319942e-03,
+-2.02095364007995759864e-03,
+-2.14939266087792180127e-03,
+-2.27639168456901649570e-03,
+-2.40188947155079574047e-03,
+-2.52582571402181800535e-03,
+-2.64814106448245725756e-03,
+-2.76877716366639818613e-03,
+-2.88767666789123715262e-03,
+-3.00478327581455654377e-03,
+-3.12004175458374362687e-03,
+-3.23339796536792432186e-03,
+-3.34479888826014811615e-03,
+-3.45419264653828387429e-03,
+-3.56152853027508903283e-03,
+-3.66675701928568381627e-03,
+-3.76982980540296712391e-03,
+-3.87069981407154629915e-03,
+-3.96932122525004045521e-03,
+-4.06564949361390860078e-03,
+-4.15964136804923296370e-03,
+-4.25125491042980478001e-03,
+-4.34044951367000032827e-03,
+-4.42718591904522635466e-03,
+-4.51142623277396223602e-03,
+-4.59313394185401763226e-03,
+-4.67227392914710930316e-03,
+-4.74881248770633347667e-03,
+-4.82271733434034600985e-03,
+-4.89395762241020149813e-03,
+-4.96250395385362200878e-03,
+-5.02832839043272725871e-03,
+-5.09140446420189209803e-03,
+-5.15170718719160612709e-03,
+-5.20921306030622689037e-03,
+-5.26390008143260215712e-03,
+-5.31574775275780748302e-03,
+-5.36473708729396422251e-03,
+-5.41085061460937211120e-03,
+-5.45407238576448103601e-03,
+-5.49438797745297521219e-03,
+-5.53178449534730623527e-03,
+-5.56625057664943048014e-03,
+-5.59777639184752800333e-03,
+-5.62635364567968653676e-03,
+-5.65197557730641106377e-03,
+-5.67463695969378130457e-03,
+-5.69433409820978980731e-03,
+-5.71106482843655206827e-03,
+-5.72482851320176878984e-03,
+-5.73562603883285941631e-03,
+-5.74345981063785135379e-03,
+-5.74833374761739290815e-03,
+-5.75025327641265435880e-03,
+-5.74922532449426235829e-03,
+-5.74525831259774157761e-03,
+-5.73836214641150563903e-03,
+-5.72854820752343851104e-03,
+-5.71582934363289423690e-03,
+-5.70021985803501312490e-03,
+-5.68173549838472177059e-03,
+-5.66039344474815377811e-03,
+-5.63621229694941539706e-03,
+-5.60921206122125953764e-03,
+-5.57941413616825417771e-03,
+-5.54684129805165914567e-03,
+-5.51151768540501883070e-03,
+-5.47346878299080803754e-03,
+-5.43272140510751410519e-03,
+-5.38930367825777700136e-03,
+-5.34324502318837303572e-03,
+-5.29457613631248175806e-03,
+-5.24332897052591333231e-03,
+-5.18953671542863627375e-03,
+-5.13323377696330972880e-03,
+-5.07445575648276473585e-03,
+-5.01323942925907713175e-03,
+-4.94962272244652261993e-03,
+-4.88364469251110090015e-03,
+-4.81534550214015970304e-03,
+-4.74476639664476486369e-03,
+-4.67194967986881478511e-03,
+-4.59693868961848651350e-03,
+-4.51977777262569171968e-03,
+-4.44051225906016977518e-03,
+-4.35918843660393785094e-03,
+-4.27585352410331936968e-03,
+-4.19055564481250319292e-03,
+-4.10334379924411681712e-03,
+-4.01426783764161857621e-03,
+-3.92337843208837196152e-03,
+-3.83072704826951850737e-03,
+-3.73636591690094466492e-03,
+-3.64034800484260446379e-03,
+-3.54272698590992135906e-03,
+-3.44355721140094522825e-03,
+-3.34289368035381060859e-03,
+-3.24079200955149126021e-03,
+-3.13730840328953165461e-03,
+-3.03249962292274259992e-03,
+-2.92642295620787733917e-03,
+-2.81913618645769506812e-03,
+-2.71069756152355744588e-03,
+-2.60116576262271661374e-03,
+-2.49059987302636997100e-03,
+-2.37905934662592955658e-03,
+-2.26660397639284923177e-03,
+-2.15329386274948570215e-03,
+-2.03918938186720523700e-03,
+-1.92435115390780829905e-03,
+-1.80884001122574964056e-03,
+-1.69271696654636218636e-03,
+-1.57604318113799030283e-03,
+-1.45887993299307315576e-03,
+-1.34128858503558523983e-03,
+-1.22333055337022866653e-03,
+-1.10506727559064096139e-03,
+-9.86560179161664061245e-04,
+-8.67870649892684017067e-04,
+-7.49060000517653913794e-04,
+-6.30189439397319385409e-04,
+-5.11320039360376723744e-04,
+-3.92512706698102461101e-04,
+-2.73828150328942268588e-04,
+-1.55326851148111989192e-04,
+-3.70690315771187548660e-05,
+ 8.08853746707290755880e-05,
+ 1.98476752594946217068e-04,
+ 3.15645835666873892950e-04,
+ 4.32333735328772883737e-04,
+ 5.48481970218807931942e-04,
+ 6.64032495107181436854e-04,
+ 7.78927729529055225960e-04,
+ 8.93110586101435741449e-04,
+ 1.00652449850903457675e-03,
+ 1.11911344914620018882e-03,
+ 1.23082199640186964844e-03,
+ 1.34159530157362035657e-03,
+ 1.45137915539899904453e-03,
+ 1.56012000419063017430e-03,
+ 1.66776497556303743633e-03,
+ 1.77426190373947069608e-03,
+ 1.87955935442584700854e-03,
+ 1.98360664924133621098e-03,
+ 2.08635388969323877853e-03,
+ 2.18775198068548414054e-03,
+ 2.28775265355017198149e-03,
+ 2.38630848859077522237e-03,
+ 2.48337293712776532861e-03,
+ 2.57890034303572641614e-03,
+ 2.67284596376264485876e-03,
+ 2.76516599082240414204e-03,
+ 2.85581756975021973724e-03,
+ 2.94475881951346621368e-03,
+ 3.03194885136837165643e-03,
+ 3.11734778715522806505e-03,
+ 3.20091677702330967489e-03,
+ 3.28261801657889207284e-03,
+ 3.36241476344812956906e-03,
+ 3.44027135324883812095e-03,
+ 3.51615321496371192184e-03,
+ 3.59002688570913630964e-03,
+ 3.66186002489374750821e-03,
+ 3.73162142776055534565e-03,
+ 3.79928103830806575963e-03,
+ 3.86480996158482074943e-03,
+ 3.92818047535295911815e-03,
+ 3.98936604111683416202e-03,
+ 4.04834131451196205242e-03,
+ 4.10508215505163594206e-03,
+ 4.15956563522717256282e-03,
+ 4.21177004895932887568e-03,
+ 4.26167491939793193628e-03,
+ 4.30926100606804449861e-03,
+ 4.35451031136011804806e-03,
+ 4.39740608636303952073e-03,
+ 4.43793283603874291060e-03,
+ 4.47607632373735360443e-03,
+ 4.51182357505270758419e-03,
+ 4.54516288101758283297e-03,
+ 4.57608380063932208837e-03,
+ 4.60457716277592760817e-03,
+ 4.63063506735364276146e-03,
+ 4.65425088592728592590e-03,
+ 4.67541926158465074442e-03,
+ 4.69413610819694772369e-03,
+ 4.71039860901748680400e-03,
+ 4.72420521463094104236e-03,
+ 4.73555564025632692166e-03,
+ 4.74445086240650633347e-03,
+ 4.75089311490801708554e-03,
+ 4.75488588428478291259e-03,
+ 4.75643390451007622849e-03,
+ 4.75554315113093165057e-03,
+ 4.75222083476989180795e-03,
+ 4.74647539400918638819e-03,
+ 4.73831648766260323663e-03,
+ 4.72775498644069803317e-03,
+ 4.71480296401554071356e-03,
+ 4.69947368749087587836e-03,
+ 4.68178160728457970485e-03,
+ 4.66174234643011633356e-03,
+ 4.63937268930397338912e-03,
+ 4.61469056978682824754e-03,
+ 4.58771505886557909998e-03,
+ 4.55846635168473662131e-03,
+ 4.52696575405490270194e-03,
+ 4.49323566842705062613e-03,
+ 4.45729957934127077324e-03,
+ 4.41918203835877602265e-03,
+ 4.37890864848652049124e-03,
+ 4.33650604810387890753e-03,
+ 4.29200189440092326476e-03,
+ 4.24542484633809186906e-03,
+ 4.19680454713776754372e-03,
+ 4.14617160631750546196e-03,
+ 4.09355758127592610218e-03,
+ 4.03899495844180136256e-03,
+ 3.98251713399709519198e-03,
+ 3.92415839418544434153e-03,
+ 3.86395389521696766208e-03,
+ 3.80193964278122088427e-03,
+ 3.73815247117977034197e-03,
+ 3.67263002209005122098e-03,
+ 3.60541072297290579943e-03,
+ 3.53653376513536534670e-03,
+ 3.46603908146142026050e-03,
+ 3.39396732382294752731e-03,
+ 3.32035984018316321711e-03,
+ 3.24525865140575702286e-03,
+ 3.16870642778174132007e-03,
+ 3.09074646528776763449e-03,
+ 3.01142266158806225576e-03,
+ 2.93077949179369311866e-03,
+ 2.84886198399182102511e-03,
+ 2.76571569455873623317e-03,
+ 2.68138668326939897182e-03,
+ 2.59592148821740460393e-03,
+ 2.50936710055862152030e-03,
+ 2.42177093909172859790e-03,
+ 2.33318082468986958203e-03,
+ 2.24364495459622101392e-03,
+ 2.15321187659778126924e-03,
+ 2.06193046309074068043e-03,
+ 1.96984988505084042051e-03,
+ 1.87701958592308018950e-03,
+ 1.78348925544364851972e-03,
+ 1.68930880340843595812e-03,
+ 1.59452833340149326656e-03,
+ 1.49919811649695529192e-03,
+ 1.40336856494826384134e-03,
+ 1.30709020587860356294e-03,
+ 1.21041365498514362324e-03,
+ 1.11338959027166444805e-03,
+ 1.01606872582251793642e-03,
+ 9.18501785631088349393e-04,
+ 8.20739477496859018597e-04,
+ 7.22832467003395990300e-04,
+ 6.24831351591239583451e-04,
+ 5.26786634738466547599e-04,
+ 4.28748700261665177755e-04,
+ 3.30767786750949313850e-04,
+ 2.32893962150942354693e-04,
+ 1.35177098501164551355e-04,
+ 3.76668468481058423122e-05,
+-5.95873876588743519559e-05,
+-1.56536470474729711095e-04,
+-2.53131562157722037748e-04,
+-3.49324142647419787298e-04,
+-4.45066035310075810549e-04,
+-5.40309430740103734635e-04,
+-6.35006910305014118934e-04,
+-7.29111469423506203084e-04,
+-8.22576540564630594166e-04,
+-9.15356015957640898294e-04,
+-1.00740427000084128463e-03,
+-1.09867618135961594636e-03,
+-1.18912715474222760448e-03,
+-1.27871314234389459909e-03,
+-1.36739066494837155016e-03,
+-1.45511683267735177083e-03,
+-1.54184936537829454448e-03,
+-1.62754661264047644116e-03,
+-1.71216757343079406702e-03,
+-1.79567191533962417817e-03,
+-1.87801999342815861480e-03,
+-1.95917286866888803315e-03,
+-2.03909232597019587571e-03,
+-2.11774089177778042717e-03,
+-2.19508185124423979562e-03,
+-2.27107926495981587295e-03,
+-2.34569798523625184378e-03,
+-2.41890367193748701338e-03,
+-2.49066280784942736815e-03,
+-2.56094271358263403382e-03,
+-2.62971156200168766290e-03,
+-2.69693839217458606120e-03,
+-2.76259312283697608739e-03,
+-2.82664656536508410861e-03,
+-2.88907043625251033769e-03,
+-2.94983736908550680730e-03,
+-3.00892092601204481916e-03,
+-3.06629560870052934873e-03,
+-3.12193686878331445531e-03,
+-3.17582111778177576464e-03,
+-3.22792573650879186659e-03,
+-3.27822908394535990351e-03,
+-3.32671050558861836413e-03,
+-3.37335034126782541686e-03,
+-3.41812993242640843911e-03,
+-3.46103162886747485125e-03,
+-3.50203879496072990885e-03,
+-3.54113581530953033458e-03,
+-3.57830809987640932265e-03,
+-3.61354208856588636489e-03,
+-3.64682525526394910736e-03,
+-3.67814611133359227815e-03,
+-3.70749420856602597552e-03,
+-3.73486014158783824479e-03,
+-3.76023554972410066835e-03,
+-3.78361311831824139590e-03,
+-3.80498657950949356263e-03,
+-3.82435071246891309174e-03,
+-3.84170134309564249159e-03,
+-3.85703534317483227867e-03,
+-3.87035062899941184958e-03,
+-3.88164615945781315415e-03,
+-3.89092193359018290177e-03,
+-3.89817898761586753217e-03,
+-3.90341939143522623223e-03,
+-3.90664624460901419717e-03,
+-3.90786367181894002398e-03,
+-3.90707681781324485393e-03,
+-3.90429184184126710708e-03,
+-3.89951591158146492616e-03,
+-3.89275719656733548701e-03,
+-3.88402486111620462786e-03,
+-3.87332905676572971168e-03,
+-3.86068091422367464308e-03,
+-3.84609253483633988652e-03,
+-3.82957698158139896172e-03,
+-3.81114826959133828205e-03,
+-3.79082135621343309026e-03,
+-3.76861213061301580582e-03,
+-3.74453740292646350060e-03,
+-3.71861489297091191847e-03,
+-3.69086321851783442580e-03,
+-3.66130188313754665122e-03,
+-3.62995126362247863203e-03,
+-3.59683259699652849509e-03,
+-3.56196796711877707378e-03,
+-3.52538029088927777621e-03,
+-3.48709330406542271710e-03,
+-3.44713154669716278014e-03,
+-3.40552034818984500006e-03,
+-3.36228581200323853317e-03,
+-3.31745479999584480524e-03,
+-3.27105491642360043589e-03,
+-3.22311449160199306810e-03,
+-3.17366256524132884023e-03,
+-3.12272886946435550976e-03,
+-3.07034381151609402430e-03,
+-3.01653845617577253541e-03,
+-2.96134450788043245700e-03,
+-2.90479429257073850854e-03,
+-2.84692073926870632683e-03,
+-2.78775736139794984292e-03,
+-2.72733823785672839513e-03,
+-2.66569799385409870324e-03,
+-2.60287178151993913236e-03,
+-2.53889526029965357373e-03,
+-2.47380457714372692726e-03,
+-2.40763634650355490621e-03,
+-2.34042763014413865083e-03,
+-2.27221591678447533066e-03,
+-2.20303910157702452152e-03,
+-2.13293546543681959357e-03,
+-2.06194365423175264909e-03,
+-1.99010265784496783933e-03,
+-1.91745178912041433321e-03,
+-1.84403066270314016858e-03,
+-1.76987917378504866148e-03,
+-1.69503747676780160310e-03,
+-1.61954596385395933195e-03,
+-1.54344524357734455208e-03,
+-1.46677611928450082716e-03,
+-1.38957956757772282952e-03,
+-1.31189671673156917249e-03,
+-1.23376882509377769348e-03,
+-1.15523725948148982788e-03,
+-1.07634347358468449377e-03,
+-9.97128986387143959394e-04,
+-9.17635360616648500243e-04,
+-8.37904181234895789956e-04,
+-7.57977033978787513406e-04,
+-6.77895483963235779418e-04,
+-5.97701054357152421204e-04,
+-5.17435205142649512489e-04,
+-4.37139311968777596797e-04,
+-3.56854645110210024969e-04,
+-2.76622348541154185371e-04,
+-1.96483419135612727945e-04,
+-1.16478686003570469231e-04,
+-3.66487899740422618075e-05,
+ 4.29658367651341511670e-05,
+ 1.22324990860946911401e-04,
+ 2.01388717811737909388e-04,
+ 2.80117331797544979934e-04,
+ 3.58471435313892643378e-04,
+ 4.36411938600040889922e-04,
+ 5.13900078851591240840e-04,
+ 5.90897439209055901944e-04,
+ 6.67365967512406946770e-04,
+ 7.43267994812951346417e-04,
+ 8.18566253633950927961e-04,
+ 8.93223895970637264512e-04,
+ 9.67204511021861590946e-04,
+ 1.04047214264425358192e-03,
+ 1.11299130652140420249e-03,
+ 1.18472700703946731866e-03,
+ 1.25564475386154045418e-03,
+ 1.32571057819342382096e-03,
+ 1.39489104873262805863e-03,
+ 1.46315328729405358735e-03,
+ 1.53046498410463441449e-03,
+ 1.59679441276025036248e-03,
+ 1.66211044483838841015e-03,
+ 1.72638256415947395801e-03,
+ 1.78958088069116868016e-03,
+ 1.85167614408905580742e-03,
+ 1.91263975686785663195e-03,
+ 1.97244378719760738577e-03,
+ 2.03106098131931389963e-03,
+ 2.08846477557452425353e-03,
+ 2.14462930804391795764e-03,
+ 2.19952942979019039696e-03,
+ 2.25314071570019555310e-03,
+ 2.30543947492238164229e-03,
+ 2.35640276089497556142e-03,
+ 2.40600838096100867747e-03,
+ 2.45423490556669890092e-03,
+ 2.50106167703914496897e-03,
+ 2.54646881794065452556e-03,
+ 2.59043723899601840976e-03,
+ 2.63294864659046256791e-03,
+ 2.67398554983521103204e-03,
+ 2.71353126719851020857e-03,
+ 2.75156993270003411012e-03,
+ 2.78808650166653335112e-03,
+ 2.82306675604716231925e-03,
+ 2.85649730928709153985e-03,
+ 2.88836561075816750793e-03,
+ 2.91865994974546466220e-03,
+ 2.94736945898928888107e-03,
+ 2.97448411778179853254e-03,
+ 2.99999475461813899443e-03,
+ 3.02389304940205334848e-03,
+ 3.04617153520601608579e-03,
+ 3.06682359958635559691e-03,
+ 3.08584348545404892755e-03,
+ 3.10322629150200672218e-03,
+ 3.11896797218987227585e-03,
+ 3.13306533728775369815e-03,
+ 3.14551605098039102626e-03,
+ 3.15631863053354591933e-03,
+ 3.16547244452441024071e-03,
+ 3.17297771063858400492e-03,
+ 3.17883549303571563346e-03,
+ 3.18304769928660826611e-03,
+ 3.18561707688456985377e-03,
+ 3.18654720933417290318e-03,
+ 3.18584251182050994661e-03,
+ 3.18350822646264360050e-03,
+ 3.17955041715474407901e-03,
+ 3.17397596399888754642e-03,
+ 3.16679255733362226624e-03,
+ 3.15800869136252529770e-03,
+ 3.14763365738724267343e-03,
+ 3.13567753664971719460e-03,
+ 3.12215119278838691003e-03,
+ 3.10706626391348732577e-03,
+ 3.09043515430657261128e-03,
+ 3.07227102574976181429e-03,
+ 3.05258778849025729646e-03,
+ 3.03140009184578061371e-03,
+ 3.00872331445699433758e-03,
+ 2.98457355419296660459e-03,
+ 2.95896761771581541176e-03,
+ 2.93192300971099667137e-03,
+ 2.90345792178986830678e-03,
+ 2.87359122107115833381e-03,
+ 2.84234243844815569202e-03,
+ 2.80973175654865899714e-03,
+ 2.77577999739489662823e-03,
+ 2.74050860977057735360e-03,
+ 2.70393965630238552328e-03,
+ 2.66609580026378606421e-03,
+ 2.62700029210837524354e-03,
+ 2.58667695574077254050e-03,
+ 2.54515017453282822377e-03,
+ 2.50244487709332368713e-03,
+ 2.45858652279897166651e-03,
+ 2.41360108709495107052e-03,
+ 2.36751504657360840878e-03,
+ 2.32035536383917847733e-03,
+ 2.27214947216734537011e-03,
+ 2.22292525996793232518e-03,
+ 2.17271105505975571301e-03,
+ 2.12153560876561335380e-03,
+ 2.06942807983705873154e-03,
+ 2.01641801821680422338e-03,
+ 1.96253534864859182849e-03,
+ 1.90781035414268307880e-03,
+ 1.85227365930619859540e-03,
+ 1.79595621354771339470e-03,
+ 1.73888927416449511586e-03,
+ 1.68110438932177089048e-03,
+ 1.62263338093348468728e-03,
+ 1.56350832745304072283e-03,
+ 1.50376154658367453161e-03,
+ 1.44342557791726690958e-03,
+ 1.38253316551135724960e-03,
+ 1.32111724041281413007e-03,
+ 1.25921090313770521994e-03,
+ 1.19684740611688275949e-03,
+ 1.13406013611574898320e-03,
+ 1.07088259663794954646e-03,
+ 1.00734839032173340879e-03,
+ 9.43491201338451197442e-04,
+ 8.79344777802133358187e-04,
+ 8.14942914198997676867e-04,
+ 7.50319433846045077789e-04,
+ 6.85508171388117602645e-04,
+ 6.20542955341616764633e-04,
+ 5.55457590694125209752e-04,
+ 4.90285841569116395515e-04,
+ 4.25061413963795440944e-04,
+ 3.59817938569106346609e-04,
+ 2.94588953680933085706e-04,
+ 2.29407888210245771441e-04,
+ 1.64308044801349289110e-04,
+ 9.93225830661220992091e-05,
+ 3.44845029432159748818e-05,
+-3.01733718103322993271e-05,
+-9.46184099865878051579e-05,
+-1.58818189144901994068e-04,
+-2.22740511673599295237e-04,
+-2.86353420686933518319e-04,
+-3.49625215749474168095e-04,
+-4.12524468420490651472e-04,
+-4.75020037611034338584e-04,
+-5.37081084745966554420e-04,
+-5.98677088724102000189e-04,
+-6.59777860668749548644e-04,
+-7.20353558462378845868e-04,
+-7.80374701058222453379e-04,
+-8.39812182561741876058e-04,
+-8.98637286076072534964e-04,
+-9.56821697304657218380e-04,
+-1.01433751790445296839e-03,
+-1.07115727858425125243e-03,
+-1.12725395194157021125e-03,
+-1.18260096503265514645e-03,
+-1.23717221166938983953e-03,
+-1.29094206443821453087e-03,
+-1.34388538643541812813e-03,
+-1.39597754271321623266e-03,
+-1.44719441143244622640e-03,
+-1.49751239471598309415e-03,
+-1.54690842919921311277e-03,
+-1.59535999627203944548e-03,
+-1.64284513200888535912e-03,
+-1.68934243678199938477e-03,
+-1.73483108455441971917e-03,
+-1.77929083184826127527e-03,
+-1.82270202638530284291e-03,
+-1.86504561539608984359e-03,
+-1.90630315359404723698e-03,
+-1.94645681081197273812e-03,
+-1.98548937929780454012e-03,
+-2.02338428066662365593e-03,
+-2.06012557250690765687e-03,
+-2.09569795463821536424e-03,
+-2.13008677501847496286e-03,
+-2.16327803529848140124e-03,
+-2.19525839602226170363e-03,
+-2.22601518147149193827e-03,
+-2.25553638415244925991e-03,
+-2.28381066892440051305e-03,
+-2.31082737676846549160e-03,
+-2.33657652819600639496e-03,
+-2.36104882629574550773e-03,
+-2.38423565941946538627e-03,
+-2.40612910350581450311e-03,
+-2.42672192404203967281e-03,
+-2.44600757766397268814e-03,
+-2.46398021339438002067e-03,
+-2.48063467352028057047e-03,
+-2.49596649410964519650e-03,
+-2.50997190516864723125e-03,
+-2.52264783044025284534e-03,
+-2.53399188684540720151e-03,
+-2.54400238356825665262e-03,
+-2.55267832078691359055e-03,
+-2.56001938805160448795e-03,
+-2.56602596231194192769e-03,
+-2.57069910559561132235e-03,
+-2.57404056234069840772e-03,
+-2.57605275638400242275e-03,
+-2.57673878760806066013e-03,
+-2.57610242824962915389e-03,
+-2.57414811887259368725e-03,
+-2.57088096400836900457e-03,
+-2.56630672746716416779e-03,
+-2.56043182732341697075e-03,
+-2.55326333057917390437e-03,
+-2.54480894750897836121e-03,
+-2.53507702569032763312e-03,
+-2.52407654372365647388e-03,
+-2.51181710464612895778e-03,
+-2.49830892904353337597e-03,
+-2.48356284786475705814e-03,
+-2.46759029494360467016e-03,
+-2.45040329923257435216e-03,
+-2.43201447675357512387e-03,
+-2.41243702227060758184e-03,
+-2.39168470068965325834e-03,
+-2.36977183819085321370e-03,
+-2.34671331309871259233e-03,
+-2.32252454649548413859e-03,
+-2.29722149258377488293e-03,
+-2.27082062880380698353e-03,
+-2.24333894571130537665e-03,
+-2.21479393662223902547e-03,
+-2.18520358703003540410e-03,
+-2.15458636380176215414e-03,
+-2.12296120415960722083e-03,
+-2.09034750445369690852e-03,
+-2.05676510873303809365e-03,
+-2.02223429712087166693e-03,
+-1.98677577400132665889e-03,
+-1.95041065602380068143e-03,
+-1.91316045993188566660e-03,
+-1.87504709022398054208e-03,
+-1.83609282665202818569e-03,
+-1.79632031156571974305e-03,
+-1.75575253710894539118e-03,
+-1.71441283227574312563e-03,
+-1.67232484983291908656e-03,
+-1.62951255311622692640e-03,
+-1.58600020270752910083e-03,
+-1.54181234300042021082e-03,
+-1.49697378866114633872e-03,
+-1.45150961099237444871e-03,
+-1.40544512420743054025e-03,
+-1.35880587162187237323e-03,
+-1.31161761177006727826e-03,
+-1.26390630445442453227e-03,
+-1.21569809673418671551e-03,
+-1.16701930886166653674e-03,
+-1.11789642017300181083e-03,
+-1.06835605494137557414e-03,
+-1.01842496819956130141e-03,
+-9.68130031539442812739e-04,
+-9.17498218896290623249e-04,
+-8.66556592324564493868e-04,
+-8.15332287772978616183e-04,
+-7.63852500866257408917e-04,
+-7.12144472700820384964e-04,
+-6.60235475661517237297e-04,
+-6.08152799267011124132e-04,
+-5.55923736050680200420e-04,
+-5.03575567484773503439e-04,
+-4.51135549954315671906e-04,
+-3.98630900788171399930e-04,
+-3.46088784354618185513e-04,
+-2.93536298227804867602e-04,
+-2.41000459432347881880e-04,
+-1.88508190773214112049e-04,
+-1.36086307257084302303e-04,
+-8.37615026124415208318e-05,
+-3.15603359146758591044e-05,
+ 2.04907816767023618287e-05,
+ 7.23656000628412833693e-05,
+ 1.24038043225600054433e-04,
+ 1.75482222116205200833e-04,
+ 2.26672447407071596913e-04,
+ 2.77583242099614419147e-04,
+ 3.28189353983021332804e-04,
+ 3.78465767937005519422e-04,
+ 4.28387718073507952569e-04,
+ 4.77930699711027453993e-04,
+ 5.27070481176294264314e-04,
+ 5.75783115427220041314e-04,
+ 6.24044951492278227381e-04,
+ 6.71832645720683982113e-04,
+ 7.19123172837888647094e-04,
+ 7.65893836801815361230e-04,
+ 8.12122281454607207463e-04,
+ 8.57786500964706813931e-04,
+ 9.02864850055145489773e-04,
+ 9.47336054012924352885e-04,
+ 9.91179218475344821562e-04,
+ 1.03437383898850724685e-03,
+ 1.07689981033424705438e-03,
+ 1.11873743562118156160e-03,
+ 1.15986743513579325555e-03,
+ 1.20027095494985164281e-03,
+ 1.23992957528063201672e-03,
+ 1.27882531860024116835e-03,
+ 1.31694065749045157408e-03,
+ 1.35425852224024464987e-03,
+ 1.39076230818266951932e-03,
+ 1.42643588276789089024e-03,
+ 1.46126359237003949389e-03,
+ 1.49523026882479484305e-03,
+ 1.52832123569547530945e-03,
+ 1.56052231426488533308e-03,
+ 1.59181982925111196493e-03,
+ 1.62220061424500194142e-03,
+ 1.65165201686719317030e-03,
+ 1.68016190364333106375e-03,
+ 1.70771866459552704512e-03,
+ 1.73431121754877184786e-03,
+ 1.75992901215076880984e-03,
+ 1.78456203360429659956e-03,
+ 1.80820080611094821665e-03,
+ 1.83083639602529585529e-03,
+ 1.85246041471891220720e-03,
+ 1.87306502115368290161e-03,
+ 1.89264292416397640097e-03,
+ 1.91118738444732896159e-03,
+ 1.92869221626372814270e-03,
+ 1.94515178884347187879e-03,
+ 1.96056102750367033591e-03,
+ 1.97491541447399011552e-03,
+ 1.98821098943195847739e-03,
+ 2.00044434974860733945e-03,
+ 2.01161265044509608366e-03,
+ 2.02171360386141883703e-03,
+ 2.03074547903829647627e-03,
+ 2.03870710081329245544e-03,
+ 2.04559784863279697439e-03,
+ 2.05141765508121132200e-03,
+ 2.05616700412915255278e-03,
+ 2.05984692910230610119e-03,
+ 2.06245901037309994214e-03,
+ 2.06400537277705341602e-03,
+ 2.06448868275625058155e-03,
+ 2.06391214523207744413e-03,
+ 2.06227950020990537586e-03,
+ 2.05959501911819184081e-03,
+ 2.05586350088483903534e-03,
+ 2.05109026775365885925e-03,
+ 2.04528116084394225374e-03,
+ 2.03844253545626581670e-03,
+ 2.03058125612778830188e-03,
+ 2.02170469144040887075e-03,
+ 2.01182070858521491047e-03,
+ 2.00093766768695948202e-03,
+ 1.98906441589210680049e-03,
+ 1.97621028122438920777e-03,
+ 1.96238506621177182659e-03,
+ 1.94759904128888393197e-03,
+ 1.93186293797900990321e-03,
+ 1.91518794185986402506e-03,
+ 1.89758568531769714928e-03,
+ 1.87906824009385019746e-03,
+ 1.85964810962852347687e-03,
+ 1.83933822120627122297e-03,
+ 1.81815191790804173144e-03,
+ 1.79610295037441560807e-03,
+ 1.77320546838494034515e-03,
+ 1.74947401225873200130e-03,
+ 1.72492350408103120758e-03,
+ 1.69956923876105037673e-03,
+ 1.67342687492632539309e-03,
+ 1.64651242565860508361e-03,
+ 1.61884224907680703345e-03,
+ 1.59043303877220510226e-03,
+ 1.56130181410158168538e-03,
+ 1.53146591034349164456e-03,
+ 1.50094296872333799256e-03,
+ 1.46975092631300560328e-03,
+ 1.43790800581038743892e-03,
+ 1.40543270520465083014e-03,
+ 1.37234378733301696889e-03,
+ 1.33866026933477191320e-03,
+ 1.30440141200818598630e-03,
+ 1.26958670907636713213e-03,
+ 1.23423587636767762184e-03,
+ 1.19836884091695044206e-03,
+ 1.16200572999298904278e-03,
+ 1.12516686005846404395e-03,
+ 1.08787272566834868938e-03,
+ 1.05014398831246302812e-03,
+ 1.01200146520824866246e-03,
+ 9.73466118049983288388e-04,
+ 9.34559041719948196611e-04,
+ 8.95301452967915711335e-04,
+ 8.55714679064593008659e-04,
+ 8.15820146435422468428e-04,
+ 7.75639369280203805866e-04,
+ 7.35193938184691589237e-04,
+ 6.94505508730360781103e-04,
+ 6.53595790107610935191e-04,
+ 6.12486533739071471218e-04,
+ 5.71199521918073420228e-04,
+ 5.29756556468897262142e-04,
+ 4.88179447433947737416e-04,
+ 4.46490001794050709802e-04,
+ 4.04710012227305993091e-04,
+ 3.62861245912609686835e-04,
+ 3.20965433382992511909e-04,
+ 2.79044257434640438631e-04,
+ 2.37119342097372800019e-04,
+ 1.95212241671636533603e-04,
+ 1.53344429837704167947e-04,
+ 1.11537288842718541599e-04,
+ 6.98120987704314377789e-05,
+ 2.81900268993452554395e-05,
+-1.33078828458379828427e-05,
+-5.46607203438825674300e-05,
+-9.58477196232063128950e-05,
+-1.36848269099311073286e-04,
+-1.77641921698430010380e-04,
+-2.18208404862630192013e-04,
+-2.58527630431676846631e-04,
+-2.98579704396867049668e-04,
+-3.38344936521953437280e-04,
+-3.77803849827058782322e-04,
+-4.16937189930904319925e-04,
+-4.55725934246739843459e-04,
+-4.94151301028182598010e-04,
+-5.32194758260364701556e-04,
+-5.69838032392598397777e-04,
+-6.07063116908156791794e-04,
+-6.43852280727741713151e-04,
+-6.80188076442613171781e-04,
+-7.16053348373450011463e-04,
+-7.51431240451819475352e-04,
+-7.86305203920363614614e-04,
+-8.20659004848588277854e-04,
+-8.54476731460626398769e-04,
+-8.87742801272211191736e-04,
+-9.20441968033579760618e-04,
+-9.52559328475276884118e-04,
+-9.84080328854130366098e-04,
+-1.01499077129671671886e-03,
+-1.04527681993767346084e-03,
+-1.07492500685012399610e-03,
+-1.10392223776622968451e-03,
+-1.13225579758538573774e-03,
+-1.15991335566776048067e-03,
+-1.18688297091152023324e-03,
+-1.21315309661150744040e-03,
+-1.23871258509778933189e-03,
+-1.26355069215218973264e-03,
+-1.28765708120147479195e-03,
+-1.31102182728572635648e-03,
+-1.33363542080036233568e-03,
+-1.35548877101096445358e-03,
+-1.37657320933958870861e-03,
+-1.39688049242180935793e-03,
+-1.41640280493340441764e-03,
+-1.43513276218638474030e-03,
+-1.45306341249334513427e-03,
+-1.47018823930013145355e-03,
+-1.48650116308605430814e-03,
+-1.50199654303180877256e-03,
+-1.51666917845484855790e-03,
+-1.53051431001215848537e-03,
+-1.54352762067077827791e-03,
+-1.55570523644627803014e-03,
+-1.56704372690943645810e-03,
+-1.57754010546188694168e-03,
+-1.58719182938115940286e-03,
+-1.59599679963599232028e-03,
+-1.60395336047266818397e-03,
+-1.61106029877347285521e-03,
+-1.61731684318832920691e-03,
+-1.62272266304074063749e-03,
+-1.62727786700950075895e-03,
+-1.63098300158752559583e-03,
+-1.63383904931938927878e-03,
+-1.63584742681915007098e-03,
+-1.63700998257036147918e-03,
+-1.63732899451001076216e-03,
+-1.63680716739846910703e-03,
+-1.63544762997745404300e-03,
+-1.63325393191824947553e-03,
+-1.63023004056244216753e-03,
+-1.62638033745757639228e-03,
+-1.62170961469021174955e-03,
+-1.61622307101895478811e-03,
+-1.60992630781018361379e-03,
+-1.60282532477918769794e-03,
+-1.59492651553961163439e-03,
+-1.58623666296416683703e-03,
+-1.57676293435965995428e-03,
+-1.56651287645941865272e-03,
+-1.55549441023637930251e-03,
+-1.54371582554013535814e-03,
+-1.53118577556127515200e-03,
+-1.51791327112649242562e-03,
+-1.50390767482801038582e-03,
+-1.48917869499094052133e-03,
+-1.47373637948217746547e-03,
+-1.45759110936466060836e-03,
+-1.44075359240074425682e-03,
+-1.42323485640868073465e-03,
+-1.40504624247599204864e-03,
+-1.38619939803382081524e-03,
+-1.36670626979641294217e-03,
+-1.34657909656966815262e-03,
+-1.32583040193301449593e-03,
+-1.30447298679896685550e-03,
+-1.28251992185438013459e-03,
+-1.25998453988795662377e-03,
+-1.23688042800817435581e-03,
+-1.21322141975630610686e-03,
+-1.18902158711867676766e-03,
+-1.16429523244280098797e-03,
+-1.13905688026204581637e-03,
+-1.11332126903301116203e-03,
+-1.08710334279067352171e-03,
+-1.06041824272541424130e-03,
+-1.03328129868704887868e-03,
+-1.00570802062011207742e-03,
+-9.77714089935322180555e-04,
+-9.49315350821759501229e-04,
+-9.20527801504691478400e-04,
+-8.91367585453492765508e-04,
+-8.61850982544499480062e-04,
+-8.31994400183724228809e-04,
+-8.01814364393843201882e-04,
+-7.71327510870362977047e-04,
+-7.40550576011879011992e-04,
+-7.09500387928816301369e-04,
+-6.78193857435692871310e-04,
+-6.46647969031396334730e-04,
+-6.14879771872516131710e-04,
+-5.82906370744061324771e-04,
+-5.50744917032461615489e-04,
+-5.18412599705563741960e-04,
+-4.85926636304230086336e-04,
+-4.53304263950078342206e-04,
+-4.20562730374023118537e-04,
+-3.87719284970423796848e-04,
+-3.54791169881019867287e-04,
+-3.21795611113349097968e-04,
+-2.88749809698345409788e-04,
+-2.55670932891157169815e-04,
+-2.22576105419946933131e-04,
+-1.89482400786797724242e-04,
+-1.56406832625384566377e-04,
+-1.23366346119315335164e-04,
+-9.03778094855688048136e-05,
+-5.74580055274082543144e-05,
+-2.46236232605249242254e-05,
+ 8.10875038316639484403e-06,
+ 4.07226387702898438674e-05,
+ 7.32016836950174766508e-05,
+ 1.05529653418793463730e-04,
+ 1.37690450616703013997e-04,
+ 1.69668120226623675949e-04,
+ 2.01446857197505152211e-04,
+ 2.33011014133184106998e-04,
+ 2.64345108828066273181e-04,
+ 2.95433831690941053547e-04,
+ 3.26262053053821875562e-04,
+ 3.56814830362236329840e-04,
+ 3.87077415243466558745e-04,
+ 4.17035260449873101951e-04,
+ 4.46674026673809685620e-04,
+ 4.75979589231274630330e-04,
+ 5.04938044610982032269e-04,
+ 5.33535716886269443388e-04,
+ 5.61759163986835612092e-04,
+ 5.89595183827354429873e-04,
+ 6.17030820290651992738e-04,
+ 6.44053369062530110985e-04,
+ 6.70650383315962803771e-04,
+ 6.96809679241917109133e-04,
+ 7.22519341424928177552e-04,
+ 7.47767728060641924219e-04,
+ 7.72543476013702731450e-04,
+ 7.96835505713403631674e-04,
+ 8.20633025885535226200e-04,
+ 8.43925538118381487161e-04,
+ 8.66702841260924973336e-04,
+ 8.88955035651854165446e-04,
+ 9.10672527177615212350e-04,
+ 9.31846031157871484973e-04,
+ 9.52466576057239681409e-04,
+ 9.72525507021732124775e-04,
+ 9.92014489238877755425e-04,
+ 1.01092551112014119447e-03,
+ 1.02925088730489687483e-03,
+ 1.04698326148487523037e-03,
+ 1.06411560904814419225e-03,
+ 1.08064123954212140503e-03,
+ 1.09655379895474709012e-03,
+ 1.11184727181350227060e-03,
+ 1.12651598310145530275e-03,
+ 1.14055459999043234086e-03,
+ 1.15395813339070935251e-03,
+ 1.16672193931725690953e-03,
+ 1.17884172007230573521e-03,
+ 1.19031352524443380207e-03,
+ 1.20113375252423222606e-03,
+ 1.21129914833666986994e-03,
+ 1.22080680829065105208e-03,
+ 1.22965417744607123825e-03,
+ 1.23783905039882846655e-03,
+ 1.24535957118451323482e-03,
+ 1.25221423300135711529e-03,
+ 1.25840187775329488164e-03,
+ 1.26392169541390537828e-03,
+ 1.26877322321232639292e-03,
+ 1.27295634464211107444e-03,
+ 1.27647128829414154005e-03,
+ 1.27931862651490548498e-03,
+ 1.28149927389138891531e-03,
+ 1.28301448556399880392e-03,
+ 1.28386585536898346210e-03,
+ 1.28405531381196435364e-03,
+ 1.28358512587416814105e-03,
+ 1.28245788865312404514e-03,
+ 1.28067652883962455890e-03,
+ 1.27824430003284665244e-03,
+ 1.27516477989559045420e-03,
+ 1.27144186715168476705e-03,
+ 1.26707977842766580760e-03,
+ 1.26208304494093768826e-03,
+ 1.25645650903666696377e-03,
+ 1.25020532057574596321e-03,
+ 1.24333493317623205304e-03,
+ 1.23585110031071486285e-03,
+ 1.22775987126220184967e-03,
+ 1.21906758694106096864e-03,
+ 1.20978087556570016413e-03,
+ 1.19990664820977745338e-03,
+ 1.18945209421860830651e-03,
+ 1.17842467649774342194e-03,
+ 1.16683212667649549056e-03,
+ 1.15468244014949755240e-03,
+ 1.14198387099919015063e-03,
+ 1.12874492680236585690e-03,
+ 1.11497436332383317165e-03,
+ 1.10068117910044980384e-03,
+ 1.08587460991860403070e-03,
+ 1.07056412318845268865e-03,
+ 1.05475941221827552129e-03,
+ 1.03847039039213777552e-03,
+ 1.02170718525430208670e-03,
+ 1.00448013250386408712e-03,
+ 9.86799769902908796571e-04,
+ 9.68676831101775311604e-04,
+ 9.50122239384842536686e-04,
+ 9.31147101340516931967e-04,
+ 9.11762700458799784341e-04,
+ 8.91980490660106628206e-04,
+ 8.71812089758989324645e-04,
+ 8.51269272866356447108e-04,
+ 8.30363965733769732354e-04,
+ 8.09108238043540397427e-04,
+ 7.87514296648406260902e-04,
+ 7.65594478764287304610e-04,
+ 7.43361245119910263486e-04,
+ 7.20827173067144330761e-04,
+ 6.98004949655533580080e-04,
+ 6.74907364674943543829e-04,
+ 6.51547303669901115876e-04,
+ 6.27937740929578719871e-04,
+ 6.04091732456894250046e-04,
+ 5.80022408920566161228e-04,
+ 5.55742968593996586671e-04,
+ 5.31266670284408345712e-04,
+ 5.06606826256191336046e-04,
+ 4.81776795151971288286e-04,
+ 4.56789974915332633570e-04,
+ 4.31659795718581772855e-04,
+ 4.06399712899354833857e-04,
+ 3.81023199909761244551e-04,
+ 3.55543741281616379035e-04,
+ 3.29974825611307478416e-04,
+ 3.04329938567904757871e-04,
+ 2.78622555928232935440e-04,
+ 2.52866136642138929734e-04,
+ 2.27074115931597155090e-04,
+ 2.01259898427254919819e-04,
+ 1.75436851345555256277e-04,
+ 1.49618297710086417540e-04,
+ 1.23817509620332964109e-04,
+ 9.80477015714136803867e-05,
+ 7.23220238277867656044e-05,
+ 4.66535558543199922808e-05,
+ 2.10552998080745397132e-05,
+-4.45982590633637267685e-06,
+-2.98789930144383005840e-05,
+-5.51894696797388301145e-05,
+-8.03786267385361320997e-05,
+-1.05433943858796803006e-04,
+-1.30343015620240231141e-04,
+-1.55093557512704107414e-04,
+-1.79673411849813922459e-04,
+-2.04070553595469639328e-04,
+-2.28273096100298591472e-04,
+-2.52269296745275168909e-04,
+-2.76047562490193821964e-04,
+-2.99596455324310003560e-04,
+-3.22904697616543522477e-04,
+-3.45961177363105203825e-04,
+-3.68754953329960058744e-04,
+-3.91275260088006534946e-04,
+-4.13511512938510329696e-04,
+-4.35453312726917203881e-04,
+-4.57090450542803317623e-04,
+-4.78412912303817451296e-04,
+-4.99410883221915679296e-04,
+-5.20074752149766658671e-04,
+-5.40395115805737333292e-04,
+-5.60362782875298238647e-04,
+-5.79968777987699369778e-04,
+-5.99204345565891864818e-04,
+-6.18060953548384053174e-04,
+-6.36530296981365232775e-04,
+-6.54604301479925370678e-04,
+-6.72275126556943374879e-04,
+-6.89535168818290744586e-04,
+-7.06377065023390971615e-04,
+-7.22793695009926024340e-04,
+-7.38778184481572101731e-04,
+-7.54323907658020135873e-04,
+-7.69424489786242268852e-04,
+-7.84073809512324942927e-04,
+-7.98266001112985629749e-04,
+-8.11995456586320977881e-04,
+-8.25256827601124256372e-04,
+-8.38045027304191287275e-04,
+-8.50355231985365717443e-04,
+-8.62182882599891249782e-04,
+-8.73523686147764872115e-04,
+-8.84373616909959786754e-04,
+-8.94728917541413090037e-04,
+-9.04586100020679756244e-04,
+-9.13941946456355816704e-04,
+-9.22793509750267264627e-04,
+-9.31138114117751138944e-04,
+-9.38973355465201283722e-04,
+-9.46297101625169024067e-04,
+-9.53107492449534513500e-04,
+-9.59402939761150449702e-04,
+-9.65182127164483996684e-04,
+-9.70444009715949393313e-04,
+-9.75187813454562795953e-04,
+-9.79413034793723616400e-04,
+-9.83119439774883139768e-04,
+-9.86307063184082167401e-04,
+-9.88976207532291833394e-04,
+-9.91127441900544869230e-04,
+-9.92761600651050806279e-04,
+-9.93879782005378667811e-04,
+-9.94483346490992797459e-04,
+-9.94573915257405570187e-04,
+-9.94153368263331295093e-04,
+-9.93223842336246652909e-04,
+-9.91787729105850180897e-04,
+-9.89847672812951264940e-04,
+-9.87406567995411906316e-04,
+-9.84467557052782528404e-04,
+-9.81034027691367847834e-04,
+-9.77109610251477699733e-04,
+-9.72698174918703792335e-04,
+-9.67803828821115733234e-04,
+-9.62430913014279427325e-04,
+-9.56583999356122919276e-04,
+-9.50267887273650141942e-04,
+-9.43487600423628257514e-04,
+-9.36248383249343269982e-04,
+-9.28555697435622562526e-04,
+-9.20415218264345998470e-04,
+-9.11832830872733794518e-04,
+-9.02814626416679100358e-04,
+-8.93366898141493941121e-04,
+-8.83496137362504399722e-04,
+-8.73209029357859358757e-04,
+-8.62512449176020662943e-04,
+-8.51413457360529739998e-04,
+-8.39919295594453380396e-04,
+-8.28037382267176572288e-04,
+-8.15775307966064137412e-04,
+-8.03140830895733765817e-04,
+-7.90141872227454497395e-04,
+-7.76786511381427125823e-04,
+-7.63082981244709722575e-04,
+-7.49039663327390583050e-04,
+-7.34665082859875225377e-04,
+-7.19967903833961626534e-04,
+-7.04956923990644160512e-04,
+-6.89641069757283018196e-04,
+-6.74029391137054853869e-04,
+-6.58131056553546409972e-04,
+-6.41955347653322514097e-04,
+-6.25511654069284880192e-04,
+-6.08809468147721304272e-04,
+-5.91858379642030605315e-04,
+-5.74668070375839888306e-04,
+-5.57248308878482566560e-04,
+-5.39608944995842118066e-04,
+-5.21759904479256251923e-04,
+-5.03711183555554655941e-04,
+-4.85472843480994986718e-04,
+-4.67055005082172224832e-04,
+-4.48467843286585717087e-04,
+-4.29721581645848931235e-04,
+-4.10826486854523479156e-04,
+-3.91792863267230776457e-04,
+-3.72631047417096349181e-04,
+-3.53351402538234474118e-04,
+-3.33964313095238879339e-04,
+-3.14480179322441726845e-04,
+-2.94909411775696268711e-04,
+-2.75262425899514299663e-04,
+-2.55549636612443630684e-04,
+-2.35781452913229664075e-04,
+-2.15968272510589943134e-04,
+-1.96120476479425779204e-04,
+-1.76248423945933802622e-04,
+-1.56362446804383454146e-04,
+-1.36472844468305155993e-04,
+-1.16589878658458767635e-04,
+-9.67237682303544415822e-05,
+-7.68846840437216406863e-05,
+-5.70827438766376965410e-05,
+-3.73280073865603565495e-05,
+-1.76304711208225556719e-05,
+ 1.99993642088864226016e-06,
+ 2.15533596699292954036e-05,
+ 4.10200208154242509364e-05,
+ 6.03902245722433725860e-05,
+ 7.96543628875890849517e-05,
+ 9.88029195844659414733e-05,
+ 1.17826474939476195025e-04,
+ 1.36715710193023647035e-04,
+ 1.55461411989631342456e-04,
+ 1.74054476746553134919e-04,
+ 1.92485914948569894868e-04,
+ 2.10746855366906229437e-04,
+ 2.28828549200575789499e-04,
+ 2.46722374138184409598e-04,
+ 2.64419838338276027342e-04,
+ 2.81912584326679917842e-04,
+ 2.99192392808960154656e-04,
+ 3.16251186396444155819e-04,
+ 3.33081033244039836395e-04,
+ 3.49674150598494463179e-04,
+ 3.66022908255491080231e-04,
+ 3.82119831924034101915e-04,
+ 3.97957606496917735885e-04,
+ 4.13529079225828470872e-04,
+ 4.28827262799762372065e-04,
+ 4.43845338325564724331e-04,
+ 4.58576658209470361914e-04,
+ 4.73014748938412597258e-04,
+ 4.87153313760160528844e-04,
+ 5.00986235261103489760e-04,
+ 5.14507577840937952753e-04,
+ 5.27711590083254872101e-04,
+ 5.40592707021128712937e-04,
+ 5.53145552297087950144e-04,
+ 5.65364940216665540391e-04,
+ 5.77245877694797693454e-04,
+ 5.88783566094626962042e-04,
+ 5.99973402958039613193e-04,
+ 6.10810983627539487439e-04,
+ 6.21292102758916895203e-04,
+ 6.31412755724494408928e-04,
+ 6.41169139906554250846e-04,
+ 6.50557655880656818606e-04,
+ 6.59574908488803728079e-04,
+ 6.68217707802125100019e-04,
+ 6.76483069973211437013e-04,
+ 6.84368217977891248049e-04,
+ 6.91870582246639927691e-04,
+ 6.98987801185634960270e-04,
+ 7.05717721587660520161e-04,
+ 7.12058398933015208009e-04,
+ 7.18008097580767590783e-04,
+ 7.23565290850654123378e-04,
+ 7.28728660995954687085e-04,
+ 7.33497099067867354590e-04,
+ 7.37869704671835252748e-04,
+ 7.41845785616332496076e-04,
+ 7.45424857454791262544e-04,
+ 7.48606642921267949158e-04,
+ 7.51391071260577316469e-04,
+ 7.53778277453638493114e-04,
+ 7.55768601338868977087e-04,
+ 7.57362586630487056617e-04,
+ 7.58560979834606492235e-04,
+ 7.59364729064121901821e-04,
+ 7.59774982753388386167e-04,
+ 7.59793088273752925850e-04,
+ 7.59420590451042459845e-04,
+ 7.58659229986178283191e-04,
+ 7.57510941780111337653e-04,
+ 7.55977853164323059486e-04,
+ 7.54062282038194995303e-04,
+ 7.51766734914572948463e-04,
+ 7.49093904874909206383e-04,
+ 7.46046669435407165151e-04,
+ 7.42628088325620098163e-04,
+ 7.38841401181018265533e-04,
+ 7.34690025151058076665e-04,
+ 7.30177552424332988561e-04,
+ 7.25307747672431467334e-04,
+ 7.20084545414128533031e-04,
+ 7.14512047301645285974e-04,
+ 7.08594519330652482768e-04,
+ 7.02336388975790940938e-04,
+ 6.95742242253507572024e-04,
+ 6.88816820714019178648e-04,
+ 6.81565018364235775117e-04,
+ 6.73991878523528100201e-04,
+ 6.66102590614281019760e-04,
+ 6.57902486889110115278e-04,
+ 6.49397039096706574744e-04,
+ 6.40591855088354865909e-04,
+ 6.31492675367040820315e-04,
+ 6.22105369581239602515e-04,
+ 6.12435932965378496476e-04,
+ 6.02490482729133372541e-04,
+ 5.92275254397530565020e-04,
+ 5.81796598104019854238e-04,
+ 5.71060974838680235344e-04,
+ 5.60074952653592437156e-04,
+ 5.48845202827616417997e-04,
+ 5.37378495992671769733e-04,
+ 5.25681698223757196999e-04,
+ 5.13761767094866308656e-04,
+ 5.01625747702958151193e-04,
+ 4.89280768662212254237e-04,
+ 4.76734038070840296462e-04,
+ 4.63992839452548365767e-04,
+ 4.51064527674926475653e-04,
+ 4.37956524847056961718e-04,
+ 4.24676316198432479525e-04,
+ 4.11231445941475173573e-04,
+ 3.97629513119952544397e-04,
+ 3.83878167445365014142e-04,
+ 3.69985105123653247247e-04,
+ 3.55958064674343052560e-04,
+ 3.41804822744478146133e-04,
+ 3.27533189919382002140e-04,
+ 3.13151006532530441166e-04,
+ 2.98666138476795246359e-04,
+ 2.84086473019086157080e-04,
+ 2.69419914620704385386e-04,
+ 2.54674380765407412045e-04,
+ 2.39857797797613132851e-04,
+ 2.24978096772516947353e-04,
+ 2.10043209320515654199e-04,
+ 1.95061063527882452839e-04,
+ 1.80039579835930709352e-04,
+ 1.64986666960563460723e-04,
+ 1.49910217834334317253e-04,
+ 1.34818105573139893332e-04,
+ 1.19718179469376976285e-04,
+ 1.04618261013640937926e-04,
+ 8.95261399470057895635e-05,
+ 7.44495703456539838043e-05,
+ 5.93962667399166655609e-05,
+ 4.43739002695007426613e-05,
+ 2.93900948769175320138e-05,
+ 1.44524235407680616859e-05,
+-4.31595449223615991972e-07,
+-1.52545021735661563586e-05,
+-3.00088987191676871767e-05,
+-4.46874527685018162865e-05,
+-5.92829011400601544354e-05,
+-7.37880532784749535325e-05,
+-8.81957946927382018627e-05,
+-1.02499090340838023227e-04,
+-1.16690987959360069175e-04,
+-1.30764621336392747363e-04,
+-1.44713213526426610466e-04,
+-1.58530080005720515508e-04,
+-1.72208631766646892702e-04,
+-1.85742378349807455221e-04,
+-1.99124930812504506716e-04,
+-2.12350004632196330849e-04,
+-2.25411422543850048289e-04,
+-2.38303117309836905331e-04,
+-2.51019134421297284484e-04,
+-2.63553634729709143104e-04,
+-2.75900897007725623075e-04,
+-2.88055320438154207046e-04,
+-3.00011427029988502792e-04,
+-3.11763863960725555544e-04,
+-3.23307405843803333592e-04,
+-3.34636956920517840506e-04,
+-3.45747553175349475393e-04,
+-3.56634364374105745227e-04,
+-3.67292696023986241921e-04,
+-3.77717991254969290369e-04,
+-3.87905832621729396159e-04,
+-3.97851943825608877700e-04,
+-4.07552191355998907722e-04,
+-4.17002586050548289687e-04,
+-4.26199284573830689850e-04,
+-4.35138590813964924123e-04,
+-4.43816957196747625784e-04,
+-4.52230985917061883723e-04,
+-4.60377430087148228118e-04,
+-4.68253194801565195918e-04,
+-4.75855338118517359660e-04,
+-4.83181071957494603746e-04,
+-4.90227762913035460673e-04,
+-4.96992932984516386924e-04,
+-5.03474260221955485957e-04,
+-5.09669579287852308157e-04,
+-5.15576881935093001182e-04,
+-5.21194317400982664451e-04,
+-5.26520192717613616691e-04,
+-5.31552972938706402850e-04,
+-5.36291281283125418830e-04,
+-5.40733899195399727276e-04,
+-5.44879766323496587781e-04,
+-5.48727980414253735213e-04,
+-5.52277797126791330021e-04,
+-5.55528629764419335478e-04,
+-5.58480048925468798571e-04,
+-5.61131782073551080119e-04,
+-5.63483713027851970505e-04,
+-5.65535881373998238451e-04,
+-5.67288481796187900146e-04,
+-5.68741863331195915583e-04,
+-5.69896528545036479795e-04,
+-5.70753132632961161612e-04,
+-5.71312482443646482352e-04,
+-5.71575535428334754844e-04,
+-5.71543398515829263219e-04,
+-5.71217326914227299835e-04,
+-5.70598722840296476537e-04,
+-5.69689134177503594091e-04,
+-5.68490253063648432949e-04,
+-5.67003914409159020388e-04,
+-5.65232094347102977452e-04,
+-5.63176908616005544687e-04,
+-5.60840610876602073745e-04,
+-5.58225590963675973900e-04,
+-5.55334373074175820066e-04,
+-5.52169613892796438438e-04,
+-5.48734100656311134595e-04,
+-5.45030749157866334711e-04,
+-5.41062601692576870642e-04,
+-5.36832824945712001018e-04,
+-5.32344707824832300003e-04,
+-5.27601659237243400015e-04,
+-5.22607205814143416754e-04,
+-5.17364989582876229866e-04,
+-5.11878765588764158417e-04,
+-5.06152399467916375153e-04,
+-5.00189864972510559588e-04,
+-4.93995241450078683386e-04,
+-4.87572711278240109554e-04,
+-4.80926557256444178138e-04,
+-4.74061159956301635728e-04,
+-4.66980995031984519490e-04,
+-4.59690630492344271939e-04,
+-4.52194723936275402073e-04,
+-4.44498019752993822097e-04,
+-4.36605346288767746325e-04,
+-4.28521612981757975790e-04,
+-4.20251807466636860457e-04,
+-4.11800992650551039072e-04,
+-4.03174303762152705464e-04,
+-3.94376945375264067670e-04,
+-3.85414188409003615268e-04,
+-3.76291367105835428391e-04,
+-3.67013875989376269545e-04,
+-3.57587166803538351878e-04,
+-3.48016745434793248019e-04,
+-3.38308168819116130647e-04,
+-3.28467041835364367049e-04,
+-3.18499014186804374482e-04,
+-3.08409777272385283997e-04,
+-2.98205061049476030047e-04,
+-2.87890630889810130322e-04,
+-2.77472284430191329634e-04,
+-2.66955848419733049459e-04,
+-2.56347175565217071970e-04,
+-2.45652141376338599681e-04,
+-2.34876641012365765249e-04,
+-2.24026586131914569105e-04,
+-2.13107901747536509227e-04,
+-2.02126523086630768746e-04,
+-1.91088392460356650080e-04,
+-1.79999456142178738786e-04,
+-1.68865661257607132476e-04,
+-1.57692952686686938598e-04,
+-1.46487269980864699605e-04,
+-1.35254544295716316437e-04,
+-1.24000695341184972607e-04,
+-1.12731628350718165836e-04,
+-1.01453231070878122327e-04,
+-9.01713707729724520340e-05,
+-7.88918912880573160781e-05,
+-6.76206100668247551966e-05,
+-5.63633152658752571273e-05,
+-4.51257628616542845251e-05,
+-3.39136737935608547517e-05,
+-2.27327311375149941554e-05,
+-1.15885773114489628905e-05,
+-4.86811313915871210201e-07,
+ 1.05670140028143166991e-05,
+ 2.15673946238210968425e-05,
+ 3.25088780256781116596e-05,
+ 4.33860657922279085714e-05,
+ 5.41936161910015515536e-05,
+ 6.49262467088870516650e-05,
+ 7.55787365460706083136e-05,
+ 8.61459290670060090240e-05,
+ 9.66227342073920110596e-05,
+ 1.07004130835977286562e-04,
+ 1.17285169070277186945e-04,
+ 1.27460972545122102045e-04,
+ 1.37526740632994235337e-04,
+ 1.47477750615313961575e-04,
+ 1.57309359803685470123e-04,
+ 1.67017007610150564068e-04,
+ 1.76596217565703518526e-04,
+ 1.86042599286130139018e-04,
+ 1.95351850384440511605e-04,
+ 2.04519758329024586505e-04,
+ 2.13542202246907178919e-04,
+ 2.22415154671328456478e-04,
+ 2.31134683232958544662e-04,
+ 2.39696952294124378952e-04,
+ 2.48098224525461843754e-04,
+ 2.56334862424394095085e-04,
+ 2.64403329774836909783e-04,
+ 2.72300193047718441016e-04,
+ 2.80022122741781036813e-04,
+ 2.87565894664178829838e-04,
+ 2.94928391150552234555e-04,
+ 3.02106602224121655823e-04,
+ 3.09097626693513312206e-04,
+ 3.15898673188933149566e-04,
+ 3.22507061136495965393e-04,
+ 3.28920221670429965485e-04,
+ 3.35135698482898333403e-04,
+ 3.41151148611357961198e-04,
+ 3.46964343163231182625e-04,
+ 3.52573167977838467131e-04,
+ 3.57975624225448146778e-04,
+ 3.63169828943500801448e-04,
+ 3.68154015509882480677e-04,
+ 3.72926534053389822573e-04,
+ 3.77485851801332371845e-04,
+ 3.81830553364452182901e-04,
+ 3.85959340959241372672e-04,
+ 3.89871034567797159973e-04,
+ 3.93564572035445218046e-04,
+ 3.97039009106330996121e-04,
+ 4.00293519397200458273e-04,
+ 4.03327394309708944353e-04,
+ 4.06140042881526601437e-04,
+ 4.08730991576614218711e-04,
+ 4.11099884015009905264e-04,
+ 4.13246480642570374747e-04,
+ 4.15170658341088754176e-04,
+ 4.16872409979225850337e-04,
+ 4.18351843904797517006e-04,
+ 4.19609183378898695574e-04,
+ 4.20644765952442063056e-04,
+ 4.21459042785672199482e-04,
+ 4.22052577911266981522e-04,
+ 4.22426047441667507944e-04,
+ 4.22580238721291740270e-04,
+ 4.22516049424304497659e-04,
+ 4.22234486598678352993e-04,
+ 4.21736665657268593004e-04,
+ 4.21023809316662376602e-04,
+ 4.20097246484596811584e-04,
+ 4.18958411096749831423e-04,
+ 4.17608840903733937334e-04,
+ 4.16050176209156481050e-04,
+ 4.14284158559614175323e-04,
+ 4.12312629387525297810e-04,
+ 4.10137528607722027553e-04,
+ 4.07760893168739989995e-04,
+ 4.05184855559753253750e-04,
+ 4.02411642274163466621e-04,
+ 3.99443572230806823956e-04,
+ 3.96283055153818239771e-04,
+ 3.92932589912160215497e-04,
+ 3.89394762819913727372e-04,
+ 3.85672245898332176350e-04,
+ 3.81767795100792530199e-04,
+ 3.77684248501704115941e-04,
+ 3.73424524450519546449e-04,
+ 3.68991619691936916479e-04,
+ 3.64388607453439920380e-04,
+ 3.59618635501351871335e-04,
+ 3.54684924166520241986e-04,
+ 3.49590764340821041987e-04,
+ 3.44339515445693598438e-04,
+ 3.38934603373838513624e-04,
+ 3.33379518405329915154e-04,
+ 3.27677813099311473176e-04,
+ 3.21833100162536569697e-04,
+ 3.15849050295926377270e-04,
+ 3.09729390020389752213e-04,
+ 3.03477899483178554640e-04,
+ 2.97098410245953236785e-04,
+ 2.90594803055835239260e-04,
+ 2.83971005600701430303e-04,
+ 2.77230990249963083708e-04,
+ 2.70378771782053405493e-04,
+ 2.63418405099919501929e-04,
+ 2.56353982935728650153e-04,
+ 2.49189633546102382294e-04,
+ 2.41929518399063687127e-04,
+ 2.34577829853976687832e-04,
+ 2.27138788835770893786e-04,
+ 2.19616642504623810770e-04,
+ 2.12015661922379533436e-04,
+ 2.04340139716986798554e-04,
+ 1.96594387746109900425e-04,
+ 1.88782734761210285561e-04,
+ 1.80909524073276134666e-04,
+ 1.72979111221486337802e-04,
+ 1.64995861645938764022e-04,
+ 1.56964148365684399598e-04,
+ 1.48888349663314485498e-04,
+ 1.40772846777168322190e-04,
+ 1.32622021602487612625e-04,
+ 1.24440254402532454779e-04,
+ 1.16231921530969174315e-04,
+ 1.08001393166544268506e-04,
+ 9.97530310612700842022e-05,
+ 9.14911863031805467012e-05,
+ 8.32201970948494534723e-05,
+ 7.49443865486733659534e-05,
+ 6.66680605000458429647e-05,
+ 5.83955053395394390486e-05,
+ 5.01309858650572228258e-05,
+ 4.18787431550387222699e-05,
+ 3.36429924637896997147e-05,
+ 2.54279211398450498503e-05,
+ 1.72376865684373168860e-05,
+ 9.07641413898224680109e-06,
+ 9.48195238618905657624e-07,
+-7.14291472735570851774e-06,
+-1.51928982871868691030e-05,
+-2.31977778255819772578e-05,
+-3.11536174769894797995e-05,
+-3.90565249883959565128e-05,
+-4.69026535507838503733e-05,
+-5.46882035983796400101e-05,
+-6.24094245749816497679e-05,
+-7.00626166665431140837e-05,
+-7.76441324992083051551e-05,
+-8.51503788021582837904e-05,
+-9.25778180344744060573e-05,
+-9.99229699753842974660e-05,
+-1.07182413277143970569e-04,
+-1.14352786980001299723e-04,
+-1.21430791988570707662e-04,
+-1.28413192508978856029e-04,
+-1.35296817446291592216e-04,
+-1.42078561761593261028e-04,
+-1.48755387788243690359e-04,
+-1.55324326506731677858e-04,
+-1.61782478777755279195e-04,
+-1.68127016532938305905e-04,
+-1.74355183922886855866e-04,
+-1.80464298422043775347e-04,
+-1.86451751890066126042e-04,
+-1.92315011589316994193e-04,
+-1.98051621158110087483e-04,
+-2.03659201539461954481e-04,
+-2.09135451865034778822e-04,
+-2.14478150293975007752e-04,
+-2.19685154806484236054e-04,
+-2.24754403951855035284e-04,
+-2.29683917550825442361e-04,
+-2.34471797352042666748e-04,
+-2.39116227642561802579e-04,
+-2.43615475812239792083e-04,
+-2.47967892871911476695e-04,
+-2.52171913925349226639e-04,
+-2.56226058594915238626e-04,
+-2.60128931400936235906e-04,
+-2.63879222094777748236e-04,
+-2.67475705945676030771e-04,
+-2.70917243981398745550e-04,
+-2.74202783182808239749e-04,
+-2.77331356632420174182e-04,
+-2.80302083617130378106e-04,
+-2.83114169685247407150e-04,
+-2.85766906657990832612e-04,
+-2.88259672595703273380e-04,
+-2.90591931718978374165e-04,
+-2.92763234284938700901e-04,
+-2.94773216418979381367e-04,
+-2.96621599902229947550e-04,
+-2.98308191915087070681e-04,
+-2.99832884737117537181e-04,
+-3.01195655403731915589e-04,
+-3.02396565319990604306e-04,
+-3.03435759831933548735e-04,
+-3.04313467755884059594e-04,
+-3.05030000866147890746e-04,
+-3.05585753341585221812e-04,
+-3.05981201171519584091e-04,
+-3.06216901521509134165e-04,
+-3.06293492059487573384e-04,
+-3.06211690242816218007e-04,
+-3.05972292566802656771e-04,
+-3.05576173775270109809e-04,
+-3.05024286033762090722e-04,
+-3.04317658065994024481e-04,
+-3.03457394254183585730e-04,
+-3.02444673703895100005e-04,
+-3.01280749274062569550e-04,
+-2.99966946572861902810e-04,
+-2.98504662920123960135e-04,
+-2.96895366276984148252e-04,
+-2.95140594143503544149e-04,
+-2.93241952424972839204e-04,
+-2.91201114267648395687e-04,
+-2.89019818864694969657e-04,
+-2.86699870233074851408e-04,
+-2.84243135962187955679e-04,
+-2.81651545935045764021e-04,
+-2.78927091022785277833e-04,
+-2.76071821753329086409e-04,
+-2.73087846955029312987e-04,
+-2.69977332376105608885e-04,
+-2.66742499280753122669e-04,
+-2.63385623022735818576e-04,
+-2.59909031597333319095e-04,
+-2.56315104172533353259e-04,
+-2.52606269600299821604e-04,
+-2.48785004908817504021e-04,
+-2.44853833776614545140e-04,
+-2.40815324989414303834e-04,
+-2.36672090880646487053e-04,
+-2.32426785756489917047e-04,
+-2.28082104306388832628e-04,
+-2.23640779999901656528e-04,
+-2.19105583470820145051e-04,
+-2.14479320889489653368e-04,
+-2.09764832324187768019e-04,
+-2.04964990092551698191e-04,
+-2.00082697103893516945e-04,
+-1.95120885193399471553e-04,
+-1.90082513449059745374e-04,
+-1.84970566532296863812e-04,
+-1.79788052993171517313e-04,
+-1.74538003581126675585e-04,
+-1.69223469552129467206e-04,
+-1.63847520973145840571e-04,
+-1.58413245024881097671e-04,
+-1.52923744303641519389e-04,
+-1.47382135123237027838e-04,
+-1.41791545817854290970e-04,
+-1.36155115046730930926e-04,
+-1.30475990101566258683e-04,
+-1.24757325217510580588e-04,
+-1.19002279888661194524e-04,
+-1.13214017188868415280e-04,
+-1.07395702098746854882e-04,
+-1.01550499839754549119e-04,
+-9.56815742161736681884e-05,
+-8.97920859658150297307e-05,
+-8.38851911202858713332e-05,
+-7.79640393756770905178e-05,
+-7.20317724744152869908e-05,
+-6.60915225991128571850e-05,
+-6.01464107792394842228e-05,
+-5.41995453113256703899e-05,
+-4.82540201935260191645e-05,
+-4.23129135752554075560e-05,
+-3.63792862227040107682e-05,
+-3.04561800008946262114e-05,
+-2.45466163730380569304e-05,
+-1.86535949179281487331e-05,
+-1.27800918660038342780e-05,
+-6.92905865481930068159e-06,
+-1.10342050454853296994e-06,
+ 4.69392498575835322107e-06,
+ 1.04601092206202085443e-05,
+ 1.61922939685309686330e-05,
+ 2.18876726998310187900e-05,
+ 2.75434719013333585431e-05,
+ 3.31569523672128619587e-05,
+ 3.87254104655551669952e-05,
+ 4.42461793799820151014e-05,
+ 4.97166303258813707623e-05,
+ 5.51341737406907975117e-05,
+ 6.04962604476992873623e-05,
+ 6.58003827929482047439e-05,
+ 7.10440757547033927043e-05,
+ 7.62249180250887078177e-05,
+ 8.13405330633888576592e-05,
+ 8.63885901206668644324e-05,
+ 9.13668052352641340674e-05,
+ 9.62729421987680101039e-05,
+ 1.01104813492143344174e-04,
+ 1.05860281191625613681e-04,
+ 1.10537257844079884095e-04,
+ 1.15133707311478630493e-04,
+ 1.19647645584220456037e-04,
+ 1.24077141563022885209e-04,
+ 1.28420317809117991549e-04,
+ 1.32675351262483061940e-04,
+ 1.36840473927932757339e-04,
+ 1.40913973528841685815e-04,
+ 1.44894194128284206635e-04,
+ 1.48779536717473748154e-04,
+ 1.52568459771325131390e-04,
+ 1.56259479770980684197e-04,
+ 1.59851171693240460712e-04,
+ 1.63342169466755023468e-04,
+ 1.66731166394932026195e-04,
+ 1.70016915545461323039e-04,
+ 1.73198230106457167626e-04,
+ 1.76273983709174160992e-04,
+ 1.79243110717270954634e-04,
+ 1.82104606482673126973e-04,
+ 1.84857527568029053264e-04,
+ 1.87500991935841927272e-04,
+ 1.90034179104279262861e-04,
+ 1.92456330269822776862e-04,
+ 1.94766748396794513220e-04,
+ 1.96964798273908584360e-04,
+ 1.99049906537954266611e-04,
+ 2.01021561664790589848e-04,
+ 2.02879313927801336551e-04,
+ 2.04622775323984274973e-04,
+ 2.06251619467897348657e-04,
+ 2.07765581453663538119e-04,
+ 2.09164457685255029832e-04,
+ 2.10448105675328230946e-04,
+ 2.11616443812851108683e-04,
+ 2.12669451099812634523e-04,
+ 2.13607166857295168675e-04,
+ 2.14429690401230681543e-04,
+ 2.15137180688158456340e-04,
+ 2.15729855931309154023e-04,
+ 2.16207993187385875055e-04,
+ 2.16571927914393662145e-04,
+ 2.16822053500895369719e-04,
+ 2.16958820767090094714e-04,
+ 2.16982737438119145310e-04,
+ 2.16894367590011544417e-04,
+ 2.16694331068704375103e-04,
+ 2.16383302882573573273e-04,
+ 2.15962012568937173273e-04,
+ 2.15431243534988864970e-04,
+ 2.14791832373643112571e-04,
+ 2.14044668154778804569e-04,
+ 2.13190691692375993652e-04,
+ 2.12230894788062836786e-04,
+ 2.11166319451582256295e-04,
+ 2.09998057098713050445e-04,
+ 2.08727247727178962314e-04,
+ 2.07355079071098812689e-04,
+ 2.05882785734526249080e-04,
+ 2.04311648304645308329e-04,
+ 2.02642992445200404404e-04,
+ 2.00878187970725529407e-04,
+ 1.99018647902181230460e-04,
+ 1.97065827504565370225e-04,
+ 1.95021223307131414326e-04,
+ 1.92886372106789062567e-04,
+ 1.90662849955323298245e-04,
+ 1.88352271131035512233e-04,
+ 1.85956287095443860338e-04,
+ 1.83476585435658924713e-04,
+ 1.80914888793067202884e-04,
+ 1.78272953778979965879e-04,
+ 1.75552569877858596036e-04,
+ 1.72755558338776385452e-04,
+ 1.69883771055775014205e-04,
+ 1.66939089437739287235e-04,
+ 1.63923423268464666259e-04,
+ 1.60838709557554023410e-04,
+ 1.57686911382826176059e-04,
+ 1.54470016724860052760e-04,
+ 1.51190037294350436165e-04,
+ 1.47849007352938516474e-04,
+ 1.44448982528168725411e-04,
+ 1.40992038623224621736e-04,
+ 1.37480270422103131650e-04,
+ 1.33915790490908510934e-04,
+ 1.30300727975883427756e-04,
+ 1.26637227398848910710e-04,
+ 1.22927447450726668463e-04,
+ 1.19173559783751544113e-04,
+ 1.15377747803056433318e-04,
+ 1.11542205458248867627e-04,
+ 1.07669136035655032668e-04,
+ 1.03760750951825973841e-04,
+ 9.98192685489614168559e-05,
+ 9.58469128929003691322e-05,
+ 9.18459125742597699837e-05,
+ 8.78184995133790156831e-05,
+ 8.37669077696560454268e-05,
+ 7.96933723559265666005e-05,
+ 7.56001280584259725565e-05,
+ 7.14894082630083944159e-05,
+ 6.73634437881340204573e-05,
+ 6.32244617252882825861e-05,
+ 5.90746842873461779663e-05,
+ 5.49163276654787824009e-05,
+ 5.07516008951872145687e-05,
+ 4.65827047319741682405e-05,
+ 4.24118305372229097931e-05,
+ 3.82411591748462793188e-05,
+ 3.40728599191875283292e-05,
+ 2.99090893747361998109e-05,
+ 2.57519904081409751117e-05,
+ 2.16036910930649429937e-05,
+ 1.74663036683280136440e-05,
+ 1.33419235098453462380e-05,
+ 9.23262811685928130563e-06,
+ 5.14047611288089638620e-06,
+ 1.06750626183722631479e-06,
+-2.98426350016022994691e-06,
+-7.01283701696614740918e-06,
+-1.10162408480615069031e-05,
+-1.49925251873214083662e-05,
+-1.89397647644820879499e-05,
+-2.28560597288927702187e-05,
+-2.67395365152196406880e-05,
+-3.05883486907130078530e-05,
+-3.44006777836602540958e-05,
+-3.81747340927275210175e-05,
+-4.19087574768357373853e-05,
+-4.56010181252311126428e-05,
+-4.92498173074900873615e-05,
+-5.28534881031252298821e-05,
+-5.64103961105393312886e-05,
+-5.99189401350206662131e-05,
+-6.33775528555675324869e-05,
+-6.67847014702764807609e-05,
+-7.01388883200425772204e-05,
+-7.34386514903965126506e-05,
+-7.66825653912348156535e-05,
+-7.98692413142890845568e-05,
+-8.29973279680875074835e-05,
+-8.60655119903289004060e-05,
+-8.90725184374467171371e-05,
+-9.20171112512619700620e-05,
+-9.48980937025603441979e-05,
+-9.77143088115187759442e-05,
+-1.00464639744859388255e-04,
+-1.03148010189625194497e-04,
+-1.05763384703536859194e-04,
+-1.08309769041847384465e-04,
+-1.10786210460631133696e-04,
+-1.13191797996501934058e-04,
+-1.15525662722708351705e-04,
+-1.17786977981613268270e-04,
+-1.19974959593534190815e-04,
+-1.22088866041986484267e-04,
+-1.24127998635342794240e-04,
+-1.26091701644931496271e-04,
+-1.27979362419654144924e-04,
+-1.29790411477168272404e-04,
+-1.31524322571708625470e-04,
+-1.33180612738637493483e-04,
+-1.34758842315833984394e-04,
+-1.36258614942015598460e-04,
+-1.37679577532133398362e-04,
+-1.39021420229953017716e-04,
+-1.40283876337992947491e-04,
+-1.41466722224963323403e-04,
+-1.42569777210869091466e-04,
+-1.43592903429972301504e-04,
+-1.44536005671797138268e-04,
+-1.45399031200369268681e-04,
+-1.46181969551921958151e-04,
+-1.46884852311272975705e-04,
+-1.47507752867118645777e-04,
+-1.48050786146473433835e-04,
+-1.48514108328523704045e-04,
+-1.48897916538148837292e-04,
+-1.49202448519377127998e-04,
+-1.49427982289073205905e-04,
+-1.49574835771129388594e-04,
+-1.49643366411473540236e-04,
+-1.49633970774193841890e-04,
+-1.49547084119100584043e-04,
+-1.49383179961047775483e-04,
+-1.49142769611348204603e-04,
+-1.48826401701621687922e-04,
+-1.48434661690425537565e-04,
+-1.47968171353023028678e-04,
+-1.47427588254649171362e-04,
+-1.46813605207650059491e-04,
+-1.46126949712865211208e-04,
+-1.45368383385638768636e-04,
+-1.44538701366849164877e-04,
+-1.43638731719351636813e-04,
+-1.42669334810229859632e-04,
+-1.41631402679272359055e-04,
+-1.40525858394075560832e-04,
+-1.39353655392192250567e-04,
+-1.38115776810750613777e-04,
+-1.36813234803965936073e-04,
+-1.35447069848972789655e-04,
+-1.34018350040412986173e-04,
+-1.32528170374222436503e-04,
+-1.30977652021046207277e-04,
+-1.29367941589733019114e-04,
+-1.27700210381360810966e-04,
+-1.25975653634228948810e-04,
+-1.24195489760284478228e-04,
+-1.22360959573421820921e-04,
+-1.20473325510130619526e-04,
+-1.18533870842929396042e-04,
+-1.16543898887054415644e-04,
+-1.14504732200871589131e-04,
+-1.12417711780453782031e-04,
+-1.10284196248804102999e-04,
+-1.08105561040170155152e-04,
+-1.05883197579935365976e-04,
+-1.03618512460517512327e-04,
+-1.01312926613771452371e-04,
+-9.89678744803231588006e-05,
+-9.65848031763287176834e-05,
+-9.41651716580904694746e-05,
+-9.17104498849975562341e-05,
+-8.92221179812627604834e-05,
+-8.67016653968825132086e-05,
+-8.41505900682881210822e-05,
+-8.15703975791493105397e-05,
+-7.89626003217504745472e-05,
+-7.63287166594104368560e-05,
+-7.36702700903663770804e-05,
+-7.09887884135877711683e-05,
+-6.82858028969257033506e-05,
+-6.55628474480432515319e-05,
+-6.28214577885690295556e-05,
+-6.00631706318681429140e-05,
+-5.72895228648756703262e-05,
+-5.45020507343892520119e-05,
+-5.17022890382489225453e-05,
+-4.88917703218011553620e-05,
+-4.60720240800406300981e-05,
+-4.32445759658305523042e-05,
+-4.04109470046085756875e-05,
+-3.75726528159311059401e-05,
+-3.47312028422512456081e-05,
+-3.18880995853173453093e-05,
+-2.90448378505280945666e-05,
+-2.62029039996194488388e-05,
+-2.33637752120533564114e-05,
+-2.05289187554215721418e-05,
+-1.76997912652334544591e-05,
+-1.48778380343994300278e-05,
+-1.20644923127652564947e-05,
+-9.26117461698225729130e-06,
+-6.46929205104167329041e-06,
+-3.69023763779291335841e-06,
+-9.25389661709245930119e-07,
+ 1.82388897678174475935e-06,
+ 4.55625139514285705999e-06,
+ 7.27036735044587330100e-06,
+ 9.96492384873170706833e-06,
+ 1.26386257417392112551e-05,
+ 1.52901963107384078629e-05,
+ 1.79183778372582360025e-05,
+ 2.05219321604610694255e-05,
+ 2.30996412209251530034e-05,
+ 2.56503075906517305266e-05,
+ 2.81727549890619002719e-05,
+ 3.06658287848128515438e-05,
+ 3.31283964832040277388e-05,
+ 3.55593481990333369126e-05,
+ 3.79575971147140200598e-05,
+ 4.03220799234941648030e-05,
+ 4.26517572576077638367e-05,
+ 4.49456141012434531802e-05,
+ 4.72026601881682524812e-05,
+ 4.94219303839001843038e-05,
+ 5.16024850522865696258e-05,
+ 5.37434104064078973302e-05,
+ 5.58438188436953509251e-05,
+ 5.79028492651570688234e-05,
+ 5.99196673786599580684e-05,
+ 6.18934659861721192748e-05,
+ 6.38234652549182388762e-05,
+ 6.57089129723729151135e-05,
+ 6.75490847850720971908e-05,
+ 6.93432844211934012709e-05,
+ 7.10908438968675459669e-05,
+ 7.27911237062255626245e-05,
+ 7.44435129951590121491e-05,
+ 7.60474297187843856823e-05,
+ 7.76023207826402985129e-05,
+ 7.91076621676173416964e-05,
+ 8.05629590386577253093e-05,
+ 8.19677458372435649003e-05,
+ 8.33215863577352583002e-05,
+ 8.46240738076027652209e-05,
+ 8.58748308515986194002e-05,
+ 8.70735096399619166833e-05,
+ 8.82197918207153089585e-05,
+ 8.93133885361372406803e-05,
+ 9.03540404035136604684e-05,
+ 9.13415174802592236660e-05,
+ 9.22756192135239819386e-05,
+ 9.31561743743901176599e-05,
+ 9.39830409767967284683e-05,
+ 9.47561061813165863036e-05,
+ 9.54752861839191087042e-05,
+ 9.61405260898756268200e-05,
+ 9.67517997729504849579e-05,
+ 9.73091097200465650948e-05,
+ 9.78124868614685578656e-05,
+ 9.82619903869737118746e-05,
+ 9.86577075477993088205e-05,
+ 9.89997534448505824923e-05,
+ 9.92882708032377870244e-05,
+ 9.95234297333714079334e-05,
+ 9.97054274788150226867e-05,
+ 9.98344881511112553288e-05,
+ 9.99108624517949686465e-05,
+ 9.99348273818228400017e-05,
+ 9.99066859386446587009e-05,
+ 9.98267668011501124433e-05,
+ 9.96954240027345068914e-05,
+ 9.95130365927253445271e-05,
+ 9.92800082864197933671e-05,
+ 9.89967671039888494865e-05,
+ 9.86637649985053661076e-05,
+ 9.82814774733607114231e-05,
+ 9.78504031893375142773e-05,
+ 9.73710635616093991710e-05,
+ 9.68440023469432334675e-05,
+ 9.62697852213858742314e-05,
+ 9.56489993487133770321e-05,
+ 9.49822529399337749968e-05,
+ 9.42701748041285732824e-05,
+ 9.35134138909305995691e-05,
+ 9.27126388249273401896e-05,
+ 9.18685374322917528561e-05,
+ 9.09818162599413001162e-05,
+ 9.00532000875254733281e-05,
+ 8.90834314325462917842e-05,
+ 8.80732700489246370709e-05,
+ 8.70234924193121910140e-05,
+ 8.59348912414666484460e-05,
+ 8.48082749089950011304e-05,
+ 8.36444669867888660050e-05,
+ 8.24443056814470995493e-05,
+ 8.12086433070261377561e-05,
+ 7.99383457464084788138e-05,
+ 7.86342919086182418845e-05,
+ 7.72973731824044141140e-05,
+ 7.59284928863964466827e-05,
+ 7.45285657161542757073e-05,
+ 7.30985171884366598380e-05,
+ 7.16392830829906657707e-05,
+ 7.01518088821840928807e-05,
+ 6.86370492088033058069e-05,
+ 6.70959672623157418921e-05,
+ 6.55295342539230995203e-05,
+ 6.39387288407061954269e-05,
+ 6.23245365591873072856e-05,
+ 6.06879492586022889272e-05,
+ 5.90299645341966667546e-05,
+ 5.73515851608610711097e-05,
+ 5.56538185273922726215e-05,
+ 5.39376760716902238437e-05,
+ 5.22041727171985520334e-05,
+ 5.04543263108674547410e-05,
+ 4.86891570629490461476e-05,
+ 4.69096869889039770705e-05,
+ 4.51169393537250871997e-05,
+ 4.33119381189441731090e-05,
+ 4.14957073926132242688e-05,
+ 3.96692708825496971343e-05,
+ 3.78336513531005402778e-05,
+ 3.59898700857156045134e-05,
+ 3.41389463435847715115e-05,
+ 3.22818968406223129981e-05,
+ 3.04197352150379130334e-05,
+ 2.85534715077610400016e-05,
+ 2.66841116459819329256e-05,
+ 2.48126569320371454517e-05,
+ 2.29401035378939945552e-05,
+ 2.10674420054833346785e-05,
+ 1.91956567530948109463e-05,
+ 1.73257255880832701685e-05,
+ 1.54586192260933851384e-05,
+ 1.35953008170508304306e-05,
+ 1.17367254781075038266e-05,
+ 9.88383983376396622401e-06,
+ 8.03758156337068200962e-06,
+ 6.19887895622111748366e-06,
+ 4.36865047440966400299e-06,
+ 2.54780432366209949829e-06,
+ 7.37238032308926373124e-07,
+-1.06216196140181903275e-06,
+-2.84952071350109670505e-06,
+-4.62397516982719811819e-06,
+-6.38467455271440543276e-06,
+-8.13078073870770317037e-06,
+-9.86146862713564825958e-06,
+-1.15759264994108745933e-05,
+-1.32733563689023272133e-05,
+-1.49529743212684799525e-05,
+-1.66140108451148118640e-05,
+-1.82557111528464673220e-05,
+-1.98773354916211406247e-05,
+-2.14781594442844695424e-05,
+-2.30574742201769104257e-05,
+-2.46145869357362549322e-05,
+-2.61488208847895399478e-05,
+-2.76595157984633117411e-05,
+-2.91460280946186709296e-05,
+-3.06077311167595817127e-05,
+-3.20440153623401097595e-05,
+-3.34542887004032530218e-05,
+-3.48379765785163355760e-05,
+-3.61945222189482393904e-05,
+-3.75233868040389463073e-05,
+-3.88240496507459911801e-05,
+-4.00960083743247562354e-05,
+-4.13387790411311751020e-05,
+-4.25518963105175459442e-05,
+-4.37349135658282231866e-05,
+-4.48874030344820757594e-05,
+-4.60089558971416373264e-05,
+-4.70991823859845203494e-05,
+-4.81577118720843649186e-05,
+-4.91841929419274583989e-05,
+-5.01782934630889257735e-05,
+-5.11397006390924718810e-05,
+-5.20681210535034743074e-05,
+-5.29632807032923507936e-05,
+-5.38249250215106612256e-05,
+-5.46528188893461618547e-05,
+-5.54467466376069967565e-05,
+-5.62065120377057097340e-05,
+-5.69319382822057842072e-05,
+-5.76228679550160513534e-05,
+-5.82791629913088267694e-05,
+-5.89007046272428875285e-05,
+-5.94873933395923440545e-05,
+-6.00391487753712058541e-05,
+-6.05559096715516123285e-05,
+-6.10376337649892107507e-05,
+-6.14842976926593108057e-05,
+-6.18958968823238233226e-05,
+-6.22724454337409338497e-05,
+-6.26139759905511322129e-05,
+-6.29205396029612726468e-05,
+-6.31922055813587270996e-05,
+-6.34290613409973911456e-05,
+-6.36312122378911084342e-05,
+-6.37987813960626292450e-05,
+-6.39319095262928170339e-05,
+-6.40307547365266211065e-05,
+-6.40954923340890131856e-05,
+-6.41263146198697370432e-05,
+-6.41234306746411955895e-05,
+-6.40870661376762528177e-05,
+-6.40174629778308577552e-05,
+-6.39148792572699500983e-05,
+-6.37795888880064606964e-05,
+-6.36118813814352140369e-05,
+-6.34120615910403414867e-05,
+-6.31804494484613599157e-05,
+-6.29173796931019454690e-05,
+-6.26232015954722085176e-05,
+-6.22982786744524704445e-05,
+-6.19429884086736173409e-05,
+-6.15577219422070999163e-05,
+-6.11428837847619450737e-05,
+-6.06988915065878725514e-05,
+-6.02261754282833389803e-05,
+-5.97251783057105978649e-05,
+-5.91963550102224186499e-05,
+-5.86401722044022619997e-05,
+-5.80571080135254614690e-05,
+-5.74476516929463732093e-05,
+-5.68123032916220525477e-05,
+-5.61515733119774190850e-05,
+-5.54659823663211952113e-05,
+-5.47560608300273307289e-05,
+-5.40223484916846797155e-05,
+-5.32653942004291476500e-05,
+-5.24857555106721337967e-05,
+-5.16839983244288007024e-05,
+-5.08606965314631670927e-05,
+-5.00164316474561513313e-05,
+-4.91517924504131009438e-05,
+-4.82673746155130051357e-05,
+-4.73637803486131881954e-05,
+-4.64416180186217908985e-05,
+-4.55015017889379735677e-05,
+-4.45440512481755157082e-05,
+-4.35698910403685871315e-05,
+-4.25796504948757788397e-05,
+-4.15739632561744871879e-05,
+-4.05534669137558035886e-05,
+-3.95188026323245935744e-05,
+-3.84706147824963234157e-05,
+-3.74095505721943694328e-05,
+-3.63362596789495190404e-05,
+-3.52513938832865674302e-05,
+-3.41556067034013181253e-05,
+-3.30495530313091846969e-05,
+-3.19338887706706398895e-05,
+-3.08092704764648499791e-05,
+-2.96763549967042926164e-05,
+-2.85357991163705457791e-05,
+-2.73882592037593264182e-05,
+-2.62343908594002619289e-05,
+-2.50748485677371487745e-05,
+-2.39102853517339171191e-05,
+-2.27413524305865331410e-05,
+-2.15686988806957918462e-05,
+-2.03929713000709965051e-05,
+-1.92148134763324269733e-05,
+-1.80348660584579070906e-05,
+-1.68537662324394557363e-05,
+-1.56721474009943186837e-05,
+-1.44906388674901791041e-05,
+-1.33098655242168735925e-05,
+-1.21304475451532646111e-05,
+-1.09530000833746117339e-05,
+-9.77813297322283117563e-06,
+-8.60645043737828595960e-06,
+-7.43855079896758336784e-06,
+-6.27502619881871961423e-06,
+-5.11646231799598331854e-06,
+-3.96343810572348692644e-06,
+-2.81652551282231002175e-06,
+-1.67628923075757107106e-06,
+-5.43286436407872494914e-07,
+ 5.81933457334323180159e-07,
+ 1.69882904504591760570e-06,
+ 2.80686716623920578712e-06,
+ 3.90552313671397189482e-06,
+ 4.99428097372263609408e-06,
+ 6.07263361485467176461e-06,
+ 7.14008313057028191911e-06,
+ 8.19614093029787374922e-06,
+ 9.24032796203801469698e-06,
+ 1.02721749054007427328e-05,
+ 1.12912223580112092028e-05,
+ 1.22970210152323833412e-05,
+ 1.32891318431440794091e-05,
+ 1.42671262447347562611e-05,
+ 1.52305862192577593330e-05,
+ 1.61791045147036835158e-05,
+ 1.71122847733627428900e-05,
+ 1.80297416704377348772e-05,
+ 1.89311010456723673200e-05,
+ 1.98160000279815890877e-05,
+ 2.06840871530521841883e-05,
+ 2.15350224739038173570e-05,
+ 2.23684776643877086669e-05,
+ 2.31841361156243059649e-05,
+ 2.39816930253700516258e-05,
+ 2.47608554803058473310e-05,
+ 2.55213425312606982502e-05,
+ 2.62628852613713497754e-05,
+ 2.69852268471835885421e-05,
+ 2.76881226127196124491e-05,
+ 2.83713400765207057253e-05,
+ 2.90346589916937132319e-05,
+ 2.96778713789779565021e-05,
+ 3.03007815528719345064e-05,
+ 3.09032061408479746811e-05,
+ 3.14849740956869842052e-05,
+ 3.20459267009823244011e-05,
+ 3.25859175698492306789e-05,
+ 3.31048126368919349237e-05,
+ 3.36024901434722378835e-05,
+ 3.40788406163417342690e-05,
+ 3.45337668396904437789e-05,
+ 3.49671838206697444440e-05,
+ 3.53790187484598781464e-05,
+ 3.57692109469451898635e-05,
+ 3.61377118210646532115e-05,
+ 3.64844847969168087159e-05,
+ 3.68095052556900961707e-05,
+ 3.71127604615011769638e-05,
+ 3.73942494832178994610e-05,
+ 3.76539831103605689643e-05,
+ 3.78919837631567116656e-05,
+ 3.81082853968511798366e-05,
+ 3.83029334003578804196e-05,
+ 3.84759844893473848450e-05,
+ 3.86275065938727009992e-05,
+ 3.87575787406301688963e-05,
+ 3.88662909299569613790e-05,
+ 3.89537440076727901374e-05,
+ 3.90200495318706458425e-05,
+ 3.90653296347647622198e-05,
+ 3.90897168797087779285e-05,
+ 3.90933541134949965766e-05,
+ 3.90763943140510594358e-05,
+ 3.90390004336481431357e-05,
+ 3.89813452377418961383e-05,
+ 3.89036111395635601957e-05,
+ 3.88059900305833037435e-05,
+ 3.86886831069694882507e-05,
+ 3.85519006921667821723e-05,
+ 3.83958620557194456086e-05,
+ 3.82207952284667728518e-05,
+ 3.80269368142381611136e-05,
+ 3.78145317981768458210e-05,
+ 3.75838333518232266695e-05,
+ 3.73351026350875769854e-05,
+ 3.70686085952445174832e-05,
+ 3.67846277630824283257e-05,
+ 3.64834440463398959695e-05,
+ 3.61653485205640830985e-05,
+ 3.58306392175243310777e-05,
+ 3.54796209113175163119e-05,
+ 3.51126049022988697399e-05,
+ 3.47299087989734188192e-05,
+ 3.43318562979863894208e-05,
+ 3.39187769623452468762e-05,
+ 3.34910059980102160423e-05,
+ 3.30488840289914551757e-05,
+ 3.25927568710847293757e-05,
+ 3.21229753043848019326e-05,
+ 3.16398948447075694127e-05,
+ 3.11438755140624220878e-05,
+ 3.06352816103032127987e-05,
+ 3.01144814760946232977e-05,
+ 2.95818472673267157311e-05,
+ 2.90377547211135299580e-05,
+ 2.84825829235031577303e-05,
+ 2.79167140770347614077e-05,
+ 2.73405332682701918481e-05,
+ 2.67544282354346262150e-05,
+ 2.61587891362891606750e-05,
+ 2.55540083163661297088e-05,
+ 2.49404800776966532080e-05,
+ 2.43186004481496464925e-05,
+ 2.36887669515123128053e-05,
+ 2.30513783784305334912e-05,
+ 2.24068345583368003357e-05,
+ 2.17555361324791958683e-05,
+ 2.10978843281734282551e-05,
+ 2.04342807343983282075e-05,
+ 1.97651270788443597626e-05,
+ 1.90908250065320015982e-05,
+ 1.84117758601161542057e-05,
+ 1.77283804619801040644e-05,
+ 1.70410388982337398535e-05,
+ 1.63501503047186065565e-05,
+ 1.56561126551311619623e-05,
+ 1.49593225513600180476e-05,
+ 1.42601750161419401356e-05,
+ 1.35590632881392743862e-05,
+ 1.28563786195291532370e-05,
+ 1.21525100762025804540e-05,
+ 1.14478443406703827613e-05,
+ 1.07427655177589017509e-05,
+ 1.00376549431903564451e-05,
+ 9.33289099512935430329e-06,
+ 8.62884890878591384318e-06,
+ 7.92590059414905157801e-06,
+ 7.22441445693406108369e-06,
+ 6.52475522282227181239e-06,
+ 5.82728376506354903543e-06,
+ 5.13235693551778566856e-06,
+ 4.44032739920081165146e-06,
+ 3.75154347240349402752e-06,
+ 3.06634896445295587704e-06,
+ 2.38508302317038128695e-06,
+ 1.70807998408878326806e-06,
+ 1.03566922349157826689e-06,
+ 3.68175015318385312927e-07,
+-2.94083608003316195796e-07,
+-9.50792990756428532175e-07,
+-1.60164498510903015186e-06,
+-2.24633707822957432882e-06,
+-2.88457251529725585548e-06,
+-3.51606041836507742817e-06,
+-4.14051590104719538038e-06,
+-4.75766017899043685381e-06,
+-5.36722067610390392149e-06,
+-5.96893112651196722918e-06,
+-6.56253167221256118968e-06,
+-7.14776895641407462845e-06,
+-7.72439621252695393942e-06,
+-8.29217334879925126829e-06,
+-8.85086702857723481774e-06,
+-9.40025074617520820593e-06,
+-9.94010489835155732234e-06,
+-1.04702168513777000056e-05,
+-1.09903810036992033189e-05,
+-1.15003988441811452764e-05,
+-1.20000790059446446682e-05,
+-1.24892373157938542529e-05,
+-1.29676968392356399312e-05,
+-1.34352879211056542826e-05,
+-1.38918482218078280619e-05,
+-1.43372227491767596487e-05,
+-1.47712638859842104608e-05,
+-1.51938314131016376365e-05,
+-1.56047925283423453849e-05,
+-1.60040218609994824601e-05,
+-1.63914014821137958761e-05,
+-1.67668209104843766012e-05,
+-1.71301771144641440945e-05,
+-1.74813745095637493407e-05,
+-1.78203249518961361498e-05,
+-1.81469477275017576168e-05,
+-1.84611695375891659296e-05,
+-1.87629244797279366534e-05,
+-1.90521540250400636825e-05,
+-1.93288069914307297748e-05,
+-1.95928395129016073037e-05,
+-1.98442150049985344194e-05,
+-2.00829041264385711751e-05,
+-2.03088847369703611226e-05,
+-2.05221418515166891200e-05,
+-2.07226675906578703594e-05,
+-2.09104611275098419107e-05,
+-2.10855286310533183536e-05,
+-2.12478832059765801270e-05,
+-2.13975448290907599989e-05,
+-2.15345402823791832330e-05,
+-2.16589030827471214040e-05,
+-2.17706734085350807535e-05,
+-2.18698980228635944017e-05,
+-2.19566301938759495123e-05,
+-2.20309296119498917597e-05,
+-2.20928623039478315611e-05,
+-2.21425005445764114633e-05,
+-2.21799227649298888801e-05,
+-2.22052134582895725366e-05,
+-2.22184630832555388114e-05,
+-2.22197679642845197419e-05,
+-2.22092301897129874779e-05,
+-2.21869575073414682510e-05,
+-2.21530632176585956473e-05,
+-2.21076660647849037526e-05,
+-2.20508901252157237687e-05,
+-2.19828646944432693725e-05,
+-2.19037241715403474508e-05,
+-2.18136079417860268177e-05,
+-2.17126602574166129554e-05,
+-2.16010301165839486721e-05,
+-2.14788711406044598715e-05,
+-2.13463414495824367763e-05,
+-2.12036035364909901271e-05,
+-2.10508241397952941727e-05,
+-2.08881741147017592605e-05,
+-2.07158283031179152496e-05,
+-2.05339654024071466103e-05,
+-2.03427678330234534560e-05,
+-2.01424216051101083219e-05,
+-1.99331161841466409333e-05,
+-1.97150443557298639234e-05,
+-1.94884020895712982066e-05,
+-1.92533884027966296513e-05,
+-1.90102052226298810192e-05,
+-1.87590572485473988781e-05,
+-1.85001518139830994003e-05,
+-1.82336987476685074346e-05,
+-1.79599102346913299191e-05,
+-1.76790006773522863739e-05,
+-1.73911865559027042601e-05,
+-1.70966862892450109082e-05,
+-1.67957200956739338487e-05,
+-1.64885098537402634234e-05,
+-1.61752789633142813903e-05,
+-1.58562522069297573337e-05,
+-1.55316556114829399716e-05,
+-1.52017163103647922620e-05,
+-1.48666624061033995360e-05,
+-1.45267228335893107877e-05,
+-1.41821272239584706039e-05,
+-1.38331057692081632425e-05,
+-1.34798890876143142534e-05,
+-1.31227080900243395635e-05,
+-1.27617938470932148766e-05,
+-1.23973774575348411156e-05,
+-1.20296899174529279452e-05,
+-1.16589619908198458004e-05,
+-1.12854240811699317332e-05,
+-1.09093061045693789425e-05,
+-1.05308373639278654549e-05,
+-1.01502464247116462527e-05,
+-9.76776099211927309387e-06,
+-9.38360778978138410360e-06,
+-8.99801244003842426661e-06,
+-8.61119934585468618966e-06,
+-8.22339157442569339263e-06,
+-7.83481074252833694781e-06,
+-7.44567690366960780872e-06,
+-7.05620843708181691813e-06,
+-6.66662193861726721860e-06,
+-6.27713211358587016620e-06,
+-5.88795167158394612084e-06,
+-5.49929122336098261949e-06,
+-5.11135917976332167136e-06,
+-4.72436165279991700163e-06,
+-4.33850235886762889933e-06,
+-3.95398252417811778438e-06,
+-3.57100079241896547341e-06,
+-3.18975313468634483958e-06,
+-2.81043276172503517281e-06,
+-2.43323003850372685734e-06,
+-2.05833240115816176063e-06,
+-1.68592427633299744872e-06,
+-1.31618700294525707091e-06,
+-9.49298756398597503033e-07,
+-5.85434475269598042740e-07,
+-2.24765790491995588430e-07,
+ 1.32539042944795253329e-07,
+ 4.86315211761806101974e-07,
+ 8.36401407601896179804e-07,
+ 1.18263988767470755612e-06,
+ 1.52487653281902728484e-06,
+ 1.86296090296814218483e-06,
+ 2.19674629001149769367e-06,
+ 2.52608976803993208671e-06,
+ 2.85085224096945087408e-06,
+ 3.17089848753367322990e-06,
+ 3.48609720364736703897e-06,
+ 3.79632104212865399887e-06,
+ 4.10144664978819417086e-06,
+ 4.40135470188026015846e-06,
+ 4.69592993391712774085e-06,
+ 4.98506117085352237869e-06,
+ 5.26864135364426027284e-06,
+ 5.54656756317971894038e-06,
+ 5.81874104161062011015e-06,
+ 6.08506721106972112904e-06,
+ 6.34545568979961026893e-06,
+ 6.59982030570251321293e-06,
+ 6.84807910732276385433e-06,
+ 7.09015437227939167509e-06,
+ 7.32597261316240703008e-06,
+ 7.55546458091406095787e-06,
+ 7.77856526571271897894e-06,
+ 7.99521389537842829865e-06,
+ 8.20535393132500495055e-06,
+ 8.40893306208027325446e-06,
+ 8.60590319439752568476e-06,
+ 8.79622044198663719764e-06,
+ 8.97984511188937595011e-06,
+ 9.15674168852855148177e-06,
+ 9.32687881545792753647e-06,
+ 9.49022927484590670408e-06,
+ 9.64676996472301928230e-06,
+ 9.79648187402453286072e-06,
+ 9.93935005546419846816e-06,
+ 1.00753635962716102202e-05,
+ 1.02045155868300701406e-05,
+ 1.03268030872496085793e-05,
+ 1.04422270919149080961e-05,
+ 1.05507924920450241771e-05,
+ 1.06525080363035427313e-05,
+ 1.07473862895008009574e-05,
+ 1.08354435894281464503e-05,
+ 1.09167000018650293508e-05,
+ 1.09911792738028123146e-05,
+ 1.10589087849281107333e-05,
+ 1.11199194974072203387e-05,
+ 1.11742459040198995155e-05,
+ 1.12219259746838584705e-05,
+ 1.12630011014179261237e-05,
+ 1.12975160417893515888e-05,
+ 1.13255188608912239713e-05,
+ 1.13470608718986725231e-05,
+ 1.13621965752502408455e-05,
+ 1.13709835965033970314e-05,
+ 1.13734826229117897745e-05,
+ 1.13697573387741017237e-05,
+ 1.13598743596030994434e-05,
+ 1.13439031651642332040e-05,
+ 1.13219160314340630866e-05,
+ 1.12939879615281848059e-05,
+ 1.12601966156488724434e-05,
+ 1.12206222401028280833e-05,
+ 1.11753475954396282394e-05,
+ 1.11244578837614569632e-05,
+ 1.10680406752547680398e-05,
+ 1.10061858339946508134e-05,
+ 1.09389854430727538072e-05,
+ 1.08665337290993678862e-05,
+ 1.07889269861304655274e-05,
+ 1.07062634990703402997e-05,
+ 1.06186434666001975772e-05,
+ 1.05261689236834371503e-05,
+ 1.04289436636973722826e-05,
+ 1.03270731602417616547e-05,
+ 1.02206644886739122943e-05,
+ 1.01098262474197981978e-05,
+ 9.99466847911029713993e-06,
+ 9.87530259159213775891e-06,
+ 9.75184127886138886650e-06,
+ 9.62439844196833259673e-06,
+ 9.49308910994118403798e-06,
+ 9.35802936077670613891e-06,
+ 9.21933624254407122552e-06,
+ 9.07712769464878633412e-06,
+ 8.93152246930307774312e-06,
+ 8.78264005324776636302e-06,
+ 8.63060058977119588699e-06,
+ 8.47552480106907815021e-06,
+ 8.31753391098935562125e-06,
+ 8.15674956820603695338e-06,
+ 7.99329376986349665764e-06,
+ 7.82728878573373623468e-06,
+ 7.65885708292866533933e-06,
+ 7.48812125120667820171e-06,
+ 7.31520392891465129538e-06,
+ 7.14022772960352193400e-06,
+ 6.96331516935741928119e-06,
+ 6.78458859487234582688e-06,
+ 6.60417011232208535555e-06,
+ 6.42218151704836629878e-06,
+ 6.23874422410881874162e-06,
+ 6.05397919971873245333e-06,
+ 5.86800689361913014930e-06,
+ 5.68094717240549469965e-06,
+ 5.49291925384726654124e-06,
+ 5.30404164223008170432e-06,
+ 5.11443206475166292147e-06,
+ 4.92420740899910160668e-06,
+ 4.73348366153649160803e-06,
+ 4.54237584763147922608e-06,
+ 4.35099797214519011545e-06,
+ 4.15946296161273383862e-06,
+ 3.96788260753767942779e-06,
+ 3.77636751092580240556e-06,
+ 3.58502702807880729068e-06,
+ 3.39396921767065449759e-06,
+ 3.20330078912824216524e-06,
+ 3.01312705233424288917e-06,
+ 2.82355186867183291849e-06,
+ 2.63467760343009042062e-06,
+ 2.44660507958478551702e-06,
+ 2.25943353297212192994e-06,
+ 2.07326056886889636990e-06,
+ 1.88818211999486711094e-06,
+ 1.70429240594666796266e-06,
+ 1.52168389407997070498e-06,
+ 1.34044726184580192320e-06,
+ 1.16067136059360877587e-06,
+ 9.82443180850182688139e-07,
+ 8.05847819080474491893e-07,
+ 6.30968445938113515307e-07,
+ 4.57886276012498259056e-07,
+ 2.86680539075394581232e-07,
+ 1.17428452831952805658e-07,
+-4.97948028199512061526e-08,
+-2.14916110022078276637e-07,
+-3.77864435677151772163e-07,
+-5.38570852660314438457e-07,
+-6.96968559519905157610e-07,
+-8.52992898671310133264e-07,
+-1.00658137308563959240e-06,
+-1.15767366147595502125e-06,
+-1.30621163198739205903e-06,
+-1.45213935439566631263e-06,
+-1.59540311081938818504e-06,
+-1.73595140495523324136e-06,
+-1.87373496984242769148e-06,
+-2.00870677416657680066e-06,
+-2.14082202711105138891e-06,
+-2.27003818176825526611e-06,
+-2.39631493712127321177e-06,
+-2.51961423860721225935e-06,
+-2.63990027727692722499e-06,
+-2.75713948756333368392e-06,
+-2.87130054367384340272e-06,
+-2.98235435462072420536e-06,
+-3.09027405790690176183e-06,
+-3.19503501188302714502e-06,
+-3.29661478679241666049e-06,
+-3.39499315452328387347e-06,
+-3.49015207708610277043e-06,
+-3.58207569383478124936e-06,
+-3.67075030745277205795e-06,
+-3.75616436872432333914e-06,
+-3.83830846011024974469e-06,
+-3.91717527815298500760e-06,
+-3.99275961473000555479e-06,
+-4.06505833718047160103e-06,
+-4.13407036732752447398e-06,
+-4.19979665941946242550e-06,
+-4.26224017701520252964e-06,
+-4.32140586883761345266e-06,
+-4.37730064362061373922e-06,
+-4.42993334397458008860e-06,
+-4.47931471929707665449e-06,
+-4.52545739775462975901e-06,
+-4.56837585736176623178e-06,
+-4.60808639618528355489e-06,
+-4.64460710170019533535e-06,
+-4.67795781932549308073e-06,
+-4.70816012016700297387e-06,
+-4.73523726799615031957e-06,
+-4.75921418549265574824e-06,
+-4.78011741977943205404e-06,
+-4.79797510727910759225e-06,
+-4.81281693792077799724e-06,
+-4.82467411872585649209e-06,
+-4.83357933680284597292e-06,
+-4.83956672177992600872e-06,
+-4.84267180770512457676e-06,
+-4.84293149444327853537e-06,
+-4.84038400859978304718e-06,
+-4.83506886400059992306e-06,
+-4.82702682175797029301e-06,
+-4.81629984995190550901e-06,
+-4.80293108295687288677e-06,
+-4.78696478044319962005e-06,
+-4.76844628608297569874e-06,
+-4.74742198598980721643e-06,
+-4.72393926692184768618e-06,
+-4.69804647427729357874e-06,
+-4.66979286991168869255e-06,
+-4.63922858980587374532e-06,
+-4.60640460161349042157e-06,
+-4.57137266211669161266e-06,
+-4.53418527461856474313e-06,
+-4.49489564630047438049e-06,
+-4.45355764557232873177e-06,
+-4.41022575944365265741e-06,
+-4.36495505094285770681e-06,
+-4.31780111661199634214e-06,
+-4.26882004410400630158e-06,
+-4.21806836990897163306e-06,
+-4.16560303723581088566e-06,
+-4.11148135407525745674e-06,
+-4.05576095146995474136e-06,
+-3.99849974201671793024e-06,
+-3.93975587862589741230e-06,
+-3.87958771356253902739e-06,
+-3.81805375779311230168e-06,
+-3.75521264066174805207e-06,
+-3.69112306991899966841e-06,
+-3.62584379212629908306e-06,
+-3.55943355345803456996e-06,
+-3.49195106092336089756e-06,
+-3.42345494402936616337e-06,
+-3.35400371690614687047e-06,
+-3.28365574091441607464e-06,
+-3.21246918775588953681e-06,
+-3.14050200310536497332e-06,
+-3.06781187078386562419e-06,
+-2.99445617749091577548e-06,
+-2.92049197811430259292e-06,
+-2.84597596163407434304e-06,
+-2.77096441763784568063e-06,
+-2.69551320346391274513e-06,
+-2.61967771198731242738e-06,
+-2.54351284006417954935e-06,
+-2.46707295764927670231e-06,
+-2.39041187760002226610e-06,
+-2.31358282618092573712e-06,
+-2.23663841428083219829e-06,
+-2.15963060935584024358e-06,
+-2.08261070810834870857e-06,
+-2.00562930991492076031e-06,
+-1.92873629101175331357e-06,
+-1.85198077944850633880e-06,
+-1.77541113081986172875e-06,
+-1.69907490478282910220e-06,
+-1.62301884236816257159e-06,
+-1.54728884409369261285e-06,
+-1.47192994888573774293e-06,
+-1.39698631381516495750e-06,
+-1.32250119465412662692e-06,
+-1.24851692725776004904e-06,
+-1.17507490977594879706e-06,
+-1.10221558569852023006e-06,
+-1.02997842773779330541e-06,
+-9.58401922550402422422e-07,
+-8.87523556300846598974e-07,
+-8.17379801068637194395e-07,
+-7.48006102099267160073e-07,
+-6.79436865899721901669e-07,
+-6.11705449178669713405e-07,
+-5.44844148629825548117e-07,
+-4.78884191557767192135e-07,
+-4.13855727343869051617e-07,
+-3.49787819750522529807e-07,
+-2.86708440059940296556e-07,
+-2.24644461044386128961e-07,
+-1.63621651764123018711e-07,
+-1.03664673187799380991e-07,
+-4.47970746308059675830e-08,
+ 0 /* Need a final zero coefficient */
+
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/samplerate.c
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/samplerate.c (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/samplerate.c 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,301 @@
+/*
+** Copyright (C) 2002,2003 Erik de Castro Lopo <erikd at mega-nerd.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 of the License, or
+** (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA.
+*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "config.h"
+
+#include "samplerate.h"
+#include "common.h"
+
+SRC_STATE *
+src_new (int converter_type, int channels, int *error)
+{ SRC_PRIVATE *psrc ;
+
+ if (error)
+ *error = SRC_ERR_NO_ERROR ;
+
+ if (channels < 1)
+ { if (error)
+ *error = SRC_ERR_BAD_CHANNEL_COUNT ;
+ return NULL ;
+ } ;
+
+ if ((psrc = calloc (1, sizeof (*psrc))) == NULL)
+ { if (error)
+ *error = SRC_ERR_MALLOC_FAILED ;
+ return NULL ;
+ } ;
+
+ psrc->channels = channels ;
+
+ if (sinc_set_converter (psrc, converter_type) != SRC_ERR_NO_ERROR &&
+ zoh_set_converter (psrc, converter_type) != SRC_ERR_NO_ERROR &&
+ linear_set_converter (psrc, converter_type) != SRC_ERR_NO_ERROR)
+ { if (error)
+ *error = SRC_ERR_BAD_CONVERTER ;
+ free (psrc) ;
+ psrc = NULL ;
+ } ;
+
+ src_reset ((SRC_STATE*) psrc) ;
+
+ return (SRC_STATE*) psrc ;
+} /* src_new */
+
+SRC_STATE *
+src_delete (SRC_STATE *state)
+{ SRC_PRIVATE *psrc ;
+
+ psrc = (SRC_PRIVATE*) state ;
+ if (psrc)
+ { if (psrc->private_data)
+ free (psrc->private_data) ;
+ memset (psrc, 0, sizeof (SRC_PRIVATE)) ;
+ free (psrc) ;
+ } ;
+
+ return NULL ;
+} /* src_state */
+
+int
+src_process (SRC_STATE *state, SRC_DATA *data)
+{ SRC_PRIVATE *psrc ;
+ int error ;
+
+ psrc = (SRC_PRIVATE*) state ;
+
+ if (psrc == NULL)
+ return SRC_ERR_BAD_STATE ;
+ if (psrc->process == NULL)
+ return SRC_ERR_BAD_PROC_PTR ;
+
+ /* Check for valid SRC_DATA first. */
+ if (data == NULL)
+ return SRC_ERR_BAD_DATA ;
+ /* Check src_ratio is in range. */
+ if (data->src_ratio < (1.0 / SRC_MAX_RATIO) || data->src_ratio > (1.0 * SRC_MAX_RATIO))
+ return SRC_ERR_BAD_SRC_RATIO ;
+
+ /* And that data_in and data_out are valid. */
+ if (data->data_in == NULL || data->data_out == NULL)
+ return SRC_ERR_BAD_DATA_PTR ;
+
+ if (data->data_in == NULL)
+ data->input_frames = 0 ;
+
+ if (data->data_in < data->data_out)
+ { if (data->data_in + data->input_frames * psrc->channels > data->data_out)
+ { /*-printf ("data_in: %p data_out: %p\n",
+ data->data_in + data->input_frames * psrc->channels, data->data_out) ;-*/
+ return SRC_ERR_DATA_OVERLAP ;
+ } ;
+ }
+ else if (data->data_out + data->output_frames * psrc->channels > data->data_in)
+ { /*-printf ("data_out: %p (%p) data_in: %p\n", data->data_out,
+ data->data_out + data->output_frames * psrc->channels, data->data_in) ;-*/
+ return SRC_ERR_DATA_OVERLAP ;
+ } ;
+
+ if (data->input_frames < 0)
+ data->input_frames = 0 ;
+ if (data->output_frames < 0)
+ data->output_frames = 0 ;
+
+ /* Set the input and output counts to zero. */
+ data->input_frames_used = 0 ;
+ data->output_frames_gen = 0 ;
+
+ /* Special case for when last_ratio has not been set. */
+ if (psrc->last_ratio < (1.0 / SRC_MAX_RATIO))
+ psrc->last_ratio = data->src_ratio ;
+
+ /* Now process. */
+ error = psrc->process (psrc, data) ;
+
+ return error ;
+} /* src_process */
+
+int
+src_set_ratio (SRC_STATE *state, double new_ratio)
+{ SRC_PRIVATE *psrc ;
+
+ psrc = (SRC_PRIVATE*) state ;
+
+ if (psrc == NULL)
+ return SRC_ERR_BAD_STATE ;
+ if (psrc->process == NULL)
+ return SRC_ERR_BAD_PROC_PTR ;
+
+ psrc->last_ratio = new_ratio ;
+
+ return SRC_ERR_NO_ERROR ;
+} /* src_set_ratio */
+
+int
+src_reset (SRC_STATE *state)
+{ SRC_PRIVATE *psrc ;
+
+ if ((psrc = (SRC_PRIVATE*) state) == NULL)
+ return SRC_ERR_BAD_STATE ;
+
+ if (psrc->reset != NULL)
+ psrc->reset (psrc) ;
+
+ psrc->last_position = 0.0 ;
+ psrc->last_ratio = 0.0 ;
+
+ psrc->error = SRC_ERR_NO_ERROR ;
+
+ return SRC_ERR_NO_ERROR ;
+} /* src_reset */
+
+/*==============================================================================
+** Control functions.
+*/
+
+const char *
+src_get_name (int converter_type)
+{ const char *desc ;
+
+ if ((desc = sinc_get_name (converter_type)) != NULL)
+ return desc ;
+
+ if ((desc = zoh_get_name (converter_type)) != NULL)
+ return desc ;
+
+ if ((desc = linear_get_name (converter_type)) != NULL)
+ return desc ;
+
+ return NULL ;
+} /* src_get_name */
+
+const char *
+src_get_description (int converter_type)
+{ const char *desc ;
+
+ if ((desc = sinc_get_description (converter_type)) != NULL)
+ return desc ;
+
+ if ((desc = zoh_get_description (converter_type)) != NULL)
+ return desc ;
+
+ if ((desc = linear_get_description (converter_type)) != NULL)
+ return desc ;
+
+ return NULL ;
+} /* src_get_description */
+
+const char *
+src_get_version (void)
+{ return "libsamplerate-k3b";/*PACKAGE "-" VERSION ;*/
+} /* src_get_version */
+
+int
+src_is_valid_ratio (double ratio)
+{
+ if (ratio < (1.0 / SRC_MAX_RATIO) || ratio > (1.0 * SRC_MAX_RATIO))
+ return SRC_FALSE ;
+
+ return SRC_TRUE ;
+} /* src_is_valid_ratio */
+
+/*==============================================================================
+** Error reporting functions.
+*/
+
+int
+src_error (SRC_STATE *state)
+{ if (state)
+ return ((SRC_PRIVATE*) state)->error ;
+ return SRC_ERR_NO_ERROR ;
+} /* src_error */
+
+const char*
+src_strerror (int error)
+{
+ switch (error)
+ { case SRC_ERR_NO_ERROR :
+ return "No error" ;
+ case SRC_ERR_MALLOC_FAILED :
+ return "Malloc failed." ;
+ case SRC_ERR_BAD_STATE :
+ return "SRC_STATE pointer is NULL." ;
+ case SRC_ERR_BAD_DATA :
+ return "SRC_DATA pointer is NULL." ;
+ case SRC_ERR_BAD_DATA_PTR :
+ return "SRC_DATA->data_out is NULL." ;
+ case SRC_ERR_NO_PRIVATE :
+ return "Internal error. No private data." ;
+ case SRC_ERR_BAD_SRC_RATIO :
+ return "SRC ratio outside [-12, 12] range." ;
+ case SRC_ERR_BAD_SINC_STATE :
+ return "src_process() called without reset after end_of_input." ;
+ case SRC_ERR_BAD_PROC_PTR :
+ return "Internal error. No process pointer." ;
+ case SRC_ERR_SHIFT_BITS :
+ return "Internal error. SHIFT_BITS too large." ;
+ case SRC_ERR_FILTER_LEN :
+ return "Internal error. Filter length too large." ;
+ case SRC_ERR_BAD_CONVERTER :
+ return "Bad converter number." ;
+ case SRC_ERR_BAD_CHANNEL_COUNT :
+ return "Channel count must be >= 1." ;
+ case SRC_ERR_SINC_BAD_BUFFER_LEN :
+ return "Internal error. Bad buffer length. Please report this." ;
+ case SRC_ERR_SIZE_INCOMPATIBILITY :
+ return "Internal error. Input data / internal buffer size difference. Please report this." ;
+ case SRC_ERR_BAD_PRIV_PTR :
+ return "Internal error. Private pointer is NULL. Please report this." ;
+
+ case SRC_ERR_DATA_OVERLAP :
+ return "Input and output data arrays overlap." ;
+
+ case SRC_ERR_MAX_ERROR :
+ return "Placeholder. No error defined for this error number." ;
+
+ default : break ;
+ }
+
+ return NULL ;
+} /* src_strerror */
+
+/*==============================================================================
+** Simple interface for performing a single conversion from input buffer to
+** output buffer at a fixed conversion ratio.
+*/
+
+int
+src_simple (SRC_DATA *src_data, int converter, int channels)
+{ SRC_STATE *src_state ;
+ int error ;
+
+ if ((src_state = src_new (converter, channels, &error)) == NULL)
+ return error ;
+
+ src_data->end_of_input = 1 ; /* Only one buffer worth of input. */
+
+ error = src_process (src_state, src_data) ;
+
+ src_state = src_delete (src_state) ;
+
+ return error ;
+} /* src_simple */
+
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/samplerate.h
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/samplerate.h (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/samplerate.h 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,138 @@
+/*
+** Copyright (C) 2002,2003 Erik de Castro Lopo <erikd at mega-nerd.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 of the License, or
+** (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA.
+*/
+
+/*
+** API documentation is available here:
+** http://www.mega-nerd.com/SRC/api.html
+*/
+
+#ifndef SAMPLERATE_H
+#define SAMPLERATE_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+typedef struct SRC_STATE_tag SRC_STATE ;
+
+typedef struct
+{ float *data_in, *data_out ;
+
+ long input_frames, output_frames ;
+ long input_frames_used, output_frames_gen ;
+
+ int end_of_input ;
+
+ double src_ratio ;
+} SRC_DATA ;
+
+/*
+** Simple interface for performing a single conversion from input buffer to
+** output buffer at a fixed conversion ratio.
+*/
+int src_simple (SRC_DATA *data, int converter_type, int channels) ;
+
+/*
+** Initialisation function : return an anonymous pointer to the internal state
+** of the converter. Choose a converter from the enums below.
+*/
+
+SRC_STATE* src_new (int converter_type, int channels, int *error) ;
+
+/*
+** Cleanup all internal allocations.
+** Always returns NULL.
+*/
+
+SRC_STATE* src_delete (SRC_STATE *state) ;
+
+/*
+** This library contains a number of different sample rate converters,
+** numbered 0 through N.
+**
+** Return a string giving either a name or a more full description of each
+** sample rate converter or NULL if no sample rate converter exists for
+** the given value. The converters are sequentially numbered from 0 to N.
+*/
+
+const char *src_get_name (int converter_type) ;
+const char *src_get_description (int converter_type) ;
+const char *src_get_version (void) ;
+
+/*
+** Processing function.
+** Returns non zero on error.
+*/
+
+int src_process (SRC_STATE *state, SRC_DATA *data) ;
+
+/*
+** Set a new SRC ratio. This allows step responses
+** in the conversion ratio.
+** Returns non zero on error.
+*/
+
+int src_set_ratio (SRC_STATE *state, double new_ratio) ;
+
+/*
+** Reset the internal SRC state.
+** Does not modify the quality settings.
+** Does not free any memory allocations.
+** Returns non zero on error.
+*/
+
+int src_reset (SRC_STATE *state) ;
+
+/*
+** Return TRUE if ratio is a valid conversion ratio, FALSE
+** otherwise.
+*/
+
+int src_is_valid_ratio (double ratio) ;
+
+/*
+** Return an error number.
+*/
+
+int src_error (SRC_STATE *state) ;
+
+/*
+** Convert the error number into a string.
+*/
+const char* src_strerror (int error) ;
+
+/*
+** The following enums can be used to set the interpolator type
+** using the function src_set_converter().
+*/
+
+enum
+{
+ SRC_SINC_BEST_QUALITY = 0,
+ SRC_SINC_MEDIUM_QUALITY = 1,
+ SRC_SINC_FASTEST = 2,
+ SRC_ZERO_ORDER_HOLD = 3,
+ SRC_LINEAR = 4
+} ;
+
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif /* __cplusplus */
+
+#endif /* SAMPLERATE_H */
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/src_linear.c
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/src_linear.c (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/src_linear.c 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,194 @@
+/*
+** Copyright (C) 2002,2003 Erik de Castro Lopo <erikd at mega-nerd.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 of the License, or
+** (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA.
+*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "config.h"
+#include "float_cast.h"
+#include "common.h"
+
+static void linear_reset (SRC_PRIVATE *psrc) ;
+
+/*========================================================================================
+*/
+
+#define LINEAR_MAGIC_MARKER MAKE_MAGIC('l','i','n','e','a','r')
+
+typedef struct
+{ int linear_magic_marker ;
+ int channels ;
+ long in_count, in_used ;
+ long out_count, out_gen ;
+ float last_value [1] ;
+} LINEAR_DATA ;
+
+/*----------------------------------------------------------------------------------------
+*/
+int
+linear_process (SRC_PRIVATE *psrc, SRC_DATA *data)
+{ LINEAR_DATA *linear ;
+ double src_ratio, input_index ;
+ int ch ;
+
+ if (psrc->private_data == NULL)
+ return SRC_ERR_NO_PRIVATE ;
+
+ linear = (LINEAR_DATA*) psrc->private_data ;
+
+ linear->in_count = data->input_frames * linear->channels ;
+ linear->out_count = data->output_frames * linear->channels ;
+ linear->in_used = linear->out_gen = 0 ;
+
+ src_ratio = psrc->last_ratio ;
+ input_index = psrc->last_position ;
+
+ /* Calculate samples before first sample in input array. */
+ while (input_index > 0.0 && input_index < 1.0 && linear->out_gen < linear->out_count)
+ {
+ if (linear->in_used + input_index > linear->in_count)
+ break ;
+
+ if (fabs (psrc->last_ratio - data->src_ratio) > SRC_MIN_RATIO_DIFF)
+ src_ratio = psrc->last_ratio + linear->out_gen * (data->src_ratio - psrc->last_ratio) / (linear->out_count - 1) ;
+
+ for (ch = 0 ; ch < linear->channels ; ch++)
+ { data->data_out [linear->out_gen] = linear->last_value [ch] + input_index *
+ (data->data_in [ch] - linear->last_value [ch]) ;
+ linear->out_gen ++ ;
+ } ;
+
+ /* Figure out the next index. */
+ input_index += 1.0 / src_ratio ;
+ } ;
+
+ /* Main processing loop. */
+ while (linear->out_gen < linear->out_count)
+ {
+ linear->in_used += linear->channels * lrint (floor (input_index)) ;
+ input_index -= floor (input_index) ;
+
+ if (linear->in_used + input_index > linear->in_count)
+ break ;
+
+ if (fabs (psrc->last_ratio - data->src_ratio) > SRC_MIN_RATIO_DIFF)
+ src_ratio = psrc->last_ratio + linear->out_gen * (data->src_ratio - psrc->last_ratio) / (linear->out_count - 1) ;
+
+ for (ch = 0 ; ch < linear->channels ; ch++)
+ { data->data_out [linear->out_gen] = data->data_in [linear->in_used + ch] + input_index *
+ (data->data_in [linear->in_used + linear->channels + ch] - data->data_in [linear->in_used + ch]) ;
+ linear->out_gen ++ ;
+ } ;
+
+ /* Figure out the next index. */
+ input_index += 1.0 / src_ratio ;
+ } ;
+
+/*- if (input_index > linear->in_count - linear->in_used)
+ { input_index -= linear->in_count - linear->in_used ;
+ linear->in_used = linear->in_count ;
+ puts ("XXXXXXXXXX") ; /+*-exit (1) ;-*+/
+ } ;
+-*/
+
+ psrc->last_position = input_index ;
+
+ for (ch = 0 ; ch < linear->channels ; ch++)
+ { linear->last_value [ch] = data->data_in [linear->in_used - linear->channels + ch] ;
+
+/*- data->data_out [0 + ch] = -0.9 ;
+ data->data_out [linear->out_gen - linear->channels + ch] = 0.9 ; -*/
+ } ;
+
+ /* Save current ratio rather then target ratio. */
+ psrc->last_ratio = src_ratio ;
+
+ data->input_frames_used = linear->in_used / linear->channels ;
+ data->output_frames_gen = linear->out_gen / linear->channels ;
+
+ return SRC_ERR_NO_ERROR ;
+} /* linear_process */
+
+/*------------------------------------------------------------------------------
+*/
+
+const char*
+linear_get_name (int src_enum)
+{
+ if (src_enum == SRC_LINEAR)
+ return "Linear Interpolator" ;
+
+ return NULL ;
+} /* linear_get_name */
+
+const char*
+linear_get_description (int src_enum)
+{
+ if (src_enum == SRC_LINEAR)
+ return "Linear interpolator, very fast, poor quality." ;
+
+ return NULL ;
+} /* linear_get_descrition */
+
+int
+linear_set_converter (SRC_PRIVATE *psrc, int src_enum)
+{ LINEAR_DATA *linear ;
+
+ if (src_enum != SRC_LINEAR)
+ return SRC_ERR_BAD_CONVERTER ;
+
+ if (psrc->private_data != NULL)
+ { linear = (LINEAR_DATA*) psrc->private_data ;
+ if (linear->linear_magic_marker != LINEAR_MAGIC_MARKER)
+ { free (psrc->private_data) ;
+ psrc->private_data = NULL ;
+ } ;
+ } ;
+
+ if (psrc->private_data == NULL)
+ { linear = calloc (1, sizeof (*linear) + psrc->channels * sizeof (float)) ;
+ if (linear == NULL)
+ return SRC_ERR_MALLOC_FAILED ;
+ psrc->private_data = linear ;
+ } ;
+
+ linear->linear_magic_marker = LINEAR_MAGIC_MARKER ;
+ linear->channels = psrc->channels ;
+
+ psrc->process = linear_process ;
+ psrc->reset = linear_reset ;
+
+ linear_reset (psrc) ;
+
+ return SRC_ERR_NO_ERROR ;
+} /* linear_set_converter */
+
+/*===================================================================================
+*/
+
+static void
+linear_reset (SRC_PRIVATE *psrc)
+{ LINEAR_DATA *linear ;
+
+ linear = (LINEAR_DATA*) psrc->private_data ;
+ if (linear == NULL)
+ return ;
+
+ memset (linear->last_value, 0, sizeof (linear->last_value [0]) * linear->channels) ;
+} /* linear_reset */
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/src_sinc.c
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/src_sinc.c (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/src_sinc.c 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,471 @@
+/*
+** Copyright (C) 2002,2003 Erik de Castro Lopo <erikd at mega-nerd.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 of the License, or
+** (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA.
+*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "config.h"
+#include "float_cast.h"
+#include "common.h"
+
+#define SINC_MAGIC_MARKER MAKE_MAGIC(' ','s','i','n','c',' ')
+
+#define ARRAY_LEN(x) ((int) (sizeof (x) / sizeof ((x) [0])))
+
+/*========================================================================================
+** Macros for handling the index into the array for the filter.
+** Double precision floating point is not accurate enough so use a 64 bit
+** fixed point value instead. SHIFT_BITS (current value of 48) is the number
+** of bits to the right of the decimal point.
+** The rest of the macros are for retrieving the fractional and integer parts
+** and for converting floats and ints to the fixed point format or from the
+** fixed point type back to integers and floats.
+*/
+
+#define MAKE_INCREMENT_T(x) ((increment_t) (x))
+
+#define SHIFT_BITS 16
+#define FP_ONE ((double) (((increment_t) 1) << SHIFT_BITS))
+
+#define DOUBLE_TO_FP(x) (lrint ((x) * FP_ONE))
+#define INT_TO_FP(x) (((increment_t) (x)) << SHIFT_BITS)
+
+#define FP_FRACTION_PART(x) ((x) & ((((increment_t) 1) << SHIFT_BITS) - 1))
+#define FP_INTEGER_PART(x) ((x) & (((increment_t) -1) << SHIFT_BITS))
+
+#define FP_TO_INT(x) (((x) >> SHIFT_BITS))
+#define FP_TO_DOUBLE(x) (FP_FRACTION_PART (x) / FP_ONE)
+
+/*========================================================================================
+*/
+
+typedef int32_t increment_t ;
+typedef float coeff_t ;
+
+enum
+{
+ STATE_BUFFER_START = 101,
+ STATE_DATA_CONTINUE = 102,
+ STATE_BUFFER_END = 103,
+ STATE_FINISHED
+} ;
+
+typedef struct
+{ int sinc_magic_marker ;
+
+ int channels ;
+ long in_count, in_used ;
+ long out_count, out_gen ;
+
+ int coeff_half_len, index_inc ;
+ int has_diffs ;
+
+ double src_ratio, input_index ;
+
+ int coeff_len ;
+ coeff_t const *coeffs ;
+
+ int b_current, b_end, b_real_end, b_len ;
+ float *pdata ;
+ float buffer [1] ;
+} SINC_FILTER ;
+
+static double calc_output (SINC_FILTER *filter, increment_t increment, increment_t start_filter_index, int ch) ;
+
+static void prepare_data (SINC_FILTER *filter, SRC_DATA *data, int half_filter_chan_len) ;
+
+static void sinc_reset (SRC_PRIVATE *psrc) ;
+
+static coeff_t const high_qual_coeffs [] =
+{
+#include "high_qual_coeffs.h"
+} ; /* high_qual_coeffs */
+
+static coeff_t const mid_qual_coeffs [] =
+{
+#include "mid_qual_coeffs.h"
+} ; /* mid_qual_coeffs */
+
+static coeff_t const fastest_coeffs [] =
+{
+#include "fastest_coeffs.h"
+} ; /* fastest_coeffs */
+
+/*----------------------------------------------------------------------------------------
+*/
+
+const char*
+sinc_get_name (int src_enum)
+{
+ switch (src_enum)
+ { case SRC_SINC_BEST_QUALITY :
+ return "Best Sinc Interpolator" ;
+
+ case SRC_SINC_MEDIUM_QUALITY :
+ return "Medium Sinc Interpolator" ;
+
+ case SRC_SINC_FASTEST :
+ return "Fastest Sinc Interpolator" ;
+ } ;
+
+ return NULL ;
+} /* sinc_get_descrition */
+
+const char*
+sinc_get_description (int src_enum)
+{
+ switch (src_enum)
+ { case SRC_SINC_BEST_QUALITY :
+ return "Band limitied sinc interpolation, best quality, 97dB SNR, 96% BW." ;
+
+ case SRC_SINC_MEDIUM_QUALITY :
+ return "Band limitied sinc interpolation, medium quality, 97dB SNR, 90% BW." ;
+
+ case SRC_SINC_FASTEST :
+ return "Band limitied sinc interpolation, fastest, 97dB SNR, 80% BW." ;
+ } ;
+
+ return NULL ;
+} /* sinc_get_descrition */
+
+int
+sinc_set_converter (SRC_PRIVATE *psrc, int src_enum)
+{ SINC_FILTER *filter, temp_filter ;
+ int count ;
+
+ /* Quick sanity check. */
+ if (SHIFT_BITS >= sizeof (increment_t) * 8 - 1)
+ return SRC_ERR_SHIFT_BITS ;
+
+ if (psrc->private_data != NULL)
+ { filter = (SINC_FILTER*) psrc->private_data ;
+ if (filter->sinc_magic_marker != SINC_MAGIC_MARKER)
+ { free (psrc->private_data) ;
+ psrc->private_data = NULL ;
+ } ;
+ } ;
+
+ memset (&temp_filter, 0, sizeof (temp_filter)) ;
+
+ temp_filter.sinc_magic_marker = SINC_MAGIC_MARKER ;
+ temp_filter.channels = psrc->channels ;
+
+ psrc->process = sinc_process ;
+ psrc->reset = sinc_reset ;
+
+ switch (src_enum)
+ { case SRC_SINC_BEST_QUALITY :
+ temp_filter.coeffs = high_qual_coeffs ;
+ temp_filter.coeff_half_len = (sizeof (high_qual_coeffs) / sizeof (coeff_t)) - 1 ;
+ temp_filter.index_inc = 128 ;
+ temp_filter.has_diffs = SRC_FALSE ;
+ temp_filter.coeff_len = sizeof (high_qual_coeffs) / sizeof (coeff_t) ;
+ break ;
+
+ case SRC_SINC_MEDIUM_QUALITY :
+ temp_filter.coeffs = mid_qual_coeffs ;
+ temp_filter.coeff_half_len = (sizeof (mid_qual_coeffs) / sizeof (coeff_t)) - 1 ;
+ temp_filter.index_inc = 128 ;
+ temp_filter.has_diffs = SRC_FALSE ;
+ temp_filter.coeff_len = sizeof (mid_qual_coeffs) / sizeof (coeff_t) ;
+ break ;
+
+ case SRC_SINC_FASTEST :
+ temp_filter.coeffs = fastest_coeffs ;
+ temp_filter.coeff_half_len = (sizeof (fastest_coeffs) / sizeof (coeff_t)) - 1 ;
+ temp_filter.index_inc = 128 ;
+ temp_filter.has_diffs = SRC_FALSE ;
+ temp_filter.coeff_len = sizeof (fastest_coeffs) / sizeof (coeff_t) ;
+ break ;
+
+ default :
+ return SRC_ERR_BAD_CONVERTER ;
+ } ;
+
+ /*
+ ** FIXME : This needs to be looked at more closely to see if there is
+ ** a better way. Need to look at prepare_data () at the same time.
+ */
+
+ temp_filter.b_len = 1000 + 2 * lrint (ceil (temp_filter.coeff_len / (temp_filter.index_inc * 1.0) * SRC_MAX_RATIO)) ;
+ temp_filter.b_len *= temp_filter.channels ;
+
+ if ((filter = calloc (1, sizeof (SINC_FILTER) + sizeof (filter->buffer [0]) * (temp_filter.b_len + temp_filter.channels))) == NULL)
+ return SRC_ERR_MALLOC_FAILED ;
+
+ *filter = temp_filter ;
+ memset (&temp_filter, 0xEE, sizeof (temp_filter)) ;
+
+ psrc->private_data = filter ;
+
+ sinc_reset (psrc) ;
+
+ count = (filter->coeff_half_len * INT_TO_FP (1)) / FP_ONE ;
+
+ if (abs (count - filter->coeff_half_len) >= 1)
+ return SRC_ERR_FILTER_LEN ;
+
+ return SRC_ERR_NO_ERROR ;
+} /* sinc_set_converter */
+
+static void
+sinc_reset (SRC_PRIVATE *psrc)
+{ SINC_FILTER *filter ;
+
+ filter = (SINC_FILTER*) psrc->private_data ;
+ if (filter == NULL)
+ return ;
+
+ filter->b_current = filter->b_end = 0 ;
+ filter->b_real_end = -1 ;
+
+ filter->src_ratio = filter->input_index = 0.0 ;
+
+ memset (filter->buffer, 0, filter->b_len * sizeof (filter->buffer [0])) ;
+
+ /* Set this for a sanity check */
+ memset (filter->buffer + filter->b_len, 0xAA, filter->channels * sizeof (filter->buffer [0])) ;
+} /* sinc_reset */
+
+/*========================================================================================
+** Beware all ye who dare pass this point. There be dragons here.
+*/
+
+int
+sinc_process (SRC_PRIVATE *psrc, SRC_DATA *data)
+{ SINC_FILTER *filter ;
+ double input_index, src_ratio, count, float_increment, terminate ;
+ increment_t increment, start_filter_index ;
+ int half_filter_chan_len, samples_in_hand, ch ;
+
+ if (psrc->private_data == NULL)
+ return SRC_ERR_NO_PRIVATE ;
+
+ filter = (SINC_FILTER*) psrc->private_data ;
+
+ /* If there is not a problem, this will be optimised out. */
+ if (sizeof (filter->buffer [0]) != sizeof (data->data_in [0]))
+ return SRC_ERR_SIZE_INCOMPATIBILITY ;
+
+ filter->in_count = data->input_frames * filter->channels ;
+ filter->out_count = data->output_frames * filter->channels ;
+ filter->in_used = filter->out_gen = 0 ;
+
+ src_ratio = psrc->last_ratio ;
+
+ /* Check the sample rate ratio wrt the buffer len. */
+ count = (filter->coeff_half_len + 2.0) / filter->index_inc ;
+ if (MIN (psrc->last_ratio, data->src_ratio) < 1.0)
+ count /= MIN (psrc->last_ratio, data->src_ratio) ;
+ count = lrint (ceil (count)) ;
+
+ /* Maximum coefficientson either side of center point. */
+ half_filter_chan_len = filter->channels * (lrint (count) + 1) ;
+
+ input_index = psrc->last_position ;
+ if (input_index >= 1.0)
+ { filter->b_current = (filter->b_current + filter->channels * lrint (floor (input_index))) % filter->b_len ;
+ input_index -= floor (input_index) ;
+ } ;
+
+ float_increment = filter->index_inc ;
+
+ filter->b_current = (filter->b_current + filter->channels * lrint (floor (input_index))) % filter->b_len ;
+ input_index -= floor (input_index) ;
+
+ terminate = 1.0 / src_ratio + 1e-20 ;
+
+ /* Main processing loop. */
+ while (filter->out_gen < filter->out_count)
+ {
+ /* Need to reload buffer? */
+ samples_in_hand = (filter->b_end - filter->b_current + filter->b_len) % filter->b_len ;
+
+ if (samples_in_hand <= half_filter_chan_len)
+ { prepare_data (filter, data, half_filter_chan_len) ;
+
+ samples_in_hand = (filter->b_end - filter->b_current + filter->b_len) % filter->b_len ;
+ if (samples_in_hand <= half_filter_chan_len)
+ break ;
+ } ;
+
+ /* This is the termination condition. */
+ if (filter->b_real_end >= 0)
+ { if (filter->b_current + input_index + terminate >= filter->b_real_end)
+ break ;
+ } ;
+
+ if (fabs (psrc->last_ratio - data->src_ratio) > 1e-10)
+ src_ratio = psrc->last_ratio + filter->out_gen * (data->src_ratio - psrc->last_ratio) / (filter->out_count - 1) ;
+
+ float_increment = filter->index_inc * 1.0 ;
+ if (src_ratio < 1.0)
+ float_increment = filter->index_inc * src_ratio ;
+
+ increment = DOUBLE_TO_FP (float_increment) ;
+
+ start_filter_index = DOUBLE_TO_FP (input_index * float_increment) ;
+
+ for (ch = 0 ; ch < filter->channels ; ch++)
+ { data->data_out [filter->out_gen] = (float_increment / filter->index_inc) *
+ calc_output (filter, increment, start_filter_index, ch) ;
+ filter->out_gen ++ ;
+ } ;
+
+ /* Figure out the next index. */
+ input_index += 1.0 / src_ratio ;
+
+ filter->b_current = (filter->b_current + filter->channels * lrint (floor (input_index))) % filter->b_len ;
+ input_index -= floor (input_index) ;
+ } ;
+
+ psrc->last_position = input_index ;
+
+ /* Save current ratio rather then target ratio. */
+ psrc->last_ratio = src_ratio ;
+
+ data->input_frames_used = filter->in_used / filter->channels ;
+ data->output_frames_gen = filter->out_gen / filter->channels ;
+
+ return SRC_ERR_NO_ERROR ;
+} /* sinc_process */
+
+/*----------------------------------------------------------------------------------------
+*/
+
+static void
+prepare_data (SINC_FILTER *filter, SRC_DATA *data, int half_filter_chan_len)
+{ int len = 0 ;
+
+ if (filter->b_real_end >= 0)
+ return ; /* This doesn't make sense, so return. */
+
+ if (filter->b_current == 0)
+ { /* Initial state. Set up zeros at the start of the buffer and
+ ** then load new data after that.
+ */
+ len = filter->b_len - 2 * half_filter_chan_len ;
+
+ filter->b_current = filter->b_end = half_filter_chan_len ;
+ }
+ else if (filter->b_end + half_filter_chan_len + filter->channels < filter->b_len)
+ { /* Load data at current end position. */
+ len = MAX (filter->b_len - filter->b_current - half_filter_chan_len, 0) ;
+ }
+ else
+ { /* Move data at end of buffer back to the start of the buffer. */
+ len = filter->b_end - filter->b_current ;
+ memmove (filter->buffer, filter->buffer + filter->b_current - half_filter_chan_len,
+ (half_filter_chan_len + len) * sizeof (filter->buffer [0])) ;
+
+ filter->b_current = half_filter_chan_len ;
+ filter->b_end = filter->b_current + len ;
+
+ /* Now load data at current end of buffer. */
+ len = MAX (filter->b_len - filter->b_current - half_filter_chan_len, 0) ;
+ } ;
+
+ len = MIN (filter->in_count - filter->in_used, len) ;
+ len -= (len % filter->channels) ;
+
+ memcpy (filter->buffer + filter->b_end, data->data_in + filter->in_used,
+ len * sizeof (filter->buffer [0])) ;
+
+ filter->b_end += len ;
+ filter->in_used += len ;
+
+ if (filter->in_used == filter->in_count &&
+ filter->b_end - filter->b_current < 2 * half_filter_chan_len && data->end_of_input)
+ { /* Handle the case where all data in the current buffer has been
+ ** consumed and this is the last buffer.
+ */
+
+ if (filter->b_len - filter->b_end < half_filter_chan_len + 5)
+ { /* If necessary, move data down to the start of the buffer. */
+ len = filter->b_end - filter->b_current ;
+ memmove (filter->buffer, filter->buffer + filter->b_current - half_filter_chan_len,
+ (half_filter_chan_len + len) * sizeof (filter->buffer [0])) ;
+
+ filter->b_current = half_filter_chan_len ;
+ filter->b_end = filter->b_current + len ;
+ } ;
+
+ filter->b_real_end = filter->b_end ;
+ len = half_filter_chan_len + 5 ;
+
+ memset (filter->buffer + filter->b_end, 0, len * sizeof (filter->buffer [0])) ;
+ filter->b_end += len ;
+ } ;
+
+ return ;
+} /* prepare_data */
+
+
+static double
+calc_output (SINC_FILTER *filter, increment_t increment, increment_t start_filter_index, int ch)
+{ double fraction, left, right, icoeff ;
+ increment_t filter_index, max_filter_index ;
+ int data_index, coeff_count, indx ;
+
+ /* Convert input parameters into fixed point. */
+ max_filter_index = INT_TO_FP (filter->coeff_half_len) ;
+
+ /* First apply the left half of the filter. */
+ filter_index = start_filter_index ;
+ coeff_count = (max_filter_index - filter_index) / increment ;
+ filter_index = filter_index + coeff_count * increment ;
+ data_index = filter->b_current - filter->channels * coeff_count ;
+
+ left = 0.0 ;
+ do
+ { fraction = FP_TO_DOUBLE (filter_index) ;
+ indx = FP_TO_INT (filter_index) ;
+
+ icoeff = filter->coeffs [indx] + fraction * (filter->coeffs [indx + 1] - filter->coeffs [indx]) ;
+
+ left += icoeff * filter->buffer [data_index + ch] ;
+
+ filter_index -= increment ;
+ data_index = data_index + filter->channels ;
+ }
+ while (filter_index >= MAKE_INCREMENT_T (0)) ;
+
+ /* Now apply the right half of the filter. */
+ filter_index = increment - start_filter_index ;
+ coeff_count = (max_filter_index - filter_index) / increment ;
+ filter_index = filter_index + coeff_count * increment ;
+ data_index = filter->b_current + filter->channels * (1 + coeff_count) ;
+
+ right = 0.0 ;
+ do
+ { fraction = FP_TO_DOUBLE (filter_index) ;
+ indx = FP_TO_INT (filter_index) ;
+
+ icoeff = filter->coeffs [indx] + fraction * (filter->coeffs [indx + 1] - filter->coeffs [indx]) ;
+
+ right += icoeff * filter->buffer [data_index + ch] ;
+
+ filter_index -= increment ;
+ data_index = data_index - filter->channels ;
+ }
+ while (filter_index > MAKE_INCREMENT_T (0)) ;
+
+ return (left + right) ;
+} /* calc_output */
+
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/src_zoh.c
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/src_zoh.c (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/plugin/libsamplerate/src_zoh.c 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,186 @@
+/*
+** Copyright (C) 2002,2003 Erik de Castro Lopo <erikd at mega-nerd.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 of the License, or
+** (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA.
+*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "config.h"
+#include "float_cast.h"
+#include "common.h"
+
+static void zoh_reset (SRC_PRIVATE *psrc) ;
+
+/*========================================================================================
+*/
+
+#define ZOH_MAGIC_MARKER MAKE_MAGIC('s','r','c','z','o','h')
+
+typedef struct
+{ int zoh_magic_marker ;
+ int channels ;
+ long in_count, in_used ;
+ long out_count, out_gen ;
+ float last_value [1] ;
+} ZOH_DATA ;
+
+/*----------------------------------------------------------------------------------------
+*/
+
+int
+zoh_process (SRC_PRIVATE *psrc, SRC_DATA *data)
+{ ZOH_DATA *zoh ;
+ double src_ratio, input_index ;
+ int ch ;
+
+ if (psrc->private_data == NULL)
+ return SRC_ERR_NO_PRIVATE ;
+
+ zoh = (ZOH_DATA*) psrc->private_data ;
+
+ zoh->in_count = data->input_frames * zoh->channels ;
+ zoh->out_count = data->output_frames * zoh->channels ;
+ zoh->in_used = zoh->out_gen = 0 ;
+
+ src_ratio = psrc->last_ratio ;
+ input_index = psrc->last_position ;
+
+ /* Calculate samples before first sample in input array. */
+ while (input_index > 0.0 && input_index < 1.0 && zoh->out_gen < zoh->out_count)
+ {
+ if (zoh->in_used + input_index >= zoh->in_count)
+ break ;
+
+ if (fabs (psrc->last_ratio - data->src_ratio) > SRC_MIN_RATIO_DIFF)
+ src_ratio = psrc->last_ratio + zoh->out_gen * (data->src_ratio - psrc->last_ratio) / (zoh->out_count - 1) ;
+
+ for (ch = 0 ; ch < zoh->channels ; ch++)
+ { data->data_out [zoh->out_gen] = zoh->last_value [ch] ;
+ zoh->out_gen ++ ;
+ } ;
+
+ /* Figure out the next index. */
+ input_index += 1.0 / src_ratio ;
+ } ;
+
+ zoh->in_used += zoh->channels * lrint (floor (input_index)) ;
+ input_index -= floor (input_index) ;
+
+ /* Main processing loop. */
+ while (zoh->out_gen < zoh->out_count && zoh->in_used + input_index < zoh->in_count)
+ {
+ if (fabs (psrc->last_ratio - data->src_ratio) > SRC_MIN_RATIO_DIFF)
+ src_ratio = psrc->last_ratio + zoh->out_gen * (data->src_ratio - psrc->last_ratio) / (zoh->out_count - 1) ;
+
+ for (ch = 0 ; ch < zoh->channels ; ch++)
+ { data->data_out [zoh->out_gen] = data->data_in [zoh->in_used + ch] ;
+ zoh->out_gen ++ ;
+ } ;
+
+ /* Figure out the next index. */
+ input_index += 1.0 / src_ratio ;
+
+ zoh->in_used += zoh->channels * lrint (floor (input_index)) ;
+ input_index -= floor (input_index) ;
+ } ;
+
+ psrc->last_position = input_index ;
+
+ if (zoh->in_used > 0)
+ for (ch = 0 ; ch < zoh->channels ; ch++)
+ zoh->last_value [ch] = data->data_in [zoh->in_used - zoh->channels + ch] ;
+
+ /* Save current ratio rather then target ratio. */
+ psrc->last_ratio = src_ratio ;
+
+ data->input_frames_used = zoh->in_used / zoh->channels ;
+ data->output_frames_gen = zoh->out_gen / zoh->channels ;
+
+ return SRC_ERR_NO_ERROR ;
+} /* zoh_process */
+
+/*------------------------------------------------------------------------------
+*/
+
+const char*
+zoh_get_name (int src_enum)
+{
+ if (src_enum == SRC_ZERO_ORDER_HOLD)
+ return "ZOH Interpolator" ;
+
+ return NULL ;
+} /* zoh_get_name */
+
+const char*
+zoh_get_description (int src_enum)
+{
+ if (src_enum == SRC_ZERO_ORDER_HOLD)
+ return "Zero order hold interpolator, very fast, poor quality." ;
+
+ return NULL ;
+} /* zoh_get_descrition */
+
+int
+zoh_set_converter (SRC_PRIVATE *psrc, int src_enum)
+{ ZOH_DATA *zoh = NULL;
+
+ if (src_enum != SRC_ZERO_ORDER_HOLD)
+ return SRC_ERR_BAD_CONVERTER ;
+
+ if (psrc->private_data != NULL)
+ { zoh = (ZOH_DATA*) psrc->private_data ;
+ if (zoh->zoh_magic_marker != ZOH_MAGIC_MARKER)
+ { free (psrc->private_data) ;
+ psrc->private_data = NULL ;
+ } ;
+ } ;
+
+ if (psrc->private_data == NULL)
+ { zoh = calloc (1, sizeof (*zoh) + psrc->channels * sizeof (float)) ;
+ if (zoh == NULL)
+ return SRC_ERR_MALLOC_FAILED ;
+ psrc->private_data = zoh ;
+ } ;
+
+ zoh->zoh_magic_marker = ZOH_MAGIC_MARKER ;
+ zoh->channels = psrc->channels ;
+
+ psrc->process = zoh_process ;
+ psrc->reset = zoh_reset ;
+
+ zoh_reset (psrc) ;
+
+ return SRC_ERR_NO_ERROR ;
+} /* zoh_set_converter */
+
+/*===================================================================================
+*/
+
+static void
+zoh_reset (SRC_PRIVATE *psrc)
+{ ZOH_DATA *zoh ;
+
+ zoh = (ZOH_DATA*) psrc->private_data ;
+ if (zoh == NULL)
+ return ;
+
+ zoh->channels = psrc->channels ;
+ memset (zoh->last_value, 0, sizeof (zoh->last_value [0]) * zoh->channels) ;
+
+ return ;
+} /* zoh_reset */
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/Makefile.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/Makefile.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/Makefile.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,32 @@
+AM_CPPFLAGS= -I$(srcdir)/../../src -I$(srcdir)/../core -I$(srcdir)/../plugin -I$(srcdir)/../../libk3bdevice -I$(srcdir)/../tools -I$(srcdir)/datacd -I$(srcdir)/audiocd -I$(srcdir)/mixedcd -I$(srcdir)/movixcd -I$(srcdir)/movixdvd -I$(srcdir)/datadvd -I$(srcdir)/videocd -I$(srcdir)/videodvd $(all_includes)
+
+noinst_LTLIBRARIES = libk3bproject.la
+
+libk3bproject_la_LIBADD = ./datacd/libdata.la ./datadvd/libdvd.la ./mixedcd/libmixed.la ./videocd/libvcd.la ./videodvd/libvideodvd.la ./movixcd/libmovix.la ./movixdvd/libmovixdvd.la ./audiocd/libaudio.la
+
+libk3bproject_la_LDFLAGS = $(all_libraries)
+
+libk3bproject_la_SOURCES = k3babstractwriter.cpp \
+ k3bgrowisofswriter.cpp \
+ k3bgrowisofshandler.cpp \
+ k3bdoc.cpp \
+ k3bcdrdaowriter.cpp \
+ k3bcdrecordwriter.cpp \
+ k3binffilewriter.cpp \
+ k3btocfilewriter.cpp \
+ k3bimagefilereader.cpp \
+ k3bcuefileparser.cpp \
+ k3bpipebuffer.cpp
+
+include_HEADERS = k3bdoc.h \
+ k3bgrowisofswriter.h \
+ k3bcdrdaowriter.h \
+ k3bcdrecordwriter.h \
+ k3binffilewriter.h \
+ k3btocfilewriter.h \
+ k3bcuefileparser.h \
+ k3bimagefilereader.h
+
+SUBDIRS = datacd audiocd mixedcd movixcd videocd datadvd movixdvd videodvd
+
+METASOURCES = AUTO
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/Makefile.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/Makefile.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/Makefile.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,992 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 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.
+
+ at SET_MAKE@
+
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = libk3b/projects
+DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+LTLIBRARIES = $(noinst_LTLIBRARIES)
+libk3bproject_la_DEPENDENCIES = ./datacd/libdata.la \
+ ./datadvd/libdvd.la ./mixedcd/libmixed.la ./videocd/libvcd.la \
+ ./videodvd/libvideodvd.la ./movixcd/libmovix.la \
+ ./movixdvd/libmovixdvd.la ./audiocd/libaudio.la
+am_libk3bproject_la_OBJECTS = k3babstractwriter.lo \
+ k3bgrowisofswriter.lo k3bgrowisofshandler.lo k3bdoc.lo \
+ k3bcdrdaowriter.lo k3bcdrecordwriter.lo k3binffilewriter.lo \
+ k3btocfilewriter.lo k3bimagefilereader.lo k3bcuefileparser.lo \
+ k3bpipebuffer.lo
+#>- libk3bproject_la_OBJECTS = $(am_libk3bproject_la_OBJECTS)
+#>+ 8
+libk3bproject_la_final_OBJECTS = libk3bproject_la.all_cpp.lo
+libk3bproject_la_nofinal_OBJECTS = k3babstractwriter.lo \
+ k3bgrowisofswriter.lo k3bgrowisofshandler.lo k3bdoc.lo \
+ k3bcdrdaowriter.lo k3bcdrecordwriter.lo k3binffilewriter.lo \
+ k3btocfilewriter.lo k3bimagefilereader.lo k3bcuefileparser.lo \
+ k3bpipebuffer.lo
+ at KDE_USE_FINAL_FALSE@libk3bproject_la_OBJECTS = $(libk3bproject_la_nofinal_OBJECTS)
+ at KDE_USE_FINAL_TRUE@libk3bproject_la_OBJECTS = $(libk3bproject_la_final_OBJECTS)
+#>- libk3bproject_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+#>- $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+#>- $(CXXFLAGS) $(libk3bproject_la_LDFLAGS) $(LDFLAGS) -o $@
+#>+ 3
+libk3bproject_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+ $(CXXFLAGS) $(KDE_CXXFLAGS) $(libk3bproject_la_LDFLAGS) $(LDFLAGS) -o $@
+DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
+am__depfiles_maybe = depfiles
+#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 2
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+#>- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 3
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+CXXLD = $(CXX)
+#>- CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
+#>- $(LDFLAGS) -o $@
+#>+ 3
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+SOURCES = $(libk3bproject_la_SOURCES)
+DIST_SOURCES = $(libk3bproject_la_SOURCES)
+#>- RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+#>- html-recursive info-recursive install-data-recursive \
+#>- install-dvi-recursive install-exec-recursive \
+#>- install-html-recursive install-info-recursive \
+#>- install-pdf-recursive install-ps-recursive install-recursive \
+#>- installcheck-recursive installdirs-recursive pdf-recursive \
+#>- ps-recursive uninstall-recursive
+#>+ 7
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+ html-recursive info-recursive install-data-recursive \
+ install-dvi-recursive install-exec-recursive \
+ install-html-recursive install-info-recursive \
+ install-pdf-recursive install-ps-recursive install-recursive \
+ installcheck-recursive installdirs-recursive pdf-recursive \
+ ps-recursive uninstall-recursive nmcheck-recursive bcheck-recursive
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(includedir)"
+includeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(include_HEADERS)
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
+ distclean-recursive maintainer-clean-recursive
+ETAGS = etags
+CTAGS = ctags
+DIST_SUBDIRS = $(SUBDIRS)
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ACLOCAL = @ACLOCAL@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+ARTS_LIBS = @ARTS_LIBS@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAM_LIB = @CAM_LIB@
+CC = @CC@
+CCAS = @CCAS@
+CCASDEPMODE = @CCASDEPMODE@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DBUSQT_INCS = @DBUSQT_INCS@
+DBUSQT_LIBS = @DBUSQT_LIBS@
+DBUS_INCS = @DBUS_INCS@
+DBUS_LIBS = @DBUS_LIBS@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+GREP = @GREP@
+GV_ASM_DEFS = @GV_ASM_DEFS@
+HAL_DBUS_LIBS = @HAL_DBUS_LIBS@
+HAL_INCS = @HAL_INCS@
+HAL_LIBS = @HAL_LIBS@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+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_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSAMPLERATE = @LIBSAMPLERATE@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAD_LIB = @MAD_LIB@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MPC_LIBS = @MPC_LIBS@
+MSGFMT = @MSGFMT@
+MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+RESMGR_LIB = @RESMGR_LIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+TAGLIB_CONFIG = @TAGLIB_CONFIG@
+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@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+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_kcfgdir = @kde_kcfgdir@
+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@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+taglib_includes = @taglib_includes@
+taglib_libs = @taglib_libs@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+AM_CPPFLAGS = -I$(srcdir)/../../src -I$(srcdir)/../core -I$(srcdir)/../plugin -I$(srcdir)/../../libk3bdevice -I$(srcdir)/../tools -I$(srcdir)/datacd -I$(srcdir)/audiocd -I$(srcdir)/mixedcd -I$(srcdir)/movixcd -I$(srcdir)/movixdvd -I$(srcdir)/datadvd -I$(srcdir)/videocd -I$(srcdir)/videodvd $(all_includes)
+noinst_LTLIBRARIES = libk3bproject.la
+libk3bproject_la_LIBADD = ./datacd/libdata.la ./datadvd/libdvd.la ./mixedcd/libmixed.la ./videocd/libvcd.la ./videodvd/libvideodvd.la ./movixcd/libmovix.la ./movixdvd/libmovixdvd.la ./audiocd/libaudio.la
+libk3bproject_la_LDFLAGS = $(all_libraries)
+libk3bproject_la_SOURCES = k3babstractwriter.cpp \
+ k3bgrowisofswriter.cpp \
+ k3bgrowisofshandler.cpp \
+ k3bdoc.cpp \
+ k3bcdrdaowriter.cpp \
+ k3bcdrecordwriter.cpp \
+ k3binffilewriter.cpp \
+ k3btocfilewriter.cpp \
+ k3bimagefilereader.cpp \
+ k3bcuefileparser.cpp \
+ k3bpipebuffer.cpp
+
+include_HEADERS = k3bdoc.h \
+ k3bgrowisofswriter.h \
+ k3bcdrdaowriter.h \
+ k3bcdrecordwriter.h \
+ k3binffilewriter.h \
+ k3btocfilewriter.h \
+ k3bcuefileparser.h \
+ k3bimagefilereader.h
+
+SUBDIRS = datacd audiocd mixedcd movixcd videocd datadvd movixdvd videodvd
+#>- METASOURCES = AUTO
+#>- all: all-recursive
+#>+ 1
+all: docs-am all-recursive
+
+.SUFFIXES:
+.SUFFIXES: .cpp .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/projects/Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --gnu libk3b/projects/Makefile
+#>+ 12
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/projects/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu libk3b/projects/Makefile
+ cd $(top_srcdir) && perl admin/am_edit libk3b/projects/Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-noinstLTLIBRARIES:
+ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+ @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" != "$$p" || dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+libk3bproject.la: $(libk3bproject_la_OBJECTS) $(libk3bproject_la_DEPENDENCIES)
+ $(libk3bproject_la_LINK) $(libk3bproject_la_OBJECTS) $(libk3bproject_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3babstractwriter.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bcdrdaowriter.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bcdrecordwriter.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bcuefileparser.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bdoc.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bgrowisofshandler.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bgrowisofswriter.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bimagefilereader.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3binffilewriter.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3bpipebuffer.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3btocfilewriter.Plo at am__quote@
+
+.cpp.o:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+ at am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+install-includeHEADERS: $(include_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
+ @list='$(include_HEADERS)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+ $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
+ done
+
+uninstall-includeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(include_HEADERS)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+ rm -f "$(DESTDIR)$(includedir)/$$f"; \
+ done
+
+# 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):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ 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) \
+ || eval $$failcom; \
+ done; \
+ if test "$$dot_seen" = "no"; then \
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
+ fi; test -z "$$fail"
+
+$(RECURSIVE_CLEAN_TARGETS):
+ @failcom='exit 1'; \
+ for f in x $$MAKEFLAGS; do \
+ case $$f in \
+ *=* | --[!k]*);; \
+ *k*) failcom='fail=yes';; \
+ esac; \
+ done; \
+ 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) \
+ || eval $$failcom; \
+ done && test -z "$$fail"
+tags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+ done
+ctags-recursive:
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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
+tags: TAGS
+
+TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
+ include_option=--etags-include; \
+ empty_fix=.; \
+ else \
+ include_option=--include; \
+ empty_fix=; \
+ fi; \
+ list='$(SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test ! -f $$subdir/TAGS || \
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+ fi; \
+ done; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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 "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+ if test "$$subdir" = .; then :; else \
+ test -d "$(distdir)/$$subdir" \
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
+ || exit 1; \
+ distdir=`$(am__cd) $(distdir) && pwd`; \
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
+ (cd $$subdir && \
+ $(MAKE) $(AM_MAKEFLAGS) \
+ top_distdir="$$top_distdir" \
+ distdir="$$distdir/$$subdir" \
+ am__remove_distdir=: \
+ am__skip_length_check=: \
+ distdir) \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-recursive
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
+installdirs: installdirs-recursive
+installdirs-am:
+ for dir in "$(DESTDIR)$(includedir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+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)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-recursive
+#>+ 1
+clean: kde-rpo-clean clean-recursive
+
+#>- clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
+#>- mostlyclean-am
+#>+ 2
+clean-am: clean-metasources clean-bcheck clean-final clean-generic clean-libtool clean-noinstLTLIBRARIES \
+ mostlyclean-am
+
+distclean: distclean-recursive
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-recursive
+
+dvi-am:
+
+html: html-recursive
+
+info: info-recursive
+
+info-am:
+
+install-data-am: install-includeHEADERS
+
+install-dvi: install-dvi-recursive
+
+install-exec-am:
+
+install-html: install-html-recursive
+
+install-info: install-info-recursive
+
+install-man:
+
+install-pdf: install-pdf-recursive
+
+install-ps: install-ps-recursive
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-recursive
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-recursive
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-recursive
+
+pdf-am:
+
+ps: ps-recursive
+
+ps-am:
+
+uninstall-am: uninstall-includeHEADERS
+
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
+ install-strip
+
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
+ all all-am check check-am clean clean-generic clean-libtool \
+ clean-noinstLTLIBRARIES ctags ctags-recursive distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-includeHEADERS install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags tags-recursive uninstall uninstall-am \
+ uninstall-includeHEADERS
+
+# 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:
+
+#>+ 3
+k3bgrowisofswriter.moc: $(srcdir)/k3bgrowisofswriter.h
+ $(MOC) $(srcdir)/k3bgrowisofswriter.h -o k3bgrowisofswriter.moc
+
+#>+ 2
+mocs: k3bgrowisofswriter.moc
+
+#>+ 3
+k3bdoc.moc: $(srcdir)/k3bdoc.h
+ $(MOC) $(srcdir)/k3bdoc.h -o k3bdoc.moc
+
+#>+ 2
+mocs: k3bdoc.moc
+
+#>+ 3
+k3babstractwriter.moc: $(srcdir)/k3babstractwriter.h
+ $(MOC) $(srcdir)/k3babstractwriter.h -o k3babstractwriter.moc
+
+#>+ 2
+mocs: k3babstractwriter.moc
+
+#>+ 3
+k3bgrowisofshandler.moc: $(srcdir)/k3bgrowisofshandler.h
+ $(MOC) $(srcdir)/k3bgrowisofshandler.h -o k3bgrowisofshandler.moc
+
+#>+ 2
+mocs: k3bgrowisofshandler.moc
+
+#>+ 3
+k3bcdrdaowriter.moc: $(srcdir)/k3bcdrdaowriter.h
+ $(MOC) $(srcdir)/k3bcdrdaowriter.h -o k3bcdrdaowriter.moc
+
+#>+ 2
+mocs: k3bcdrdaowriter.moc
+
+#>+ 3
+k3bcdrecordwriter.moc: $(srcdir)/k3bcdrecordwriter.h
+ $(MOC) $(srcdir)/k3bcdrecordwriter.h -o k3bcdrecordwriter.moc
+
+#>+ 2
+mocs: k3bcdrecordwriter.moc
+
+#>+ 3
+k3bdvdrecordwriter.moc: $(srcdir)/k3bdvdrecordwriter.h
+ $(MOC) $(srcdir)/k3bdvdrecordwriter.h -o k3bdvdrecordwriter.moc
+
+#>+ 2
+mocs: k3bdvdrecordwriter.moc
+
+#>+ 3
+clean-metasources:
+ -rm -f k3bgrowisofswriter.moc k3bdoc.moc k3babstractwriter.moc k3bgrowisofshandler.moc k3bcdrdaowriter.moc k3bcdrecordwriter.moc k3bdvdrecordwriter.moc
+
+#>+ 2
+KDE_DIST=k3bdvdrecordwriter.h k3bpipebuffer.h k3babstractwriter.h Makefile.in k3bdvdrecordwriter.cpp k3bgrowisofshandler.h Makefile.am
+
+#>+ 2
+docs-am:
+
+#>+ 15
+force-reedit:
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/projects/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu libk3b/projects/Makefile
+ cd $(top_srcdir) && perl admin/am_edit libk3b/projects/Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-recursive
+
+bcheck-am:
+ @for i in $(include_HEADERS); do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXXCOMPILE) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 11
+libk3bproject_la.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/k3babstractwriter.cpp $(srcdir)/k3bgrowisofswriter.cpp $(srcdir)/k3bgrowisofshandler.cpp $(srcdir)/k3bdoc.cpp $(srcdir)/k3bcdrdaowriter.cpp $(srcdir)/k3bcdrecordwriter.cpp $(srcdir)/k3binffilewriter.cpp $(srcdir)/k3btocfilewriter.cpp $(srcdir)/k3bimagefilereader.cpp $(srcdir)/k3bcuefileparser.cpp $(srcdir)/k3bpipebuffer.cpp k3bgrowisofswriter.moc k3bdoc.moc k3bgrowisofshandler.moc k3babstractwriter.moc k3bcdrdaowriter.moc k3bcdrecordwriter.moc
+ @echo 'creating libk3bproject_la.all_cpp.cpp ...'; \
+ rm -f libk3bproject_la.all_cpp.files libk3bproject_la.all_cpp.final; \
+ echo "#define KDE_USE_FINAL 1" >> libk3bproject_la.all_cpp.final; \
+ for file in k3babstractwriter.cpp k3bgrowisofswriter.cpp k3bgrowisofshandler.cpp k3bdoc.cpp k3bcdrdaowriter.cpp k3bcdrecordwriter.cpp k3binffilewriter.cpp k3btocfilewriter.cpp k3bimagefilereader.cpp k3bcuefileparser.cpp k3bpipebuffer.cpp ; do \
+ echo "#include \"$$file\"" >> libk3bproject_la.all_cpp.files; \
+ test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> libk3bproject_la.all_cpp.final; \
+ done; \
+ cat libk3bproject_la.all_cpp.final libk3bproject_la.all_cpp.files > libk3bproject_la.all_cpp.cpp; \
+ rm -f libk3bproject_la.all_cpp.final libk3bproject_la.all_cpp.files
+
+#>+ 3
+clean-final:
+ -rm -f libk3bproject_la.all_cpp.cpp
+
+#>+ 3
+final:
+ $(MAKE) libk3bproject_la_OBJECTS="$(libk3bproject_la_final_OBJECTS)" all-am
+
+#>+ 3
+final-install:
+ $(MAKE) libk3bproject_la_OBJECTS="$(libk3bproject_la_final_OBJECTS)" install-am
+
+#>+ 3
+no-final:
+ $(MAKE) libk3bproject_la_OBJECTS="$(libk3bproject_la_nofinal_OBJECTS)" all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) libk3bproject_la_OBJECTS="$(libk3bproject_la_nofinal_OBJECTS)" install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 17
+k3bdvdrecordwriter.lo: k3bdvdrecordwriter.moc
+k3bgrowisofshandler.o: k3bgrowisofshandler.moc
+k3babstractwriter.o: k3babstractwriter.moc
+k3bcdrdaowriter.o: k3bcdrdaowriter.moc
+k3babstractwriter.lo: k3babstractwriter.moc
+nmcheck:
+k3bgrowisofswriter.lo: k3bgrowisofswriter.moc
+k3bgrowisofswriter.o: k3bgrowisofswriter.moc
+nmcheck-am: nmcheck
+k3bdoc.o: k3bdoc.moc
+k3bcdrecordwriter.o: k3bcdrecordwriter.moc
+k3bdvdrecordwriter.o: k3bdvdrecordwriter.moc
+k3bgrowisofshandler.lo: k3bgrowisofshandler.moc
+k3bdoc.lo: k3bdoc.moc
+k3bcdrecordwriter.lo: k3bcdrecordwriter.moc
+k3bcdrdaowriter.lo: k3bcdrdaowriter.moc
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/Makefile.am
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/Makefile.am (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/Makefile.am 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,35 @@
+AM_CPPFLAGS= -I$(srcdir)/../../../src \
+ -I$(srcdir)/.. \
+ -I$(srcdir)/../../core \
+ -I$(srcdir)/../../plugin \
+ -I$(srcdir)/../../cddb \
+ -I$(srcdir)/../../../libk3bdevice \
+ -I$(srcdir)/../../tools $(all_includes)
+
+METASOURCES = AUTO
+
+noinst_LTLIBRARIES = libaudio.la
+
+libaudio_la_SOURCES = k3baudiojob.cpp \
+ k3baudiotrack.cpp \
+ k3baudiodoc.cpp \
+ k3baudiofile.cpp \
+ k3baudiozerodata.cpp \
+ k3baudiodatasource.cpp \
+ k3baudionormalizejob.cpp \
+ k3baudiojobtempdata.cpp \
+ k3baudioimager.cpp \
+ k3baudiomaxspeedjob.cpp \
+ k3baudiocdtracksource.cpp \
+ k3baudiocdtrackdrag.cpp \
+ k3baudiodatasourceiterator.cpp
+
+include_HEADERS = k3baudiodoc.h \
+ k3baudiojob.h \
+ k3baudiocdtrackdrag.h \
+ k3baudiotrack.h \
+ k3baudiodatasource.h \
+ k3baudiofile.h \
+ k3baudiozerodata.h \
+ k3baudiocdtracksource.h \
+ k3baudiodatasourceiterator.h
Added: kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/Makefile.in
===================================================================
--- kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/Makefile.in (rev 0)
+++ kde-extras/k3b/k3b/branches/upstream/current/libk3b/projects/audiocd/Makefile.in 2008-03-04 01:07:57 UTC (rev 9555)
@@ -0,0 +1,862 @@
+# Makefile.in generated by automake 1.10 from Makefile.am.
+# KDE tags expanded automatically by am_edit - $Revision: 483858 $
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006 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.
+
+ at SET_MAKE@
+
+
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+target_triplet = @target@
+subdir = libk3b/projects/audiocd
+DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+ $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+LTLIBRARIES = $(noinst_LTLIBRARIES)
+libaudio_la_LIBADD =
+am_libaudio_la_OBJECTS = k3baudiojob.lo k3baudiotrack.lo \
+ k3baudiodoc.lo k3baudiofile.lo k3baudiozerodata.lo \
+ k3baudiodatasource.lo k3baudionormalizejob.lo \
+ k3baudiojobtempdata.lo k3baudioimager.lo \
+ k3baudiomaxspeedjob.lo k3baudiocdtracksource.lo \
+ k3baudiocdtrackdrag.lo k3baudiodatasourceiterator.lo
+#>- libaudio_la_OBJECTS = $(am_libaudio_la_OBJECTS)
+#>+ 9
+libaudio_la_final_OBJECTS = libaudio_la.all_cpp.lo
+libaudio_la_nofinal_OBJECTS = k3baudiojob.lo k3baudiotrack.lo \
+ k3baudiodoc.lo k3baudiofile.lo k3baudiozerodata.lo \
+ k3baudiodatasource.lo k3baudionormalizejob.lo \
+ k3baudiojobtempdata.lo k3baudioimager.lo \
+ k3baudiomaxspeedjob.lo k3baudiocdtracksource.lo \
+ k3baudiocdtrackdrag.lo k3baudiodatasourceiterator.lo
+ at KDE_USE_FINAL_FALSE@libaudio_la_OBJECTS = $(libaudio_la_nofinal_OBJECTS)
+ at KDE_USE_FINAL_TRUE@libaudio_la_OBJECTS = $(libaudio_la_final_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
+depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
+am__depfiles_maybe = depfiles
+#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 2
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+#>- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+#>+ 3
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS)
+CXXLD = $(CXX)
+#>- CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+#>- --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
+#>- $(LDFLAGS) -o $@
+#>+ 3
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) $(AM_LDFLAGS) \
+ $(LDFLAGS) -o $@
+SOURCES = $(libaudio_la_SOURCES)
+DIST_SOURCES = $(libaudio_la_SOURCES)
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(includedir)"
+includeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(include_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+#>+ 1
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+ACLOCAL = @ACLOCAL@
+ALSA_CFLAGS = @ALSA_CFLAGS@
+ALSA_LIBS = @ALSA_LIBS@
+AMTAR = @AMTAR@
+AR = @AR@
+ARTSCCONFIG = @ARTSCCONFIG@
+ARTS_LIBS = @ARTS_LIBS@
+AUTOCONF = @AUTOCONF@
+AUTODIRS = @AUTODIRS@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CAM_LIB = @CAM_LIB@
+CC = @CC@
+CCAS = @CCAS@
+CCASDEPMODE = @CCASDEPMODE@
+CCASFLAGS = @CCASFLAGS@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CONF_FILES = @CONF_FILES@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DBUSQT_INCS = @DBUSQT_INCS@
+DBUSQT_LIBS = @DBUSQT_LIBS@
+DBUS_INCS = @DBUS_INCS@
+DBUS_LIBS = @DBUS_LIBS@
+DCOPIDL = @DCOPIDL@
+DCOPIDL2CPP = @DCOPIDL2CPP@
+DCOPIDLNG = @DCOPIDLNG@
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+ENABLE_PERMISSIVE_FLAG = @ENABLE_PERMISSIVE_FLAG@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
+GMSGFMT = @GMSGFMT@
+GREP = @GREP@
+GV_ASM_DEFS = @GV_ASM_DEFS@
+HAL_DBUS_LIBS = @HAL_DBUS_LIBS@
+HAL_INCS = @HAL_INCS@
+HAL_LIBS = @HAL_LIBS@
+HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+KCFG_DEPENDENCIES = @KCFG_DEPENDENCIES@
+KCONFIG_COMPILER = @KCONFIG_COMPILER@
+KDECONFIG = @KDECONFIG@
+KDE_CHECK_PLUGIN = @KDE_CHECK_PLUGIN@
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
+KDE_INCLUDES = @KDE_INCLUDES@
+KDE_LDFLAGS = @KDE_LDFLAGS@
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
+KDE_MT_LIBS = @KDE_MT_LIBS@
+KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@
+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_USE_FPIE = @KDE_USE_FPIE@
+KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
+KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
+KDE_USE_PIE = @KDE_USE_PIE@
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
+LDFLAGS = @LDFLAGS@
+LDFLAGS_AS_NEEDED = @LDFLAGS_AS_NEEDED@
+LDFLAGS_NEW_DTAGS = @LDFLAGS_NEW_DTAGS@
+LIBCOMPAT = @LIBCOMPAT@
+LIBCRYPT = @LIBCRYPT@
+LIBDL = @LIBDL@
+LIBJPEG = @LIBJPEG@
+LIBOBJS = @LIBOBJS@
+LIBPNG = @LIBPNG@
+LIBPTHREAD = @LIBPTHREAD@
+LIBRESOLV = @LIBRESOLV@
+LIBS = @LIBS@
+LIBSAMPLERATE = @LIBSAMPLERATE@
+LIBSM = @LIBSM@
+LIBSOCKET = @LIBSOCKET@
+LIBTOOL = @LIBTOOL@
+LIBUCB = @LIBUCB@
+LIBUTIL = @LIBUTIL@
+LIBZ = @LIBZ@
+LIB_KAB = @LIB_KAB@
+LIB_KABC = @LIB_KABC@
+LIB_KDECORE = @LIB_KDECORE@
+LIB_KDED = @LIB_KDED@
+LIB_KDEPIM = @LIB_KDEPIM@
+LIB_KDEPRINT = @LIB_KDEPRINT@
+LIB_KDEUI = @LIB_KDEUI@
+LIB_KDNSSD = @LIB_KDNSSD@
+LIB_KFILE = @LIB_KFILE@
+LIB_KFM = @LIB_KFM@
+LIB_KHTML = @LIB_KHTML@
+LIB_KIMPROXY = @LIB_KIMPROXY@
+LIB_KIO = @LIB_KIO@
+LIB_KJS = @LIB_KJS@
+LIB_KNEWSTUFF = @LIB_KNEWSTUFF@
+LIB_KPARTS = @LIB_KPARTS@
+LIB_KSPELL = @LIB_KSPELL@
+LIB_KSYCOCA = @LIB_KSYCOCA@
+LIB_KUNITTEST = @LIB_KUNITTEST@
+LIB_KUTILS = @LIB_KUTILS@
+LIB_POLL = @LIB_POLL@
+LIB_QPE = @LIB_QPE@
+LIB_QT = @LIB_QT@
+LIB_SMB = @LIB_SMB@
+LIB_X11 = @LIB_X11@
+LIB_XEXT = @LIB_XEXT@
+LIB_XRENDER = @LIB_XRENDER@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAD_LIB = @MAD_LIB@
+MAKEINFO = @MAKEINFO@
+MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
+MCOPIDL = @MCOPIDL@
+MEINPROC = @MEINPROC@
+MKDIR_P = @MKDIR_P@
+MOC = @MOC@
+MPC_LIBS = @MPC_LIBS@
+MSGFMT = @MSGFMT@
+MUSICBRAINZ_LIBS = @MUSICBRAINZ_LIBS@
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PERL = @PERL@
+PKG_CONFIG = @PKG_CONFIG@
+QTE_NORTTI = @QTE_NORTTI@
+QT_INCLUDES = @QT_INCLUDES@
+QT_LDFLAGS = @QT_LDFLAGS@
+RANLIB = @RANLIB@
+RESMGR_LIB = @RESMGR_LIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SNDFILE_CFLAGS = @SNDFILE_CFLAGS@
+SNDFILE_LIBS = @SNDFILE_LIBS@
+STRIP = @STRIP@
+TAGLIB_CONFIG = @TAGLIB_CONFIG@
+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@
+XMKMF = @XMKMF@
+XMLLINT = @XMLLINT@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_INCLUDES = @X_INCLUDES@
+X_LDFLAGS = @X_LDFLAGS@
+X_PRE_LIBS = @X_PRE_LIBS@
+X_RPATH = @X_RPATH@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+all_includes = @all_includes@
+all_libraries = @all_libraries@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+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_kcfgdir = @kde_kcfgdir@
+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@
+kdeinitdir = @kdeinitdir@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+qt_includes = @qt_includes@
+qt_libraries = @qt_libraries@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+taglib_includes = @taglib_includes@
+taglib_libs = @taglib_libs@
+target = @target@
+target_alias = @target_alias@
+target_cpu = @target_cpu@
+target_os = @target_os@
+target_vendor = @target_vendor@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+x_includes = @x_includes@
+x_libraries = @x_libraries@
+xdg_appsdir = @xdg_appsdir@
+xdg_directorydir = @xdg_directorydir@
+xdg_menudir = @xdg_menudir@
+AM_CPPFLAGS = -I$(srcdir)/../../../src \
+ -I$(srcdir)/.. \
+ -I$(srcdir)/../../core \
+ -I$(srcdir)/../../plugin \
+ -I$(srcdir)/../../cddb \
+ -I$(srcdir)/../../../libk3bdevice \
+ -I$(srcdir)/../../tools $(all_includes)
+
+#>- METASOURCES = AUTO
+noinst_LTLIBRARIES = libaudio.la
+libaudio_la_SOURCES = k3baudiojob.cpp \
+ k3baudiotrack.cpp \
+ k3baudiodoc.cpp \
+ k3baudiofile.cpp \
+ k3baudiozerodata.cpp \
+ k3baudiodatasource.cpp \
+ k3baudionormalizejob.cpp \
+ k3baudiojobtempdata.cpp \
+ k3baudioimager.cpp \
+ k3baudiomaxspeedjob.cpp \
+ k3baudiocdtracksource.cpp \
+ k3baudiocdtrackdrag.cpp \
+ k3baudiodatasourceiterator.cpp
+
+include_HEADERS = k3baudiodoc.h \
+ k3baudiojob.h \
+ k3baudiocdtrackdrag.h \
+ k3baudiotrack.h \
+ k3baudiodatasource.h \
+ k3baudiofile.h \
+ k3baudiozerodata.h \
+ k3baudiocdtracksource.h \
+ k3baudiodatasourceiterator.h
+
+#>- all: all-am
+#>+ 1
+all: docs-am all-am
+
+.SUFFIXES:
+.SUFFIXES: .cpp .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+#>- @for dep in $?; do \
+#>- case '$(am__configure_deps)' in \
+#>- *$$dep*) \
+#>- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+#>- && exit 0; \
+#>- exit 1;; \
+#>- esac; \
+#>- done; \
+#>- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/projects/audiocd/Makefile'; \
+#>- cd $(top_srcdir) && \
+#>- $(AUTOMAKE) --gnu libk3b/projects/audiocd/Makefile
+#>+ 12
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/projects/audiocd/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu libk3b/projects/audiocd/Makefile
+ cd $(top_srcdir) && perl admin/am_edit libk3b/projects/audiocd/Makefile.in
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+clean-noinstLTLIBRARIES:
+ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
+ @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" != "$$p" || dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+libaudio.la: $(libaudio_la_OBJECTS) $(libaudio_la_DEPENDENCIES)
+ $(CXXLINK) $(libaudio_la_OBJECTS) $(libaudio_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudiocdtrackdrag.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudiocdtracksource.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudiodatasource.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudiodatasourceiterator.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudiodoc.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudiofile.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudioimager.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudiojob.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudiojobtempdata.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudiomaxspeedjob.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudionormalizejob.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudiotrack.Plo at am__quote@
+ at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/k3baudiozerodata.Plo at am__quote@
+
+.cpp.o:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+ at am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+ at am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+ at am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+ at AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ at am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+install-includeHEADERS: $(include_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
+ @list='$(include_HEADERS)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
+ $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
+ done
+
+uninstall-includeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(include_HEADERS)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
+ rm -f "$(DESTDIR)$(includedir)/$$f"; \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(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 "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(includedir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+#>- clean: clean-am
+#>+ 1
+clean: kde-rpo-clean clean-am
+
+#>- clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
+#>- mostlyclean-am
+#>+ 2
+clean-am: clean-metasources clean-bcheck clean-final clean-generic clean-libtool clean-noinstLTLIBRARIES \
+ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-includeHEADERS
+
+install-dvi: install-dvi-am
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-info: install-info-am
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-ps: install-ps-am
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-includeHEADERS
+
+.MAKE: install-am install-strip
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+ clean-libtool clean-noinstLTLIBRARIES ctags distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-includeHEADERS install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ tags uninstall uninstall-am uninstall-includeHEADERS
+
+# 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:
+
+#>+ 3
+k3baudioimager.moc: $(srcdir)/k3baudioimager.h
+ $(MOC) $(srcdir)/k3baudioimager.h -o k3baudioimager.moc
+
+#>+ 2
+mocs: k3baudioimager.moc
+
+#>+ 3
+k3baudiomaxspeedjob.moc: $(srcdir)/k3baudiomaxspeedjob.h
+ $(MOC) $(srcdir)/k3baudiomaxspeedjob.h -o k3baudiomaxspeedjob.moc
+
+#>+ 2
+mocs: k3baudiomaxspeedjob.moc
+
+#>+ 3
+k3baudionormalizejob.moc: $(srcdir)/k3baudionormalizejob.h
+ $(MOC) $(srcdir)/k3baudionormalizejob.h -o k3baudionormalizejob.moc
+
+#>+ 2
+mocs: k3baudionormalizejob.moc
+
+#>+ 3
+k3baudiojobtempdata.moc: $(srcdir)/k3baudiojobtempdata.h
+ $(MOC) $(srcdir)/k3baudiojobtempdata.h -o k3baudiojobtempdata.moc
+
+#>+ 2
+mocs: k3baudiojobtempdata.moc
+
+#>+ 3
+k3baudiodoc.moc: $(srcdir)/k3baudiodoc.h
+ $(MOC) $(srcdir)/k3baudiodoc.h -o k3baudiodoc.moc
+
+#>+ 2
+mocs: k3baudiodoc.moc
+
+#>+ 3
+k3baudiojob.moc: $(srcdir)/k3baudiojob.h
+ $(MOC) $(srcdir)/k3baudiojob.h -o k3baudiojob.moc
+
+#>+ 2
+mocs: k3baudiojob.moc
+
+#>+ 3
+clean-metasources:
+ -rm -f k3baudioimager.moc k3baudiomaxspeedjob.moc k3baudionormalizejob.moc k3baudiojobtempdata.moc k3baudiodoc.moc k3baudiojob.moc
+
+#>+ 2
+KDE_DIST=k3baudiojobtempdata.h k3baudioimager.h k3baudionormalizejob.h k3baudiomaxspeedjob.h Makefile.in Makefile.am
+
+#>+ 2
+docs-am:
+
+#>+ 15
+force-reedit:
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libk3b/projects/audiocd/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu libk3b/projects/audiocd/Makefile
+ cd $(top_srcdir) && perl admin/am_edit libk3b/projects/audiocd/Makefile.in
+
+
+#>+ 21
+clean-bcheck:
+ rm -f *.bchecktest.cc *.bchecktest.cc.class a.out
+
+bcheck: bcheck-am
+
+bcheck-am:
+ @for i in $(include_HEADERS); do \
+ if test $(srcdir)/$$i -nt $$i.bchecktest.cc; then \
+ echo "int main() {return 0;}" > $$i.bchecktest.cc ; \
+ echo "#include \"$$i\"" >> $$i.bchecktest.cc ; \
+ echo "$$i"; \
+ if ! $(CXXCOMPILE) --dump-class-hierarchy -c $$i.bchecktest.cc; then \
+ rm -f $$i.bchecktest.cc; exit 1; \
+ fi ; \
+ echo "" >> $$i.bchecktest.cc.class; \
+ perl $(top_srcdir)/admin/bcheck.pl $$i.bchecktest.cc.class || { rm -f $$i.bchecktest.cc; exit 1; }; \
+ rm -f a.out; \
+ fi ; \
+ done
+
+
+#>+ 11
+libaudio_la.all_cpp.cpp: $(srcdir)/Makefile.in $(srcdir)/k3baudiojob.cpp $(srcdir)/k3baudiotrack.cpp $(srcdir)/k3baudiodoc.cpp $(srcdir)/k3baudiofile.cpp $(srcdir)/k3baudiozerodata.cpp $(srcdir)/k3baudiodatasource.cpp $(srcdir)/k3baudionormalizejob.cpp $(srcdir)/k3baudiojobtempdata.cpp $(srcdir)/k3baudioimager.cpp $(srcdir)/k3baudiomaxspeedjob.cpp $(srcdir)/k3baudiocdtracksource.cpp $(srcdir)/k3baudiocdtrackdrag.cpp $(srcdir)/k3baudiodatasourceiterator.cpp k3baudioimager.moc k3baudionormalizejob.moc k3baudiomaxspeedjob.moc k3baudiojobtempdata.moc k3baudiojob.moc k3baudiodoc.moc
+ @echo 'creating libaudio_la.all_cpp.cpp ...'; \
+ rm -f libaudio_la.all_cpp.files libaudio_la.all_cpp.final; \
+ echo "#define KDE_USE_FINAL 1" >> libaudio_la.all_cpp.final; \
+ for file in k3baudiojob.cpp k3baudiotrack.cpp k3baudiodoc.cpp k3baudiofile.cpp k3baudiozerodata.cpp k3baudiodatasource.cpp k3baudionormalizejob.cpp k3baudiojobtempdata.cpp k3baudioimager.cpp k3baudiomaxspeedjob.cpp k3baudiocdtracksource.cpp k3baudiocdtrackdrag.cpp k3baudiodatasourceiterator.cpp ; do \
+ echo "#include \"$$file\"" >> libaudio_la.all_cpp.files; \
+ test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> libaudio_la.all_cpp.final; \
+ done; \
+ cat libaudio_la.all_cpp.final libaudio_la.all_cpp.files > libaudio_la.all_cpp.cpp; \
+ rm -f libaudio_la.all_cpp.final libaudio_la.all_cpp.files
+
+#>+ 3
+clean-final:
+ -rm -f libaudio_la.all_cpp.cpp
+
+#>+ 3
+final:
+ $(MAKE) libaudio_la_OBJECTS="$(libaudio_la_final_OBJECTS)" all-am
+
+#>+ 3
+final-install:
+ $(MAKE) libaudio_la_OBJECTS="$(libaudio_la_final_OBJECTS)" install-am
+
+#>+ 3
+no-final:
+ $(MAKE) libaudio_la_OBJECTS="$(libaudio_la_nofinal_OBJECTS)" all-am
+
+#>+ 3
+no-final-install:
+ $(MAKE) libaudio_la_OBJECTS="$(libaudio_la_nofinal_OBJECTS)" install-am
+
+#>+ 3
+kde-rpo-clean:
+ -rm -f *.rpo
+
+#>+ 15
+k3baudiojob.lo: k3baudiojob.moc
+k3baudionormalizejob.o: k3baudionormalizejob.moc
+k3baudioimager.o: k3baudioimager.moc
+