summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto C. Sanchez <roberto@connexer.com>2014-10-21 22:48:19 -0400
committerRoberto C. Sanchez <roberto@connexer.com>2014-10-21 22:48:19 -0400
commit1af3b165c9377702ca62a64112bc089a6f575c30 (patch)
tree4df9cca5543b2cab5ca56dbb1214d7d3b1f291e3
parent5b5fd0dce407556f98ed8edee89dc830bf1437b1 (diff)
Imported Upstream version 2.0~beta2
-rw-r--r--BibleTime.kdevelop247
-rw-r--r--CMakeLists.txt385
-rw-r--r--ChangeLog161
-rw-r--r--INSTALL244
-rw-r--r--INSTALL.in244
-rw-r--r--LICENSE4
-rw-r--r--Makefile2
-rw-r--r--Makefile.am80
-rw-r--r--Makefile.cvs14
-rw-r--r--Makefile.in953
-rw-r--r--README62
-rw-r--r--README.in36
-rw-r--r--acinclude.m412174
-rw-r--r--aclocal.m4910
-rw-r--r--admin/Makefile.common35
-rw-r--r--admin/acinclude.m4.in5710
-rw-r--r--admin/am_edit2448
-rwxr-xr-xadmin/compile99
-rw-r--r--admin/conf.change.pl191
-rwxr-xr-xadmin/config.guess1449
-rw-r--r--admin/config.pl236
-rwxr-xr-xadmin/config.sub1552
-rw-r--r--admin/configure.in.bot.end30
-rw-r--r--admin/configure.in.min57
-rw-r--r--admin/cvs-clean.pl87
-rw-r--r--admin/cvs.sh662
-rwxr-xr-xadmin/debianrules43
-rwxr-xr-xadmin/depcomp441
-rw-r--r--admin/detect-autoconf.sh59
-rwxr-xr-xadmin/install-sh276
-rw-r--r--admin/libtool.m4.in5891
-rw-r--r--admin/ltmain.sh6401
-rwxr-xr-xadmin/missing336
-rwxr-xr-xadmin/mkinstalldirs111
-rwxr-xr-xadmin/nmcheck371
-rwxr-xr-xadmin/ylwrap143
-rwxr-xr-xautogen.sh2
-rw-r--r--bibletime.desktop26
-rw-r--r--bibletime.desktop.in26
-rw-r--r--bibletime.lsm14
-rw-r--r--bibletime.lsm.in14
-rw-r--r--bibletime.m4193
-rw-r--r--bibletime.spec234
-rw-r--r--bibletime/Makefile.am70
-rw-r--r--bibletime/Makefile.in993
-rw-r--r--bibletime/backend/Makefile.am44
-rw-r--r--bibletime/backend/Makefile.in794
-rw-r--r--bibletime/backend/bt_gbfhtml.cpp303
-rw-r--r--bibletime/backend/bt_gbfhtml.h60
-rw-r--r--bibletime/backend/bt_osishtml.cpp621
-rw-r--r--bibletime/backend/bt_osishtml.h66
-rw-r--r--bibletime/backend/bt_plainhtml.cpp92
-rw-r--r--bibletime/backend/bt_plainhtml.h41
-rw-r--r--bibletime/backend/bt_thmlhtml.cpp395
-rw-r--r--bibletime/backend/bt_thmlhtml.h56
-rw-r--r--bibletime/backend/bt_thmlplain.cpp221
-rw-r--r--bibletime/backend/bt_thmlplain.h40
-rw-r--r--bibletime/backend/btstringmgr.cpp145
-rw-r--r--bibletime/backend/btstringmgr.h57
-rw-r--r--bibletime/backend/cbookdisplay.cpp144
-rw-r--r--bibletime/backend/cbookdisplay.h45
-rw-r--r--bibletime/backend/cchapterdisplay.cpp67
-rw-r--r--bibletime/backend/cchapterdisplay.h39
-rw-r--r--bibletime/backend/cdisplayrendering.cpp163
-rw-r--r--bibletime/backend/cdisplayrendering.h40
-rw-r--r--bibletime/backend/cdisplaytemplatemgr.cpp191
-rw-r--r--bibletime/backend/cdisplaytemplatemgr.h100
-rw-r--r--bibletime/backend/centrydisplay.cpp66
-rw-r--r--bibletime/backend/centrydisplay.h53
-rw-r--r--bibletime/backend/chtmlexportrendering.cpp236
-rw-r--r--bibletime/backend/chtmlexportrendering.h60
-rw-r--r--bibletime/backend/clanguagemgr.cpp499
-rw-r--r--bibletime/backend/clanguagemgr.h172
-rw-r--r--bibletime/backend/cplaintextexportrendering.cpp58
-rw-r--r--bibletime/backend/cplaintextexportrendering.h42
-rw-r--r--bibletime/backend/creferencemanager.cpp434
-rw-r--r--bibletime/backend/creferencemanager.h112
-rw-r--r--bibletime/backend/cswordbackend.cpp692
-rw-r--r--bibletime/backend/cswordbackend.h266
-rw-r--r--bibletime/backend/cswordbiblemoduleinfo.cpp262
-rw-r--r--bibletime/backend/cswordbiblemoduleinfo.h132
-rw-r--r--bibletime/backend/cswordbookmoduleinfo.cpp75
-rw-r--r--bibletime/backend/cswordbookmoduleinfo.h67
-rw-r--r--bibletime/backend/cswordcommentarymoduleinfo.cpp36
-rw-r--r--bibletime/backend/cswordcommentarymoduleinfo.h45
-rw-r--r--bibletime/backend/cswordkey.cpp193
-rw-r--r--bibletime/backend/cswordkey.h121
-rw-r--r--bibletime/backend/cswordldkey.cpp130
-rw-r--r--bibletime/backend/cswordldkey.h110
-rw-r--r--bibletime/backend/cswordlexiconmoduleinfo.cpp183
-rw-r--r--bibletime/backend/cswordlexiconmoduleinfo.h73
-rw-r--r--bibletime/backend/cswordmoduleinfo.cpp888
-rw-r--r--bibletime/backend/cswordmoduleinfo.h373
-rw-r--r--bibletime/backend/cswordmodulesearch.cpp120
-rw-r--r--bibletime/backend/cswordmodulesearch.h99
-rw-r--r--bibletime/backend/cswordtreekey.cpp99
-rw-r--r--bibletime/backend/cswordtreekey.h74
-rw-r--r--bibletime/backend/cswordversekey.cpp306
-rw-r--r--bibletime/backend/cswordversekey.h122
-rw-r--r--bibletime/backend/ctextrendering.cpp278
-rw-r--r--bibletime/backend/ctextrendering.h147
-rw-r--r--bibletime/backend/osismorphsegmentation.cpp92
-rw-r--r--bibletime/backend/osismorphsegmentation.h48
-rw-r--r--bibletime/bibletime.cpp329
-rw-r--r--bibletime/bibletime.h421
-rw-r--r--bibletime/bibletime_dcop.cpp220
-rw-r--r--bibletime/bibletime_init.cpp609
-rw-r--r--bibletime/bibletime_slots.cpp570
-rw-r--r--bibletime/bibletimeapp.cpp46
-rw-r--r--bibletime/bibletimeapp.h33
-rw-r--r--bibletime/bibletimeinterface.h111
-rw-r--r--bibletime/bibletimeinterface_skel.cpp188
-rw-r--r--bibletime/display-templates/Blue.tmpl349
-rw-r--r--bibletime/display-templates/Crazy.tmpl326
-rw-r--r--bibletime/display-templates/Green.tmpl328
-rw-r--r--bibletime/display-templates/HighContrast.tmpl339
-rw-r--r--bibletime/display-templates/Makefile.am13
-rw-r--r--bibletime/display-templates/Makefile.in573
-rw-r--r--bibletime/display-templates/Simple.tmpl134
-rw-r--r--bibletime/display-templates/basic_template.txt203
-rwxr-xr-xbibletime/display-templates/create_code.pl79
-rw-r--r--bibletime/display-templates/names.conf5
-rw-r--r--bibletime/display-templates/template-init.cpp1484
-rw-r--r--bibletime/frontend/Makefile.am35
-rw-r--r--bibletime/frontend/Makefile.in1024
-rw-r--r--bibletime/frontend/btinstallmgr.cpp318
-rw-r--r--bibletime/frontend/btinstallmgr.h103
-rw-r--r--bibletime/frontend/cbtconfig.cpp677
-rw-r--r--bibletime/frontend/cbtconfig.h193
-rw-r--r--bibletime/frontend/cdragdropmgr.cpp256
-rw-r--r--bibletime/frontend/cdragdropmgr.h155
-rw-r--r--bibletime/frontend/cexportmanager.cpp543
-rw-r--r--bibletime/frontend/cexportmanager.h100
-rw-r--r--bibletime/frontend/cinfodisplay.cpp462
-rw-r--r--bibletime/frontend/cinfodisplay.h72
-rw-r--r--bibletime/frontend/cinputdialog.cpp94
-rw-r--r--bibletime/frontend/cinputdialog.h43
-rw-r--r--bibletime/frontend/cmanageindiceswidget.cpp193
-rw-r--r--bibletime/frontend/cmanageindiceswidget.h77
-rw-r--r--bibletime/frontend/cmdiarea.cpp358
-rw-r--r--bibletime/frontend/cmdiarea.h143
-rw-r--r--bibletime/frontend/cmoduleindexdialog.cpp98
-rw-r--r--bibletime/frontend/cmoduleindexdialog.h55
-rw-r--r--bibletime/frontend/coptionsdialog.cpp1044
-rw-r--r--bibletime/frontend/coptionsdialog.h214
-rw-r--r--bibletime/frontend/cprinter.cpp130
-rw-r--r--bibletime/frontend/cprinter.h56
-rw-r--r--bibletime/frontend/cprofile.cpp397
-rw-r--r--bibletime/frontend/cprofile.h102
-rw-r--r--bibletime/frontend/cprofilemgr.cpp124
-rw-r--r--bibletime/frontend/cprofilemgr.h69
-rw-r--r--bibletime/frontend/cprofilewindow.cpp125
-rw-r--r--bibletime/frontend/cprofilewindow.h126
-rw-r--r--bibletime/frontend/crossrefrendering.cpp88
-rw-r--r--bibletime/frontend/crossrefrendering.h36
-rw-r--r--bibletime/frontend/cswordsetupdialog.cpp918
-rw-r--r--bibletime/frontend/cswordsetupdialog.h150
-rw-r--r--bibletime/frontend/cswordsetupinstallsourcesdialog.cpp172
-rw-r--r--bibletime/frontend/cswordsetupinstallsourcesdialog.h34
-rw-r--r--bibletime/frontend/cswordsetupmodulelistview.cpp288
-rw-r--r--bibletime/frontend/cswordsetupmodulelistview.h67
-rw-r--r--bibletime/frontend/display/Makefile.am24
-rw-r--r--bibletime/frontend/display/Makefile.in754
-rw-r--r--bibletime/frontend/display/cdisplay.cpp216
-rw-r--r--bibletime/frontend/display/cdisplay.h189
-rw-r--r--bibletime/frontend/display/chtmlreaddisplay.cpp507
-rw-r--r--bibletime/frontend/display/chtmlreaddisplay.h144
-rw-r--r--bibletime/frontend/display/chtmlwritedisplay.cpp266
-rw-r--r--bibletime/frontend/display/chtmlwritedisplay.h104
-rw-r--r--bibletime/frontend/display/cplainwritedisplay.cpp157
-rw-r--r--bibletime/frontend/display/cplainwritedisplay.h94
-rw-r--r--bibletime/frontend/display/creaddisplay.cpp115
-rw-r--r--bibletime/frontend/display/creaddisplay.h71
-rw-r--r--bibletime/frontend/display/cwritedisplay.cpp23
-rw-r--r--bibletime/frontend/display/cwritedisplay.h50
-rw-r--r--bibletime/frontend/displaywindow/Makefile.am36
-rw-r--r--bibletime/frontend/displaywindow/Makefile.in843
-rw-r--r--bibletime/frontend/displaywindow/cbiblereadwindow.cpp458
-rw-r--r--bibletime/frontend/displaywindow/cbiblereadwindow.h141
-rw-r--r--bibletime/frontend/displaywindow/cbookreadwindow.cpp176
-rw-r--r--bibletime/frontend/displaywindow/cbookreadwindow.h69
-rw-r--r--bibletime/frontend/displaywindow/cbuttons.cpp218
-rw-r--r--bibletime/frontend/displaywindow/cbuttons.h101
-rw-r--r--bibletime/frontend/displaywindow/ccommentaryreadwindow.cpp198
-rw-r--r--bibletime/frontend/displaywindow/ccommentaryreadwindow.h67
-rw-r--r--bibletime/frontend/displaywindow/cdisplaywindow.cpp498
-rw-r--r--bibletime/frontend/displaywindow/cdisplaywindow.h275
-rw-r--r--bibletime/frontend/displaywindow/chtmlwritewindow.cpp132
-rw-r--r--bibletime/frontend/displaywindow/chtmlwritewindow.h74
-rw-r--r--bibletime/frontend/displaywindow/clexiconreadwindow.cpp317
-rw-r--r--bibletime/frontend/displaywindow/clexiconreadwindow.h117
-rw-r--r--bibletime/frontend/displaywindow/cmodulechooserbar.cpp152
-rw-r--r--bibletime/frontend/displaywindow/cmodulechooserbar.h79
-rw-r--r--bibletime/frontend/displaywindow/cmodulechooserbutton.cpp276
-rw-r--r--bibletime/frontend/displaywindow/cmodulechooserbutton.h77
-rw-r--r--bibletime/frontend/displaywindow/cplainwritewindow.cpp176
-rw-r--r--bibletime/frontend/displaywindow/cplainwritewindow.h97
-rw-r--r--bibletime/frontend/displaywindow/creadwindow.cpp195
-rw-r--r--bibletime/frontend/displaywindow/creadwindow.h74
-rw-r--r--bibletime/frontend/displaywindow/cwritewindow.cpp176
-rw-r--r--bibletime/frontend/displaywindow/cwritewindow.h79
-rw-r--r--bibletime/frontend/keychooser/Makefile.am28
-rw-r--r--bibletime/frontend/keychooser/Makefile.in815
-rw-r--r--bibletime/frontend/keychooser/cbiblekeychooser.cpp113
-rw-r--r--bibletime/frontend/keychooser/cbiblekeychooser.h73
-rw-r--r--bibletime/frontend/keychooser/cbookkeychooser.cpp288
-rw-r--r--bibletime/frontend/keychooser/cbookkeychooser.h99
-rw-r--r--bibletime/frontend/keychooser/cbooktreechooser.cpp321
-rw-r--r--bibletime/frontend/keychooser/cbooktreechooser.h112
-rw-r--r--bibletime/frontend/keychooser/ckeychooser.cpp149
-rw-r--r--bibletime/frontend/keychooser/ckeychooser.h114
-rw-r--r--bibletime/frontend/keychooser/ckeychooserwidget.cpp303
-rw-r--r--bibletime/frontend/keychooser/ckeychooserwidget.h179
-rw-r--r--bibletime/frontend/keychooser/ckeyreferencewidget.cpp210
-rw-r--r--bibletime/frontend/keychooser/ckeyreferencewidget.h89
-rw-r--r--bibletime/frontend/keychooser/clexiconkeychooser.cpp176
-rw-r--r--bibletime/frontend/keychooser/clexiconkeychooser.h79
-rw-r--r--bibletime/frontend/keychooser/crefselectdialog.cpp100
-rw-r--r--bibletime/frontend/keychooser/crefselectdialog.h56
-rw-r--r--bibletime/frontend/keychooser/cscrollbutton.cpp101
-rw-r--r--bibletime/frontend/keychooser/cscrollbutton.h86
-rw-r--r--bibletime/frontend/keychooser/cscrollerwidgetset.cpp78
-rw-r--r--bibletime/frontend/keychooser/cscrollerwidgetset.h72
-rw-r--r--bibletime/frontend/kstartuplogo.cpp115
-rw-r--r--bibletime/frontend/kstartuplogo.h66
-rw-r--r--bibletime/frontend/mainindex/Makefile.am18
-rw-r--r--bibletime/frontend/mainindex/Makefile.in724
-rw-r--r--bibletime/frontend/mainindex/cindexitem.cpp1228
-rw-r--r--bibletime/frontend/mainindex/cindexitem.h390
-rw-r--r--bibletime/frontend/mainindex/cmainindex.cpp869
-rw-r--r--bibletime/frontend/mainindex/cmainindex.h232
-rw-r--r--bibletime/frontend/manageindicesform.cpp82
-rw-r--r--bibletime/frontend/manageindicesform.ui114
-rw-r--r--bibletime/frontend/searchdialog/Makefile.am28
-rw-r--r--bibletime/frontend/searchdialog/Makefile.in842
-rw-r--r--bibletime/frontend/searchdialog/cmodulechooser.cpp303
-rw-r--r--bibletime/frontend/searchdialog/cmodulechooser.h117
-rw-r--r--bibletime/frontend/searchdialog/cmoduleresultview.cpp269
-rw-r--r--bibletime/frontend/searchdialog/cmoduleresultview.h135
-rw-r--r--bibletime/frontend/searchdialog/crangechooser.cpp287
-rw-r--r--bibletime/frontend/searchdialog/crangechooser.h106
-rw-r--r--bibletime/frontend/searchdialog/csearchanalysis.cpp587
-rw-r--r--bibletime/frontend/searchdialog/csearchanalysis.h222
-rw-r--r--bibletime/frontend/searchdialog/csearchdialog.cpp263
-rw-r--r--bibletime/frontend/searchdialog/csearchdialog.h138
-rw-r--r--bibletime/frontend/searchdialog/csearchdialogpages.cpp784
-rw-r--r--bibletime/frontend/searchdialog/csearchdialogpages.h292
-rw-r--r--bibletime/frontend/searchdialog/csearchresultview.cpp271
-rw-r--r--bibletime/frontend/searchdialog/csearchresultview.h112
-rw-r--r--bibletime/frontend/searchdialog/searchoptionsform.cpp119
-rw-r--r--bibletime/frontend/searchdialog/searchoptionsform.ui199
-rw-r--r--bibletime/frontend/searchdialog/searchresultsform.cpp88
-rw-r--r--bibletime/frontend/searchdialog/searchresultsform.ui196
-rw-r--r--bibletime/frontend/util/Makefile.am16
-rw-r--r--bibletime/frontend/util/Makefile.in694
-rw-r--r--bibletime/frontend/util/csortlistviewitem.cpp84
-rw-r--r--bibletime/frontend/util/csortlistviewitem.h58
-rw-r--r--bibletime/main.cpp311
-rw-r--r--bibletime/pics/16x16/Makefile.am7
-rw-r--r--bibletime/pics/16x16/Makefile.in622
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_bible.pngbin821 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_bible_add.pngbin892 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_bible_locked.pngbin866 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_book.pngbin717 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_book_add.pngbin845 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_book_locked.pngbin827 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_cascade.pngbin670 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_cascade_auto.pngbin815 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_commentary.pngbin812 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_commentary_add.pngbin890 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_commentary_locked.pngbin874 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_displayconfig.pngbin877 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_displaytranslit.pngbin749 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_findstrongs.pngbin772 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_lexicon.pngbin776 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_lexicon_add.pngbin907 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_lexicon_locked.pngbin864 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_startconfig.pngbin916 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_swordconfig.pngbin837 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_sync.pngbin896 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_tile.pngbin590 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-action-bt_tile_auto.pngbin739 -> 0 bytes
-rw-r--r--bibletime/pics/16x16/hi16-app-bibletime.pngbin907 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/Makefile.am7
-rw-r--r--bibletime/pics/22x22/Makefile.in624
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_bible.pngbin1162 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_bible_add.pngbin1343 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_bible_locked.pngbin1273 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_book.pngbin1007 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_book_add.pngbin1247 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_book_locked.pngbin1188 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_cascade.pngbin838 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_cascade_auto.pngbin1113 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_commentary.pngbin1192 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_commentary_add.pngbin1340 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_commentary_locked.pngbin1288 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_displayconfig.pngbin1349 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_displaytranslit.pngbin1098 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_findstrongs.pngbin1284 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_lexicon.pngbin1122 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_lexicon_add.pngbin1342 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_lexicon_locked.pngbin1290 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_parallel.pngbin454 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_startconfig.pngbin1385 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_swordconfig.pngbin1247 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_sync.pngbin1457 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_tile.pngbin783 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-action-bt_tile_auto.pngbin1055 -> 0 bytes
-rw-r--r--bibletime/pics/22x22/hi22-app-bibletime.pngbin1336 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/Makefile.am7
-rw-r--r--bibletime/pics/32x32/Makefile.in622
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_bible.pngbin1875 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_bible_add.pngbin2201 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_bible_locked.pngbin2060 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_book.pngbin1586 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_book_add.pngbin2044 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_book_locked.pngbin1941 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_cascade.pngbin1233 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_cascade_auto.pngbin1745 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_commentary.pngbin1915 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_commentary_add.pngbin2226 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_commentary_locked.pngbin2139 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_displayconfig.pngbin2278 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_displaytranslit.pngbin1731 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_findstrongs.pngbin1925 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_lexicon.pngbin1833 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_lexicon_add.pngbin2257 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_lexicon_locked.pngbin2145 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_startconfig.pngbin2337 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_swordconfig.pngbin2067 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_sync.pngbin2247 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_tile.pngbin1108 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-action-bt_tile_auto.pngbin1615 -> 0 bytes
-rw-r--r--bibletime/pics/32x32/hi32-app-bibletime.pngbin2259 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/Makefile.am7
-rw-r--r--bibletime/pics/48x48/Makefile.in620
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_bible.pngbin3241 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_bible_add.pngbin3798 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_bible_locked.pngbin3591 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_book.pngbin2651 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_book_add.pngbin3420 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_book_locked.pngbin3275 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_cascade.pngbin1654 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_cascade_auto.pngbin2628 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_commentary.pngbin3365 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_commentary_add.pngbin3904 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_commentary_locked.pngbin3775 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_displayconfig.pngbin4063 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_displaytranslit.pngbin2850 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_lexicon.pngbin3197 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_lexicon_add.pngbin3857 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_lexicon_locked.pngbin3715 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_startconfig.pngbin4157 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_swordconfig.pngbin3623 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_sync.pngbin3962 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_tile.pngbin1603 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-action-bt_tile_auto.pngbin2572 -> 0 bytes
-rw-r--r--bibletime/pics/48x48/hi48-app-bibletime.pngbin3979 -> 0 bytes
-rw-r--r--bibletime/pics/64x64/Makefile.am7
-rw-r--r--bibletime/pics/64x64/Makefile.in577
-rw-r--r--bibletime/pics/64x64/hi64-app-bibletime.pngbin6060 -> 0 bytes
-rw-r--r--bibletime/pics/Makefile.am29
-rw-r--r--bibletime/pics/Makefile.in749
-rw-r--r--bibletime/pics/startuplogo.pngbin27328 -> 0 bytes
-rw-r--r--bibletime/util/Makefile.am16
-rw-r--r--bibletime/util/Makefile.in720
-rw-r--r--bibletime/util/autoptrvector.h176
-rw-r--r--bibletime/util/cpointers.cpp58
-rw-r--r--bibletime/util/cpointers.h120
-rw-r--r--bibletime/util/cresmgr.cpp1198
-rw-r--r--bibletime/util/cresmgr.h733
-rw-r--r--bibletime/util/ctoolclass.cpp239
-rw-r--r--bibletime/util/ctoolclass.h80
-rw-r--r--bibletime/util/directoryutil.cpp111
-rw-r--r--bibletime/util/directoryutil.h55
-rw-r--r--bibletime/util/scoped_resource.h181
-rw-r--r--bibletime/xml/Makefile.am3
-rw-r--r--bibletime/xml/Makefile.in594
-rw-r--r--bibletime/xml/bibletimeui.rc70
-rwxr-xr-xbuild-debug.sh18
-rwxr-xr-xbuild-release.sh16
-rw-r--r--clucene.m4153
-rw-r--r--cmake/FindCLucene.cmake121
-rw-r--r--cmake/FindLibraryWithDebug.cmake117
-rw-r--r--cmake/FindSword.cmake120
-rw-r--r--cmake/bibletime_source_list.cmake283
-rw-r--r--cmake/cmake_uninstall.cmake.in25
-rw-r--r--cmake/config.h.cmake15
-rw-r--r--cmake/docs/docs.xsl5
-rw-r--r--cmake/docs/docs_freebsd.xsl5
-rw-r--r--cmake/docs/handbook_po4a.conf14
-rw-r--r--cmake/docs/howto_po4a.conf12
-rw-r--r--cmake/platforms/linux/bibletime.desktop.cmake23
-rw-r--r--cmake/platforms/macos/BibleTime.icnsbin0 -> 285941 bytes
-rw-r--r--cmake/platforms/macos/Info.plist10
-rw-r--r--cmake/platforms/macos/bt_start.sh21
-rw-r--r--config.h.in243
-rwxr-xr-xconfigure35153
-rw-r--r--configure.in131
-rw-r--r--configure.in.in68
-rw-r--r--docs/Makefile.am10
-rw-r--r--docs/Makefile.in763
-rw-r--r--docs/development/bibletime.spec.in (renamed from bibletime.spec.in)0
-rwxr-xr-xdocs/development/format_sourcecode.sh23
-rw-r--r--docs/development/ksgmltools-bug-read-me.txt (renamed from docs/ksgmltools-bug-read-me.txt)0
-rw-r--r--docs/development/packaging-howto.txt54
-rw-r--r--docs/development/tips.xml (renamed from docs/tips)0
-rw-r--r--docs/handbook/Makefile.am17
-rw-r--r--docs/handbook/Makefile.in740
-rw-r--r--docs/handbook/cs/docbook/hdbk-config.docbook178
-rw-r--r--docs/handbook/cs/docbook/hdbk-intro.docbook83
-rw-r--r--docs/handbook/cs/docbook/hdbk-operation.docbook373
-rw-r--r--docs/handbook/cs/docbook/hdbk-reference.docbook652
-rw-r--r--docs/handbook/cs/docbook/hdbk-start.docbook69
-rw-r--r--docs/handbook/cs/docbook/index.docbook81
-rw-r--r--docs/handbook/cs/html/hdbk-config.html73
-rw-r--r--docs/handbook/cs/html/hdbk-intro.html26
-rw-r--r--docs/handbook/cs/html/hdbk-op-bookshelfmanager.html27
-rw-r--r--docs/handbook/cs/html/hdbk-op-output.html12
-rw-r--r--docs/handbook/cs/html/hdbk-op-parts.html65
-rw-r--r--docs/handbook/cs/html/hdbk-op-search.html38
-rw-r--r--docs/handbook/cs/html/hdbk-op.html8
-rw-r--r--docs/handbook/cs/html/hdbk-reference-hotkeys.html79
-rw-r--r--docs/handbook/cs/html/hdbk-reference-toolbar.html10
-rw-r--r--docs/handbook/cs/html/hdbk-reference.html128
-rw-r--r--docs/handbook/cs/html/hdbk-startsequence.html16
-rw-r--r--docs/handbook/cs/html/hdbk-term.html10
-rw-r--r--docs/handbook/cs/html/index.html21
-rw-r--r--docs/handbook/de/docbook/hdbk-config.docbook186
-rw-r--r--docs/handbook/de/docbook/hdbk-intro.docbook85
-rw-r--r--docs/handbook/de/docbook/hdbk-operation.docbook381
-rw-r--r--docs/handbook/de/docbook/hdbk-reference.docbook655
-rw-r--r--docs/handbook/de/docbook/hdbk-start.docbook69
-rw-r--r--docs/handbook/de/docbook/index.docbook81
-rw-r--r--docs/handbook/de/html/hdbk-config.html82
-rw-r--r--docs/handbook/de/html/hdbk-intro.html27
-rw-r--r--docs/handbook/de/html/hdbk-op-bookshelfmanager.html27
-rw-r--r--docs/handbook/de/html/hdbk-op-output.html13
-rw-r--r--docs/handbook/de/html/hdbk-op-parts.html69
-rw-r--r--docs/handbook/de/html/hdbk-op-search.html39
-rw-r--r--docs/handbook/de/html/hdbk-op.html10
-rw-r--r--docs/handbook/de/html/hdbk-reference-hotkeys.html76
-rw-r--r--docs/handbook/de/html/hdbk-reference-toolbar.html10
-rw-r--r--docs/handbook/de/html/hdbk-reference.html130
-rw-r--r--docs/handbook/de/html/hdbk-startsequence.html15
-rw-r--r--docs/handbook/de/html/hdbk-term.html11
-rw-r--r--docs/handbook/de/html/index.html21
-rw-r--r--docs/handbook/en/docbook/hdbk-config.docbook207
-rw-r--r--docs/handbook/en/docbook/hdbk-intro.docbook95
-rw-r--r--docs/handbook/en/docbook/hdbk-operation.docbook446
-rw-r--r--docs/handbook/en/docbook/hdbk-reference.docbook725
-rw-r--r--docs/handbook/en/docbook/hdbk-start.docbook77
-rw-r--r--docs/handbook/en/docbook/index.docbook73
-rw-r--r--docs/handbook/en/html/hdbk-config.html104
-rw-r--r--docs/handbook/en/html/hdbk-intro.html42
-rw-r--r--docs/handbook/en/html/hdbk-op-bookshelfmanager.html38
-rw-r--r--docs/handbook/en/html/hdbk-op-output.html18
-rw-r--r--docs/handbook/en/html/hdbk-op-parts.html98
-rw-r--r--docs/handbook/en/html/hdbk-op-search.html58
-rw-r--r--docs/handbook/en/html/hdbk-op.html13
-rw-r--r--docs/handbook/en/html/hdbk-reference-hotkeys.html98
-rw-r--r--docs/handbook/en/html/hdbk-reference-toolbar.html14
-rw-r--r--docs/handbook/en/html/hdbk-reference.html149
-rw-r--r--docs/handbook/en/html/hdbk-startsequence.html19
-rw-r--r--docs/handbook/en/html/hdbk-term.html16
-rw-r--r--docs/handbook/en/html/i_bibletime.png (renamed from docs/handbook/html/i_bibletime.png)bin2259 -> 2259 bytes
-rw-r--r--docs/handbook/en/html/i_cascade.png (renamed from docs/handbook/html/i_cascade.png)bin1233 -> 1233 bytes
-rw-r--r--docs/handbook/en/html/i_cascade_auto.png (renamed from docs/handbook/html/i_cascade_auto.png)bin1745 -> 1745 bytes
-rw-r--r--docs/handbook/en/html/i_configure.png (renamed from docs/handbook/html/i_configure.png)bin1839 -> 1839 bytes
-rw-r--r--docs/handbook/en/html/i_configuresword.png (renamed from docs/handbook/html/i_configuresword.png)bin2067 -> 2067 bytes
-rw-r--r--docs/handbook/en/html/i_configuretoolbars.png (renamed from docs/handbook/html/i_configuretoolbars.png)bin1160 -> 1160 bytes
-rw-r--r--docs/handbook/en/html/i_contents2.pngbin0 -> 1698 bytes
-rw-r--r--docs/handbook/en/html/i_exit.png (renamed from docs/handbook/html/i_exit.png)bin1610 -> 1610 bytes
-rw-r--r--docs/handbook/en/html/i_fileclose.png (renamed from docs/handbook/html/i_fileclose.png)bin1594 -> 1594 bytes
-rw-r--r--docs/handbook/en/html/i_find.pngbin0 -> 1758 bytes
-rw-r--r--docs/handbook/en/html/i_fullscreen.png (renamed from docs/handbook/html/i_fullscreen.png)bin1198 -> 1198 bytes
-rw-r--r--docs/handbook/en/html/i_sidetree.png (renamed from docs/handbook/html/i_sidetree.png)bin930 -> 930 bytes
-rw-r--r--docs/handbook/en/html/i_tile.png (renamed from docs/handbook/html/i_tile.png)bin1108 -> 1108 bytes
-rw-r--r--docs/handbook/en/html/i_view_index.pngbin0 -> 435 bytes
-rw-r--r--docs/handbook/en/html/i_view_mag.pngbin0 -> 375 bytes
-rw-r--r--docs/handbook/en/html/i_window_fullscreen.pngbin0 -> 1282 bytes
-rw-r--r--docs/handbook/en/html/index.html24
-rw-r--r--docs/handbook/en/html/ss_configfonts.pngbin0 -> 25785 bytes
-rw-r--r--docs/handbook/en/html/ss_mainterms.pngbin0 -> 62049 bytes
-rw-r--r--docs/handbook/en/html/ss_searchanal.png (renamed from docs/handbook/html/ss_searchanal.png)bin17886 -> 17886 bytes
-rw-r--r--docs/handbook/en/html/ss_searchopts.pngbin0 -> 91674 bytes
-rw-r--r--docs/handbook/fi/docbook/hdbk-config.docbook182
-rw-r--r--docs/handbook/fi/docbook/hdbk-intro.docbook86
-rw-r--r--docs/handbook/fi/docbook/hdbk-operation.docbook380
-rw-r--r--docs/handbook/fi/docbook/hdbk-reference.docbook658
-rw-r--r--docs/handbook/fi/docbook/hdbk-start.docbook71
-rw-r--r--docs/handbook/fi/docbook/index.docbook81
-rw-r--r--docs/handbook/fi/html/hdbk-config.html79
-rw-r--r--docs/handbook/fi/html/hdbk-intro.html28
-rw-r--r--docs/handbook/fi/html/hdbk-op-bookshelfmanager.html27
-rw-r--r--docs/handbook/fi/html/hdbk-op-output.html13
-rw-r--r--docs/handbook/fi/html/hdbk-op-parts.html69
-rw-r--r--docs/handbook/fi/html/hdbk-op-search.html39
-rw-r--r--docs/handbook/fi/html/hdbk-op.html10
-rw-r--r--docs/handbook/fi/html/hdbk-reference-hotkeys.html76
-rw-r--r--docs/handbook/fi/html/hdbk-reference-toolbar.html10
-rw-r--r--docs/handbook/fi/html/hdbk-reference.html131
-rw-r--r--docs/handbook/fi/html/hdbk-startsequence.html15
-rw-r--r--docs/handbook/fi/html/hdbk-term.html12
-rw-r--r--docs/handbook/fi/html/index.html21
-rw-r--r--docs/handbook/fr/docbook/hdbk-config.docbook184
-rw-r--r--docs/handbook/fr/docbook/hdbk-intro.docbook86
-rw-r--r--docs/handbook/fr/docbook/hdbk-operation.docbook383
-rw-r--r--docs/handbook/fr/docbook/hdbk-reference.docbook657
-rw-r--r--docs/handbook/fr/docbook/hdbk-start.docbook69
-rw-r--r--docs/handbook/fr/docbook/index.docbook81
-rw-r--r--docs/handbook/fr/html/hdbk-config.html81
-rw-r--r--docs/handbook/fr/html/hdbk-intro.html29
-rw-r--r--docs/handbook/fr/html/hdbk-op-bookshelfmanager.html27
-rw-r--r--docs/handbook/fr/html/hdbk-op-output.html13
-rw-r--r--docs/handbook/fr/html/hdbk-op-parts.html70
-rw-r--r--docs/handbook/fr/html/hdbk-op-search.html41
-rw-r--r--docs/handbook/fr/html/hdbk-op.html9
-rw-r--r--docs/handbook/fr/html/hdbk-reference-hotkeys.html77
-rw-r--r--docs/handbook/fr/html/hdbk-reference-toolbar.html10
-rw-r--r--docs/handbook/fr/html/hdbk-reference.html130
-rw-r--r--docs/handbook/fr/html/hdbk-startsequence.html15
-rw-r--r--docs/handbook/fr/html/hdbk-term.html11
-rw-r--r--docs/handbook/fr/html/index.html21
-rw-r--r--docs/handbook/html/Makefile.am127
-rw-r--r--docs/handbook/html/Makefile.in681
-rw-r--r--docs/handbook/html/i_bible.pngbin1875 -> 0 bytes
-rw-r--r--docs/handbook/html/i_bible_add.pngbin2201 -> 0 bytes
-rw-r--r--docs/handbook/html/i_book.pngbin1586 -> 0 bytes
-rw-r--r--docs/handbook/html/i_book_add.pngbin2044 -> 0 bytes
-rw-r--r--docs/handbook/html/i_commentary.pngbin1915 -> 0 bytes
-rw-r--r--docs/handbook/html/i_commentary_add.pngbin2226 -> 0 bytes
-rw-r--r--docs/handbook/html/i_configureaccels.pngbin1605 -> 0 bytes
-rw-r--r--docs/handbook/html/i_configuredisplay.pngbin2278 -> 0 bytes
-rw-r--r--docs/handbook/html/i_configurefonts.pngbin2223 -> 0 bytes
-rw-r--r--docs/handbook/html/i_configurestart.pngbin2337 -> 0 bytes
-rw-r--r--docs/handbook/html/i_contents.pngbin2467 -> 0 bytes
-rw-r--r--docs/handbook/html/i_delete.pngbin1784 -> 0 bytes
-rw-r--r--docs/handbook/html/i_editdelete.pngbin1368 -> 0 bytes
-rw-r--r--docs/handbook/html/i_fileprint.pngbin1331 -> 0 bytes
-rw-r--r--docs/handbook/html/i_find.pngbin2396 -> 0 bytes
-rw-r--r--docs/handbook/html/i_go.pngbin3518 -> 0 bytes
-rw-r--r--docs/handbook/html/i_ktip.pngbin1665 -> 0 bytes
-rw-r--r--docs/handbook/html/i_lexicon.pngbin1833 -> 0 bytes
-rw-r--r--docs/handbook/html/i_lexicon_add.pngbin2257 -> 0 bytes
-rw-r--r--docs/handbook/html/i_pencil.pngbin361 -> 0 bytes
-rw-r--r--docs/handbook/html/i_sync.pngbin2247 -> 0 bytes
-rw-r--r--docs/handbook/html/i_tile_auto.pngbin1615 -> 0 bytes
-rw-r--r--docs/handbook/html/ss_configfonts.pngbin41575 -> 0 bytes
-rw-r--r--docs/handbook/html/ss_configtoolbar.pngbin34080 -> 0 bytes
-rw-r--r--docs/handbook/html/ss_mainterms.pngbin88580 -> 0 bytes
-rw-r--r--docs/handbook/html/ss_searchopts.pngbin69926 -> 0 bytes
-rw-r--r--docs/handbook/hu/docbook/hdbk-config.docbook190
-rw-r--r--docs/handbook/hu/docbook/hdbk-intro.docbook85
-rw-r--r--docs/handbook/hu/docbook/hdbk-operation.docbook439
-rw-r--r--docs/handbook/hu/docbook/hdbk-reference.docbook759
-rw-r--r--docs/handbook/hu/docbook/hdbk-start.docbook89
-rw-r--r--docs/handbook/hu/docbook/index.docbook82
-rw-r--r--docs/handbook/hu/html/hdbk-config.html85
-rw-r--r--docs/handbook/hu/html/hdbk-intro.html28
-rw-r--r--docs/handbook/hu/html/hdbk-op-bookshelfmanager.html44
-rw-r--r--docs/handbook/hu/html/hdbk-op-output.html23
-rw-r--r--docs/handbook/hu/html/hdbk-op-parts.html64
-rw-r--r--docs/handbook/hu/html/hdbk-op-search.html75
-rw-r--r--docs/handbook/hu/html/hdbk-op.html9
-rw-r--r--docs/handbook/hu/html/hdbk-reference-hotkeys.html130
-rw-r--r--docs/handbook/hu/html/hdbk-reference-toolbar.html15
-rw-r--r--docs/handbook/hu/html/hdbk-reference.html166
-rw-r--r--docs/handbook/hu/html/hdbk-startsequence.html25
-rw-r--r--docs/handbook/hu/html/hdbk-term.html19
-rw-r--r--docs/handbook/hu/html/index.html22
-rw-r--r--docs/handbook/nl/docbook/hdbk-config.docbook187
-rw-r--r--docs/handbook/nl/docbook/hdbk-intro.docbook87
-rw-r--r--docs/handbook/nl/docbook/hdbk-operation.docbook388
-rw-r--r--docs/handbook/nl/docbook/hdbk-reference.docbook657
-rw-r--r--docs/handbook/nl/docbook/hdbk-start.docbook69
-rw-r--r--docs/handbook/nl/docbook/index.docbook81
-rw-r--r--docs/handbook/nl/html/hdbk-config.html83
-rw-r--r--docs/handbook/nl/html/hdbk-intro.html29
-rw-r--r--docs/handbook/nl/html/hdbk-op-bookshelfmanager.html29
-rw-r--r--docs/handbook/nl/html/hdbk-op-output.html13
-rw-r--r--docs/handbook/nl/html/hdbk-op-parts.html72
-rw-r--r--docs/handbook/nl/html/hdbk-op-search.html41
-rw-r--r--docs/handbook/nl/html/hdbk-op.html10
-rw-r--r--docs/handbook/nl/html/hdbk-reference-hotkeys.html76
-rw-r--r--docs/handbook/nl/html/hdbk-reference-toolbar.html10
-rw-r--r--docs/handbook/nl/html/hdbk-reference.html131
-rw-r--r--docs/handbook/nl/html/hdbk-startsequence.html15
-rw-r--r--docs/handbook/nl/html/hdbk-term.html11
-rw-r--r--docs/handbook/nl/html/index.html21
-rw-r--r--docs/handbook/unicode/Makefile.am31
-rw-r--r--docs/handbook/unicode/Makefile.in585
-rw-r--r--docs/handbook/unicode/hdbk-config.docbook182
-rw-r--r--docs/handbook/unicode/hdbk-intro.docbook93
-rw-r--r--docs/handbook/unicode/hdbk-operation.docbook260
-rw-r--r--docs/handbook/unicode/hdbk-reference.docbook480
-rw-r--r--docs/handbook/unicode/hdbk-start.docbook93
-rw-r--r--docs/handbook/unicode/index.docbook89
-rw-r--r--docs/howto/Makefile.am17
-rw-r--r--docs/howto/Makefile.in740
-rw-r--r--docs/howto/bg/docbook/howto-basics.docbook212
-rw-r--r--docs/howto/bg/docbook/howto-importance.docbook304
-rw-r--r--docs/howto/bg/docbook/howto-interpretation.docbook261
-rw-r--r--docs/howto/bg/docbook/index.docbook77
-rw-r--r--docs/howto/bg/html/h2-basics-approaches.html22
-rw-r--r--docs/howto/bg/html/h2-basics-expository.html10
-rw-r--r--docs/howto/bg/html/h2-basics-interpretation.html6
-rw-r--r--docs/howto/bg/html/h2-basics-types.html3
-rw-r--r--docs/howto/bg/html/h2-basics-worksheet.html15
-rw-r--r--docs/howto/bg/html/h2-basics.html17
-rw-r--r--docs/howto/bg/html/h2-importance-breathed.html32
-rw-r--r--docs/howto/bg/html/h2-importance-exhortations.html16
-rw-r--r--docs/howto/bg/html/h2-importance-liberates.html13
-rw-r--r--docs/howto/bg/html/h2-importance-once.html20
-rw-r--r--docs/howto/bg/html/h2-importance-supplement.html10
-rw-r--r--docs/howto/bg/html/h2-importance-wars.html2
-rw-r--r--docs/howto/bg/html/h2-importance-works.html29
-rw-r--r--docs/howto/bg/html/h2-importance.html27
-rw-r--r--docs/howto/bg/html/h2-rules-context.html21
-rw-r--r--docs/howto/bg/html/h2-rules-hcontest.html21
-rw-r--r--docs/howto/bg/html/h2-rules-normal.html22
-rw-r--r--docs/howto/bg/html/h2-rules-parables.html15
-rw-r--r--docs/howto/bg/html/h2-rules.html69
-rw-r--r--docs/howto/bg/html/index.html19
-rw-r--r--docs/howto/cs/docbook/howto-basics.docbook209
-rw-r--r--docs/howto/cs/docbook/howto-importance.docbook303
-rw-r--r--docs/howto/cs/docbook/howto-interpretation.docbook259
-rw-r--r--docs/howto/cs/docbook/index.docbook77
-rw-r--r--docs/howto/cs/html/h2-basics-approaches.html23
-rw-r--r--docs/howto/cs/html/h2-basics-expository.html10
-rw-r--r--docs/howto/cs/html/h2-basics-interpretation.html5
-rw-r--r--docs/howto/cs/html/h2-basics-types.html2
-rw-r--r--docs/howto/cs/html/h2-basics-worksheet.html14
-rw-r--r--docs/howto/cs/html/h2-basics.html17
-rw-r--r--docs/howto/cs/html/h2-importance-breathed.html31
-rw-r--r--docs/howto/cs/html/h2-importance-exhortations.html17
-rw-r--r--docs/howto/cs/html/h2-importance-liberates.html12
-rw-r--r--docs/howto/cs/html/h2-importance-once.html20
-rw-r--r--docs/howto/cs/html/h2-importance-supplement.html10
-rw-r--r--docs/howto/cs/html/h2-importance-wars.html2
-rw-r--r--docs/howto/cs/html/h2-importance-works.html30
-rw-r--r--docs/howto/cs/html/h2-importance.html26
-rw-r--r--docs/howto/cs/html/h2-rules-context.html21
-rw-r--r--docs/howto/cs/html/h2-rules-hcontest.html21
-rw-r--r--docs/howto/cs/html/h2-rules-normal.html22
-rw-r--r--docs/howto/cs/html/h2-rules-parables.html15
-rw-r--r--docs/howto/cs/html/h2-rules.html67
-rw-r--r--docs/howto/cs/html/index.html20
-rw-r--r--docs/howto/de/docbook/howto-basics.docbook220
-rw-r--r--docs/howto/de/docbook/howto-importance.docbook318
-rw-r--r--docs/howto/de/docbook/howto-interpretation.docbook268
-rw-r--r--docs/howto/de/docbook/index.docbook77
-rw-r--r--docs/howto/de/html/h2-basics-approaches.html26
-rw-r--r--docs/howto/de/html/h2-basics-expository.html11
-rw-r--r--docs/howto/de/html/h2-basics-interpretation.html7
-rw-r--r--docs/howto/de/html/h2-basics-types.html3
-rw-r--r--docs/howto/de/html/h2-basics-worksheet.html17
-rw-r--r--docs/howto/de/html/h2-basics.html17
-rw-r--r--docs/howto/de/html/h2-importance-breathed.html34
-rw-r--r--docs/howto/de/html/h2-importance-exhortations.html17
-rw-r--r--docs/howto/de/html/h2-importance-liberates.html15
-rw-r--r--docs/howto/de/html/h2-importance-once.html20
-rw-r--r--docs/howto/de/html/h2-importance-supplement.html12
-rw-r--r--docs/howto/de/html/h2-importance-wars.html2
-rw-r--r--docs/howto/de/html/h2-importance-works.html36
-rw-r--r--docs/howto/de/html/h2-importance.html27
-rw-r--r--docs/howto/de/html/h2-rules-context.html23
-rw-r--r--docs/howto/de/html/h2-rules-hcontest.html22
-rw-r--r--docs/howto/de/html/h2-rules-normal.html24
-rw-r--r--docs/howto/de/html/h2-rules-parables.html16
-rw-r--r--docs/howto/de/html/h2-rules.html74
-rw-r--r--docs/howto/de/html/index.html20
-rw-r--r--docs/howto/en/docbook/howto-basics.docbook (renamed from docs/howto/unicode/how2-basics.docbook)0
-rw-r--r--docs/howto/en/docbook/howto-importance.docbook311
-rw-r--r--docs/howto/en/docbook/howto-interpretation.docbook (renamed from docs/howto/unicode/how2-interpretation.docbook)0
-rw-r--r--docs/howto/en/docbook/index.docbook75
-rw-r--r--docs/howto/en/html/h2-basics-approaches.html21
-rw-r--r--docs/howto/en/html/h2-basics-expository.html6
-rw-r--r--docs/howto/en/html/h2-basics-interpretation.html4
-rw-r--r--docs/howto/en/html/h2-basics-types.html3
-rw-r--r--docs/howto/en/html/h2-basics-worksheet.html9
-rw-r--r--docs/howto/en/html/h2-basics.html17
-rw-r--r--docs/howto/en/html/h2-importance-breathed.html30
-rw-r--r--docs/howto/en/html/h2-importance-exhortations.html15
-rw-r--r--docs/howto/en/html/h2-importance-liberates.html12
-rw-r--r--docs/howto/en/html/h2-importance-once.html22
-rw-r--r--docs/howto/en/html/h2-importance-supplement.html13
-rw-r--r--docs/howto/en/html/h2-importance-wars.html2
-rw-r--r--docs/howto/en/html/h2-importance-works.html40
-rw-r--r--docs/howto/en/html/h2-importance.html29
-rw-r--r--docs/howto/en/html/h2-rules-context.html17
-rw-r--r--docs/howto/en/html/h2-rules-hcontest.html16
-rw-r--r--docs/howto/en/html/h2-rules-normal.html15
-rw-r--r--docs/howto/en/html/h2-rules-parables.html8
-rw-r--r--docs/howto/en/html/h2-rules.html44
-rw-r--r--docs/howto/en/html/index.html21
-rw-r--r--docs/howto/fi/docbook/howto-basics.docbook208
-rw-r--r--docs/howto/fi/docbook/howto-importance.docbook316
-rw-r--r--docs/howto/fi/docbook/howto-interpretation.docbook270
-rw-r--r--docs/howto/fi/docbook/index.docbook76
-rw-r--r--docs/howto/fi/html/h2-basics-approaches.html20
-rw-r--r--docs/howto/fi/html/h2-basics-expository.html10
-rw-r--r--docs/howto/fi/html/h2-basics-interpretation.html6
-rw-r--r--docs/howto/fi/html/h2-basics-types.html2
-rw-r--r--docs/howto/fi/html/h2-basics-worksheet.html15
-rw-r--r--docs/howto/fi/html/h2-basics.html16
-rw-r--r--docs/howto/fi/html/h2-importance-breathed.html32
-rw-r--r--docs/howto/fi/html/h2-importance-exhortations.html17
-rw-r--r--docs/howto/fi/html/h2-importance-liberates.html15
-rw-r--r--docs/howto/fi/html/h2-importance-once.html21
-rw-r--r--docs/howto/fi/html/h2-importance-supplement.html11
-rw-r--r--docs/howto/fi/html/h2-importance-wars.html2
-rw-r--r--docs/howto/fi/html/h2-importance-works.html32
-rw-r--r--docs/howto/fi/html/h2-importance.html31
-rw-r--r--docs/howto/fi/html/h2-rules-context.html22
-rw-r--r--docs/howto/fi/html/h2-rules-hcontest.html23
-rw-r--r--docs/howto/fi/html/h2-rules-normal.html26
-rw-r--r--docs/howto/fi/html/h2-rules-parables.html16
-rw-r--r--docs/howto/fi/html/h2-rules.html70
-rw-r--r--docs/howto/fi/html/index.html19
-rw-r--r--docs/howto/fr/docbook/howto-basics.docbook213
-rw-r--r--docs/howto/fr/docbook/howto-importance.docbook314
-rw-r--r--docs/howto/fr/docbook/howto-interpretation.docbook265
-rw-r--r--docs/howto/fr/docbook/index.docbook77
-rw-r--r--docs/howto/fr/html/h2-basics-approaches.html23
-rw-r--r--docs/howto/fr/html/h2-basics-expository.html10
-rw-r--r--docs/howto/fr/html/h2-basics-interpretation.html7
-rw-r--r--docs/howto/fr/html/h2-basics-types.html2
-rw-r--r--docs/howto/fr/html/h2-basics-worksheet.html15
-rw-r--r--docs/howto/fr/html/h2-basics.html17
-rw-r--r--docs/howto/fr/html/h2-importance-breathed.html32
-rw-r--r--docs/howto/fr/html/h2-importance-exhortations.html17
-rw-r--r--docs/howto/fr/html/h2-importance-liberates.html16
-rw-r--r--docs/howto/fr/html/h2-importance-once.html20
-rw-r--r--docs/howto/fr/html/h2-importance-supplement.html11
-rw-r--r--docs/howto/fr/html/h2-importance-wars.html2
-rw-r--r--docs/howto/fr/html/h2-importance-works.html33
-rw-r--r--docs/howto/fr/html/h2-importance.html29
-rw-r--r--docs/howto/fr/html/h2-rules-context.html23
-rw-r--r--docs/howto/fr/html/h2-rules-hcontest.html21
-rw-r--r--docs/howto/fr/html/h2-rules-normal.html22
-rw-r--r--docs/howto/fr/html/h2-rules-parables.html15
-rw-r--r--docs/howto/fr/html/h2-rules.html71
-rw-r--r--docs/howto/fr/html/index.html20
-rw-r--r--docs/howto/html/Makefile.am13
-rw-r--r--docs/howto/html/Makefile.in567
-rw-r--r--docs/howto/hu/docbook/howto-basics.docbook209
-rw-r--r--docs/howto/hu/docbook/howto-importance.docbook309
-rw-r--r--docs/howto/hu/docbook/howto-interpretation.docbook261
-rw-r--r--docs/howto/hu/docbook/index.docbook77
-rw-r--r--docs/howto/hu/html/h2-basics-approaches.html23
-rw-r--r--docs/howto/hu/html/h2-basics-expository.html7
-rw-r--r--docs/howto/hu/html/h2-basics-interpretation.html6
-rw-r--r--docs/howto/hu/html/h2-basics-types.html3
-rw-r--r--docs/howto/hu/html/h2-basics-worksheet.html15
-rw-r--r--docs/howto/hu/html/h2-basics.html16
-rw-r--r--docs/howto/hu/html/h2-importance-breathed.html31
-rw-r--r--docs/howto/hu/html/h2-importance-exhortations.html17
-rw-r--r--docs/howto/hu/html/h2-importance-liberates.html14
-rw-r--r--docs/howto/hu/html/h2-importance-once.html20
-rw-r--r--docs/howto/hu/html/h2-importance-supplement.html10
-rw-r--r--docs/howto/hu/html/h2-importance-wars.html2
-rw-r--r--docs/howto/hu/html/h2-importance-works.html32
-rw-r--r--docs/howto/hu/html/h2-importance.html28
-rw-r--r--docs/howto/hu/html/h2-rules-context.html21
-rw-r--r--docs/howto/hu/html/h2-rules-hcontest.html21
-rw-r--r--docs/howto/hu/html/h2-rules-normal.html22
-rw-r--r--docs/howto/hu/html/h2-rules-parables.html15
-rw-r--r--docs/howto/hu/html/h2-rules.html69
-rw-r--r--docs/howto/hu/html/index.html19
-rw-r--r--docs/howto/it/docbook/howto-basics.docbook211
-rw-r--r--docs/howto/it/docbook/howto-importance.docbook311
-rw-r--r--docs/howto/it/docbook/howto-interpretation.docbook261
-rw-r--r--docs/howto/it/docbook/index.docbook77
-rw-r--r--docs/howto/it/html/h2-basics-approaches.html22
-rw-r--r--docs/howto/it/html/h2-basics-expository.html10
-rw-r--r--docs/howto/it/html/h2-basics-interpretation.html6
-rw-r--r--docs/howto/it/html/h2-basics-types.html3
-rw-r--r--docs/howto/it/html/h2-basics-worksheet.html15
-rw-r--r--docs/howto/it/html/h2-basics.html16
-rw-r--r--docs/howto/it/html/h2-importance-breathed.html32
-rw-r--r--docs/howto/it/html/h2-importance-exhortations.html17
-rw-r--r--docs/howto/it/html/h2-importance-liberates.html15
-rw-r--r--docs/howto/it/html/h2-importance-once.html20
-rw-r--r--docs/howto/it/html/h2-importance-supplement.html11
-rw-r--r--docs/howto/it/html/h2-importance-wars.html2
-rw-r--r--docs/howto/it/html/h2-importance-works.html32
-rw-r--r--docs/howto/it/html/h2-importance.html27
-rw-r--r--docs/howto/it/html/h2-rules-context.html21
-rw-r--r--docs/howto/it/html/h2-rules-hcontest.html21
-rw-r--r--docs/howto/it/html/h2-rules-normal.html22
-rw-r--r--docs/howto/it/html/h2-rules-parables.html15
-rw-r--r--docs/howto/it/html/h2-rules.html69
-rw-r--r--docs/howto/it/html/index.html19
-rw-r--r--docs/howto/ko/docbook/howto-basics.docbook204
-rw-r--r--docs/howto/ko/docbook/howto-importance.docbook291
-rw-r--r--docs/howto/ko/docbook/howto-interpretation.docbook261
-rw-r--r--docs/howto/ko/docbook/index.docbook77
-rw-r--r--docs/howto/ko/html/h2-basics-approaches.html22
-rw-r--r--docs/howto/ko/html/h2-basics-expository.html9
-rw-r--r--docs/howto/ko/html/h2-basics-interpretation.html4
-rw-r--r--docs/howto/ko/html/h2-basics-types.html1
-rw-r--r--docs/howto/ko/html/h2-basics-worksheet.html14
-rw-r--r--docs/howto/ko/html/h2-basics.html15
-rw-r--r--docs/howto/ko/html/h2-importance-breathed.html29
-rw-r--r--docs/howto/ko/html/h2-importance-exhortations.html14
-rw-r--r--docs/howto/ko/html/h2-importance-liberates.html11
-rw-r--r--docs/howto/ko/html/h2-importance-once.html20
-rw-r--r--docs/howto/ko/html/h2-importance-supplement.html6
-rw-r--r--docs/howto/ko/html/h2-importance-wars.html2
-rw-r--r--docs/howto/ko/html/h2-importance-works.html29
-rw-r--r--docs/howto/ko/html/h2-importance.html25
-rw-r--r--docs/howto/ko/html/h2-rules-context.html21
-rw-r--r--docs/howto/ko/html/h2-rules-hcontest.html21
-rw-r--r--docs/howto/ko/html/h2-rules-normal.html22
-rw-r--r--docs/howto/ko/html/h2-rules-parables.html15
-rw-r--r--docs/howto/ko/html/h2-rules.html69
-rw-r--r--docs/howto/ko/html/index.html19
-rw-r--r--docs/howto/nl/docbook/howto-basics.docbook212
-rw-r--r--docs/howto/nl/docbook/howto-importance.docbook312
-rw-r--r--docs/howto/nl/docbook/howto-interpretation.docbook264
-rw-r--r--docs/howto/nl/docbook/index.docbook77
-rw-r--r--docs/howto/nl/html/h2-basics-approaches.html22
-rw-r--r--docs/howto/nl/html/h2-basics-expository.html10
-rw-r--r--docs/howto/nl/html/h2-basics-interpretation.html6
-rw-r--r--docs/howto/nl/html/h2-basics-types.html3
-rw-r--r--docs/howto/nl/html/h2-basics-worksheet.html16
-rw-r--r--docs/howto/nl/html/h2-basics.html16
-rw-r--r--docs/howto/nl/html/h2-importance-breathed.html33
-rw-r--r--docs/howto/nl/html/h2-importance-exhortations.html16
-rw-r--r--docs/howto/nl/html/h2-importance-liberates.html14
-rw-r--r--docs/howto/nl/html/h2-importance-once.html20
-rw-r--r--docs/howto/nl/html/h2-importance-supplement.html11
-rw-r--r--docs/howto/nl/html/h2-importance-wars.html2
-rw-r--r--docs/howto/nl/html/h2-importance-works.html33
-rw-r--r--docs/howto/nl/html/h2-importance.html29
-rw-r--r--docs/howto/nl/html/h2-rules-context.html22
-rw-r--r--docs/howto/nl/html/h2-rules-hcontest.html21
-rw-r--r--docs/howto/nl/html/h2-rules-normal.html22
-rw-r--r--docs/howto/nl/html/h2-rules-parables.html15
-rw-r--r--docs/howto/nl/html/h2-rules.html72
-rw-r--r--docs/howto/nl/html/index.html21
-rw-r--r--docs/howto/pt-br/docbook/howto-basics.docbook210
-rw-r--r--docs/howto/pt-br/docbook/howto-importance.docbook306
-rw-r--r--docs/howto/pt-br/docbook/howto-interpretation.docbook263
-rw-r--r--docs/howto/pt-br/docbook/index.docbook77
-rw-r--r--docs/howto/pt-br/html/h2-basics-approaches.html21
-rw-r--r--docs/howto/pt-br/html/h2-basics-expository.html10
-rw-r--r--docs/howto/pt-br/html/h2-basics-interpretation.html6
-rw-r--r--docs/howto/pt-br/html/h2-basics-types.html2
-rw-r--r--docs/howto/pt-br/html/h2-basics-worksheet.html16
-rw-r--r--docs/howto/pt-br/html/h2-basics.html16
-rw-r--r--docs/howto/pt-br/html/h2-importance-breathed.html32
-rw-r--r--docs/howto/pt-br/html/h2-importance-exhortations.html15
-rw-r--r--docs/howto/pt-br/html/h2-importance-liberates.html13
-rw-r--r--docs/howto/pt-br/html/h2-importance-once.html20
-rw-r--r--docs/howto/pt-br/html/h2-importance-supplement.html10
-rw-r--r--docs/howto/pt-br/html/h2-importance-wars.html2
-rw-r--r--docs/howto/pt-br/html/h2-importance-works.html33
-rw-r--r--docs/howto/pt-br/html/h2-importance.html26
-rw-r--r--docs/howto/pt-br/html/h2-rules-context.html21
-rw-r--r--docs/howto/pt-br/html/h2-rules-hcontest.html21
-rw-r--r--docs/howto/pt-br/html/h2-rules-normal.html23
-rw-r--r--docs/howto/pt-br/html/h2-rules-parables.html15
-rw-r--r--docs/howto/pt-br/html/h2-rules.html70
-rw-r--r--docs/howto/pt-br/html/index.html19
-rw-r--r--docs/howto/ru/docbook/howto-basics.docbook211
-rw-r--r--docs/howto/ru/docbook/howto-importance.docbook304
-rw-r--r--docs/howto/ru/docbook/howto-interpretation.docbook260
-rw-r--r--docs/howto/ru/docbook/index.docbook77
-rw-r--r--docs/howto/ru/html/h2-basics-approaches.html22
-rw-r--r--docs/howto/ru/html/h2-basics-expository.html10
-rw-r--r--docs/howto/ru/html/h2-basics-interpretation.html6
-rw-r--r--docs/howto/ru/html/h2-basics-types.html2
-rw-r--r--docs/howto/ru/html/h2-basics-worksheet.html15
-rw-r--r--docs/howto/ru/html/h2-basics.html17
-rw-r--r--docs/howto/ru/html/h2-importance-breathed.html32
-rw-r--r--docs/howto/ru/html/h2-importance-exhortations.html16
-rw-r--r--docs/howto/ru/html/h2-importance-liberates.html12
-rw-r--r--docs/howto/ru/html/h2-importance-once.html20
-rw-r--r--docs/howto/ru/html/h2-importance-supplement.html10
-rw-r--r--docs/howto/ru/html/h2-importance-wars.html2
-rw-r--r--docs/howto/ru/html/h2-importance-works.html30
-rw-r--r--docs/howto/ru/html/h2-importance.html27
-rw-r--r--docs/howto/ru/html/h2-rules-context.html21
-rw-r--r--docs/howto/ru/html/h2-rules-hcontest.html21
-rw-r--r--docs/howto/ru/html/h2-rules-normal.html21
-rw-r--r--docs/howto/ru/html/h2-rules-parables.html13
-rw-r--r--docs/howto/ru/html/h2-rules.html68
-rw-r--r--docs/howto/ru/html/index.html18
-rw-r--r--docs/howto/unicode/Makefile.am25
-rw-r--r--docs/howto/unicode/Makefile.in579
-rw-r--r--docs/howto/unicode/how2-importance.docbook311
-rw-r--r--docs/howto/unicode/index.docbook86
-rw-r--r--docs/license.html470
-rw-r--r--docs/manpages/bibletime.1 (renamed from docs/bibletime.1)0
-rw-r--r--docs/manpages/bibletime.de.1 (renamed from docs/bibletime.de.1)0
-rw-r--r--docs/pending_patches/remove-boost.patch980
-rw-r--r--i18n/handbook/handbook-cs.po1997
-rw-r--r--i18n/handbook/handbook-de.po2564
-rw-r--r--i18n/handbook/handbook-fi.po1731
-rw-r--r--i18n/handbook/handbook-fr.po3103
-rw-r--r--i18n/handbook/handbook-hu.po2184
-rw-r--r--i18n/handbook/handbook-nl.po3031
-rw-r--r--i18n/handbook/handbook.pot1538
-rw-r--r--i18n/howto/howto-bg.po2251
-rw-r--r--i18n/howto/howto-cs.po13666
-rw-r--r--i18n/howto/howto-de.po5510
-rw-r--r--i18n/howto/howto-fi.po1777
-rw-r--r--i18n/howto/howto-fr.po5157
-rw-r--r--i18n/howto/howto-hu.po1651
-rw-r--r--i18n/howto/howto-it.po2089
-rw-r--r--i18n/howto/howto-ko.po5231
-rw-r--r--i18n/howto/howto-nl.po4862
-rw-r--r--i18n/howto/howto-pt-br.po4861
-rw-r--r--i18n/howto/howto-ru.po5480
-rw-r--r--i18n/howto/howto.pot1641
-rw-r--r--i18n/messages/bibletime_ui.ts4385
-rw-r--r--i18n/messages/bibletime_ui_af.qmbin0 -> 67138 bytes
-rw-r--r--i18n/messages/bibletime_ui_af.ts4616
-rw-r--r--i18n/messages/bibletime_ui_bg.qmbin0 -> 68426 bytes
-rw-r--r--i18n/messages/bibletime_ui_bg.ts4529
-rw-r--r--i18n/messages/bibletime_ui_cs.qmbin0 -> 70434 bytes
-rw-r--r--i18n/messages/bibletime_ui_cs.ts10927
-rw-r--r--i18n/messages/bibletime_ui_da.qmbin0 -> 69670 bytes
-rw-r--r--i18n/messages/bibletime_ui_da.ts4480
-rw-r--r--i18n/messages/bibletime_ui_de.qmbin0 -> 92002 bytes
-rw-r--r--i18n/messages/bibletime_ui_de.ts4542
-rw-r--r--i18n/messages/bibletime_ui_en_GB.qmbin0 -> 56286 bytes
-rw-r--r--i18n/messages/bibletime_ui_en_GB.ts4411
-rw-r--r--i18n/messages/bibletime_ui_es.qmbin0 -> 80550 bytes
-rw-r--r--i18n/messages/bibletime_ui_es.ts4480
-rw-r--r--i18n/messages/bibletime_ui_et.qmbin0 -> 88313 bytes
-rw-r--r--i18n/messages/bibletime_ui_et.ts4497
-rw-r--r--i18n/messages/bibletime_ui_fi.qmbin0 -> 98426 bytes
-rw-r--r--i18n/messages/bibletime_ui_fi.ts4577
-rw-r--r--i18n/messages/bibletime_ui_fr.qmbin0 -> 90605 bytes
-rw-r--r--i18n/messages/bibletime_ui_fr.ts4494
-rw-r--r--i18n/messages/bibletime_ui_hu.qmbin0 -> 104951 bytes
-rw-r--r--i18n/messages/bibletime_ui_hu.ts4391
-rw-r--r--i18n/messages/bibletime_ui_it.qmbin0 -> 70368 bytes
-rw-r--r--i18n/messages/bibletime_ui_it.ts4531
-rw-r--r--i18n/messages/bibletime_ui_ko.qmbin0 -> 61610 bytes
-rw-r--r--i18n/messages/bibletime_ui_ko.ts4442
-rw-r--r--i18n/messages/bibletime_ui_nl.qmbin0 -> 71244 bytes
-rw-r--r--i18n/messages/bibletime_ui_nl.ts4480
-rw-r--r--i18n/messages/bibletime_ui_nn_NO.qmbin0 -> 69922 bytes
-rw-r--r--i18n/messages/bibletime_ui_nn_NO.ts4490
-rw-r--r--i18n/messages/bibletime_ui_no.qmbin0 -> 67312 bytes
-rw-r--r--i18n/messages/bibletime_ui_no.ts4669
-rw-r--r--i18n/messages/bibletime_ui_pl.qmbin0 -> 69290 bytes
-rw-r--r--i18n/messages/bibletime_ui_pl.ts4522
-rw-r--r--i18n/messages/bibletime_ui_pt_br.qmbin0 -> 71664 bytes
-rw-r--r--i18n/messages/bibletime_ui_pt_br.ts4502
-rw-r--r--i18n/messages/bibletime_ui_ro.qmbin0 -> 77884 bytes
-rw-r--r--i18n/messages/bibletime_ui_ro.ts4479
-rw-r--r--i18n/messages/bibletime_ui_ru.qmbin0 -> 71482 bytes
-rw-r--r--i18n/messages/bibletime_ui_ru.ts4490
-rw-r--r--i18n/messages/bibletime_ui_sk.qmbin0 -> 70516 bytes
-rw-r--r--i18n/messages/bibletime_ui_sk.ts4509
-rw-r--r--i18n/messages/bibletime_ui_sv.qmbin0 -> 69904 bytes
-rw-r--r--i18n/messages/bibletime_ui_sv.ts4480
-rw-r--r--i18n/messages/bibletime_ui_ua.qmbin0 -> 69580 bytes
-rw-r--r--i18n/messages/bibletime_ui_ua.ts4567
-rw-r--r--i18n/messages/bibletime_ui_vi.qmbin0 -> 63774 bytes
-rw-r--r--i18n/messages/bibletime_ui_vi.ts4402
-rw-r--r--i18n/messages/bibletime_ui_zh_CN.qmbin0 -> 61666 bytes
-rw-r--r--i18n/messages/bibletime_ui_zh_CN.ts4480
-rw-r--r--i18n/messages/bibletime_ui_zh_TW.qmbin0 -> 61432 bytes
-rw-r--r--i18n/messages/bibletime_ui_zh_TW.ts4455
-rw-r--r--pics/icons/LICENSE10
-rw-r--r--pics/icons/back.svg518
-rw-r--r--pics/icons/bible.svg1472
-rw-r--r--pics/icons/bible_add.svg1977
-rw-r--r--pics/icons/bible_locked.svg2508
-rw-r--r--pics/icons/bible_remove.svg1978
-rw-r--r--pics/icons/bibletime.pngbin0 -> 4798 bytes
-rw-r--r--pics/icons/bibletime.svg791
-rw-r--r--pics/icons/book.svg216
-rw-r--r--pics/icons/book_add.svg404
-rw-r--r--pics/icons/book_locked.svg476
-rw-r--r--pics/icons/bookmark.svg590
-rw-r--r--pics/icons/books.svg3414
-rw-r--r--pics/icons/calendar.svg1812
-rw-r--r--pics/icons/cascade.svg290
-rw-r--r--pics/icons/cascade_auto.svg543
-rw-r--r--pics/icons/checkbox.svg1142
-rw-r--r--pics/icons/commentary.svg294
-rw-r--r--pics/icons/commentary_add.svg620
-rw-r--r--pics/icons/commentary_locked.svg923
-rw-r--r--pics/icons/configure.svg658
-rw-r--r--pics/icons/contents2.svg152
-rw-r--r--pics/icons/default.svg83
-rw-r--r--pics/icons/dictionary.svg1552
-rw-r--r--pics/icons/displayconfig.svg710
-rw-r--r--pics/icons/displaytranslit.svg380
-rw-r--r--pics/icons/document_magnifier.svg3874
-rw-r--r--pics/icons/edit_clear.svg1052
-rw-r--r--pics/icons/edit_clear_locationbar.svg751
-rw-r--r--pics/icons/edit_copy.svg581
-rw-r--r--pics/icons/edit_delete.svg5613
-rw-r--r--pics/icons/edit_undo.svg749
-rw-r--r--pics/icons/exit.svg248
-rw-r--r--pics/icons/export.svg699
-rw-r--r--pics/icons/file_save.svg741
-rw-r--r--pics/icons/fileclose.svg486
-rw-r--r--pics/icons/fileprint.svg1234
-rw-r--r--pics/icons/find.svg3489
-rw-r--r--pics/icons/flag.svg716
-rw-r--r--pics/icons/folder-new.svg534
-rw-r--r--pics/icons/folder-open.svg3007
-rw-r--r--pics/icons/folder.svg263
-rw-r--r--pics/icons/folder_new.svg522
-rw-r--r--pics/icons/fontconfig.svg1278
-rw-r--r--pics/icons/fonts.svg146
-rw-r--r--pics/icons/forward.svg645
-rw-r--r--pics/icons/import.svg653
-rw-r--r--pics/icons/info.svg443
-rw-r--r--pics/icons/key_bindings.svg3590
-rw-r--r--pics/icons/lexicon.svg622
-rw-r--r--pics/icons/lexicon_add.svg912
-rw-r--r--pics/icons/lexicon_locked.svg1175
-rw-r--r--pics/icons/map.svg3271
-rw-r--r--pics/icons/pencil.svg1643
-rw-r--r--pics/icons/plus.svg403
-rw-r--r--pics/icons/pointing_arrow.svg108
-rw-r--r--pics/icons/print.svg1234
-rw-r--r--pics/icons/questionable.svg683
-rw-r--r--pics/icons/questionmark.svg445
-rw-r--r--pics/icons/refresh.svg1596
-rw-r--r--pics/icons/startconfig.svg981
-rw-r--r--pics/icons/stop.svg854
-rw-r--r--pics/icons/swordconfig.svg412
-rw-r--r--pics/icons/sync.svg816
-rw-r--r--pics/icons/text_bold.svg196
-rw-r--r--pics/icons/text_center.svg316
-rw-r--r--pics/icons/text_italic.svg208
-rw-r--r--pics/icons/text_leftalign.svg314
-rw-r--r--pics/icons/text_rightalign.svg315
-rw-r--r--pics/icons/text_under.svg217
-rw-r--r--pics/icons/tile.svg414
-rw-r--r--pics/icons/tile_auto.svg556
-rw-r--r--pics/icons/tile_horiz.svg3984
-rw-r--r--pics/icons/tile_vert.svg3983
-rw-r--r--pics/icons/trash.svg4218
-rw-r--r--pics/icons/unlock.svg4297
-rw-r--r--pics/icons/view-tree.svg7514
-rw-r--r--pics/icons/view_index.svg1605
-rw-r--r--pics/icons/view_mag.svg1489
-rw-r--r--pics/icons/view_profile.svg13586
-rw-r--r--pics/icons/window_fullscreen.svg3985
-rw-r--r--pics/startuplogo.pngbin0 -> 24664 bytes
-rw-r--r--pot/Makefile.am30
-rw-r--r--pot/Makefile.in588
-rw-r--r--pot/extractrc74
-rw-r--r--pot/handbook.pot2413
-rw-r--r--pot/howto.pot1924
-rw-r--r--pot/messages.pot2823
-rwxr-xr-xpot/preparetips45
-rw-r--r--src/backend/btmoduletreeitem.cpp272
-rw-r--r--src/backend/btmoduletreeitem.h166
-rw-r--r--src/backend/config/cbtconfig.cpp720
-rw-r--r--src/backend/config/cbtconfig.h197
-rw-r--r--src/backend/cswordmodulesearch.cpp123
-rw-r--r--src/backend/cswordmodulesearch.h98
-rw-r--r--src/backend/drivers/cswordbiblemoduleinfo.cpp261
-rw-r--r--src/backend/drivers/cswordbiblemoduleinfo.h126
-rw-r--r--src/backend/drivers/cswordbookmoduleinfo.cpp68
-rw-r--r--src/backend/drivers/cswordbookmoduleinfo.h64
-rw-r--r--src/backend/drivers/cswordcommentarymoduleinfo.cpp32
-rw-r--r--src/backend/drivers/cswordcommentarymoduleinfo.h43
-rw-r--r--src/backend/drivers/cswordlexiconmoduleinfo.cpp170
-rw-r--r--src/backend/drivers/cswordlexiconmoduleinfo.h71
-rw-r--r--src/backend/drivers/cswordmoduleinfo.cpp955
-rw-r--r--src/backend/drivers/cswordmoduleinfo.h384
-rw-r--r--src/backend/filters/bt_gbfhtml.cpp296
-rw-r--r--src/backend/filters/bt_gbfhtml.h55
-rw-r--r--src/backend/filters/bt_osishtml.cpp619
-rw-r--r--src/backend/filters/bt_osishtml.h67
-rw-r--r--src/backend/filters/bt_plainhtml.cpp72
-rw-r--r--src/backend/filters/bt_plainhtml.h33
-rw-r--r--src/backend/filters/bt_thmlhtml.cpp385
-rw-r--r--src/backend/filters/bt_thmlhtml.h53
-rw-r--r--src/backend/filters/bt_thmlplain.cpp221
-rw-r--r--src/backend/filters/bt_thmlplain.h28
-rw-r--r--src/backend/filters/osismorphsegmentation.cpp83
-rw-r--r--src/backend/filters/osismorphsegmentation.h36
-rw-r--r--src/backend/keys/cswordkey.cpp185
-rw-r--r--src/backend/keys/cswordkey.h111
-rw-r--r--src/backend/keys/cswordldkey.cpp118
-rw-r--r--src/backend/keys/cswordldkey.h110
-rw-r--r--src/backend/keys/cswordtreekey.cpp93
-rw-r--r--src/backend/keys/cswordtreekey.h79
-rw-r--r--src/backend/keys/cswordversekey.cpp303
-rw-r--r--src/backend/keys/cswordversekey.h122
-rw-r--r--src/backend/managers/btstringmgr.cpp139
-rw-r--r--src/backend/managers/btstringmgr.h53
-rw-r--r--src/backend/managers/cdisplaytemplatemgr.cpp170
-rw-r--r--src/backend/managers/cdisplaytemplatemgr.h91
-rw-r--r--src/backend/managers/clanguagemgr.cpp546
-rw-r--r--src/backend/managers/clanguagemgr.h151
-rw-r--r--src/backend/managers/creferencemanager.cpp422
-rw-r--r--src/backend/managers/creferencemanager.h110
-rw-r--r--src/backend/managers/cswordbackend.cpp555
-rw-r--r--src/backend/managers/cswordbackend.h273
-rw-r--r--src/backend/rendering/cbookdisplay.cpp136
-rw-r--r--src/backend/rendering/cbookdisplay.h45
-rw-r--r--src/backend/rendering/cchapterdisplay.cpp59
-rw-r--r--src/backend/rendering/cchapterdisplay.h37
-rw-r--r--src/backend/rendering/cdisplayrendering.cpp158
-rw-r--r--src/backend/rendering/cdisplayrendering.h38
-rw-r--r--src/backend/rendering/centrydisplay.cpp63
-rw-r--r--src/backend/rendering/centrydisplay.h51
-rw-r--r--src/backend/rendering/chtmlexportrendering.cpp234
-rw-r--r--src/backend/rendering/chtmlexportrendering.h58
-rw-r--r--src/backend/rendering/cplaintextexportrendering.cpp53
-rw-r--r--src/backend/rendering/cplaintextexportrendering.h40
-rw-r--r--src/backend/rendering/ctextrendering.cpp263
-rw-r--r--src/backend/rendering/ctextrendering.h128
-rw-r--r--src/bibletime.cpp314
-rw-r--r--src/bibletime.h380
-rw-r--r--src/bibletime_dbus.cpp208
-rw-r--r--src/bibletime_dbus_adaptor.cpp71
-rw-r--r--src/bibletime_dbus_adaptor.h110
-rw-r--r--src/bibletime_init.cpp481
-rw-r--r--src/bibletime_slots.cpp510
-rw-r--r--src/bibletimeapp.cpp43
-rw-r--r--src/bibletimeapp.h30
-rw-r--r--src/display-templates/Blue.tmpl338
-rw-r--r--src/display-templates/Crazy.tmpl311
-rw-r--r--src/display-templates/Green.tmpl320
-rw-r--r--src/display-templates/HighContrast.tmpl332
-rw-r--r--src/display-templates/Simple.tmpl134
-rw-r--r--src/display-templates/basic_template.txt205
-rw-r--r--src/frontend/bookshelfmanager/btconfigdialog.cpp122
-rw-r--r--src/frontend/bookshelfmanager/btconfigdialog.h90
-rw-r--r--src/frontend/bookshelfmanager/btinstallmgr.cpp94
-rw-r--r--src/frontend/bookshelfmanager/btinstallmgr.h75
-rw-r--r--src/frontend/bookshelfmanager/btmodulemanagerdialog.cpp73
-rw-r--r--src/frontend/bookshelfmanager/btmodulemanagerdialog.h43
-rw-r--r--src/frontend/bookshelfmanager/cswordsetupinstallsourcesdialog.cpp184
-rw-r--r--src/frontend/bookshelfmanager/cswordsetupinstallsourcesdialog.h46
-rw-r--r--src/frontend/bookshelfmanager/indexpage/btindexpage.cpp216
-rw-r--r--src/frontend/bookshelfmanager/indexpage/btindexpage.h87
-rw-r--r--src/frontend/bookshelfmanager/installpage/btinstallmodulechooserdialog.cpp232
-rw-r--r--src/frontend/bookshelfmanager/installpage/btinstallmodulechooserdialog.h53
-rw-r--r--src/frontend/bookshelfmanager/installpage/btinstallpage.cpp207
-rw-r--r--src/frontend/bookshelfmanager/installpage/btinstallpage.h66
-rw-r--r--src/frontend/bookshelfmanager/installpage/btinstallpathdialog.cpp170
-rw-r--r--src/frontend/bookshelfmanager/installpage/btinstallpathdialog.h44
-rw-r--r--src/frontend/bookshelfmanager/installpage/btinstallprogressdialog.cpp261
-rw-r--r--src/frontend/bookshelfmanager/installpage/btinstallprogressdialog.h70
-rw-r--r--src/frontend/bookshelfmanager/installpage/btinstallthread.cpp199
-rw-r--r--src/frontend/bookshelfmanager/installpage/btinstallthread.h99
-rw-r--r--src/frontend/bookshelfmanager/installpage/btsourcearea.cpp298
-rw-r--r--src/frontend/bookshelfmanager/installpage/btsourcearea.h97
-rw-r--r--src/frontend/bookshelfmanager/installpage/btsourcewidget.cpp403
-rw-r--r--src/frontend/bookshelfmanager/installpage/btsourcewidget.h86
-rw-r--r--src/frontend/bookshelfmanager/instbackend.cpp280
-rw-r--r--src/frontend/bookshelfmanager/instbackend.h74
-rw-r--r--src/frontend/bookshelfmanager/removepage/btremovepage.cpp229
-rw-r--r--src/frontend/bookshelfmanager/removepage/btremovepage.h67
-rw-r--r--src/frontend/btaboutmoduledialog.cpp45
-rw-r--r--src/frontend/btaboutmoduledialog.h30
-rw-r--r--src/frontend/cdragdrop.cpp57
-rw-r--r--src/frontend/cdragdrop.h85
-rw-r--r--src/frontend/cdragdropmgr.cpp262
-rw-r--r--src/frontend/cdragdropmgr.h160
-rw-r--r--src/frontend/cexportmanager.cpp546
-rw-r--r--src/frontend/cexportmanager.h95
-rw-r--r--src/frontend/cinfodisplay.cpp466
-rw-r--r--src/frontend/cinfodisplay.h71
-rw-r--r--src/frontend/cinputdialog.cpp95
-rw-r--r--src/frontend/cinputdialog.h43
-rw-r--r--src/frontend/cmdiarea.cpp244
-rw-r--r--src/frontend/cmdiarea.h116
-rw-r--r--src/frontend/cmodulechooserdialog.cpp156
-rw-r--r--src/frontend/cmodulechooserdialog.h103
-rw-r--r--src/frontend/cmoduleindexdialog.cpp104
-rw-r--r--src/frontend/cmoduleindexdialog.h61
-rw-r--r--src/frontend/cprinter.cpp136
-rw-r--r--src/frontend/cprinter.h45
-rw-r--r--src/frontend/crossrefrendering.cpp90
-rw-r--r--src/frontend/crossrefrendering.h37
-rw-r--r--src/frontend/display/btcolorwidget.cpp65
-rw-r--r--src/frontend/display/btcolorwidget.h44
-rw-r--r--src/frontend/display/btfontsizewidget.cpp51
-rw-r--r--src/frontend/display/btfontsizewidget.h36
-rw-r--r--src/frontend/display/bthtml.js146
-rw-r--r--src/frontend/display/bthtmlfindtext.cpp106
-rw-r--r--src/frontend/display/bthtmlfindtext.h35
-rw-r--r--src/frontend/display/bthtmlfindtext.ui145
-rw-r--r--src/frontend/display/bthtmljsobject.cpp175
-rw-r--r--src/frontend/display/bthtmljsobject.h60
-rw-r--r--src/frontend/display/bthtmlreaddisplay.cpp364
-rw-r--r--src/frontend/display/bthtmlreaddisplay.h118
-rw-r--r--src/frontend/display/cdisplay.cpp208
-rw-r--r--src/frontend/display/cdisplay.h186
-rw-r--r--src/frontend/display/chtmlwritedisplay.cpp285
-rw-r--r--src/frontend/display/chtmlwritedisplay.h106
-rw-r--r--src/frontend/display/cplainwritedisplay.cpp160
-rw-r--r--src/frontend/display/cplainwritedisplay.h100
-rw-r--r--src/frontend/display/creaddisplay.cpp112
-rw-r--r--src/frontend/display/creaddisplay.h73
-rw-r--r--src/frontend/display/cwritedisplay.cpp21
-rw-r--r--src/frontend/display/cwritedisplay.h51
-rw-r--r--src/frontend/displaywindow/btactioncollection.cpp38
-rw-r--r--src/frontend/displaywindow/btactioncollection.h32
-rw-r--r--src/frontend/displaywindow/bttoolbarpopupaction.cpp51
-rw-r--r--src/frontend/displaywindow/bttoolbarpopupaction.h45
-rw-r--r--src/frontend/displaywindow/cbiblereadwindow.cpp480
-rw-r--r--src/frontend/displaywindow/cbiblereadwindow.h144
-rw-r--r--src/frontend/displaywindow/cbookreadwindow.cpp195
-rw-r--r--src/frontend/displaywindow/cbookreadwindow.h69
-rw-r--r--src/frontend/displaywindow/cbuttons.cpp191
-rw-r--r--src/frontend/displaywindow/cbuttons.h77
-rw-r--r--src/frontend/displaywindow/ccommentaryreadwindow.cpp198
-rw-r--r--src/frontend/displaywindow/ccommentaryreadwindow.h72
-rw-r--r--src/frontend/displaywindow/cdisplaywindow.cpp497
-rw-r--r--src/frontend/displaywindow/cdisplaywindow.h264
-rw-r--r--src/frontend/displaywindow/cdisplaywindowfactory.cpp57
-rw-r--r--src/frontend/displaywindow/cdisplaywindowfactory.h34
-rw-r--r--src/frontend/displaywindow/chtmlwritewindow.cpp163
-rw-r--r--src/frontend/displaywindow/chtmlwritewindow.h75
-rw-r--r--src/frontend/displaywindow/clexiconreadwindow.cpp367
-rw-r--r--src/frontend/displaywindow/clexiconreadwindow.h118
-rw-r--r--src/frontend/displaywindow/cmodulechooserbar.cpp127
-rw-r--r--src/frontend/displaywindow/cmodulechooserbar.h77
-rw-r--r--src/frontend/displaywindow/cmodulechooserbutton.cpp211
-rw-r--r--src/frontend/displaywindow/cmodulechooserbutton.h82
-rw-r--r--src/frontend/displaywindow/cplainwritewindow.cpp183
-rw-r--r--src/frontend/displaywindow/cplainwritewindow.h96
-rw-r--r--src/frontend/displaywindow/creadwindow.cpp205
-rw-r--r--src/frontend/displaywindow/creadwindow.h79
-rw-r--r--src/frontend/displaywindow/cwritewindow.cpp161
-rw-r--r--src/frontend/displaywindow/cwritewindow.h72
-rw-r--r--src/frontend/htmldialogs/btaboutdialog.cpp251
-rw-r--r--src/frontend/htmldialogs/btaboutdialog.h29
-rw-r--r--src/frontend/htmldialogs/bttabhtmldialog.cpp140
-rw-r--r--src/frontend/htmldialogs/bttabhtmldialog.h87
-rw-r--r--src/frontend/keychooser/bthistory.cpp130
-rw-r--r--src/frontend/keychooser/bthistory.h80
-rw-r--r--src/frontend/keychooser/cbookkeychooser.cpp278
-rw-r--r--src/frontend/keychooser/cbookkeychooser.h86
-rw-r--r--src/frontend/keychooser/cbooktreechooser.cpp200
-rw-r--r--src/frontend/keychooser/cbooktreechooser.h87
-rw-r--r--src/frontend/keychooser/ckeychooser.cpp64
-rw-r--r--src/frontend/keychooser/ckeychooser.h115
-rw-r--r--src/frontend/keychooser/ckeychooserwidget.cpp304
-rw-r--r--src/frontend/keychooser/ckeychooserwidget.h171
-rw-r--r--src/frontend/keychooser/clexiconkeychooser.cpp180
-rw-r--r--src/frontend/keychooser/clexiconkeychooser.h86
-rw-r--r--src/frontend/keychooser/cscrollbutton.cpp85
-rw-r--r--src/frontend/keychooser/cscrollbutton.h85
-rw-r--r--src/frontend/keychooser/cscrollerwidgetset.cpp87
-rw-r--r--src/frontend/keychooser/cscrollerwidgetset.h76
-rw-r--r--src/frontend/keychooser/versekeychooser/btdropdownchooserbutton.cpp134
-rw-r--r--src/frontend/keychooser/versekeychooser/btdropdownchooserbutton.h79
-rw-r--r--src/frontend/keychooser/versekeychooser/btversekeymenu.cpp52
-rw-r--r--src/frontend/keychooser/versekeychooser/btversekeymenu.h43
-rw-r--r--src/frontend/keychooser/versekeychooser/cbiblekeychooser.cpp108
-rw-r--r--src/frontend/keychooser/versekeychooser/cbiblekeychooser.h78
-rw-r--r--src/frontend/keychooser/versekeychooser/ckeyreferencewidget.cpp229
-rw-r--r--src/frontend/keychooser/versekeychooser/ckeyreferencewidget.h86
-rw-r--r--src/frontend/mainindex/bookmarks/btbookmarkfolder.cpp150
-rw-r--r--src/frontend/mainindex/bookmarks/btbookmarkfolder.h51
-rw-r--r--src/frontend/mainindex/bookmarks/btbookmarkitem.cpp163
-rw-r--r--src/frontend/mainindex/bookmarks/btbookmarkitem.h67
-rw-r--r--src/frontend/mainindex/bookmarks/btbookmarkitembase.cpp41
-rw-r--r--src/frontend/mainindex/bookmarks/btbookmarkitembase.h63
-rw-r--r--src/frontend/mainindex/bookmarks/btbookmarkloader.cpp174
-rw-r--r--src/frontend/mainindex/bookmarks/btbookmarkloader.h47
-rw-r--r--src/frontend/mainindex/bookmarks/cbookmarkindex.cpp850
-rw-r--r--src/frontend/mainindex/bookmarks/cbookmarkindex.h182
-rw-r--r--src/frontend/mainindex/bookshelf/actionenum.h24
-rw-r--r--src/frontend/mainindex/bookshelf/btindexfolder.cpp19
-rw-r--r--src/frontend/mainindex/bookshelf/btindexfolder.h30
-rw-r--r--src/frontend/mainindex/bookshelf/btindexitem.cpp19
-rw-r--r--src/frontend/mainindex/bookshelf/btindexitem.h45
-rw-r--r--src/frontend/mainindex/bookshelf/btindexmodule.cpp93
-rw-r--r--src/frontend/mainindex/bookshelf/btindexmodule.h39
-rw-r--r--src/frontend/mainindex/bookshelf/cbookshelfindex.cpp722
-rw-r--r--src/frontend/mainindex/bookshelf/cbookshelfindex.h207
-rw-r--r--src/frontend/mainindex/bookshelf/chidemodulechooserdialog.cpp70
-rw-r--r--src/frontend/mainindex/bookshelf/chidemodulechooserdialog.h43
-rw-r--r--src/frontend/mainindex/cmainindex.cpp36
-rw-r--r--src/frontend/mainindex/cmainindex.h57
-rw-r--r--src/frontend/profile/cprofile.cpp433
-rw-r--r--src/frontend/profile/cprofile.h120
-rw-r--r--src/frontend/profile/cprofilemgr.cpp130
-rw-r--r--src/frontend/profile/cprofilemgr.h68
-rw-r--r--src/frontend/profile/cprofilewindow.cpp134
-rw-r--r--src/frontend/profile/cprofilewindow.h126
-rw-r--r--src/frontend/searchdialog/analysis/csearchanalysisdialog.cpp84
-rw-r--r--src/frontend/searchdialog/analysis/csearchanalysisdialog.h58
-rw-r--r--src/frontend/searchdialog/analysis/csearchanalysisitem.cpp169
-rw-r--r--src/frontend/searchdialog/analysis/csearchanalysisitem.h65
-rw-r--r--src/frontend/searchdialog/analysis/csearchanalysislegenditem.cpp84
-rw-r--r--src/frontend/searchdialog/analysis/csearchanalysislegenditem.h35
-rw-r--r--src/frontend/searchdialog/analysis/csearchanalysisscene.cpp292
-rw-r--r--src/frontend/searchdialog/analysis/csearchanalysisscene.h88
-rw-r--r--src/frontend/searchdialog/analysis/csearchanalysisview.cpp50
-rw-r--r--src/frontend/searchdialog/analysis/csearchanalysisview.h54
-rw-r--r--src/frontend/searchdialog/btsearchoptionsarea.cpp530
-rw-r--r--src/frontend/searchdialog/btsearchoptionsarea.h150
-rw-r--r--src/frontend/searchdialog/btsearchresultarea.cpp659
-rw-r--r--src/frontend/searchdialog/btsearchresultarea.h201
-rw-r--r--src/frontend/searchdialog/chistorycombobox.cpp48
-rw-r--r--src/frontend/searchdialog/chistorycombobox.h33
-rw-r--r--src/frontend/searchdialog/cmoduleresultview.cpp297
-rw-r--r--src/frontend/searchdialog/cmoduleresultview.h136
-rw-r--r--src/frontend/searchdialog/crangechooserdialog.cpp330
-rw-r--r--src/frontend/searchdialog/crangechooserdialog.h89
-rw-r--r--src/frontend/searchdialog/csearchdialog.cpp304
-rw-r--r--src/frontend/searchdialog/csearchdialog.h134
-rw-r--r--src/frontend/searchdialog/csearchmodulechooserdialog.cpp61
-rw-r--r--src/frontend/searchdialog/csearchmodulechooserdialog.h44
-rw-r--r--src/frontend/searchdialog/csearchresultview.cpp295
-rw-r--r--src/frontend/searchdialog/csearchresultview.h101
-rw-r--r--src/frontend/settingsdialogs/cacceleratorsettings.cpp.OFF268
-rw-r--r--src/frontend/settingsdialogs/cacceleratorsettings.h.OFF72
-rw-r--r--src/frontend/settingsdialogs/cconfigurationdialog.cpp93
-rw-r--r--src/frontend/settingsdialogs/cconfigurationdialog.h49
-rw-r--r--src/frontend/settingsdialogs/cdisplaysettings.cpp199
-rw-r--r--src/frontend/settingsdialogs/cdisplaysettings.h43
-rw-r--r--src/frontend/settingsdialogs/cfontchooser.cpp359
-rw-r--r--src/frontend/settingsdialogs/cfontchooser.h74
-rw-r--r--src/frontend/settingsdialogs/clanguagesettings.cpp302
-rw-r--r--src/frontend/settingsdialogs/clanguagesettings.h65
-rw-r--r--src/frontend/settingsdialogs/clistwidget.cpp30
-rw-r--r--src/frontend/settingsdialogs/clistwidget.h28
-rw-r--r--src/frontend/settingsdialogs/cswordsettings.cpp423
-rw-r--r--src/frontend/settingsdialogs/cswordsettings.h86
-rw-r--r--src/main.cpp213
-rw-r--r--src/tests/backend/config/cbtconfig_test.cpp36
-rw-r--r--src/tests/bibletime_test.cpp20
-rw-r--r--src/tests/bibletime_test.h28
-rw-r--r--src/util/cpointers.cpp55
-rw-r--r--src/util/cpointers.h116
-rw-r--r--src/util/cresmgr.cpp496
-rw-r--r--src/util/cresmgr.h509
-rw-r--r--src/util/ctoolclass.cpp279
-rw-r--r--src/util/ctoolclass.h94
-rw-r--r--src/util/dialogutil.cpp61
-rw-r--r--src/util/dialogutil.h23
-rw-r--r--src/util/directoryutil.cpp368
-rw-r--r--src/util/directoryutil.h112
-rw-r--r--src/util/exceptions.h16
-rw-r--r--src/util/migrationutil.cpp92
-rw-r--r--src/util/migrationutil.h39
-rw-r--r--sword.m4227
1351 files changed, 392605 insertions, 149545 deletions
diff --git a/BibleTime.kdevelop b/BibleTime.kdevelop
deleted file mode 100644
index f6d82ee..0000000
--- a/BibleTime.kdevelop
+++ /dev/null
@@ -1,247 +0,0 @@
-<?xml version = '1.0'?>
-<kdevelop>
- <general>
- <author>The BibleTime team</author>
- <email>info@bibletime.info</email>
- <projectmanagement>KDevAutoProject</projectmanagement>
- <primarylanguage>C++</primarylanguage>
- <ignoreparts>
- <part>kdevfilegroups</part>
- <part>kdevfilelist</part>
- <part>kdevdistpart</part>
- </ignoreparts>
- <version>1.6cvs</version>
- <description/>
- <projectdirectory>.</projectdirectory>
- <absoluteprojectpath>false</absoluteprojectpath>
- <secondaryLanguages>
- <language>Perl</language>
- </secondaryLanguages>
- <versioncontrol>kdevcvsservice</versioncontrol>
- <projectname>BibleTime</projectname>
- <defaultencoding/>
- </general>
- <kdevautoproject>
- <general>
- <activetarget>bibletime/bibletime</activetarget>
- <useconfiguration>default</useconfiguration>
- </general>
- <run>
- <mainprogram>/home/jansorg/Projekte/BibleTime/bibletime/bibletime/bibletime</mainprogram>
- <programargs/>
- <terminal>false</terminal>
- <autocompile>true</autocompile>
- <envvars/>
- <directoryradio>executable</directoryradio>
- <customdirectory>/</customdirectory>
- <globaldebugarguments/>
- <globalcwd>/home/jansorg/Projekte/BibleTime/bibletime</globalcwd>
- <useglobalprogram>false</useglobalprogram>
- <autoinstall>false</autoinstall>
- <autokdesu>false</autokdesu>
- </run>
- <makeenvvars/>
- <envvars/>
- <make>
- <abortonerror>true</abortonerror>
- <numberofjobs>1</numberofjobs>
- <dontact>false</dontact>
- <makebin/>
- <envvars>
- <envvar value="2.5" name="WANT_AUTOCONF" />
- <envvar value="1" name="WANT_AUTOCONF_2_5" />
- <envvar value="1.6" name="WANT_AUTOMAKE" />
- <envvar value="1" name="WANT_AUTOMAKE_1_6" />
- </envvars>
- <prio>0</prio>
- <runmultiplejobs>false</runmultiplejobs>
- </make>
- <configurations>
- <default>
- <envvars/>
- <configargs/>
- <builddir/>
- <topsourcedir/>
- <cppflags/>
- <ldflags/>
- <ccompiler>kdevgccoptions</ccompiler>
- <cxxcompiler>kdevgppoptions</cxxcompiler>
- <f77compiler>kdevpgf77options</f77compiler>
- <ccompilerbinary/>
- <cxxcompilerbinary/>
- <f77compilerbinary/>
- <cflags/>
- <cxxflags/>
- <f77flags/>
- </default>
- </configurations>
- </kdevautoproject>
- <kdevdebugger>
- <general>
- <dbgshell>libtool</dbgshell>
- <programargs>--debug</programargs>
- <gdbpath/>
- <breakonloadinglibs>true</breakonloadinglibs>
- <separatetty>false</separatetty>
- <floatingtoolbar>false</floatingtoolbar>
- <runappinappdirectory>true</runappinappdirectory>
- <configGdbScript/>
- <runShellScript/>
- <runGdbScript/>
- </general>
- <display>
- <staticmembers>false</staticmembers>
- <demanglenames>true</demanglenames>
- <outputradix>10</outputradix>
- </display>
- </kdevdebugger>
- <kdevdoctreeview>
- <projectdoc>
- <userdocDir/>
- <apidocDir/>
- </projectdoc>
- <ignoreqt_xml/>
- <ignoredoxygen/>
- <ignorekdocs/>
- <ignoretocs/>
- <ignoredevhelp/>
- </kdevdoctreeview>
- <cppsupportpart>
- <codecompletion>
- <codehinting outputview="1" enablech="1" selectview="0" />
- </codecompletion>
- <classstore>
- <enablepcs>false</enablepcs>
- <enablepp>false</enablepp>
- <preparsing/>
- </classstore>
- <filetemplates>
- <choosefiles>false</choosefiles>
- <interfaceURL/>
- <implementationURL/>
- <interfacesuffix>.h</interfacesuffix>
- <implementationsuffix>.cpp</implementationsuffix>
- <lowercasefilenames>true</lowercasefilenames>
- </filetemplates>
- </cppsupportpart>
- <kdevclassview>
- <folderhierarchy>true</folderhierarchy>
- <depthoffolders>2</depthoffolders>
- </kdevclassview>
- <kdevfileview>
- <groups>
- <hidenonprojectfiles>false</hidenonprojectfiles>
- <hidenonlocation>false</hidenonlocation>
- </groups>
- <tree>
- <hidepatterns>*.o,*.lo,CVS</hidepatterns>
- <hidenonprojectfiles>false</hidenonprojectfiles>
- <showvcsfields>false</showvcsfields>
- </tree>
- </kdevfileview>
- <kdevcvs>
- <cvsoptions>-z3 -f</cvsoptions>
- <commitoptions/>
- <updateoptions>-dP</updateoptions>
- <addoptions/>
- <removeoptions>-f</removeoptions>
- <diffoptions>-u3 -p</diffoptions>
- <logoptions/>
- <revertoptions>-C -d -P</revertoptions>
- <rshoptions/>
- </kdevcvs>
- <kdevcppsupport>
- <codecompletion>
- <includeGlobalFunctions>false</includeGlobalFunctions>
- <includeTypes>true</includeTypes>
- <includeEnums>false</includeEnums>
- <includeTypedefs>true</includeTypedefs>
- <automaticCodeCompletion>true</automaticCodeCompletion>
- <automaticArgumentsHint>true</automaticArgumentsHint>
- <codeCompletionDelay>273</codeCompletionDelay>
- <argumentsHintDelay>260</argumentsHintDelay>
- <automaticHeaderCompletion>true</automaticHeaderCompletion>
- <headerCompletionDelay>250</headerCompletionDelay>
- <showOnlyAccessibleItems>false</showOnlyAccessibleItems>
- <completionBoxItemOrder>0</completionBoxItemOrder>
- <howEvaluationContextMenu>true</howEvaluationContextMenu>
- <showCommentWithArgumentHint>true</showCommentWithArgumentHint>
- <statusBarTypeEvaluation>false</statusBarTypeEvaluation>
- <namespaceAliases>std=_GLIBCXX_STD;__gnu_cxx=std</namespaceAliases>
- <processPrimaryTypes>true</processPrimaryTypes>
- <processFunctionArguments>false</processFunctionArguments>
- <preProcessAllHeaders>false</preProcessAllHeaders>
- <parseMissingHeaders>false</parseMissingHeaders>
- <resolveIncludePaths>true</resolveIncludePaths>
- <alwaysParseInBackground>true</alwaysParseInBackground>
- <usePermanentCaching>true</usePermanentCaching>
- <alwaysIncludeNamespaces>false</alwaysIncludeNamespaces>
- <includePaths>.;</includePaths>
- <parseMissingHeadersExperimental>false</parseMissingHeadersExperimental>
- <resolveIncludePathsUsingMakeExperimental>false</resolveIncludePathsUsingMakeExperimental>
- </codecompletion>
- <references/>
- <creategettersetter>
- <prefixGet/>
- <prefixSet>set</prefixSet>
- <prefixVariable>m_,_</prefixVariable>
- <parameterName>theValue</parameterName>
- <inlineGet>true</inlineGet>
- <inlineSet>true</inlineSet>
- </creategettersetter>
- <qt>
- <used>true</used>
- <version>3</version>
- <root>/usr/share/qt3</root>
- <includestyle>3</includestyle>
- <designerintegration>ExternalDesigner</designerintegration>
- <qmake>/usr/bin/qmake-qt3</qmake>
- <designer>/usr/bin/designer</designer>
- <designerpluginpaths/>
- </qt>
- <splitheadersource>
- <enabled>true</enabled>
- <synchronize>true</synchronize>
- <orientation>Vertical</orientation>
- </splitheadersource>
- </kdevcppsupport>
- <kdevfilecreate>
- <filetypes>
- <type icon="" ext="h" name="C++ Header template" create="template" >
- <descr>BibleTime C++ header template</descr>
- </type>
- <type icon="source_cpp" ext="cpp" name="C++ source file" create="template" >
- <descr>BibleTime C++ source template</descr>
- </type>
- </filetypes>
- <useglobaltypes/>
- </kdevfilecreate>
- <kdevdocumentation>
- <projectdoc>
- <docsystem/>
- <docurl/>
- <usermanualurl/>
- </projectdoc>
- </kdevdocumentation>
- <kdevcvsservice>
- <recursivewhenupdate>true</recursivewhenupdate>
- <prunedirswhenupdate>true</prunedirswhenupdate>
- <createdirswhenupdate>true</createdirswhenupdate>
- <recursivewhencommitremove>true</recursivewhencommitremove>
- <revertoptions>-C</revertoptions>
- </kdevcvsservice>
- <ctagspart>
- <customArguments/>
- <customTagfilePath>/home/jansorg/Projekte/BibleTime/bibletime/tags</customTagfilePath>
- <activeTagsFiles/>
- </ctagspart>
- <kdevvisualadvance>
- <emulator>VisualBoyAdvance</emulator>
- <binary/>
- <addOptions/>
- <terminal>false</terminal>
- <fullscreen>false</fullscreen>
- <graphicFilter>-f0</graphicFilter>
- <scaling>-1</scaling>
- </kdevvisualadvance>
-</kdevelop>
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..23982a0
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,385 @@
+PROJECT(bibletime CXX C)
+CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0)
+
+#Version
+ADD_DEFINITIONS(-DBT_VERSION=\\\"2.0.beta2\\\")
+
+#Non-English locales to be processed and installed for UI, handbook and howto
+LIST(APPEND MESSAGE_LOCALE_LANGS af bg cs da de en_GB es et fi fr hu it ko nl nn_NO no pl pt_br ro ru sk sv ua vi zh_CN zh_TW)
+#WARNING: If you modify HANDBOOK_LOCALE_LANGS or HOWTO_LOCALE_LANGS,
+#also modify the po4a conf files in cmake/docs/ to make sure all languages are processed.
+LIST(APPEND HANDBOOK_LOCALE_LANGS cs de fi fr hu nl)
+LIST(APPEND HOWTO_LOCALE_LANGS bg cs de fi fr it ko nl pt-br ru)
+
+######################################################
+# Find required packages
+#
+SET(QT_MIN_VERSION 4.4.0)
+SET(QT_USE_QTXML 1)
+SET(QT_USE_QTWEBKIT 1)
+FIND_PACKAGE(Qt4 REQUIRED)
+IF (QT_QTDBUS_FOUND AND NOT APPLE)
+ SET(QT_USE_QTDBUS 1)
+ MESSAGE("Using DBUS")
+ELSE (QT_QTDBUS_FOUND AND NOT APPLE)
+ ADD_DEFINITIONS(-DNO_DBUS)
+ MESSAGE("No DBUS found")
+ENDIF(QT_QTDBUS_FOUND AND NOT APPLE)
+#
+# If cmake says that qdbusxml2cpp is missing, uncomment the following line
+#
+#SET(QT_DBUSXML2CPP_EXECUTABLE "/usr/bin/qdbusxml2cpp") #TEMP HACK?
+
+FIND_PACKAGE(Boost REQUIRED)
+#
+#custom includes
+#
+SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
+FIND_PACKAGE(CLucene REQUIRED)
+FIND_PACKAGE(Sword REQUIRED)
+######################################################
+
+
+######################################################
+# Define $bibletime_SOURCES
+#
+INCLUDE("${CMAKE_CURRENT_SOURCE_DIR}/cmake/bibletime_source_list.cmake")
+#
+# Generate config.h
+CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/cmake/config.h.cmake" "${CMAKE_CURRENT_BINARY_DIR}/config.h")
+######################################################
+
+
+######################################################
+# The actual build options
+#
+INCLUDE_DIRECTORIES(
+ ${CMAKE_CURRENT_BINARY_DIR} #for .h files generated from .ui
+ ${CMAKE_CURRENT_SOURCE_DIR}/src # so that include paths like "frontend/..." work
+ ${CLUCENE_INCLUDE_DIR} #CLucene headers
+ ${CLUCENE_LIBRARY_DIR} #CLucene/clucene-config.h
+ ${Boost_INCLUDE_DIRS}
+ ${SWORD_INCLUDE_DIR}
+)
+
+
+# this will run uic on .ui files:
+QT4_WRAP_UI(bibletime_UIS_H ${bibletime_UIS})
+
+#
+#This must come before the target definition!
+LINK_DIRECTORIES(
+ ${CLUCENE_LIBRARY_DIR}
+)
+
+IF(APPLE)
+ SET(EXECUTABLE_NAME "BibleTime")
+ELSE(APPLE)
+ SET(EXECUTABLE_NAME "bibletime")
+ENDIF(APPLE)
+
+#Link to QtTest only in debug builds
+IF (CMAKE_BUILD_TYPE STREQUAL "Release")
+ # this will run moc on source files
+ QT4_WRAP_CPP(bibletime_MOC_SOURCES ${bibletime_MOCABLE_HEADERS})
+ ADD_EXECUTABLE(${EXECUTABLE_NAME} ${bibletime_SOURCES} ${bibletime_UIS_H} ${bibletime_MOC_SOURCES})
+ SET_TARGET_PROPERTIES(${EXECUTABLE_NAME}
+ PROPERTIES
+ COMPILE_FLAGS "${SWORD_CFLAGS}" #Enable exception handling
+ )
+ INCLUDE(${QT_USE_FILE})
+ TARGET_LINK_LIBRARIES(${EXECUTABLE_NAME}
+ ${QT_LIBRARIES}
+ ${CLUCENE_LIBRARY}
+ ${SWORD_LIBS}
+ )
+ELSE (CMAKE_BUILD_TYPE STREQUAL "Release")
+ # this will run moc on source files
+ QT4_WRAP_CPP(bibletime_MOC_SOURCES ${bibletime_MOCABLE_HEADERS})
+ QT4_WRAP_CPP(bibletime_test_MOC_SOURCES ${bibletime_test_MOCABLE_HEADERS})
+ SET(CMAKE_BUILD_TYPE "Debug")
+ ADD_EXECUTABLE(${EXECUTABLE_NAME} ${bibletime_SOURCES}
+ ${bibletime_test_SOURCES} ${bibletime_UIS_H} ${bibletime_MOC_SOURCES} ${bibletime_test_MOC_SOURCES})
+ SET_TARGET_PROPERTIES(${EXECUTABLE_NAME}
+ PROPERTIES
+ COMPILE_FLAGS "-DBT_ENABLE_TESTING ${SWORD_CFLAGS}" #Enable exception handling and Testing
+ )
+ SET(QT_USE_QTTEST 1)
+ INCLUDE(${QT_USE_FILE})
+ TARGET_LINK_LIBRARIES(${EXECUTABLE_NAME}
+ ${QT_LIBRARIES}
+ ${QT_LIBRARIES_DEBUG}
+ ${CLUCENE_LIBRARY}
+ ${SWORD_LIBS}
+ )
+ # Unit Tests
+ ADD_CUSTOM_TARGET(test
+ COMMAND ./${EXECUTABLE_NAME} --run-tests
+ WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
+ COMMENT "Running BibleTime Unit Tests"
+ )
+ENDIF (CMAKE_BUILD_TYPE STREQUAL "Release")
+
+IF(USE_QT_WEB_KIT)
+ SET_SOURCE_FILES_PROPERTIES( ${bibletime_SOURCES} COMPILE_FLAGS -DUSE_QTWEBKIT )
+ENDIF(USE_QT_WEB_KIT)
+
+
+######################################################
+
+IF (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
+ SET(CMAKE_INSTALL_PREFIX "install/") #install to ./build/install, allow override
+ENDIF (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
+
+IF (MSVC)
+ SET(CMAKE_CXX_FLAGS_RELEASE "${SWORD_CFLAGS} -DNO_DBUS -DSWUSINGDLL -DBT_VERSION=\\\"${BT_VERSION}\\\" /MD /Zc:wchar_t- /W1 /D_UNICODE /DUNICODE ")
+ SET(CMAKE_CXX_FLAGS_DEBUG "${SWORD_CFLAGS} -DNO_DBUS -DSWUSINGDLL -DBT_VERSION=\\\"${BT_VERSION}\\\" /MDd /Zc:wchar_t- /W1 /D_UNICODE /DUNICODE -DBT_ENABLE_TESTING /ZI")
+ELSE (MSVC)
+ SET(CMAKE_CXX_FLAGS_RELEASE "-W -O2 -fexceptions ${SWORD_CFLAGS} ")
+ SET(CMAKE_CXX_FLAGS_DEBUG "-Wall -O0 -g -fexceptions ${SWORD_CFLAGS} -DBT_ENABLE_TESTING")
+ENDIF (MSVC)
+
+
+######################################################
+# Install files
+#
+SET (BT_DESTINATION "bin/")
+SET (BT_SHARE_PATH "")
+
+INSTALL(TARGETS "${EXECUTABLE_NAME}"
+ DESTINATION "${BT_DESTINATION}"
+)
+
+# compiled catalogs
+FOREACH(MESSAGE_LOCALE_LANG ${MESSAGE_LOCALE_LANGS})
+ INSTALL(FILES "${CMAKE_CURRENT_SOURCE_DIR}/i18n/messages/bibletime_ui_${MESSAGE_LOCALE_LANG}.qm"
+ DESTINATION "${BT_SHARE_PATH}share/bibletime/locale/"
+ )
+ENDFOREACH(MESSAGE_LOCALE_LANG ${MESSAGE_LOCALE_LANGS})
+# icons
+FILE(GLOB INSTALL_ICONS_LIST "${CMAKE_CURRENT_SOURCE_DIR}/pics/icons/*.svg")
+INSTALL(FILES ${INSTALL_ICONS_LIST}
+ DESTINATION "${BT_SHARE_PATH}share/bibletime/icons/"
+)
+# icons - png, needed for About Dialog
+FILE(GLOB INSTALL_ICONS_LIST_PNG "${CMAKE_CURRENT_SOURCE_DIR}/pics/icons/bibletime.png")
+INSTALL(FILES ${INSTALL_ICONS_LIST_PNG}
+ DESTINATION "${BT_SHARE_PATH}share/bibletime/icons/"
+)
+# display templates
+FILE(GLOB INSTALL_DISPLAY_TEMPLATES_LIST ${CMAKE_CURRENT_SOURCE_DIR}/src/display-templates/*.tmpl)
+INSTALL(FILES ${INSTALL_DISPLAY_TEMPLATES_LIST}
+ DESTINATION "${BT_SHARE_PATH}share/bibletime/display-templates/"
+)
+# javascript
+INSTALL(FILES "src/frontend/display/bthtml.js"
+ DESTINATION "${BT_SHARE_PATH}share/bibletime/javascript/"
+)
+# license.html
+INSTALL(FILES "docs/license.html"
+ DESTINATION "${BT_SHARE_PATH}share/bibletime/license/"
+)
+# splash screen
+INSTALL(FILES "pics/startuplogo.png"
+ DESTINATION "${BT_SHARE_PATH}share/bibletime/pics/"
+)
+#handbook (install images from en/ to all languages)
+FILE(GLOB INSTALL_HANDBOOK_IMAGES "${CMAKE_CURRENT_SOURCE_DIR}/docs/handbook/en/html/*.png")
+FOREACH(HANDBOOK_LOCALE_LANG ${HANDBOOK_LOCALE_LANGS} "en")
+ FILE(GLOB INSTALL_HANDBOOK_HTML_FILES_${HANDBOOK_LOCALE_LANG} "${CMAKE_CURRENT_SOURCE_DIR}/docs/handbook/${HANDBOOK_LOCALE_LANG}/html/*.html")
+ INSTALL(FILES ${INSTALL_HANDBOOK_HTML_FILES_${HANDBOOK_LOCALE_LANG}}
+ DESTINATION "${BT_SHARE_PATH}share/bibletime/docs/handbook/${HANDBOOK_LOCALE_LANG}/"
+ )
+ INSTALL(FILES ${INSTALL_HANDBOOK_IMAGES}
+ DESTINATION "${BT_SHARE_PATH}share/bibletime/docs/handbook/${HANDBOOK_LOCALE_LANG}/"
+ )
+ENDFOREACH(HANDBOOK_LOCALE_LANG ${HANDBOOK_LOCALE_LANGS} "en")
+#howto (does not have images)
+FOREACH(HOWTO_LOCALE_LANG ${HOWTO_LOCALE_LANGS} "en")
+ FILE(GLOB INSTALL_HOWTO_HTML_FILES_${HOWTO_LOCALE_LANG} "${CMAKE_CURRENT_SOURCE_DIR}/docs/howto/${HOWTO_LOCALE_LANG}/html/*.html")
+ INSTALL(FILES ${INSTALL_HOWTO_HTML_FILES_${HOWTO_LOCALE_LANG}}
+ DESTINATION "${BT_SHARE_PATH}share/bibletime/docs/howto/${HOWTO_LOCALE_LANG}/"
+ )
+ENDFOREACH(HOWTO_LOCALE_LANG ${HOWTO_LOCALE_LANGS} "en")
+#
+# Platform specific installation
+#
+# LINUX: application icon
+INSTALL(FILES "${CMAKE_CURRENT_SOURCE_DIR}/pics/icons/bibletime.svg"
+ DESTINATION "${BT_SHARE_PATH}share/icons/"
+)
+# LINUX: desktop file
+CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/cmake/platforms/linux/bibletime.desktop.cmake" "${CMAKE_CURRENT_BINARY_DIR}/bibletime.desktop")
+INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/bibletime.desktop"
+ DESTINATION "${BT_SHARE_PATH}share/applications/"
+)
+######################################################
+
+
+######################################################
+# Update source catalog files (this is the basis for the translator's work)
+# Invoke this with "make messages"
+#
+ADD_CUSTOM_TARGET("messages")
+FOREACH(MESSAGE_LOCALE_LANG ${MESSAGE_LOCALE_LANGS})
+ ADD_CUSTOM_TARGET("messages_${MESSAGE_LOCALE_LANG}"
+ COMMAND lupdate "${CMAKE_CURRENT_SOURCE_DIR}/src" -ts "${CMAKE_CURRENT_SOURCE_DIR}/i18n/messages/bibletime_ui_${MESSAGE_LOCALE_LANG}.ts")
+ ADD_CUSTOM_TARGET("compile_messages_${MESSAGE_LOCALE_LANG}"
+ COMMAND lrelease "bibletime_ui_${MESSAGE_LOCALE_LANG}.ts" -qm "bibletime_ui_${MESSAGE_LOCALE_LANG}.qm"
+ WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/i18n/messages/")
+ ADD_DEPENDENCIES("compile_messages_${MESSAGE_LOCALE_LANG}" "messages_${MESSAGE_LOCALE_LANG}")
+ ADD_DEPENDENCIES("messages" "compile_messages_${MESSAGE_LOCALE_LANG}")
+ENDFOREACH(MESSAGE_LOCALE_LANG)
+# Template file for translators
+ADD_CUSTOM_TARGET("messages_default"
+ COMMAND lupdate "${CMAKE_CURRENT_SOURCE_DIR}/src" -ts "${CMAKE_CURRENT_SOURCE_DIR}/i18n/messages/bibletime_ui.ts")
+ADD_DEPENDENCIES(messages "messages_default")
+######################################################
+
+######################################################
+# Update handbook
+ADD_CUSTOM_TARGET("handbook")
+
+ADD_CUSTOM_TARGET("handbook_translations"
+ COMMAND po4a -v --no-backups -k 0 cmake/docs/handbook_po4a.conf
+ WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
+
+FOREACH(HANDBOOK_LOCALE_LANG ${HANDBOOK_LOCALE_LANGS} "en")
+ ADD_CUSTOM_TARGET("handbook_${HANDBOOK_LOCALE_LANG}"
+ COMMAND xsltproc "${CMAKE_CURRENT_SOURCE_DIR}/cmake/docs/docs.xsl" "../docbook/index.docbook"
+ WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/docs/handbook/${HANDBOOK_LOCALE_LANG}/html/")
+ ADD_DEPENDENCIES("handbook_${HANDBOOK_LOCALE_LANG}" "handbook_translations")
+ ADD_DEPENDENCIES("handbook" "handbook_${HANDBOOK_LOCALE_LANG}")
+ENDFOREACH(HANDBOOK_LOCALE_LANG ${HANDBOOK_LOCALE_LANGS})
+######################################################
+
+######################################################
+# Update howto
+ADD_CUSTOM_TARGET("howto")
+ADD_CUSTOM_TARGET("howto_translations"
+ COMMAND po4a -v --no-backups -k 0 cmake/docs/howto_po4a.conf
+ WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
+ADD_DEPENDENCIES("howto" "howto_translations")
+
+FOREACH(HOWTO_LOCALE_LANG ${HOWTO_LOCALE_LANGS} "en")
+ ADD_CUSTOM_TARGET("howto_${HOWTO_LOCALE_LANG}"
+ COMMAND xsltproc "${CMAKE_CURRENT_SOURCE_DIR}/cmake/docs/docs.xsl" "../docbook/index.docbook"
+ WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/docs/howto/${HOWTO_LOCALE_LANG}/html/")
+ ADD_DEPENDENCIES("howto_${HOWTO_LOCALE_LANG}" "howto_translations")
+ ADD_DEPENDENCIES("howto" "howto_${HOWTO_LOCALE_LANG}")
+ENDFOREACH(HOWTO_LOCALE_LANG ${HOWTO_LOCALE_LANGS})
+
+######################################################
+
+######################################################
+# "make uninstall" target; see http://www.cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F
+#
+CONFIGURE_FILE(
+ "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
+ IMMEDIATE @ONLY
+ )
+ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
+######################################################
+
+
+######################################################
+# This is the CPack section
+# Copied and modified from http://www.vtk.org/Wiki/CMake:Packaging_With_CPack
+
+SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "BibleTime for Windows Beta")
+SET(CPACK_PACKAGE_VENDOR "http://www.bibletime.info")
+SET(CPACK_PACKAGE_VERSION_MAJOR "2")
+SET(CPACK_PACKAGE_VERSION_MINOR "0")
+SET(CPACK_PACKAGE_VERSION_PATCH "0beta2")
+SET(CPACK_PACKAGE_INSTALL_DIRECTORY "BibleTime")
+
+######################################################
+# Windows segment
+######################################################
+IF(WIN32 AND NOT UNIX)
+ SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
+ SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
+ # There is a bug in NSI that does not handle full unix paths properly. Make
+ # sure there is at least one set of four (4) backlasshes.
+
+ # We need the libraries, and they're not pulled in automatically
+ INCLUDE(${QT_USE_FILE})
+ IF(NOT CMAKE_BUILD_TYPE STREQUAL "Release")
+ SET(CMAKE_INSTALL_DEBUG_LIBRARIES TRUE)
+ INSTALL(FILES
+ "${QT_LIBRARY_DIR}/QtWebKitd4.dll"
+ "${QT_LIBRARY_DIR}/QtGuid4.dll"
+ "${QT_LIBRARY_DIR}/QtXmld4.dll"
+ "${QT_LIBRARY_DIR}/QtTestd4.dll"
+ "${QT_LIBRARY_DIR}/QtNetworkd4.dll"
+ "${QT_LIBRARY_DIR}/QtCored4.dll"
+ "${QT_LIBRARY_DIR}/phonond4.dll"
+ "${QT_LIBRARY_DIR}/QtSvgd4.dll"
+ DESTINATION "${BT_DESTINATION}"
+ )
+ ELSE(NOT CMAKE_BUILD_TYPE STREQAL "Release")
+ INSTALL(FILES
+ "${QT_LIBRARY_DIR}/QtWebKit4.dll"
+ "${QT_LIBRARY_DIR}/QtGui4.dll"
+ "${QT_LIBRARY_DIR}/QtXml4.dll"
+ "${QT_LIBRARY_DIR}/QtNetwork4.dll"
+ "${QT_LIBRARY_DIR}/QtCore4.dll"
+ "${QT_LIBRARY_DIR}/phonon4.dll"
+ "${QT_LIBRARY_DIR}/QtSvg4.dll"
+ DESTINATION "${BT_DESTINATION}")
+ ENDIF(NOT CMAKE_BUILD_TYPE STREQUAL "Release")
+
+ # This adds in the required Windows system libraries and libsword.dll
+ INCLUDE(InstallRequiredSystemLibraries)
+ STRING(REPLACE ".lib" ".dll" SWORD_DLL "${SWORD_LIBRARY}")
+ INSTALL(FILES ${SWORD_DLL} DESTINATION ${BT_DESTINATION}) # This will also take effect in the regular install
+
+ # Some options for the CPack system. These should be pretty self-evident
+ SET(CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/pics/icons\\\\bibletime.png")
+ SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\bibletime.exe")
+ SET(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} for Windows")
+ SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\www.bibletime.info")
+ SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\www.bibletime.info")
+ SET(CPACK_NSIS_CONTACT "bt-devel@crosswire.org")
+ SET(CPACK_NSIS_MODIFY_PATH OFF)
+ SET(CPACK_GENERATOR "NSIS")
+####################################
+# Apple Segment
+####################################
+ELSEIF(APPLE)
+ INCLUDE(${QT_USE_FILE})
+ SET(QT_FRAMEWORKS_USED "QtWebKit"
+ "QtGui"
+ "QtXml"
+ "QtTest"
+ "QtNetwork"
+ "QtCore"
+ "QtSvg")
+ FOREACH(QT_FRAME ${QT_FRAMEWORKS_USED})
+ INSTALL(DIRECTORY
+ "${QT_LIBRARY_DIR}/${QT_FRAME}.framework"
+ DESTINATION "${BT_DESTINATION}/../Library/Frameworks/")
+ ENDFOREACH(QT_FRAME ${QT_FRAMEWORKS_USED})
+ # Other libraries I need
+ INSTALL(FILES "${CLUCENE_LIBRARY}" "${CLUCENE_LIBRARY_DIR}/libclucene.0.0.0.dylib" "${CLUCENE_LIBRARY_DIR}/libclucene.0.dylib" "/opt/local/lib/libcurl.4.dylib"
+ "/opt/local/lib/libssl.0.9.8.dylib" "/opt/local/lib/libcrypto.0.9.8.dylib" "/opt/local/lib/libicui18n.40.dylib" "/opt/local/lib/libicui18n.40.0.dylib"
+ "/opt/local/lib/libicuuc.40.dylib" "/opt/local/lib/libicuuc.40.0.dylib" "/opt/local/lib/libicuio.40.dylib" "/opt/local/lib/libicuio.40.0.dylib"
+ "/opt/local/lib/libicudata.40.dylib" "/opt/local/lib/libicudata.40.0.dylib" "/opt/local/lib/libpng12.0.dylib"
+ DESTINATION "${BT_DESTINATION}/../Library")
+
+ # Qt Plugins
+ INSTALL(DIRECTORY "${QT_PLUGINS_DIR}/iconengines" "${QT_PLUGINS_DIR}/imageformats" DESTINATION "${BT_DESTINATION}/../../plugins")
+ # A file to execute that might get rid of the above mess
+ SET(CPACK_BUNDLE_STARTUP_COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/cmake/platforms/macos/bt_start.sh")
+ SET(CPACK_BUNDLE_NAME "BibleTime")
+ SET(CPACK_PACKAGE_FILE_NAME "BibleTime_Mac_Beta")
+ SET(CPACK_BUNDLE_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/cmake/platforms/macos/Info.plist")
+ SET(CPACK_BUNDLE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/cmake/platforms/macos/BibleTime.icns")
+ SET(CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}/cmake/platforms/macos/BibleTime.icns")
+ SET(CPACK_GENERATOR "Bundle")
+ENDIF(WIN32 AND NOT UNIX)
+
+SET(CPACK_PACKAGE_EXECUTABLES "bibletime" "BibleTime")
+
+INCLUDE(CPack)
diff --git a/ChangeLog b/ChangeLog
index 1875636..0094c8f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,128 @@
-2007-05-07 Martin <mgruner@crosswire.org>
- * Released 1.6.5a, a maintenance version for packagers
- * Only change is the new license for the bible study howto (cc-by-sa)
-
-2007-11-01 Martin, Eeli and Jeremy
- * Several important bugfixes relating to crashes, session management,
- display and bookshelf manager
- * released 1.6.5
+2009-04-29 Martin Gruner <mgruner@crosswire.org>
+ * release 2.0.beta2
+
+2009-04-26 Gary Holmlund
+ * Fix clicking of links in the Mag Window.
+
+2009-04-25 Gary Holmlund
+ * Fix drag/drop onto the display window.
+
+2009-04-25 Martin Gruner <mgruner@crosswire.org>
+ * include bugfix from Fabio Correa: fix cmake syntax for "make test" generation
+
+2009-04-24 Thomas Abthorpe
+ * Add Hungarian Handbook translation to the build
+
+2009-04-21 Martin Gruner <mgruner@crosswire.org>
+ * release 2.0.beta1
+
+2009-04-21 Martin Gruner <mgruner@crosswire.org>
+ * Applied cmake patch from Greg Hellings with slight modifications
+ * Applied translation patches from Jaak Ristioja
+ * Applied patch from Jaak Ristioja which makes generated config.h obsolete
+ * Applied patch from Jaak Ristioja which simplifies .moc file generation
+
+2009-04-09 Gary Holmlund
+ * Add translatable text for several dialogs
+ These words need transating:
+ Ok, Open, Save, Cancel, Close, Discard, Apply, Reset, Restore Defaults,
+ Help, Save All, Yes, Yes To All, No, No To All
+
+2009-03-25 Martin Gruner <mgruner@crosswire.org>
+ * release 2.0.alpha3
+
+2009-03-23 Martin Gruner <mgruner@crosswire.org>
+ * revived contributor data in about dialog
+
+2009-03-22 Thomas Abthorpe
+ * Add Czech translation to the build
+
+2009-03-20 Gary Holmlund
+ * Use docking windows instead of splitters for the left side windows. The
+ docking windows can be moved by dragging from their title bar. They can
+ be moved to the left, right, top, or bottom of the main window. They can
+ be dropped above, below, or on top of other docking windows. If dropped
+ on top of another docking window, tabs are automatically created. They
+ can be resized by dragging from their edges. The location of the docking
+ windows can be saved by saving a session. The default session ensures that
+ they look the same as the last session. Each docking window has a menu
+ under "View" to toggle its visibility.
+
+2009-03-20 Martin Gruner <mgruner@crosswire.org>
+ * release 2.0.alpha2
+
+2009-03-12 Gary Holmlund
+ * Use default browser instead of just konqueror or firefox. This should work
+ much better for non-linux platforms
+
+2009-03-12 Gary Holmlund
+ * New Help > About dialog with BibleTime, Sword, Qt, and License tabs.
+
+2009-03-10 Martin Gruner <mgruner@crosswire.org>
+ * Slightly improved clucene integration robustness with exception handling.
+
+2009-03-07 Gary, Eeli, Greg, Martin
+ * many platform-compatibility enhancements
+ * release 2.0.alpha1
+
+2009-02-22 Gary
+ * Completed the port to QT. KDE is no longer required. (Hooray!)
+
+2009-02-07 Gary, Eeli, Martin
+ * several bugfixes
+ * releasing 1.7 final
+
+2009-02-03 Gary, Eeli, Martin
+ * tons of bugfixes
+ * threading disabled in Bookshelf Manager because of non-threadsafe ftp library in Sword
+ * beginnings of port to QTWebKit by Gary (code disabled by default)
+ * release 1.7rc1
+
+2008-11-05 Martin Gruner <mgruner@crosswire.org>
+ * more const modifier fixes in various sources to improve standards conformity
+
+2008-09-12 Martin Gruner <mgruner@crosswire.org>
+ * Bugfixes to the cmake build framework (with MacOS contributions by Greg Hellings)
+ * const modifier fixes in various sources to improve standards conformity by Eeli
+
+2008-08-27 Martin Gruner <mgruner@crosswire.org>
+ * Released 1.7.beta1 for distributions to package
+ * several bugfixes
+
+2008-05 * MAJOR CHANGES FOR 1.7 *
+ * The code is in svn instead of cvs
+ * Port to KDE4/QT4, reduced KDE dependency to a minimum
+ * Command line options have changed (--help is out of date)
+ * Configuration files have been moved to ~/.bibletime/
+ * New build system: cmake
+ * i18n of UI strings is now handled by QT
+ * tr() function in the source code, .ts files for translations
+ * UI strings have been changed radically
+ * Massive code cleanups and internal refactoring
+ * New classes, rewritten and renamed classes, removed classes
+ * Better directory structure
+ * Cleaned up #includes
+ * New bookshelf manager
+ * New external communications interface DBUS (instead of DCOP)
+ * Bookshelf improvements
+ * Separation of works and bookmarks on two tabs
+ * Different work grouping types supported
+ * Hide/Unhide feature to select which modules should be displayed
+ * Corrections and enhancements to session management
+ * Search dialog now has a history for the modules to search in
+ * Bugfixes to backend filters and display templates
+ * Disabled features
+ * Key binding configuration (maybe this will re-appear in a later release)
+ * Search analysis (should re-appear soon)
+ * Startup tips (probably not coming back)
+ * Drag and Drop in the main window Bookshelf (should re-appear)
+ * "About" dialogs in Help menu ("About BibleTime" is probably needed back)
+ * Eeli Kaikkonen and Martin Gruner are responsible for most of the work
+ with the help of Jeremy Erickson and some other contributors,
+ Joachim Ansorg has retired from coding
+
+2007-11-01 Martin Gruner <mgruner@crosswire.org>
+ * Released 1.6.5 with several important bugfixes
2007-04-18 Joachim Ansorg <info@bibletime.info>
* Released version 1.6.4
@@ -15,11 +132,11 @@
2007-03-23 Joachim Ansorg <info@bibletime.info>
* Printing now uses the windows's display settings (verse-numbers)
-
+
2007-03-22 Joachim Ansorg <info@bibletime.info>
* Applied a patch by Eeli Kaikkonen to have a delay before the mag content appears
* Added Eeli Kaikkonen to the list of contributors
-
+
2007-03-22 Joachim Ansorg <info@bibletime.info>
* Fixed the osis filter to work with the new NETfree module
@@ -29,7 +146,7 @@
2007-02-25 David Blue <thedeveloper@users.sourceforge.net>
* Added CSS to templates to display Lord in small-caps when tagged that
way in the module. Fixes Bug #1660413.
-
+
2007-02-19 Joachim Ansorg <info@bibletime.ifno>
* Added Chunshek Chan to the contributors
@@ -55,11 +172,11 @@
2006-12-27 Joachim Ansorg <info@bibletime.info>
* Added Jeremy Erickson to the contributors
* Changed copyright to 1999-2007
-
+
2006-12-26 Joachim Ansorg <info@bibletime.info>
* Fixed some Makefile.am issues
* Added some contributors to the about dialog
-
+
2006-12-14 Martin Gruner <mgruner@crosswire.org>
* fixed handbook typo
* fixed required clucene version to 0.9.16
@@ -81,7 +198,7 @@
2006-11-30 Joachim Ansorg <info@bibletime.info>
* Fix for missing text if GBF red letter words were used
-
+
2006-11-27 Joachim Ansorg <info@bibletime.info>
* The tree state is restored if a change in the Sword setup forces a reload at runtime.
@@ -116,7 +233,7 @@
2006-09-22 Joachim Ansorg <info@bibletime.info>
* Release of BibleTime 1.6
-
+
2006-09-12 Martin Gruner <mgruner@crosswire.org>
* Fixed personal commentary display bug
@@ -147,7 +264,7 @@
2006-07-25 David Blue <thedeveloper@users.sourceforge.net>
* Fixed display of crossrefs in all templates
-
+
2006-06-20 Martin Gruner <mgruner@crosswire.org>
* major patch to the printing system: printing works dynamically and
respects the display and filter settings, instead of loading the default
@@ -194,10 +311,10 @@
2006-04-09 Joachim Ansorg <info@bibletime.info>
* Fixed popup menu in the commentary window
-
+
2006-04-06 Martin Gruner <mgruner@crosswire.org>
* Fixed all delayed popup menus to show up immediately
-
+
2006-03-30 Martin Gruner <mgruner@crosswire.org>
* Fixed "make messages" to include autogenerated .cpp and .h files (from .ui
files) by running "make" first before extracting the messages
@@ -211,10 +328,10 @@
* Support multiple lemmas and morphs per word in the KJV006 module
* Fix: OSIS filter fix for seg elements
* Fix: Display templates did not show headings in bold if a font was set for the module language
-
+
2006-03-24 Gabriel Beddingfield <gabriel@teuton.org>
* Added isWritable() check (and error message) before saving in CPlainWriteWindow.
-
+
2006-03-24 Martin Gruner <mgruner@crosswire.org>
* Added DCOP call reloadModules()
@@ -240,14 +357,14 @@
2006-02-15 Joachim Ansorg <info@bibletime.info>
* Fix: Modules without indexes created an empty index directory.
* Fix: Module indexes are completely removed now
-
+
2006-02-14 Martin Gruner <mgruner@crosswire.org>
* Extended index logic to allow for additional indexes per module in future
2006-02-14 Joachim Ansorg <info@bibletime.info>
* Search window: The result count in the module list are sortable now
* The "Strong's search" items in the context menus of display windows are disabled now if there's no number to search for
-
+
2006-02-10 Joachim Ansorg <info@bibletime.info>
* Several smaller fixes to the searchdialog gui
* Moved searchdialog classes into several namespaces (Search::*)
diff --git a/INSTALL b/INSTALL
deleted file mode 100644
index 18c8db7..0000000
--- a/INSTALL
+++ /dev/null
@@ -1,244 +0,0 @@
-Installation instructions for BibleTime 1.6.5.1:
----------------------------
-
-Sometimes it is difficult to compile BibleTime from source code, but it's
-possible. Don't hesitate to ask for support at info@bibletime.info. In that
-case, please include your system's configuration details.
-
-BibleTime 1.6.5.1 requires:
-
- - KDE >= 3.0 (at least the libraries (kdelibs) and the base package (kdebase))
- Although BibleTime should compile and run with KDE 3.0-3.3, we strongly recommend
- to use the latest version of KDE available for your Linux installation.
-
- - SWORD 1.5.9, available from http://www.crosswire.org/sword/; you should include
- a stability patch to Sword 1.5.9 available from the BibleTime download pages
- (fixes problems with compressed and locked modules).
-
- - CLucene >= 0.9.16, available from http://clucene.sf.net/.
-
-
-If you don't have the sources already, please browse to www.bibletime.info to see
-a list of required packages with their download URLs.
-
-To install texts (e.g. Bibles), just use the Bookshelf Manager in the Settings
-menu of BibleTime.
-
-
-Compile BibleTime 1.6.5.1:
----------------------------
-
-cd ~
-tar -xjf bibletime-1.6.5.1.tar.bz2
-cd ~/bibletime-1.6.5.1 # Move to your source directory
-kde-config --prefix # Displays your KDE directory (optional)
-./configure --prefix=<your KDE dir> # create makefiles
-make # compile BibleTime
-su -c "make install" # change to "root user" and install BibleTime
-
-After this, if you want to use the translations of BibleTime's UI, you should
-install the bibletime-i18n package.
-
-
-Debian specifics
----------------------------
-Debian (and possibly derived distros as well) use a non-standard path to
-store the documentation of KDE programs. Therefore the ./configure line above in
-this case needs to be changed to:
-
-kde_htmldir=/usr/share/doc/kde/HTML ./configure --prefix=/usr
-
-If you forget this, you'll likely not be able to access the handbook and the
-BibleStudy HowTo.
-
-
-Other useful make options
----------------------------
-make clean # Removes binaries from the directory
- # where BibleTime was compiled, but not the source
-
-make uninstall # Removes BibleTime from your system
-
-
-If something is missing in this file please post to info@bibletime.info, the contact
-adress for BibleTime. Please read README for a short description of BibleTime 1.6.5.1.
-
-
-
-The BibleTime team, <info@bibletime.info>
-
-
-
-
-______________________________________________________________________________
-** The standard Installation instructions of auto-tool packages **
-------------------------------------------------------------------------------
-
-
-Basic Installation
-==================
-
- These are generic installation instructions.
-
- The `configure' shell script attempts to guess correct values for
-various system-dependent variables used during compilation. It uses
-those values to create a `Makefile' in each directory of the package.
-It may also create one or more `.h' files containing system-dependent
-definitions. Finally, it creates a shell script `config.status' that
-you can run in the future to recreate the current configuration, a file
-`config.cache' that saves the results of its tests to speed up
-reconfiguring, and a file `config.log' containing compiler output
-(useful mainly for debugging `configure').
-
- If you need to do unusual things to compile the package, please try
-to figure out how `configure' could check whether to do them, and mail
-diffs or instructions to the address given in the `README' so they can
-be considered for the next release. If at some point `config.cache'
-contains results you don't want to keep, you may remove or edit it.
-
- The file `configure.in' is used to create `configure' by a program
-called `autoconf'. You only need `configure.in' if you want to change
-it or regenerate `configure' using a newer version of `autoconf'.
-
-The simplest way to compile this package is:
-
- 1. `cd' to the directory containing the package's source code and type
- `./configure' to configure the package for your system. If you're
- using `csh' on an old version of System V, you might need to type
- `sh ./configure' instead to prevent `csh' from trying to execute
- `configure' itself.
-
- Running `configure' takes a while. While running, it prints some
- messages telling which features it is checking for.
-
- 2. Type `make' to compile the package.
-
- 3. Type `make install' to install the programs and any data files and
- documentation.
-
- 4. You can remove the program binaries and object files from the
- source code directory by typing `make clean'.
-
-Compilers and Options
-=====================
-
- Some systems require unusual options for compilation or linking that
-the `configure' script does not know about. You can give `configure'
-initial values for variables by setting them in the environment. Using
-a Bourne-compatible shell, you can do that on the command line like
-this:
- CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
-
-Or on systems that have the `env' program, you can do it like this:
- env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
-
-Compiling For Multiple Architectures
-====================================
-
- You can compile the package for more than one kind of computer at the
-same time, by placing the object files for each architecture in their
-own directory. To do this, you must use a version of `make' that
-supports the `VPATH' variable, such as GNU `make'. `cd' to the
-directory where you want the object files and executables to go and run
-the `configure' script. `configure' automatically checks for the
-source code in the directory that `configure' is in and in `..'.
-
- If you have to use a `make' that does not supports the `VPATH'
-variable, you have to compile the package for one architecture at a time
-in the source code directory. After you have installed the package for
-one architecture, use `make distclean' before reconfiguring for another
-architecture.
-
-Installation Names
-==================
-
- By default, `make install' will install the package's files in
-`/usr/local/bin', `/usr/local/man', etc. You can specify an
-installation prefix other than `/usr/local' by giving `configure' the
-option `--prefix=PATH'.
-
- You can specify separate installation prefixes for
-architecture-specific files and architecture-independent files. If you
-give `configure' the option `--exec-prefix=PATH', the package will use
-PATH as the prefix for installing programs and libraries.
-Documentation and other data files will still use the regular prefix.
-
- If the package supports it, you can cause programs to be installed
-with an extra prefix or suffix on their names by giving `configure' the
-option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
-
-Optional Features
-=================
-
- Some packages pay attention to `--enable-FEATURE' options to
-`configure', where FEATURE indicates an optional part of the package.
-They may also pay attention to `--with-PACKAGE' options, where PACKAGE
-is something like `gnu-as' or `x' (for the X Window System). The
-`README' should mention any `--enable-' and `--with-' options that the
-package recognizes.
-
- For packages that use the X Window System, `configure' can usually
-find the X include and library files automatically, but if it doesn't,
-you can use the `configure' options `--x-includes=DIR' and
-`--x-libraries=DIR' to specify their locations.
-
-Specifying the System Type
-==========================
-
- There may be some features `configure' can not figure out
-automatically, but needs to determine by the type of host the package
-will run on. Usually `configure' can figure that out, but if it prints
-a message saying it can not guess the host type, give it the
-`--host=TYPE' option. TYPE can either be a short name for the system
-type, such as `sun4', or a canonical name with three fields:
- CPU-COMPANY-SYSTEM
-
-See the file `config.sub' for the possible values of each field. If
-`config.sub' isn't included in this package, then this package doesn't
-need to know the host type.
-
- If you are building compiler tools for cross-compiling, you can also
-use the `--target=TYPE' option to select the type of system they will
-produce code for and the `--build=TYPE' option to select the type of
-system on which you are compiling the package.
-
-Sharing Defaults
-================
-
- If you want to set default values for `configure' scripts to share,
-you can create a site shell script called `config.site' that gives
-default values for variables like `CC', `cache_file', and `prefix'.
-`configure' looks for `PREFIX/share/config.site' if it exists, then
-`PREFIX/etc/config.site' if it exists. Or, you can set the
-`CONFIG_SITE' environment variable to the location of the site script.
-A warning: not all `configure' scripts look for a site script.
-
-Operation Controls
-==================
-
- `configure' recognizes the following options to control how it
-operates.
-
-`--cache-file=FILE'
- Use and save the results of the tests in FILE instead of
- `./config.cache'. Set FILE to `/dev/null' to disable caching, for
- debugging `configure'.
-
-`--help'
- Print a summary of the options to `configure', and exit.
-
-`--quiet'
-`--silent'
-`-q'
- Do not print messages saying which checks are being made.
-
-`--srcdir=DIR'
- Look for the package's source code in directory DIR. Usually
- `configure' can determine that directory automatically.
-
-`--version'
- Print the version of Autoconf used to generate the `configure'
- script, and exit.
-
-`configure' also accepts some other, not widely useful, options.
-
diff --git a/INSTALL.in b/INSTALL.in
deleted file mode 100644
index 5704784..0000000
--- a/INSTALL.in
+++ /dev/null
@@ -1,244 +0,0 @@
-Installation instructions for BibleTime @VERSION@:
----------------------------
-
-Sometimes it is difficult to compile BibleTime from source code, but it's
-possible. Don't hesitate to ask for support at info@bibletime.info. In that
-case, please include your system's configuration details.
-
-BibleTime @VERSION@ requires:
-
- - KDE >= 3.0 (at least the libraries (kdelibs) and the base package (kdebase))
- Although BibleTime should compile and run with KDE 3.0-3.3, we strongly recommend
- to use the latest version of KDE available for your Linux installation.
-
- - SWORD 1.5.9, available from http://www.crosswire.org/sword/; you should include
- a stability patch to Sword 1.5.9 available from the BibleTime download pages
- (fixes problems with compressed and locked modules).
-
- - CLucene >= 0.9.16, available from http://clucene.sf.net/.
-
-
-If you don't have the sources already, please browse to www.bibletime.info to see
-a list of required packages with their download URLs.
-
-To install texts (e.g. Bibles), just use the Bookshelf Manager in the Settings
-menu of BibleTime.
-
-
-Compile BibleTime @VERSION@:
----------------------------
-
-cd ~
-tar -xjf bibletime-@VERSION@.tar.bz2
-cd ~/bibletime-@VERSION@ # Move to your source directory
-kde-config --prefix # Displays your KDE directory (optional)
-./configure --prefix=<your KDE dir> # create makefiles
-make # compile BibleTime
-su -c "make install" # change to "root user" and install BibleTime
-
-After this, if you want to use the translations of BibleTime's UI, you should
-install the bibletime-i18n package.
-
-
-Debian specifics
----------------------------
-Debian (and possibly derived distros as well) use a non-standard path to
-store the documentation of KDE programs. Therefore the ./configure line above in
-this case needs to be changed to:
-
-kde_htmldir=/usr/share/doc/kde/HTML ./configure --prefix=/usr
-
-If you forget this, you'll likely not be able to access the handbook and the
-BibleStudy HowTo.
-
-
-Other useful make options
----------------------------
-make clean # Removes binaries from the directory
- # where BibleTime was compiled, but not the source
-
-make uninstall # Removes BibleTime from your system
-
-
-If something is missing in this file please post to info@bibletime.info, the contact
-adress for BibleTime. Please read README for a short description of BibleTime @VERSION@.
-
-
-
-The BibleTime team, <info@bibletime.info>
-
-
-
-
-______________________________________________________________________________
-** The standard Installation instructions of auto-tool packages **
-------------------------------------------------------------------------------
-
-
-Basic Installation
-==================
-
- These are generic installation instructions.
-
- The `configure' shell script attempts to guess correct values for
-various system-dependent variables used during compilation. It uses
-those values to create a `Makefile' in each directory of the package.
-It may also create one or more `.h' files containing system-dependent
-definitions. Finally, it creates a shell script `config.status' that
-you can run in the future to recreate the current configuration, a file
-`config.cache' that saves the results of its tests to speed up
-reconfiguring, and a file `config.log' containing compiler output
-(useful mainly for debugging `configure').
-
- If you need to do unusual things to compile the package, please try
-to figure out how `configure' could check whether to do them, and mail
-diffs or instructions to the address given in the `README' so they can
-be considered for the next release. If at some point `config.cache'
-contains results you don't want to keep, you may remove or edit it.
-
- The file `configure.in' is used to create `configure' by a program
-called `autoconf'. You only need `configure.in' if you want to change
-it or regenerate `configure' using a newer version of `autoconf'.
-
-The simplest way to compile this package is:
-
- 1. `cd' to the directory containing the package's source code and type
- `./configure' to configure the package for your system. If you're
- using `csh' on an old version of System V, you might need to type
- `sh ./configure' instead to prevent `csh' from trying to execute
- `configure' itself.
-
- Running `configure' takes a while. While running, it prints some
- messages telling which features it is checking for.
-
- 2. Type `make' to compile the package.
-
- 3. Type `make install' to install the programs and any data files and
- documentation.
-
- 4. You can remove the program binaries and object files from the
- source code directory by typing `make clean'.
-
-Compilers and Options
-=====================
-
- Some systems require unusual options for compilation or linking that
-the `configure' script does not know about. You can give `configure'
-initial values for variables by setting them in the environment. Using
-a Bourne-compatible shell, you can do that on the command line like
-this:
- CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
-
-Or on systems that have the `env' program, you can do it like this:
- env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
-
-Compiling For Multiple Architectures
-====================================
-
- You can compile the package for more than one kind of computer at the
-same time, by placing the object files for each architecture in their
-own directory. To do this, you must use a version of `make' that
-supports the `VPATH' variable, such as GNU `make'. `cd' to the
-directory where you want the object files and executables to go and run
-the `configure' script. `configure' automatically checks for the
-source code in the directory that `configure' is in and in `..'.
-
- If you have to use a `make' that does not supports the `VPATH'
-variable, you have to compile the package for one architecture at a time
-in the source code directory. After you have installed the package for
-one architecture, use `make distclean' before reconfiguring for another
-architecture.
-
-Installation Names
-==================
-
- By default, `make install' will install the package's files in
-`/usr/local/bin', `/usr/local/man', etc. You can specify an
-installation prefix other than `/usr/local' by giving `configure' the
-option `--prefix=PATH'.
-
- You can specify separate installation prefixes for
-architecture-specific files and architecture-independent files. If you
-give `configure' the option `--exec-prefix=PATH', the package will use
-PATH as the prefix for installing programs and libraries.
-Documentation and other data files will still use the regular prefix.
-
- If the package supports it, you can cause programs to be installed
-with an extra prefix or suffix on their names by giving `configure' the
-option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
-
-Optional Features
-=================
-
- Some packages pay attention to `--enable-FEATURE' options to
-`configure', where FEATURE indicates an optional part of the package.
-They may also pay attention to `--with-PACKAGE' options, where PACKAGE
-is something like `gnu-as' or `x' (for the X Window System). The
-`README' should mention any `--enable-' and `--with-' options that the
-package recognizes.
-
- For packages that use the X Window System, `configure' can usually
-find the X include and library files automatically, but if it doesn't,
-you can use the `configure' options `--x-includes=DIR' and
-`--x-libraries=DIR' to specify their locations.
-
-Specifying the System Type
-==========================
-
- There may be some features `configure' can not figure out
-automatically, but needs to determine by the type of host the package
-will run on. Usually `configure' can figure that out, but if it prints
-a message saying it can not guess the host type, give it the
-`--host=TYPE' option. TYPE can either be a short name for the system
-type, such as `sun4', or a canonical name with three fields:
- CPU-COMPANY-SYSTEM
-
-See the file `config.sub' for the possible values of each field. If
-`config.sub' isn't included in this package, then this package doesn't
-need to know the host type.
-
- If you are building compiler tools for cross-compiling, you can also
-use the `--target=TYPE' option to select the type of system they will
-produce code for and the `--build=TYPE' option to select the type of
-system on which you are compiling the package.
-
-Sharing Defaults
-================
-
- If you want to set default values for `configure' scripts to share,
-you can create a site shell script called `config.site' that gives
-default values for variables like `CC', `cache_file', and `prefix'.
-`configure' looks for `PREFIX/share/config.site' if it exists, then
-`PREFIX/etc/config.site' if it exists. Or, you can set the
-`CONFIG_SITE' environment variable to the location of the site script.
-A warning: not all `configure' scripts look for a site script.
-
-Operation Controls
-==================
-
- `configure' recognizes the following options to control how it
-operates.
-
-`--cache-file=FILE'
- Use and save the results of the tests in FILE instead of
- `./config.cache'. Set FILE to `/dev/null' to disable caching, for
- debugging `configure'.
-
-`--help'
- Print a summary of the options to `configure', and exit.
-
-`--quiet'
-`--silent'
-`-q'
- Do not print messages saying which checks are being made.
-
-`--srcdir=DIR'
- Look for the package's source code in directory DIR. Usually
- `configure' can determine that directory automatically.
-
-`--version'
- Print the version of Autoconf used to generate the `configure'
- script, and exit.
-
-`configure' also accepts some other, not widely useful, options.
-
diff --git a/LICENSE b/LICENSE
index 21ccb13..534ab2c 100644
--- a/LICENSE
+++ b/LICENSE
@@ -2,10 +2,10 @@
- Free Bible study software for KDE -
-(C) 1998-2005 by the BibleTime Team (info@bibletime.info)
+(C) 1998-2009 by the BibleTime Team (info@bibletime.info)
This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License version 2 as
+it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4bc5d4b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,2 @@
+all:
+ ./build-debug.sh
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index 9f40e2f..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,80 +0,0 @@
-KDE_OPTIONS = noautodist
-SUBDIRS = bibletime pot docs .
-
-EXTRA_DIST = \
-BibleTime.kdevelop \
-LICENSE \
-ChangeLog \
-bibletime.spec.in bibletime.spec \
-README.in README \
-INSTALL.in INSTALL\
-bibletime.lsm.in bibletime.lsm \
-configure.in.in configure.in \
-bibletime.desktop.in bibletime.desktop \
-Makefile.cvs autogen.sh \
-bibletime.m4 sword.m4 clucene.m4
-
-btadmindir = $(top_srcdir)/admin
-
-# EXTRA_DIST += $(btadmindir)/ChangeLog
-EXTRA_DIST += $(btadmindir)/compile
-EXTRA_DIST += $(btadmindir)/config.guess
-EXTRA_DIST += $(btadmindir)/config.pl
-EXTRA_DIST += $(btadmindir)/config.sub
-EXTRA_DIST += $(btadmindir)/configure.in.bot.end
-EXTRA_DIST += $(btadmindir)/configure.in.min
-EXTRA_DIST += $(btadmindir)/cvs-clean.pl
-EXTRA_DIST += $(btadmindir)/install-sh
-EXTRA_DIST += $(btadmindir)/ltmain.sh
-EXTRA_DIST += $(btadmindir)/missing
-EXTRA_DIST += $(btadmindir)/mkinstalldirs
-EXTRA_DIST += $(btadmindir)/ylwrap
-EXTRA_DIST += $(btadmindir)/Makefile.common
-EXTRA_DIST += $(btadmindir)/acinclude.m4.in
-EXTRA_DIST += $(btadmindir)/am_edit
-EXTRA_DIST += $(btadmindir)/conf.change.pl
-EXTRA_DIST += $(btadmindir)/debianrules
-EXTRA_DIST += $(btadmindir)/depcomp
-EXTRA_DIST += $(btadmindir)/detect-autoconf.sh
-EXTRA_DIST += $(btadmindir)/libtool.m4.in
-EXTRA_DIST += $(btadmindir)/nmcheck
-EXTRA_DIST += $(btadmindir)/cvs.sh
-
-
-# not a GNU package. You can remove this line, if
-# have all needed files, that a GNU package needs
-AUTOMAKE_OPTIONS = 1.6 foreign dist-bzip2
-
-$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in sword.m4 bibletime.m4 clucene.m4
- @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in sword.m4 bibletime.m4 clucene.m4 > acinclude.m4
-$(top_srcdir)/configure.in: $(top_srcdir)/configure.files $(shell test -f $(top_srcdir)/configure.files && cat $(top_srcdir)/configure.files)
- cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in
-$(top_srcdir)/subdirs:
- cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
-$(top_srcdir)/configure.files:
- cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.files
-
-install-data-local:
- chmod 755 $(DESTDIR)$(kde_datadir)/bibletime -R
- $(mkinstalldirs) $(datadir)/applications
- $(INSTALL_DATA) $(top_builddir)/bibletime.desktop $(datadir)/applications/bibletime.desktop
-
-uninstall-local:
- -rm -f $(datadir)/applications/bibletime.desktop
-
-MAINTAINERCLEANFILES = configure.files subdirs
-
-dist-hook:
- rm -f $(distdir)/bibletime-*.tar.gz $(distdir)/bibletime-*.tar.bz2
- rm -rf $(find $(distdir) -name tags -o -name TAGS -o -name \*.xcf -o -name \*.xcf.bz2)
-# rm -f $(distdir)/admin/Changelog $(distdir)/make-messages.sh \
-# $(distdir)/extractrc $(distdir)/preparetips \
-# $(distdir)/bibletime.doxygen $(distdir)/bibletime.kdevses \
-# $(distdir)/bibletime.start $(distdir)/configure.files \
-# $(distdir)/bibletime/pics/gen_am.sh
- rm -rf $(distdir)/autom4te.cache
- rm -rf $(distdir)/BibleTime.kdevelop.pcs
- rm -rf $(distdir)/docs/handbook/html/*.html
- rm -rf $(distdir)/docs/howto/html/*.html
-# rm -rf $(distdir)/BibleTime.tag
-# $(distdir)/BibleTime.kdevses
diff --git a/Makefile.cvs b/Makefile.cvs
deleted file mode 100644
index 2444ea1..0000000
--- a/Makefile.cvs
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# Makefile for the cvs repository of BibleTime
-# Modified by Martin Gruner
-#
-# Copyright: (c) 2000 The BibleTime team.
-#
-
-all:
- @echo "This Makefile is only for the CVS repository"
- @echo "This will be deleted before making the distribution"
- @echo ""
- $(MAKE) -f admin/Makefile.common cvs
-
-.SILENT:
diff --git a/Makefile.in b/Makefile.in
deleted file mode 100644
index 67d62df..0000000
--- a/Makefile.in
+++ /dev/null
@@ -1,953 +0,0 @@
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
-# KDE tags expanded automatically by am_edit - $Revision: 1.31 $
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-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 = $(am__configure_deps) $(srcdir)/INSTALL.in \
- $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(srcdir)/README.in $(srcdir)/bibletime.desktop.in \
- $(srcdir)/bibletime.lsm.in $(srcdir)/bibletime.spec.in \
- $(srcdir)/config.h.in $(top_srcdir)/configure ChangeLog \
- 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 = README INSTALL bibletime.lsm bibletime.spec \
- bibletime.desktop
-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)
-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 $(distdir).tar.bz2
-GZIP_ENV = --best
-distuninstallcheck_listfiles = find . -type f -print
-distcleancheck_listfiles = find . -type f -print
-ACLOCAL = @ACLOCAL@
-AMTAR = @AMTAR@
-AR = @AR@
-ARTSCCONFIG = @ARTSCCONFIG@
-AUTOCONF = @AUTOCONF@
-AUTODIRS = @AUTODIRS@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-BT_LDFLAGS = @BT_LDFLAGS@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
-CLUCENE_INCLUDES = @CLUCENE_INCLUDES@
-CLUCENE_LIBRARY_PATH = @CLUCENE_LIBRARY_PATH@
-CONF_FILES = @CONF_FILES@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CXX = @CXX@
-CXXCPP = @CXXCPP@
-CXXDEPMODE = @CXXDEPMODE@
-CXXFLAGS = @CXXFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DCOPIDL = @DCOPIDL@
-DCOPIDL2CPP = @DCOPIDL2CPP@
-DCOPIDLNG = @DCOPIDLNG@
-DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DISTRIBUTION = @DISTRIBUTION@
-DISTRIBUTION_VERSION = @DISTRIBUTION_VERSION@
-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@
-HAVE_GCC_VISIBILITY = @HAVE_GCC_VISIBILITY@
-HOWTODIR = @HOWTODIR@
-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_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_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@
-KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@
-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@
-LIBSM = @LIBSM@
-LIBSOCKET = @LIBSOCKET@
-LIBTOOL = @LIBTOOL@
-LIBUCB = @LIBUCB@
-LIBUTIL = @LIBUTIL@
-LIBZ = @LIBZ@
-LIB_CLUCENE = @LIB_CLUCENE@
-LIB_KAB = @LIB_KAB@
-LIB_KABC = @LIB_KABC@
-LIB_KDECORE = @LIB_KDECORE@
-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_KUTILS = @LIB_KUTILS@
-LIB_POLL = @LIB_POLL@
-LIB_QPE = @LIB_QPE@
-LIB_QT = @LIB_QT@
-LIB_SMB = @LIB_SMB@
-LIB_SWORD = @LIB_SWORD@
-LIB_X11 = @LIB_X11@
-LIB_XEXT = @LIB_XEXT@
-LIB_XRENDER = @LIB_XRENDER@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MAKEKDEWIDGETS = @MAKEKDEWIDGETS@
-MCOPIDL = @MCOPIDL@
-MEINPROC = @MEINPROC@
-MKDIR_P = @MKDIR_P@
-MOC = @MOC@
-MSGFMT = @MSGFMT@
-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@
-QTE_NORTTI = @QTE_NORTTI@
-QT_INCLUDES = @QT_INCLUDES@
-QT_LDFLAGS = @QT_LDFLAGS@
-RANLIB = @RANLIB@
-RPM_GROUP = @RPM_GROUP@
-RPM_PREFIX = @RPM_PREFIX@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-SWORD_INCLUDES = @SWORD_INCLUDES@
-SWORD_LIBRARY_PATH = @SWORD_LIBRARY_PATH@
-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@
-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_OPTIONS = noautodist
-SUBDIRS = bibletime pot docs .
-
-# EXTRA_DIST += $(btadmindir)/ChangeLog
-EXTRA_DIST = BibleTime.kdevelop LICENSE ChangeLog bibletime.spec.in \
- bibletime.spec README.in README INSTALL.in INSTALL \
- bibletime.lsm.in bibletime.lsm configure.in.in configure.in \
- bibletime.desktop.in bibletime.desktop Makefile.cvs autogen.sh \
- bibletime.m4 sword.m4 clucene.m4 $(btadmindir)/compile \
- $(btadmindir)/config.guess $(btadmindir)/config.pl \
- $(btadmindir)/config.sub $(btadmindir)/configure.in.bot.end \
- $(btadmindir)/configure.in.min $(btadmindir)/cvs-clean.pl \
- $(btadmindir)/install-sh $(btadmindir)/ltmain.sh \
- $(btadmindir)/missing $(btadmindir)/mkinstalldirs \
- $(btadmindir)/ylwrap $(btadmindir)/Makefile.common \
- $(btadmindir)/acinclude.m4.in $(btadmindir)/am_edit \
- $(btadmindir)/conf.change.pl $(btadmindir)/debianrules \
- $(btadmindir)/depcomp $(btadmindir)/detect-autoconf.sh \
- $(btadmindir)/libtool.m4.in $(btadmindir)/nmcheck \
- $(btadmindir)/cvs.sh
-btadmindir = $(top_srcdir)/admin
-
-# not a GNU package. You can remove this line, if
-# have all needed files, that a GNU package needs
-AUTOMAKE_OPTIONS = 1.6 foreign dist-bzip2
-MAINTAINERCLEANFILES = configure.files subdirs
-#>- all: config.h
-#>+ 1
-all: docs-am config.h
- $(MAKE) $(AM_MAKEFLAGS) all-recursive
-
-.SUFFIXES:
-am--refresh:
- @:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-#>- cd $(srcdir) && $(AUTOCONF)
-#>+ 2
- cd $(srcdir) && rm -f configure
- cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- cd $(top_srcdir) && $(AUTOHEADER)
- rm -f stamp-h1
- touch $@
-
-distclean-hdr:
- -rm -f config.h stamp-h1
-README: $(top_builddir)/config.status $(srcdir)/README.in
- cd $(top_builddir) && $(SHELL) ./config.status $@
-INSTALL: $(top_builddir)/config.status $(srcdir)/INSTALL.in
- cd $(top_builddir) && $(SHELL) ./config.status $@
-bibletime.lsm: $(top_builddir)/config.status $(srcdir)/bibletime.lsm.in
- cd $(top_builddir) && $(SHELL) ./config.status $@
-bibletime.spec: $(top_builddir)/config.status $(srcdir)/bibletime.spec.in
- cd $(top_builddir) && $(SHELL) ./config.status $@
-bibletime.desktop: $(top_builddir)/config.status $(srcdir)/bibletime.desktop.in
- cd $(top_builddir) && $(SHELL) ./config.status $@
-
-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; nonemtpy = 1; } \
- END { if (nonempty) { 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; nonempty = 1; } \
- END { if (nonempty) { 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=; \
- 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; nonempty = 1; } \
- END { if (nonempty) { 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
- $(MAKE) $(AM_MAKEFLAGS) \
- top_distdir="$(top_distdir)" distdir="$(distdir)" \
- dist-hook
- -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
- ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
- ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
- ! -type d ! -perm -444 -exec $(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-lzma: distdir
- tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
- $(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
- tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
- $(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.lzma*) \
- unlzma -c $(distdir).tar.lzma | $(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."
- -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
-#>- 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-data-local
-
-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: uninstall-local
-
-.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-hook dist-lzma 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-data-local 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 uninstall-local
-
-
-$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in sword.m4 bibletime.m4 clucene.m4
- @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in sword.m4 bibletime.m4 clucene.m4 > acinclude.m4
-$(top_srcdir)/configure.in: $(top_srcdir)/configure.files $(shell test -f $(top_srcdir)/configure.files && cat $(top_srcdir)/configure.files)
- cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in
-$(top_srcdir)/subdirs:
- cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
-$(top_srcdir)/configure.files:
- cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.files
-
-install-data-local:
- chmod 755 $(DESTDIR)$(kde_datadir)/bibletime -R
-#>- $(mkinstalldirs) $(datadir)/applications
-#>+ 1
- $(mkinstalldirs) $(DESTDIR)$(datadir)/applications
-#>- $(INSTALL_DATA) $(top_builddir)/bibletime.desktop $(datadir)/applications/bibletime.desktop
-#>+ 1
- $(INSTALL_DATA) $(top_builddir)/bibletime.desktop $(DESTDIR)$(datadir)/applications/bibletime.desktop
-
-uninstall-local:
-#>- -rm -f $(datadir)/applications/bibletime.desktop
-#>+ 1
- -rm -f $(DESTDIR)$(datadir)/applications/bibletime.desktop
-
-dist-hook:
- rm -f $(distdir)/bibletime-*.tar.gz $(distdir)/bibletime-*.tar.bz2
- rm -rf $(find $(distdir) -name tags -o -name TAGS -o -name \*.xcf -o -name \*.xcf.bz2)
-# rm -f $(distdir)/admin/Changelog $(distdir)/make-messages.sh \
-# $(distdir)/extractrc $(distdir)/preparetips \
-# $(distdir)/bibletime.doxygen $(distdir)/bibletime.kdevses \
-# $(distdir)/bibletime.start $(distdir)/configure.files \
-# $(distdir)/bibletime/pics/gen_am.sh
- rm -rf $(distdir)/autom4te.cache
- rm -rf $(distdir)/BibleTime.kdevelop.pcs
- rm -rf $(distdir)/docs/handbook/html/*.html
- rm -rf $(distdir)/docs/howto/html/*.html
-# rm -rf $(distdir)/BibleTime.tag
-# $(distdir)/BibleTime.kdevses
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
-
-#>+ 2
-docs-am:
-
-#>+ 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
-cvs-clean:
- $(MAKE) admindir=$(top_srcdir)/admin -f $(top_srcdir)/admin/Makefile.common cvs-clean
-
-#>+ 3
-kde-rpo-clean:
- -rm -f *.rpo
-
-#>+ 3
-nmcheck:
-nmcheck-am: nmcheck
diff --git a/README b/README
index 4b906e9..da0a9fd 100644
--- a/README
+++ b/README
@@ -1,36 +1,48 @@
-In this file:
--------------
- * General introduction
- * Requirements
- * Documentation
+README for BibleTime
+====================
-General introduction:
---------------------
-This is BibleTime 1.6.5.1. BibleTime is a Bible study application based on KDE 3.3 or later.
+BibleTime is a Bible study application based on KDE.
-Please report any bugs your find to info@bibletime.info or use the links on our webpage at
-http://www.bibletime.info. Please do not hesitate to send suggestions or criticism to info@bibletime.info.
+1. INSTALLATION
-Read the file INSTALL how to install and compile this version of BibleTime. There's also a SPEC file
-to create RPMs, it's called bibletime.spec.
+1.1 REQUIREMENTS
+ -QT 4.4+
+ -Sword 1.5.9+ (http://crosswire.org/sword)
+ -CLucene 0.9.16a+ (http://clucene.sf.net)
+ -Boost header files (libboost-dev)
+ -cmake 2.4.0+ (http://cmake.org)
-For a list of the contributors to BibleTime read the "About BibleTime" pages available in the
-"Help" menu of BibleTime.
+1.2 DEVELOPER-ONLY REQUIREMENTS
+ -po4a
+ -xsltproc, docbook-xml, docbook-xsl
-This README file contains some useful instructions and tips how to use BibleTime.
-Please read the handbook, too. It contains many instructions about the usage and
-installation of BibleTime.
+1.3 PROCEDURE
-Requirements:
--------------
-See file INSTALL for detailed installation instructions.
+In the toplevel directory of this package, you can find
+the scripts "build-debug.sh" and "build-release.sh".
-Documentation:
---------------
-You can find information about BibleTime, the installation and its usage in the following places:
+Run "build-debug.sh" to build BibleTime in debug mode.
+It will build in the directory ./build/ and install to
+./build/install/. You can run it just there, you do not
+have to install it to /usr/.
+
+For a real installation, run "build-release.sh". This will
+also build in ./build/, but then install to /usr/local.
+
+2. FEEDBACK
+
+Please report any bugs your find to bt-devel@crosswire.org or
+use the links on our webpage at http://www.bibletime.info.
+
+3. DOCUMENTATION
+
+You can find information about BibleTime, the installation
+and its usage in the following places:
o http://www.bibletime.info/
- o The BibleTime handbook available in the Help menu of the BibleTime application
+ o The BibleTime handbook available in the Help menu
+ of the BibleTime application
o There's a Bible study tutorial in the help menu
-May God, our Lord use BibleTime for his glory,
+May God, our Lord, use BibleTime for his glory.
+
The BibleTime developers, info@bibletime.info
diff --git a/README.in b/README.in
deleted file mode 100644
index d53a104..0000000
--- a/README.in
+++ /dev/null
@@ -1,36 +0,0 @@
-In this file:
--------------
- * General introduction
- * Requirements
- * Documentation
-
-General introduction:
---------------------
-This is BibleTime @VERSION@. BibleTime is a Bible study application based on KDE 3.3 or later.
-
-Please report any bugs your find to info@bibletime.info or use the links on our webpage at
-http://www.bibletime.info. Please do not hesitate to send suggestions or criticism to info@bibletime.info.
-
-Read the file INSTALL how to install and compile this version of BibleTime. There's also a SPEC file
-to create RPMs, it's called bibletime.spec.
-
-For a list of the contributors to BibleTime read the "About BibleTime" pages available in the
-"Help" menu of BibleTime.
-
-This README file contains some useful instructions and tips how to use BibleTime.
-Please read the handbook, too. It contains many instructions about the usage and
-installation of BibleTime.
-
-Requirements:
--------------
-See file INSTALL for detailed installation instructions.
-
-Documentation:
---------------
-You can find information about BibleTime, the installation and its usage in the following places:
- o http://www.bibletime.info/
- o The BibleTime handbook available in the Help menu of the BibleTime application
- o There's a Bible study tutorial in the help menu
-
-May God, our Lord use BibleTime for his glory,
-The BibleTime developers, info@bibletime.info
diff --git a/acinclude.m4 b/acinclude.m4
deleted file mode 100644
index bbd9be2..0000000
--- a/acinclude.m4
+++ /dev/null
@@ -1,12174 +0,0 @@
-## -*- autoconf -*-
-
-dnl This file is part of the KDE libraries/packages
-dnl Copyright (C) 1997 Janos Farkas (chexum@shadow.banki.hu)
-dnl (C) 1997,98,99 Stephan Kulow (coolo@kde.org)
-
-dnl This file is free software; you can redistribute it and/or
-dnl modify it under the terms of the GNU Library General Public
-dnl License as published by the Free Software Foundation; either
-dnl version 2 of the License, or (at your option) any later version.
-
-dnl This library is distributed in the hope that it will be useful,
-dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
-dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-dnl Library General Public License for more details.
-
-dnl You should have received a copy of the GNU Library General Public License
-dnl along with this library; see the file COPYING.LIB. If not, write to
-dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-dnl Boston, MA 02111-1307, USA.
-
-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
- 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" && test ! "$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="-Xlinker -framework -Xlinker 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
-
-# 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; 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@uluru.Stanford.EDU, kb@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"
- else
- kde_qt_minversion=">= Qt 3.2"
- fi
- else
- kde_qt_minversion=">= Qt 3.1 (20021021)"
- fi
- else
- kde_qt_minversion=">= Qt 3.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@VER@00 && QT_VERSION < 0x040000"
- qtsubver=`echo "00$kde_qtsubver" | sed -e 's,.*\(..\)$,\1,'`
- kde_qt_verstring=`echo $kde_qt_verstring | sed -e "s,@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 = 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
-
-if test -z "$LIBQT"; then
-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"
-else
- kde_int_qt="$LIBQT"
- kde_lib_qt_set=yes
-fi
-
-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
- if test -z "$LIBQT"; then
- LIBQT="-l$qtlib-mt"
- kde_int_qt="-l$qtlib-mt"
- else
- LIBQT="$qtlib-mt"
- kde_int_qt="$qtlib-mt"
- fi
- 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 its 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
- 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")
-# 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(
-[/* Override any gcc2 internal prototype to avoid an error. */
-struct jpeg_decompress_struct;
-typedef struct jpeg_decompress_struct * j_decompress_ptr;
-typedef int size_t;
-#ifdef __cplusplus
-extern "C" {
-#endif
- void jpeg_CreateDecompress(j_decompress_ptr cinfo,
- int version, size_t structsize);
-#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. */
-],
- [jpeg_CreateDecompress(0L, 0, 0);],
- 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>
-],
-[
- char buf[42];
- gzFile f = (gzFile) 0;
- /* this would segfault.. but we only link, don't run */
- (void) gzgets(f, buf, sizeof(buf));
-
- return (zlibVersion() == ZLIB_VERSION);
-],
- 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([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
-])
-
-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 $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
-
- 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 $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 -Wwrite-strings $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 -Wconversion -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"])
- KDE_CHECK_COMPILER_FLAG(Wnon-virtual-dtor,[CXXFLAGS="-Wnon-virtual-dtor $CXXFLAGS"])
- 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
- 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
- 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_CHECK_AND_ADD_HIDDEN_VISIBILITY],
-[
- if test "$GXX" = "yes"; then
- KDE_CHECK_COMPILER_FLAG(fvisibility=hidden,
- [
- 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
-])
-
-AC_DEFUN([KDE_ENABLE_HIDDEN_VISIBILITY],
-[
- AC_REQUIRE([KDE_CHECK_AND_ADD_HIDDEN_VISIBILITY])
-])
-
-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)
-
-# 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],
-[
- kdelibsuff="$kde_libs_suffix"
- if test -z "$kdelibsuff"; then
- kdelibsuff=no
- fi
- AC_ARG_ENABLE(libsuffix,
- AC_HELP_STRING([--enable-libsuffix],
- [/lib directory suffix (64,32,none[=default])]),
- kdelibsuff=$enableval)
- # TODO: add an auto case that compiles a little C app to check
- # where the glibc is
- if test "$kdelibsuff" = "no"; 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@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@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@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 -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", [
- LDFLAGS="$ac_save_ldflags"
- CFLAGS="$ac_save_cflags"
- LDFLAGS="$LDFLAGS $DPMS_LDFLAGS $all_libraries -lX11 -lXext $LIBSOCKET"
- LIBS="$LIBS -lXdpms"
- 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="-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/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/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@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.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@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@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`
- kde_libs_suffix=`$KDECONFIG --libsuffix`
-
- 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-@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-@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-@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
- 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 "$dir" != "/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="-Xlinker -framework -Xlinker 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@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@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@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@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/pkgconfig:$PKG_CONFIG_PATH"
- if test "$prefix" != "$kde_libs_prefix"; then
- PKG_CONFIG_PATH="$kde_libs_prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
- fi
- export PKG_CONFIG_PATH
- PKG_CHECK_MODULES($1,$2,$3,$4)
-])
-
-# 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@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., 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.
-
-# 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