KOffice – TDE office suite
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2659 lines
98KB

  1. dnl =======================================================
  2. dnl FILE: ./admin/configure.in.min
  3. dnl =======================================================
  4. dnl This file is part of the KDE libraries/packages
  5. dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
  6. dnl This file is free software; you can redistribute it and/or
  7. dnl modify it under the terms of the GNU Library General Public
  8. dnl License as published by the Free Software Foundation; either
  9. dnl version 2 of the License, or (at your option) any later version.
  10. dnl This library is distributed in the hope that it will be useful,
  11. dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. dnl Library General Public License for more details.
  14. dnl You should have received a copy of the GNU Library General Public License
  15. dnl along with this library; see the file COPYING.LIB. If not, write to
  16. dnl the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  17. dnl Boston, MA 02110-1301, USA.
  18. # Original Author was Kalle@kde.org
  19. # I lifted it in some mater. (Stephan Kulow)
  20. # I used much code from Janos Farkas
  21. dnl Process this file with autoconf to produce a configure script.
  22. AC_INIT(acinclude.m4) dnl a source file from your sub dir
  23. dnl This is so we can use kde-common
  24. AC_CONFIG_AUX_DIR(admin)
  25. dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
  26. unset CDPATH
  27. dnl Checking host/target/build systems, for make, install etc.
  28. AC_CANONICAL_SYSTEM
  29. dnl Perform program name transformation
  30. AC_ARG_PROGRAM
  31. dnl Automake doc recommends to do this only here. (Janos)
  32. AM_INIT_AUTOMAKE(koffice, "1.6.3") dnl searches for some needed programs
  33. AM_MAINTAINER_MODE
  34. KDE_SET_PREFIX
  35. dnl generate the config header
  36. AM_CONFIG_HEADER(config.h) dnl at the distribution this done
  37. dnl Checks for programs.
  38. AC_CHECK_COMPILERS
  39. AC_ENABLE_SHARED(yes)
  40. AC_ENABLE_STATIC(no)
  41. KDE_PROG_LIBTOOL
  42. dnl for NLS support. Call them in this order!
  43. dnl WITH_NLS is for the po files
  44. AM_KDE_WITH_NLS
  45. KDE_USE_QT(3.3)
  46. AC_PATH_KDE
  47. dnl =======================================================
  48. dnl FILE: configure.in.in
  49. dnl =======================================================
  50. #MIN_CONFIG(3.3)
  51. # Remember to synchronize the version number with the file koffice/lib/kofficecore/kofficeversion.h
  52. dnl PACKAGE set before
  53. CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
  54. AC_CHECK_HEADERS(unistd.h sys/param.h floatingpoint.h paths.h)
  55. AC_C_BIGENDIAN
  56. AC_CHECK_KDEMAXPATHLEN
  57. KDE_INIT_DOXYGEN([The KOffice API Reference], [Version $VERSION])
  58. # Check for GraphicsMagick...
  59. have_graphicsmagick=no
  60. KDE_FIND_PATH(GraphicsMagick-config, GRAPHICS_MAGICK_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [
  61. AC_MSG_WARN([Could not find GraphicsMagick anywhere, check http://www.graphicsmagick.org/ for GraphicsMagick >= 1.1.7.])
  62. ])
  63. if test -n "$GRAPHICS_MAGICK_CONFIG"; then
  64. vers=`$GRAPHICS_MAGICK_CONFIG --version 2>/dev/null | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
  65. if test -n "$vers" && test "$vers" -ge 1001007; then
  66. LIBGMAGICK_LIBS="`$GRAPHICS_MAGICK_CONFIG --libs`"
  67. LIBGMAGICK_LDFLAGS="`$GRAPHICS_MAGICK_CONFIG --ldflags`"
  68. LIBGMAGICK_RPATH=
  69. for args in $LIBGMAGICK_LIBS; do
  70. case $args in
  71. -L*)
  72. LIBGMAGICK_RPATH="$LIBMAGICK_RPATH $args"
  73. ;;
  74. esac
  75. done
  76. LIBGMAGICK_RPATH=`echo $LIBGMAGICK_RPATH | $SED -e "s/-L/-R/g"`
  77. LIBGMAGICK_CPPFLAGS="`$GRAPHICS_MAGICK_CONFIG --cppflags`"
  78. AC_DEFINE(HAVE_GMAGICK,1, [GraphicsMagick is available])
  79. have_graphicsmagick=yes
  80. else
  81. AC_MSG_WARN([You need at least GraphicsMagick 1.1.7])
  82. fi
  83. fi
  84. if test ! "$USE_RPATH" = "yes"; then
  85. LIBGMAGICK_RPATH=
  86. fi
  87. AC_SUBST(LIBGMAGICK_LIBS)
  88. AC_SUBST(LIBGMAGICK_LDFLAGS)
  89. AC_SUBST(LIBGMAGICK_CPPFLAGS)
  90. AC_SUBST(LIBGMAGICK_RPATH)
  91. AM_CONDITIONAL(include_graphicsmagick_filter, test "$have_graphicsmagick" = "yes" -a HAVE_GMAGICK)
  92. # End of GraphicsMagick check
  93. # Check for ImageMagick...
  94. have_imagemagick=no
  95. KDE_FIND_PATH(Magick-config, MAGICK_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [
  96. AC_MSG_WARN([Could not find ImageMagick anywhere, check http://www.imagemagick.org/ for ImageMagick >= 5.5.2.])
  97. ])
  98. if test -n "$MAGICK_CONFIG"; then
  99. vers=`$MAGICK_CONFIG --version 2>/dev/null | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
  100. if test -n "$vers" && test "$vers" -ge 5005002
  101. then
  102. if test "$vers" -ge 6000003
  103. then
  104. AC_DEFINE(HAVE_MAGICK6, 1, [ImageMagick Version 6])
  105. fi
  106. if test "$vers" -ge 6001000
  107. then
  108. AC_DEFINE(HAVE_MAGICK61, 1, [ImageMagick Version 6.1])
  109. fi
  110. LIBMAGICK_LIBS="`$MAGICK_CONFIG --libs`"
  111. LIBMAGICK_LDFLAGS="`$MAGICK_CONFIG --ldflags`"
  112. LIBMAGICK_RPATH=
  113. for args in $LIBMAGICK_LIBS; do
  114. case $args in
  115. -L*)
  116. LIBMAGICK_RPATH="$LIBMAGICK_RPATH $args"
  117. ;;
  118. esac
  119. done
  120. LIBMAGICK_RPATH=`echo $LIBMAGICK_RPATH | $SED -e "s/-L/-R/g"`
  121. LIBMAGICK_CPPFLAGS="`$MAGICK_CONFIG --cppflags`"
  122. AC_DEFINE(HAVE_MAGICK,1, [ImageMagick is available])
  123. have_imagemagick=yes
  124. else
  125. AC_MSG_WARN([You need at least ImageMagick 5.5.2])
  126. fi
  127. fi
  128. if test ! "$USE_RPATH" = "yes"; then
  129. LIBMAGICK_RPATH=
  130. fi
  131. AC_SUBST(LIBMAGICK_LIBS)
  132. AC_SUBST(LIBMAGICK_LDFLAGS)
  133. AC_SUBST(LIBMAGICK_CPPFLAGS)
  134. AC_SUBST(LIBMAGICK_RPATH)
  135. AM_CONDITIONAL(include_imagemagick_filter, test "$have_imagemagick" = "yes" -a HAVE_MAGICK61 -a ! "$have_graphicsmagick" = "yes" -a ! HAVE_GMAGICK)
  136. # End of ImageMagick check
  137. ##########################################################################
  138. # This last check is copied from kdenonbeta/gsf/configure.in.in
  139. ##########################################################################
  140. # KOFFICE_PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
  141. # defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
  142. # also defines GSTUFF_PKG_ERRORS on error
  143. # Note: This is specially tweaked for karbon's fontconfig check. Please fix
  144. # it before using it for other tests :-)
  145. AC_DEFUN([KOFFICE_PKG_CHECK_MODULES], [
  146. succeeded=no
  147. if test -z "$PKG_CONFIG"; then
  148. AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
  149. fi
  150. if test "$PKG_CONFIG" = "no" ; then
  151. echo "*** The pkg-config script could not be found. Make sure it is"
  152. echo "*** in your path, or set the PKG_CONFIG environment variable"
  153. echo "*** to the full path to pkg-config."
  154. echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
  155. echo "***"
  156. echo "*** Due to that we can't perform the check for fontconfig..." # added for karbon (Werner)
  157. else
  158. PKG_CONFIG_MIN_VERSION=0.9.0
  159. if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
  160. AC_MSG_CHECKING(for $2)
  161. if $PKG_CONFIG --exists "$2" ; then
  162. AC_MSG_RESULT(yes)
  163. succeeded=yes
  164. AC_MSG_CHECKING($1_CFLAGS)
  165. $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`
  166. AC_MSG_RESULT($$1_CFLAGS)
  167. AC_MSG_CHECKING($1_LIBS)
  168. $1_LIBS=`$PKG_CONFIG --libs "$2"`
  169. AC_MSG_RESULT($$1_LIBS)
  170. else
  171. $1_CFLAGS=""
  172. $1_LIBS=""
  173. ## If we have a custom action on failure, don't print errors, but
  174. ## do set a variable so people can do so.
  175. $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
  176. ifelse([$4], ,echo $$1_PKG_ERRORS,)
  177. fi
  178. AC_SUBST($1_CFLAGS)
  179. AC_SUBST($1_LIBS)
  180. else
  181. echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
  182. echo "*** See http://www.freedesktop.org/software/pkgconfig"
  183. fi
  184. fi
  185. if test $succeeded = yes; then
  186. ifelse([$3], , :, [$3])
  187. # else # removed for karbon (Werner)
  188. # ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])
  189. fi
  190. ])
  191. # --- Check for KDE 3.2 or 3.3 ---
  192. AC_MSG_CHECKING([for KDE version])
  193. AC_LANG_SAVE
  194. AC_LANG_CPLUSPLUS
  195. kdeversion_save_CXXFLAGS="$CXXFLAGS"
  196. kdeversion_safe_LIBS="$LIBS"
  197. LIBS="$LIBS $X_EXTRA_LIBS"
  198. CXXFLAGS="$CXXFLAGS $all_includes"
  199. AC_COMPILE_IFELSE([
  200. #include <kdeversion.h>
  201. #if ! ( KDE_IS_VERSION( 3, 2, 90 ) )
  202. #error KDE 3.2
  203. #endif
  204. ],
  205. need_trinity2_compat="no"
  206. ,
  207. need_trinity2_compat="yes"
  208. )
  209. AC_COMPILE_IFELSE([
  210. #include <kdeversion.h>
  211. #if ! ( KDE_IS_VERSION( 3, 3, 90 ) )
  212. #error KDE 3.3
  213. #endif
  214. ],
  215. need_trinity3_compat="no"
  216. ,
  217. need_trinity3_compat="yes"
  218. )
  219. AC_COMPILE_IFELSE([
  220. #include <kdeversion.h>
  221. #if ! ( KDE_IS_VERSION( 3, 4, 90 ) )
  222. #error KDE 3.4
  223. #endif
  224. ],
  225. need_trinity4_compat="no"
  226. ,
  227. need_trinity4_compat="yes"
  228. )
  229. AC_COMPILE_IFELSE([
  230. #include <kdeversion.h>
  231. #if ! ( KDE_IS_VERSION( 3, 5, 2 ) )
  232. #error KDE 3.5.x (x < 2)
  233. #endif
  234. ],
  235. need_trinity51_compat="no"
  236. ,
  237. need_trinity51_compat="yes"
  238. )
  239. CXXFLAGS="$kdeversion_save_CXXFLAGS"
  240. LIBS="$kdeversion_safe_LIBS"
  241. AC_LANG_RESTORE
  242. if test "$need_trinity2_compat" = "yes"; then
  243. AC_MSG_RESULT([KDE 3.2.x])
  244. else
  245. if test "$need_trinity3_compat" = "yes"; then
  246. AC_MSG_RESULT([KDE 3.3.x])
  247. else
  248. if test "$need_trinity4_compat" = "yes"; then
  249. AC_MSG_RESULT([KDE 3.4.x])
  250. else
  251. if test "$need_trinity51_compat" = "yes"; then
  252. AC_MSG_RESULT([KDE 3.5.x (x < 2)])
  253. else
  254. AC_MSG_RESULT([KDE 3.5.x (x >=2) or SVN trunk])
  255. fi
  256. fi
  257. fi
  258. fi
  259. AM_CONDITIONAL(need_trinity2_compatibility, test "$need_trinity2_compat" = "yes")
  260. AM_CONDITIONAL(need_trinity3_compatibility, test "$need_trinity3_compat" = "yes")
  261. AM_CONDITIONAL(need_trinity4_compatibility, test "$need_trinity4_compat" = "yes")
  262. AM_CONDITIONAL(need_trinity51_compatibility, test "$need_trinity51_compat" = "yes")
  263. # Keep the old KDE 3.1 test, as long as it is still used
  264. AM_CONDITIONAL(need_trinity1_compatibility, test "supported" = "no")
  265. # --- End KDE 3.2 check ---
  266. # --- OpenEXR check ---
  267. KDE_FIND_PATH(pkg-config, PKGCONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [
  268. AC_MSG_WARN([Could not find pkg-config])
  269. ])
  270. AC_MSG_CHECKING([for OpenEXR])
  271. if test -n "$PKGCONFIG"; then
  272. vers=`$PKGCONFIG OpenEXR --modversion 2>/dev/null`
  273. if test -n "$vers"
  274. then
  275. OPENEXR_LIBS="`$PKGCONFIG OpenEXR --libs`"
  276. OPENEXR_RPATH=
  277. for args in $OPENEXR_LIBS; do
  278. case $args in
  279. -L*)
  280. OPENEXR_RPATH="$OPENEXR_RPATH $args"
  281. ;;
  282. esac
  283. done
  284. OPENEXR_RPATH=`echo $OPENEXR_RPATH | $SED -e "s/-L/-R/g"`
  285. OPENEXR_CFLAGS="`$PKGCONFIG OpenEXR --cflags`"
  286. AC_DEFINE_UNQUOTED(HAVE_OPENEXR, 1, [Defines if your system has the OpenEXR library])
  287. fi
  288. fi
  289. if test ! "$USE_RPATH" = "yes"; then
  290. OPENEXR_RPATH=
  291. fi
  292. if test -n "$OPENEXR_LIBS"
  293. then
  294. AC_MSG_RESULT([yes])
  295. else
  296. AC_MSG_RESULT([not found])
  297. fi
  298. AC_SUBST(OPENEXR_LIBS)
  299. AC_SUBST(OPENEXR_CFLAGS)
  300. AC_SUBST(OPENEXR_RPATH)
  301. AM_CONDITIONAL(have_openexr, test -n "$OPENEXR_LIBS")
  302. # --- End of OpenEXR check ---
  303. dnl =======================================================
  304. dnl FILE: ./example/configure.in.in
  305. dnl =======================================================
  306. dnl This is here so that example isn't compiled and intalled by default.
  307. dnl Do NOT put this file in your application, if you want it compiled !
  308. DO_NOT_COMPILE="$DO_NOT_COMPILE example"
  309. dnl =======================================================
  310. dnl FILE: ./filters/chalk/configure.in.in
  311. dnl =======================================================
  312. # Check if the tiff lib is available
  313. AC_FIND_TIFF
  314. AM_CONDITIONAL(have_tiff, test -n "$LIBTIFF")
  315. AC_FIND_PNG
  316. AM_CONDITIONAL(have_png, test -n "$LIBPNG")
  317. AC_FIND_JPEG
  318. AM_CONDITIONAL(have_jpeg, test -n "$LIBJPEG")
  319. #---------------------------------------------------------
  320. # libexif detection
  321. # taken from libkexif's configure.in.in
  322. #---------------------------------------------------------
  323. LIBEXIF=no
  324. #PKG_CHECK_MODULES(LIBEXIF, libexif >= 0.5.7, ,
  325. # [ AC_MSG_WARN([libexif >= 0.5.7 not found.])
  326. # LIBEXIF=yes ])
  327. #PKG_CHECK_MODULES(LIBEXIF06, libexif >= 0.6.9,
  328. # AC_DEFINE(HAVE_EXIF06,1,[check for libexif > 0.6]),
  329. # AC_MSG_WARN([Using old version of libexif.]))
  330. PKG_CHECK_MODULES(LIBEXIF, libexif >= 0.6.12 , ,
  331. [ AC_MSG_WARN([libexif >= 0.6.12 not found.])
  332. LIBEXIF=yes ])
  333. AC_SUBST(LIBEXIF_LIBS)
  334. AC_SUBST(LIBEXIF_CFLAGS)
  335. #---------------------------------------------------------
  336. # libexif detection
  337. #---------------------------------------------------------
  338. AC_MSG_CHECKING([if C++ program with exif can be compiled])
  339. AC_LANG_SAVE
  340. AC_LANG_CPLUSPLUS
  341. ac_save_CXXFLAGS="$CXXFLAGS"
  342. CXXFLAGS="$CXXFLAGS $LIBEXIF_CFLAGS"
  343. AC_CACHE_VAL(exif_build,
  344. [
  345. AC_TRY_COMPILE([
  346. extern "C" {
  347. #include <libexif/exif-loader.h>
  348. #include <libexif/exif-utils.h>
  349. }
  350. ],[
  351. ExifLoader *l = exif_loader_new ();
  352. exif_loader_write_file (l,"kikoo");
  353. return 0;
  354. ], exif_build=yes,
  355. exif_build=no)
  356. ])
  357. AC_MSG_RESULT($exif_build)
  358. if test "$exif_build" = "no"; then
  359. LIBEXIF=""
  360. fi
  361. CXXFLAGS="$ac_save_CXXFLAGS"
  362. AC_LANG_RESTORE
  363. AM_CONDITIONAL(have_exif, test -n "$LIBEXIF")
  364. AM_CONDITIONAL(include_jpeg_filter, test -n "$LIBJPEG" -a -n "$LIBEXIF")
  365. AM_CONDITIONAL(include_tiff_filter, test -n "$LIBTIFF" -a -n "$LIBEXIF")
  366. dnl =======================================================
  367. dnl FILE: ./filters/chalk/pdf/configure.in.in
  368. dnl =======================================================
  369. # Compile the pdf import filter only if Poppler is available
  370. PKG_CHECK_MODULES(POPPLER, poppler-qt >= 0.5.1, have_poppler=yes, have_poppler=no)
  371. AM_CONDITIONAL(include_PDF, test "x$have_poppler" = xyes)
  372. dnl =======================================================
  373. dnl FILE: ./filters/kword/msword/configure.in.in
  374. dnl =======================================================
  375. AC_ARG_WITH(libwv2,AC_HELP_STRING([--with-libwv2=DIR],[use libwv2 in DIR]),[
  376. if [ test "x$withval" != "xno" ]; then
  377. if [ test "x$withval" != "xyes" ]; then
  378. WV2_DIR=$withval
  379. fi
  380. search_for_wv2=yes
  381. else
  382. search_for_wv2=no
  383. fi
  384. ],[ search_for_wv2=yes
  385. ])
  386. if [ test $search_for_wv2 != no ]; then
  387. if [ test -n "$WV2_DIR" ]; then
  388. KDE_FIND_PATH(wv2-config, WV2_CONFIG, [$WV2_DIR/bin], [
  389. AC_MSG_WARN([Could not find libwv2, check http://www.sourceforge.net/projects/wvware/])
  390. ])
  391. else
  392. KDE_FIND_PATH(wv2-config, WV2_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [
  393. AC_MSG_WARN([Could not find libwv2 anywhere, check http://www.sourceforge.net/projects/wvware/])
  394. ])
  395. fi
  396. fi
  397. if test -n "$WV2_CONFIG"; then
  398. vers=`$WV2_CONFIG --version 2>/dev/null | $SED -e 's/libwv2 //' | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
  399. if test -n "$vers" && test "$vers" -ge 1009
  400. then
  401. LIBWV2_LIBS="`$WV2_CONFIG --libs`"
  402. LIBWV2_RPATH=
  403. for args in $LIBWV2_LIBS; do
  404. case $args in
  405. -L*)
  406. LIBWV2_RPATH="$LIBWV2_RPATH $args"
  407. ;;
  408. esac
  409. done
  410. LIBWV2_RPATH=`echo $LIBWV2_RPATH | $SED -e "s/-L/-R/g"`
  411. LIBWV2_CFLAGS="`$WV2_CONFIG --cflags`"
  412. AC_DEFINE_UNQUOTED(HAVE_WV2, 1, [Defines if your system has the wv2 library])
  413. else
  414. AC_MSG_WARN([You need at least version 0.1.9 of libwv2])
  415. fi
  416. fi
  417. AC_SUBST(LIBWV2_LIBS)
  418. AC_SUBST(LIBWV2_CFLAGS)
  419. AC_SUBST(LIBWV2_RPATH)
  420. AM_CONDITIONAL(include_wv2_msword_filter, test -n "$LIBWV2_LIBS")
  421. dnl =======================================================
  422. dnl FILE: ./filters/kword/pdf/xpdf/configure.in.in
  423. dnl =======================================================
  424. AC_HEADER_DIRENT
  425. AC_HEADER_STDC
  426. AC_CHECK_FUNCS(rewinddir popen mkstemp)
  427. dnl ##### Check for fseeko/ftello or fseek64/ftell64
  428. dnl The LARGEFILE and FSEEKO macros have to be called in C, not C++, mode.
  429. AC_SYS_LARGEFILE
  430. AC_FUNC_FSEEKO
  431. AC_CHECK_FUNCS(fseek64)
  432. AC_CHECK_FUNCS(ftell64)
  433. dnl ##### Check for libpaper (Debian).
  434. KDE_CHECK_HEADERS(paper.h)
  435. KDE_CHECK_LIB(paper, paperinit, [LIBPAPER="-lpaper"])
  436. AC_SUBST(LIBPAPER)
  437. dnl =======================================================
  438. dnl FILE: ./filters/kword/wordperfect/configure.in.in
  439. dnl =======================================================
  440. KDE_FIND_PATH(pkg-config, PKGCONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [
  441. AC_MSG_WARN([Could not find pkg-config])
  442. ])
  443. if test -n "$PKGCONFIG"; then
  444. vers=`$PKGCONFIG libwpd-0.8 --modversion 2>/dev/null`
  445. if test -n "$vers"
  446. then
  447. LIBWPD_LIBS="`$PKGCONFIG libwpd-0.8 --libs`"
  448. LIBWPD_RPATH=
  449. for args in $LIBWPD_LIBS; do
  450. case $args in
  451. -L*)
  452. LIBWPD_RPATH="$LIBWPD_RPATH $args"
  453. ;;
  454. esac
  455. done
  456. LIBWPD_RPATH=`echo $LIBWPD_RPATH | $SED -e "s/-L/-R/g"`
  457. LIBWPD_CFLAGS="`$PKGCONFIG libwpd-0.8 --cflags`"
  458. AC_DEFINE_UNQUOTED(HAVE_WPD, 1, [Defines if your system has the libwpd library])
  459. fi
  460. fi
  461. AC_SUBST(LIBWPD_LIBS)
  462. AC_SUBST(LIBWPD_CFLAGS)
  463. AC_SUBST(LIBWPD_RPATH)
  464. AM_CONDITIONAL(include_wpd_filter, test -n "$LIBWPD_LIBS")
  465. dnl =======================================================
  466. dnl FILE: ./filters/xsltfilter/configure.in.in
  467. dnl =======================================================
  468. KDE_FIND_PATH(xml2-config, XML_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [
  469. AC_MSG_WARN([Could not find libxml2 anywhere, check ftp://xmlsoft.org/ for libxml >= 2.4.8. (we also keep a version of it in kdesupport for CVS users' convience)])
  470. HELP_SUBDIR=
  471. ])
  472. if test -n "$XML_CONFIG"; then
  473. vers=`$XML_CONFIG --version 2>/dev/null | $SED -e 's/libxml //' | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
  474. if test -n "$vers" && test "$vers" -ge 2004008
  475. then
  476. LIBXML_LIBS="`$XML_CONFIG --libs`"
  477. LIBXML_RPATH=
  478. for args in $LIBXML_LIBS; do
  479. case $args in
  480. -L*)
  481. LIBXML_RPATH="$LIBXML_RPATH $args"
  482. ;;
  483. esac
  484. done
  485. LIBXML_RPATH=`echo $LIBXML_RPATH | $SED -e "s/-L/-R/g"`
  486. LIBXML_CFLAGS="`$XML_CONFIG --cflags`"
  487. KDE_FIND_PATH(xmllint, XMLLINT, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [XMLLINT=""])
  488. AC_DEFINE_UNQUOTED(XMLLINT, "$XMLLINT", [Defines the executable of xmllint])
  489. else
  490. AC_MSG_WARN([You need at least libxml 2.4.8])
  491. HELP_SUBDIR=
  492. fi
  493. fi
  494. KDE_FIND_PATH(xslt-config, XSLT_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [
  495. AC_MSG_WARN([Could not find libxslt anywhere, check ftp://xmlsoft.org/ for libxslt >= 1.0.7. (we also keep a version of it in kdesupport for CVS users' convience)])
  496. HELP_SUBDIR=
  497. ])
  498. if test -n "$XSLT_CONFIG"; then
  499. vers=`$XSLT_CONFIG --version 2>/dev/null | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
  500. if test -n "$vers" && test "$vers" -ge 1000007; then
  501. LIBXSLT_LIBS="`$XSLT_CONFIG --libs`"
  502. LIBXSLT_RPATH=
  503. for args in $LIBXSLT_LIBS; do
  504. case $args in
  505. -L*)
  506. LIBXSLT_RPATH="$LIBXSLT_RPATH $args"
  507. ;;
  508. esac
  509. done
  510. LIBXSLT_RPATH=`echo $LIBXSLT_RPATH | $SED -e "s/-L/-R/g"`
  511. LIBXSLT_CFLAGS="`$XSLT_CONFIG --cflags`"
  512. else
  513. AC_MSG_WARN([You need at least libxslt 1.0.7])
  514. HELP_SUBDIR=
  515. fi
  516. fi
  517. if test ! "$USE_RPATH" = "yes"; then
  518. LIBXSLT_RPATH=
  519. LIBXML_RPATH=
  520. fi
  521. AC_SUBST(LIBXSLT_LIBS)
  522. AC_SUBST(LIBXSLT_CFLAGS)
  523. AC_SUBST(LIBXSLT_RPATH)
  524. AC_SUBST(LIBXML_LIBS)
  525. AC_SUBST(LIBXML_CFLAGS)
  526. AC_SUBST(LIBXML_RPATH)
  527. AM_CONDITIONAL(include_XSLTFILTERS, test -n "$LIBXML_LIBS" -a -n "$LIBXSLT_LIBS")
  528. dnl =======================================================
  529. dnl FILE: ./karbon/configure.in.in
  530. dnl =======================================================
  531. KDE_FIND_PATH(freetype-config, FREETYPE_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [
  532. AC_MSG_WARN([Could not find libfreetype anywhere, check http://www.freetype.org/])
  533. ])
  534. if test -n "$FREETYPE_CONFIG"; then
  535. vers=`$FREETYPE_CONFIG --version 2>/dev/null | $SED -e 's/libfreetype //' | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
  536. if test -n "$vers" && test "$vers" -ge 5000000
  537. then
  538. LIBFREETYPE_LIBS="`$FREETYPE_CONFIG --libs`"
  539. LIBFREETYPE_RPATH=
  540. for args in $LIBFREETYPE_LIBS; do
  541. case $args in
  542. -L*)
  543. LIBFREETYPE_RPATH="$LIBFREETYPE_RPATH $args"
  544. ;;
  545. esac
  546. done
  547. LIBFREETYPE_RPATH=`echo $LIBFREETYPE_RPATH | $SED -e "s/-L/-R/g"`
  548. LIBFREETYPE_CFLAGS="`$FREETYPE_CONFIG --cflags`"
  549. else
  550. AC_MSG_WARN([You need at least libfreetype 5.0])
  551. fi
  552. fi
  553. AC_SUBST(LIBFREETYPE_LIBS)
  554. AC_SUBST(LIBFREETYPE_CFLAGS)
  555. AC_SUBST(LIBFREETYPE_RPATH)
  556. KDE_FIND_PATH(libart2-config, LIBART_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /opt/local/bin], [
  557. AC_MSG_WARN([Could not find libart anywhere, check http://www.levien.com/libart/])
  558. ])
  559. if test -n "$LIBART_CONFIG"; then
  560. vers=`$LIBART_CONFIG --version 2>/dev/null | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
  561. if test -n "$vers" && test "$vers" -ge 2003008
  562. then
  563. LIBART_LIBS="`$LIBART_CONFIG --libs`"
  564. LIBART_RPATH=
  565. for args in $LIBART_LIBS; do
  566. case $args in
  567. -L*)
  568. LIBART_RPATH="$LIBART_RPATH $args"
  569. ;;
  570. esac
  571. done
  572. LIBART_RPATH=`echo $LIBART_RPATH | $SED -e "s/-L/-R/g"`
  573. LIBART_CFLAGS="`$LIBART_CONFIG --cflags`"
  574. AC_DEFINE_UNQUOTED(HAVE_LIBART, 1, [Defines if your system has the libart library])
  575. else
  576. AC_MSG_WARN([You need at least libart 2.3.8])
  577. fi
  578. fi
  579. AC_SUBST(LIBART_LIBS)
  580. AC_SUBST(LIBART_CFLAGS)
  581. AC_SUBST(LIBART_RPATH)
  582. # Check for fontconfig
  583. KDE_FIND_PATH(fontconfig-config, FONTCONFIG_CONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [
  584. KDE_FIND_PATH(pkg-config, PKGCONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [
  585. AC_MSG_WARN([Could not find neither pkg-config nor fontconfig-config, check http://www.fontconfig.org/ ])
  586. ])
  587. ])
  588. if test -n "$PKGCONFIG"; then
  589. vers=`$PKGCONFIG fontconfig --modversion 2>/dev/null | $SED -e 's/libfontconfig //' | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
  590. if test -n "$vers" && test "$vers" -ge 1000001
  591. then
  592. LIBFONTCONFIG_LIBS="`$PKGCONFIG fontconfig --libs`"
  593. LIBFONTCONFIG_RPATH=
  594. for args in $LIBFONTCONFIG_LIBS; do
  595. case $args in
  596. -L*)
  597. LIBFONTCONFIG_RPATH="$LIBFONTCONFIG_RPATH $args"
  598. ;;
  599. esac
  600. done
  601. LIBFONTCONFIG_RPATH=`echo $LIBFONTCONFIG_RPATH | $SED -e "s/-L/-R/g"`
  602. LIBFONTCONFIG_CFLAGS="`$PKGCONFIG fontconfig --cflags`"
  603. AC_DEFINE_UNQUOTED(HAVE_FONTCONFIG, 1, [Defines if your system has the libfontconfig library])
  604. fi
  605. fi
  606. if test -n "$FONTCONFIG_CONFIG"; then
  607. vers=`$FONTCONFIG_CONFIG --version 2>/dev/null | $SED -e 's/libfontconfig //' | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
  608. if test -n "$vers" && test "$vers" -ge 1000001
  609. then
  610. LIBFONTCONFIG_LIBS="`$FONTCONFIG_CONFIG --libs`"
  611. LIBFONTCONFIG_RPATH=
  612. for args in $LIBFONTCONFIG_LIBS; do
  613. case $args in
  614. -L*)
  615. LIBFONTCONFIG_RPATH="$LIBFONTCONFIG_RPATH $args"
  616. ;;
  617. esac
  618. done
  619. LIBFONTCONFIG_RPATH=`echo $LIBFONTCONFIG_RPATH | $SED -e "s/-L/-R/g"`
  620. LIBFONTCONFIG_CFLAGS="`$FONTCONFIG_CONFIG --cflags`"
  621. AC_DEFINE_UNQUOTED(HAVE_FONTCONFIG, 1, [Defines if your system has the libfontconfig library])
  622. fi
  623. fi
  624. AC_SUBST(LIBFONTCONFIG_LIBS)
  625. AC_SUBST(LIBFONTCONFIG_CFLAGS)
  626. AC_SUBST(LIBFONTCONFIG_RPATH)
  627. if test -z "$LIBART_LIBS"; then
  628. DO_NOT_COMPILE="$DO_NOT_COMPILE karbon"
  629. fi
  630. if test -n "$LIBFREETYPE_LIBS" -a -n "$LIBFONTCONFIG_LIBS"; then
  631. AC_DEFINE_UNQUOTED(HAVE_KARBONTEXT, 1, [Defines if your system has the fontconfig and freetype libraries])
  632. fi
  633. dnl =======================================================
  634. dnl FILE: ./kexi/3rdparty/configure.in.in
  635. dnl =======================================================
  636. dnl This is copied from gpsim-0.21.1/acinclude.m4, which was itself
  637. dnl copied from the NcFTP distribution.
  638. dnl Modified by David Faure <faure@kde.org> for kexi's purposes.
  639. dnl
  640. dnl Original author Mike Gleason mgleason@NcFTP.com
  641. dnl
  642. dnl
  643. AC_DEFUN([kexi_LIB_READLINE], [
  644. AC_MSG_CHECKING([for Readline library])
  645. kexi_cv_lib_readline=no
  646. ac_save_LIBS="$LIBS"
  647. # Note: $LIBCURSES is permitted to be empty.
  648. for LIBREADLINE in "-lreadline" "-lreadline $LIBCURSES" "-lreadline -ltermcap" "-lreadline -lncurses" "-lreadline -lcurses"
  649. do
  650. LIBS="$ac_save_LIBS $LIBREADLINE"
  651. AC_TRY_RUN([
  652. /* program */
  653. #include <stdio.h>
  654. #include <stdlib.h>
  655. #include <readline/readline.h>
  656. main(int argc, char **argv)
  657. {
  658. /* Note: don't actually call readline, since it may block;
  659. * We just want to see if it (dynamic) linked in okay.
  660. */
  661. if (argc == 0) /* never true */
  662. readline(0);
  663. exit(0);
  664. }
  665. ],[
  666. # action if true
  667. kexi_cv_lib_readline=yes
  668. ],[
  669. # action if false
  670. kexi_cv_lib_readline=no
  671. ],[
  672. # action if cross compiling
  673. kexi_cv_lib_readline=no
  674. ])
  675. if test "$kexi_cv_lib_readline" = yes ; then break ; fi
  676. done
  677. # restore LIBS
  678. LIBS="$ac_save_LIBS"
  679. if test "$kexi_cv_lib_readline" = no ; then
  680. LIBREADLINE=""
  681. AC_MSG_RESULT("not found - kexisql will not be compiled")
  682. else
  683. AC_MSG_RESULT($LIBREADLINE)
  684. AC_DEFINE(HAVE_READLINE, 1, [define if you have libreadline available])
  685. fi
  686. AM_CONDITIONAL(have_readline, test "$kexi_cv_lib_readline" = "yes")
  687. AC_SUBST(LIBREADLINE)
  688. ])
  689. kexi_LIB_READLINE
  690. dnl =======================================================
  691. dnl FILE: ./kexi/configure.in.in
  692. dnl =======================================================
  693. #KEXI_VERSION=
  694. AC_SUBST(LIB_KEXI_KMDI, '-lkmdi')
  695. AC_SUBST(LIB_KEXI_KMDI_INCLUDES, '')
  696. dnl =======================================================
  697. dnl FILE: ./kexi/kexidb/drivers/configure.in.in
  698. dnl =======================================================
  699. dnl ========================================
  700. dnl checks for MySQL
  701. dnl taken form KDEDB
  702. dnl ========================================
  703. AC_ARG_ENABLE(mysql,
  704. AC_HELP_STRING([--enable-mysql],[build MySQL-plugin [default=yes]]),
  705. mysql_plugin=$enableval, mysql_plugin=yes)
  706. if test "x$mysql_plugin" = "xyes"; then
  707. compile_mysql_plugin="yes"
  708. else
  709. compile_mysql_plugin="no"
  710. fi
  711. AC_ARG_WITH(mysql_includes,
  712. AC_HELP_STRING([--with-mysql-includes=DIR],[use MySQL-includes installed in this directory]),
  713. [
  714. ac_mysql_incdir=$withval
  715. ], ac_mysql_incdir=
  716. )
  717. AC_ARG_WITH(mysql_libraries,
  718. AC_HELP_STRING([--with-mysql-libraries=DIR],[use MySQL-libs installed in this directory ]),
  719. [
  720. ac_mysql_libdir=$withval
  721. ], ac_mysql_libdir=
  722. )
  723. dnl ==============================================
  724. dnl check whether MySQL should be compiled
  725. dnl and where headers and libraries are installed
  726. dnl if present compile mysql-plugin
  727. dnl ==============================================
  728. AC_MSG_CHECKING([for MySQL])
  729. if test "$compile_mysql_plugin" = "yes"; then
  730. if test -n "$ac_mysql_incdir" -o -n "$ac_mysql_libdir"; then
  731. dnl *** Configure arguments for includes or libs given ***
  732. dnl *** and MySQL not explicitly disabled. ***
  733. dnl *** Check that the paths given to configure are valid ***
  734. AC_MSG_CHECKING([for MySQL headers])
  735. mysql_incdirs="$ac_mysql_incdir /usr/local/include /usr/include"
  736. AC_FIND_FILE(mysql/mysql.h, $mysql_incdirs, mysql_incdir)
  737. if test -r $mysql_incdir/mysql/mysql.h; then
  738. MYSQL_INC=$mysql_incdir
  739. AC_MSG_RESULT([$MYSQL_INC])
  740. AC_SUBST(MYSQL_INC)
  741. else
  742. compile_mysql_plugin="no"
  743. AC_MSG_RESULT([not found])
  744. fi
  745. AC_MSG_CHECKING([for MySQL libraries])
  746. mysql_libdirs="$ac_mysql_libdir /usr/local/lib$kdelibsuff /usr/lib$kdelibsuff"
  747. AC_FIND_FILE(mysql/libmysqlclient.so, $mysql_libdirs, mysql_libdir)
  748. if test -r $mysql_libdir/mysql/libmysqlclient.so; then
  749. MYSQL_LIBS=$mysql_libdir
  750. AC_MSG_RESULT([$MYSQL_LIBS])
  751. AC_SUBST(MYSQL_LIBS)
  752. else
  753. compile_mysql_plugin="no"
  754. AC_MSG_RESULT([not found])
  755. fi
  756. else
  757. dnl *** No configure arguments for includes or libs given ***
  758. dnl *** and MySQL not explicitly disabled. ***
  759. KDE_FIND_PATH(mysql_config, MYSQL_CONFIG,
  760. [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /usr/bin ], [
  761. AC_MSG_RESULT([not found])
  762. ])
  763. if test -n "$MYSQL_CONFIG"; then
  764. mysql_incdir=`$MYSQL_CONFIG --cflags| $SED -e "s,-I,,g" | cut -d " " -f 1`
  765. mysql_libdir=`$MYSQL_CONFIG --libs| $SED -e "s,',,g"`
  766. MYSQL_INC=$mysql_incdir
  767. MYSQL_LIBS=$mysql_libdir
  768. AC_SUBST(MYSQL_INC)
  769. AC_SUBST(MYSQL_LIBS)
  770. compile_mypsql_plugin="yes"
  771. AC_MSG_RESULT([headers $mysql_incdir, libraries $mysql_libdir])
  772. else
  773. compile_mysql_plugin="no"
  774. fi
  775. fi
  776. else
  777. dnl *** MySQL plugin explicitly disabled. ***
  778. dnl *** Show that we are doing as requested. ***
  779. AC_MSG_NOTICE([Not attempting to configure MySQL as requested])
  780. fi
  781. AM_CONDITIONAL(compile_mysql_plugin, test "$compile_mysql_plugin" = "yes")
  782. dnl ========================================
  783. dnl Checks for PostgreSQL
  784. dnl ========================================
  785. dnl ========================================
  786. dnl libpq
  787. dnl Add configure-args
  788. dnl ========================================
  789. dnl Assume we're building until something fails, unless explicitly disabled
  790. AC_ARG_ENABLE(pgsql,
  791. AC_HELP_STRING([--enable-pgsql],[build PostgreSQL-plugin [default=yes]]),
  792. pgsql_plugin=$enableval, pgsql_plugin=yes)
  793. if test "x$pgsql_plugin" = "xyes"; then
  794. compile_pgsql_plugin="yes"
  795. else
  796. compile_pgsql_plugin="no"
  797. fi
  798. AC_ARG_WITH(pgsql-includes,
  799. AC_HELP_STRING([--with-pgsql-includes=DIR],[use PostgreSQL(libpq)-includes installed in this directory ]),
  800. [
  801. ac_pgsql_incdir=$withval
  802. ], ac_pgsql_incdir=
  803. )
  804. AC_ARG_WITH(pgsql-libraries,
  805. AC_HELP_STRING([--with-pgsql-libraries=DIR],[use PostgreSQL(libpq)-libraries installed in this directory ]),
  806. [
  807. ac_pgsql_libdir=$withval
  808. ], ac_pgsql_libdir=
  809. )
  810. dnl ========================================
  811. dnl header/library directories
  812. dnl ========================================
  813. if test "$compile_pgsql_plugin" = "yes"; then
  814. if test -n "$ac_pgsql_incdir" -o -n "$ac_pgsql_libdir"; then
  815. dnl *** Configure arguments for includes or libs given ***
  816. dnl *** and PostgreSQL not explicitly disabled. ***
  817. dnl *** Check that the paths given to configure are valid ***
  818. AC_MSG_CHECKING([for PostgreSQL C API headers])
  819. pgsql_incdirs="$ac_pgsql_incdir /usr/local/include /usr/include"
  820. AC_FIND_FILE(libpq-fe.h, $pgsql_incdirs, pgsql_incdir)
  821. if test -r $pgsql_incdir/libpq-fe.h; then
  822. PG_INCDIR=$pgsql_incdir
  823. AC_MSG_RESULT([$PG_INCDIR])
  824. AC_SUBST(PG_INCDIR)
  825. else
  826. compile_pgsql_plugin="no"
  827. AC_MSG_RESULT([not found])
  828. fi
  829. AC_MSG_CHECKING([for PostgreSQL C API libraries])
  830. pgsql_libdirs="$ac_pgsql_libdir /usr/local/lib$kdelibsuff /usr/lib$kdelibsuff"
  831. AC_FIND_FILE(libpq.so, $pgsql_libdirs, pgsql_libdir)
  832. if test -r $pgsql_libdir/libpq.so; then
  833. PG_LIBDIR=$pgsql_libdir
  834. AC_MSG_RESULT([$PG_LIBDIR])
  835. AC_SUBST(PG_LIBDIR)
  836. else
  837. compile_pgsql_plugin="no"
  838. AC_MSG_RESULT([not found])
  839. fi
  840. else
  841. dnl *** No configure arguments for includes or libs given ***
  842. dnl *** and PostgreSQL not explicitly disabled. ***
  843. KDE_FIND_PATH(pg_config, PG_CONFIG,
  844. [${prefix}/bin ${exec_prefix}/bin /usr/local/bin /usr/bin ], [
  845. AC_MSG_RESULT([not found])
  846. ])
  847. if test -n "$PG_CONFIG"; then
  848. pgsql_incdir=`$PG_CONFIG --includedir`
  849. pgsql_libdir=`$PG_CONFIG --libdir`
  850. PG_INCDIR=$pgsql_incdir
  851. PG_LIBDIR=$pgsql_libdir
  852. AC_SUBST(PG_LIBDIR)
  853. compile_pgsql_plugin="yes"
  854. AC_MSG_RESULT([headers $pgsql_incdir, libraries $pgsql_libdir])
  855. else
  856. compile_pgsql_plugin="no"
  857. fi
  858. fi
  859. else
  860. dnl *** PostgreSQL plugin explicitly disabled. ***
  861. dnl *** Show that we are doing as requested. ***
  862. AC_MSG_NOTICE([Not attempting to configure PostgreSQL as requested])
  863. fi
  864. AM_CONDITIONAL(compile_pgsql_plugin, test "$compile_pgsql_plugin" = "yes")
  865. dnl ========================================
  866. dnl libpqxx checks
  867. dnl ========================================
  868. AC_ARG_WITH(pqxx-includes,
  869. AC_HELP_STRING([--with-pqxx-includes=DIR],[use PostgreSQL(libpqxx)-includes installed in this directory ]),
  870. [
  871. ac_pqxx_incdir=$withval
  872. ], ac_pqxx_incdir=
  873. )
  874. AC_ARG_WITH(pqxx-libraries,
  875. AC_HELP_STRING([--with-pqxx-libraries=DIR],[use PostgreSQL(libpqxx)-libraries installed in this directory ]),
  876. [
  877. ac_pqxx_libdir=$withval
  878. ], ac_pqxx_libdir=
  879. )
  880. dnl ========================================
  881. dnl libpqxx headers
  882. dnl ========================================
  883. if test "$compile_pgsql_plugin" = "yes"; then
  884. AC_MSG_CHECKING([for PostgreSQL C++ includes])
  885. pqxx_incdirs="$ac_pqxx_incdir /usr/local/include /usr/include"
  886. AC_FIND_FILE(pqxx/pqxx, $pqxx_incdirs, pqxx_incdir)
  887. if test -r $pqxx_incdir/pqxx/pqxx; then
  888. PQXX_INCDIR=$pqxx_incdir
  889. AC_MSG_RESULT([$PQXX_INCDIR])
  890. AC_SUBST(PQXX_INCDIR)
  891. else
  892. compile_pgsql_plugin="no"
  893. AC_MSG_RESULT([not found])
  894. fi
  895. fi
  896. dnl ========================================
  897. dnl libpqxx libraries
  898. dnl ========================================
  899. if test "$compile_pgsql_plugin" = "yes"; then
  900. AC_MSG_CHECKING([for PostgreSQL C++ libraries])
  901. pqxx_libdirs="$ac_pqxx_libdir /usr/local/lib$kdelibsuff /usr/lib$kdelibsuff"
  902. AC_FIND_FILE(libpqxx.so, $pqxx_libdirs, pqxx_libdir)
  903. if test -r $pqxx_libdir/libpqxx.so; then
  904. PQXX_LIBDIR=$pqxx_libdir
  905. AC_MSG_RESULT([$PQXX_LIBDIR])
  906. AC_SUBST(PQXX_LIBDIR)
  907. else
  908. compile_pgsql_plugin="no"
  909. AC_MSG_RESULT([not found])
  910. fi
  911. fi
  912. AM_CONDITIONAL(compile_pgsql_plugin, test "$compile_pgsql_plugin" = "yes")
  913. dnl =======================================================
  914. dnl FILE: ./kexi/main/configure.in.in
  915. dnl =======================================================
  916. dnl ======================================
  917. dnl KNewStuff Configuration
  918. dnl ======================================
  919. dnl
  920. dnl Copyright (C) 2004 Josef Spillner <spillner@kde.org>
  921. dnl This file is to be used within KDE's build system.
  922. dnl It defines $(LIB_KNEWSTUFF) if knewstuff has been found,
  923. dnl and a HAVE_KNEWSTUFF #define statement is added.
  924. dnl
  925. AC_MSG_CHECKING([for KDE library: knewstuff])
  926. ac_knewstuff_includes=NO ac_knewstuff_libraries=NO
  927. knewstuff_libraries=""
  928. knewstuff_includes=""
  929. AC_CACHE_VAL(ac_cv_have_knewstuff,
  930. [
  931. AC_FIND_FILE(knewstuff/downloaddialog.h, $kde_incdirs, knewstuff_incdir)
  932. ac_knewstuff_includes="$knewstuff_incdir"
  933. AC_FIND_FILE(libknewstuff.so, $kde_libdirs, knewstuff_libdir)
  934. ac_knewstuff_libraries="$knewstuff_libdir"
  935. if test "$ac_knewstuff_includes" = NO || test "$ac_knewstuff_libraries" = NO; then
  936. ac_cv_have_knewstuff="have_knewstuff=no"
  937. ac_knewstuff_notfound=""
  938. else
  939. have_knewstuff="yes"
  940. fi
  941. ])
  942. eval "$ac_cv_have_knewstuff"
  943. if test "$have_knewstuff" != yes; then
  944. AC_MSG_RESULT([$have_knewstuff])
  945. else
  946. AC_MSG_RESULT([$have_knewstuff (libraries $ac_knewstuff_libraries, headers $ac_knewstuff_includes)])
  947. dnl AC_DEFINE_UNQUOTED(HAVE_KNEWSTUFF, 1, [Add KNewStuff functionality.])
  948. CXXFLAGS="$CXXFLAGS -DHAVE_KNEWSTUFF"
  949. LIB_KNEWSTUFF='-lknewstuff'
  950. AC_SUBST(LIB_KNEWSTUFF)
  951. fi
  952. AC_CHECK_FILE([kexi/3rdparty/kexifeedbackwizard/lib/kexifeedbackwizard.cpp],
  953. have_internal_feedback="yes"
  954. ,
  955. have_internal_feedback="no"
  956. )
  957. AC_MSG_CHECKING([for KDE library: kfeedbackwizard])
  958. ac_kfeedback_includes=NO ac_kfeedback_libraries=NO
  959. kfeedback_libraries=""
  960. kfeedback_includes=""
  961. AC_CACHE_VAL(ac_cv_have_kfeedback,
  962. [
  963. AC_FIND_FILE(kfeedbackwizard.h, $kde_incdirs, kfeedback_incdir)
  964. ac_kfeedback_includes="$kfeedback_incdir"
  965. AC_FIND_FILE(libkfeedbackwizard.so, $kde_libdirs, kfeedback_libdir)
  966. ac_kfeedback_libraries="$kfeedback_libdir"
  967. if test "$ac_kfeedback_includes" = NO || test "$ac_kfeedback_libraries" = NO; then
  968. ac_cv_have_kfeedback="have_kfeedback=no"
  969. ac_kfeedback_notfound=""
  970. else
  971. have_kfeedback="yes"
  972. fi
  973. ])
  974. eval "$ac_cv_have_kfeedback"
  975. INC_KFEEDBACK=''
  976. LIB_KFEEDBACK=''
  977. if test "$have_kfeedback" != yes; then
  978. if test "$have_internal_feedback" = yes; then
  979. CXXFLAGS="$CXXFLAGS -DFEEDBACK_CLASS=KexiFeedbackWizard -DFEEDBACK_INCLUDE=\"<kexifeedbackwizard.h>\""
  980. use_kexifb="yes"
  981. AC_MSG_RESULT([using internal])
  982. INC_KFEEDBACK='-I../3rdparty/kexifeedbackwizard/lib'
  983. LIB_KFEEDBACK='../3rdparty/kexifeedbackwizard/lib/libkexifeedbackwizard.la'
  984. else
  985. use_kexifb="no"
  986. AC_MSG_RESULT([dont use])
  987. fi
  988. else
  989. use_kexifb="no"
  990. AC_MSG_RESULT([$have_kfeedback (libraries $ac_kfeedback_libraries, headers $ac_kfeedback_includes)])
  991. dnl AC_DEFINE_UNQUOTED(HAVE_KFEEDBACK, 1, [Add KNewStuff functionality.])
  992. CXXFLAGS="$CXXFLAGS -DFEEDBACK_CLASS=KFeedbackWizard -DFEEDBACK_INCLUDE=\"<kfeedbackwizard.h>\""
  993. LIB_KFEEDBACK='-lkfeedbackwizard'
  994. fi
  995. AC_SUBST(LIB_KFEEDBACK)
  996. AC_SUBST(INC_KFEEDBACK)
  997. AM_CONDITIONAL(use_kexifeedback, test "$use_kexifb" = "yes")
  998. dnl =======================================================
  999. dnl FILE: ./kexi/migration/configure.in.in
  1000. dnl =======================================================
  1001. # KexiMDB isn't built as part of Kexi right now.
  1002. #AC_ARG_ENABLE(keximdb,
  1003. # AC_HELP_STRING([--enable-keximdb],
  1004. # [build KexiMDB (MS Access) plugin [default=no]]),
  1005. # compile_keximdb_plugin=$enableval, compile_keximdb_plugin=no)
  1006. #
  1007. #AM_CONDITIONAL(compile_keximdb_plugin, test "x$compile_keximdb_plugin" != "xno")
  1008. dnl =======================================================
  1009. dnl FILE: ./kexi/plugins/configure.in.in
  1010. dnl =======================================================
  1011. # disabled
  1012. #AC_ARG_ENABLE(kexi-reports,
  1013. # AC_HELP_STRING([--enable-kexi-reports],
  1014. # [build Kexi reports plugin (EXPERIMENTAL) [default=no]]),
  1015. # compile_kexi_reports_plugin=$enableval, compile_kexi_reports_plugin=no)
  1016. #AM_CONDITIONAL(compile_kexi_reports_plugin, test "x$compile_kexi_reports_plugin" != "xno")
  1017. #
  1018. #if test "$compile_kexi_reports_plugin" == "yes"; then
  1019. # AC_DEFINE(KEXI_REPORTS_SUPPORT, 1, [build Kexi reports plugin])
  1020. #fi
  1021. AC_ARG_ENABLE(kexi-macros,
  1022. AC_HELP_STRING([--enable-kexi-macros],
  1023. [build Kexi macro plugin (EXPERIMENTAL) [default=yes]]),
  1024. compile_kexi_macros_plugin=$enableval, compile_kexi_macros_plugin=no)
  1025. AM_CONDITIONAL(compile_kexi_macros_plugin, test "x$compile_kexi_macros_plugin" == "xyes")
  1026. if test "$compile_kexi_macros_plugin" == "yes"; then
  1027. AC_DEFINE(KEXI_MACROS_SUPPORT, 1, [build Kexi macros plugin])
  1028. fi
  1029. dnl =======================================================
  1030. dnl FILE: ./kexi/plugins/macros/configure.in.in
  1031. dnl =======================================================
  1032. # Check for kunittest
  1033. AC_MSG_CHECKING([for kunittest])
  1034. # First we check if the console unittester could be compiled
  1035. have_kunittest_header="no"
  1036. KDE_CHECK_HEADER(kunittest/tester.h, have_kunittest_header="yes", , )
  1037. AM_CONDITIONAL(include_kunittest, test "$have_kunittest_header" = "yes")
  1038. # Second we check if the GUI-unittester could be compiled
  1039. have_kunittestgui_header="no"
  1040. KDE_CHECK_HEADER(kunittest/runnergui.h, have_kunittestgui_header="yes", , )
  1041. AM_CONDITIONAL(include_kunittestgui, test "$have_kunittestgui_header" = "yes")
  1042. dnl =======================================================
  1043. dnl FILE: ./kivio/configure.in.in
  1044. dnl =======================================================
  1045. dnl Do we have Python?
  1046. KDE_CHECK_PYTHON
  1047. dnl =======================================================
  1048. dnl FILE: ./kpresenter/configure.in.in
  1049. dnl =======================================================
  1050. AC_HAVE_DPMS()
  1051. dnl =======================================================
  1052. dnl FILE: ./chalk/configure.in.in
  1053. dnl =======================================================
  1054. KDE_CHECK_LIB(Xi, XOpenDisplay, [
  1055. LIB_XINPUTEXT="-lXi"
  1056. AC_DEFINE(HAVE_XINPUTEXT, 1, [Define if you have the X11 Input Extension])
  1057. ])
  1058. AC_SUBST(LIB_XINPUTEXT)
  1059. # Check for lcms
  1060. AC_MSG_CHECKING([for lcms >= 1.15])
  1061. have_lcms_header='no'
  1062. KDE_CHECK_HEADER(lcms/lcms.h,have_lcms_header='yes',,)
  1063. if test "$have_lcms_header" = 'yes'
  1064. then
  1065. AC_DEFINE(LCMS_HEADER, <lcms/lcms.h>, [The correct header])
  1066. HAVELCMS="yes"
  1067. LCMS_LIBS="-llcms"
  1068. echo "#include <lcms/lcms.h>" > conftest.$ac_ext
  1069. echo "#if LCMS_VERSION < 115" >> conftest.$ac_ext
  1070. echo "#error Need lcms >= 1.15" >> conftest.$ac_ext
  1071. echo "#endif" >> conftest.$ac_ext
  1072. echo "int main() {}" >> conftest.$ac_ext
  1073. else
  1074. # Alternative! Debian does it this way...
  1075. KDE_CHECK_HEADER(lcms.h,have_lcms_header='yes',,)
  1076. if test "$have_lcms_header" = 'yes'
  1077. then
  1078. AC_DEFINE(LCMS_HEADER, <lcms.h>, [The correct header])
  1079. HAVELCMS="yes"
  1080. LCMS_LIBS="-llcms"
  1081. echo "#include <lcms.h>" > conftest.$ac_ext
  1082. echo "#if LCMS_VERSION < 115" >> conftest.$ac_ext
  1083. echo "#error Need lcms >= 1.15" >> conftest.$ac_ext
  1084. echo "#endif" >> conftest.$ac_ext
  1085. echo "int main() {}" >> conftest.$ac_ext
  1086. else
  1087. KDE_CHECK_HEADER(lcms.h,have_lcms_header='yes',,)
  1088. # and now debian also does it this way... can't they decide for one way of doing stuff ?
  1089. AC_DEFINE(LCMS_HEADER, <liblcms1/lcms.h>, [The correct header])
  1090. HAVELCMS="yes"
  1091. LCMS_LIBS="-llcms"
  1092. echo "#include <liblcms1/lcms.h>" > conftest.$ac_ext
  1093. echo "#if LCMS_VERSION < 115" >> conftest.$ac_ext
  1094. echo "#error Need lcms >= 1.15" >> conftest.$ac_ext
  1095. echo "#endif" >> conftest.$ac_ext
  1096. echo "int main() {}" >> conftest.$ac_ext
  1097. fi
  1098. fi
  1099. AC_SUBST(LCMS_LIBS)
  1100. # IM 6.1.3 changed the number of arguments to GetMagickInfoList
  1101. AC_MSG_CHECKING(if GetMagickInfoList has only 2 arguments)
  1102. CPPFLAGS_TMP="$CPPFLAGS" # Save preprocessor flags
  1103. CPPFLAGS="$LIBMAGICK_CPPFLAGS"
  1104. AC_TRY_COMPILE(
  1105. [#include <stdio.h>
  1106. #if HAVE_SYS_TYPES_H
  1107. #include <sys/types.h>
  1108. #endif
  1109. #include "magick/api.h"],
  1110. [const char *pattern; unsigned long ncolors; (void)GetMagickInfoList(pattern, &ncolors)],
  1111. magick_info_list='yes',
  1112. magick_info_list='no')
  1113. CPPFLAGS="$CPPFLAGS_TMP" # Restore preprocessor flags
  1114. if test "$magick_info_list" = 'yes'; then
  1115. AC_MSG_RESULT(yes)
  1116. AC_DEFINE([HAVE_OLD_GETMAGICKINFOLIST], 1, [GetMagickInfoList has different number of arguments with versions >= 6.1.3])
  1117. else
  1118. AC_MSG_RESULT(no)
  1119. fi
  1120. # Check for kunittest
  1121. AC_MSG_CHECKING([for kunittest])
  1122. have_kunittest_header="no"
  1123. KDE_CHECK_HEADER(kunittest/tester.h, have_kunittest_header="yes", , )
  1124. AM_CONDITIONAL(include_kunittest_tests, test "$have_kunittest_header" = "yes")
  1125. # --- OpenGL check ---
  1126. AC_HAVE_GL( [], [] )
  1127. # --- End of OpenGL check ---
  1128. # Check for powf.
  1129. AC_CHECK_FUNC(powf, [have_powf="yes"], [AC_CHECK_LIB(m, powf, [have_powf="yes"], [have_powf="no"])])
  1130. if test "$have_powf" = 'yes'; then
  1131. AC_DEFINE([HAVE_POWF], 1, [Define to 1 if your system has powf in <maths.h>])
  1132. fi\
  1133. dnl =======================================================
  1134. dnl FILE: ./chalk/plugins/configure.in.in
  1135. dnl =======================================================
  1136. KDE_CHECK_HEADER(kjsembed/jsproxy_imp.h, have_kjsembed=yes, have_kjsembed=no)
  1137. AM_CONDITIONAL(use_kjsembed, test x$have_kjsembed = xyes)
  1138. dnl =======================================================
  1139. dnl FILE: ./chalk/plugins/viewplugins/imagesize/configure.in.in
  1140. dnl =======================================================
  1141. AC_CHECK_DECLS([round], [], [], [#include <math.h>])
  1142. dnl =======================================================
  1143. dnl FILE: ./kspread/plugins/calculator/configure.in.in
  1144. dnl =======================================================
  1145. AC_CHECK_HEADERS(ieeefp.h)
  1146. AC_CHECK_FUNCS(fabsl)
  1147. AC_DEFUN([KDE_C_LONG_DOUBLE],
  1148. [
  1149. AC_CACHE_CHECK(for long double, ac_cv_c_long_double,
  1150. [
  1151. AC_TRY_RUN(
  1152. [
  1153. #include <stdio.h>
  1154. #include <stdlib.h>
  1155. #include <string.h>
  1156. #include <math.h>
  1157. int main() {
  1158. /* The Stardent Vistra knows sizeof(long double), but does not support it. */
  1159. long double foo = 1.0;
  1160. char buffer[10];
  1161. /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
  1162. int result = (sizeof(long double) < sizeof(double));
  1163. /* the following is needed for a broken printf in glibc2 */
  1164. if (!result) {
  1165. foo = foo * 3;
  1166. sprintf(buffer,"%0.0Lf",foo);
  1167. result = strcmp(buffer, "3");
  1168. /* and now something mean ;-) */
  1169. foo = powl(fabsl(foo), 1);
  1170. }
  1171. exit(result); }
  1172. ],
  1173. ac_cv_c_long_double=yes, ac_cv_c_long_double=no,
  1174. ac_cv_c_long_double=no
  1175. )
  1176. ])
  1177. if test $ac_cv_c_long_double = yes; then
  1178. AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have support for long double in printf])
  1179. fi
  1180. ])
  1181. KDE_C_LONG_DOUBLE
  1182. AC_LANG_C
  1183. KDE_CHECK_LIB(m, isinf, [
  1184. AC_DEFINE_UNQUOTED(HAVE_FUNC_ISINF, 1, [Define if you have isinf])
  1185. ])
  1186. dnl =======================================================
  1187. dnl FILE: ./kword/mailmerge/configure.in.in
  1188. dnl =======================================================
  1189. dnl only compile the sql plugin if qt was compiled with sql support
  1190. AC_MSG_CHECKING([for SQL support in QT])
  1191. LIBS_SAVE_KWSL="$LIBS"
  1192. CXXFLAGS_SAVE_KWSL="$CXXFLAGS"
  1193. CFLAGS_SAVE_KWSL="$CFLAGS"
  1194. AC_LANG_SAVE
  1195. AC_LANG_CPLUSPLUS
  1196. LIBS="$all_libraries -lqimgio -lpng -lz $LIBJPEG $LIBQT"
  1197. CXXFLAGS="$CXXFLAGS -I$qt_includes $all_includes"
  1198. AC_TRY_COMPILE([
  1199. #include <qglobal.h>
  1200. ],
  1201. [
  1202. #ifdef QT_NO_SQL
  1203. #error "No QT-SQL support"
  1204. #endif
  1205. ],
  1206. ac_trycompile_kwsl_qtsql=yes,
  1207. ac_trycompile_kwsl_qtsql=no)
  1208. CXXFLAGS="$CXXFLAGS_SAVE_KWSL"
  1209. LIBS="$LIBS_SAVE_KWSL"
  1210. AC_LANG_RESTORE
  1211. if eval "test \"`echo $ac_trycompile_kwsl_qtsql`\" = yes"; then
  1212. SQLDIR=sql
  1213. AC_SUBST(SQLDIR)
  1214. AC_MSG_RESULT([QT supports SQL - compile qtsqlmailmerge])
  1215. else
  1216. SQLDIR=
  1217. AC_SUBST(SQLDIR)
  1218. AC_MSG_RESULT([QT supports SQL -- qtsqlmailmerge will not be built])
  1219. fi
  1220. AM_CONDITIONAL(include_sql, test -n "$SQLDIR")
  1221. dnl =======================================================
  1222. dnl FILE: ./lib/configure.in.in
  1223. dnl =======================================================
  1224. AC_SUBST(KWMF_INCLUDES, '-I$(top_srcdir)/lib/kwmf -I$(top_builddir)/lib/kwmf')
  1225. AC_SUBST(KSTORE_INCLUDES, '-I$(top_srcdir)/lib/store -I$(top_builddir)/lib/store')
  1226. AC_SUBST(KOTEXT_INCLUDES, '-I$(top_srcdir)/lib/kotext -I$(top_builddir)/lib/kotext')
  1227. AC_SUBST(KOPAINTER_INCLUDES, '-I$(top_srcdir)/lib/kopainter -I$(top_builddir)/lib/kopainter')
  1228. AC_SUBST(KOPALETTE_INCLUDES, '-I$(top_srcdir)/lib/kopalette -I$(top_builddir)/lib/kopalette')
  1229. AC_SUBST(KOFFICECORE_INCLUDES, '-I$(top_srcdir)/lib/kofficecore -I$(top_builddir)/lib/kofficecore')
  1230. AC_SUBST(KOFFICEUI_INCLUDES, '-I$(top_srcdir)/lib/kofficeui -I$(top_builddir)/lib/kofficeui')
  1231. AC_SUBST(KFORMULA_INCLUDES, '-I$(top_srcdir)/lib/kformula -I$(top_builddir)/lib/kformula')
  1232. dnl those are included with e.g. <koproperty/set.h>
  1233. AC_SUBST(KOPROPERTY_INCLUDES, '-I$(top_srcdir)/lib -I$(top_builddir)/lib')
  1234. AC_SUBST(KROSS_INCLUDES, '-I$(top_srcdir)/lib/kross -I$(top_builddir)/lib/kross')
  1235. AC_SUBST(LIB_KOFFICEUI, '$(top_builddir)/lib/kofficeui/libkofficeui.la')
  1236. AC_SUBST(LIB_KOFFICECORE, '$(top_builddir)/lib/kofficecore/libkofficecore.la')
  1237. AC_SUBST(LIB_KSTORE, '$(top_builddir)/lib/store/libkstore.la')
  1238. AC_SUBST(LIB_KOTEXT, '$(top_builddir)/lib/kotext/libkotext.la')
  1239. AC_SUBST(LIB_KOPAINTER, '$(top_builddir)/lib/kopainter/libkopainter.la')
  1240. AC_SUBST(LIB_KOPALETTE, '$(top_builddir)/lib/kopalette/libkopalette.la')
  1241. AC_SUBST(LIB_KWMF, '$(top_builddir)/lib/kwmf/libkwmf.la')
  1242. AC_SUBST(LIB_KOWMF, '$(top_builddir)/lib/kwmf/libkowmf.la')
  1243. AC_SUBST(LIB_KFORMULA, '$(top_builddir)/lib/kformula/libkformulalib.la')
  1244. AC_SUBST(LIB_KOPROPERTY, '$(top_builddir)/lib/koproperty/libkoproperty.la')
  1245. AC_SUBST(LIB_KROSS_API, '$(top_builddir)/lib/kross/api/libkrossapi.la')
  1246. AC_SUBST(LIB_KROSS_MAIN, '$(top_builddir)/lib/kross/main/libkrossmain.la')
  1247. AC_SUBST(interfacedir, '$(top_srcdir)/lib/interfaces')
  1248. AC_SUBST(KOFFICE_LIBS, '$(LIB_KOFFICEUI) $(LIB_KOFFICECORE) $(LIB_KSTORE)')
  1249. AC_SUBST(KOFFICE_INCLUDES, '$(KOFFICEUI_INCLUDES) $(KOFFICECORE_INCLUDES) $(KSTORE_INCLUDES) $(KWMF_INCLUDES) $(KOPALETTE_INCLUDES)')
  1250. AC_DEFINE_UNQUOTED(PREFIX,"$prefix",[Define the PREFIX where to install this package])
  1251. dnl =======================================================
  1252. dnl FILE: ./lib/kotext/configure.in.in
  1253. dnl =======================================================
  1254. AC_LANG_SAVE
  1255. AC_LANG_C
  1256. dnl Check for aspell library
  1257. KDE_CHECK_HEADERS([kspell2/broker.h])
  1258. if test "x$ac_cv_header_kspell2_broker_h" = "xyes"; then
  1259. dnl the header and the lib exist -> ok
  1260. dnl this is for config.h
  1261. AC_DEFINE(HAVE_LIBKSPELL2, 1, [If we are going to use libkspell2 for spell-checking])
  1262. LIBKSPELL2="-lkspell2"
  1263. AC_MSG_RESULT([found in $ac_kspell2_includes])
  1264. else
  1265. LIBKSPELL2=""
  1266. AC_MSG_RESULT([not found -- spell-checking will be disabled])
  1267. fi
  1268. AC_SUBST(LIBKSPELL2)
  1269. AC_LANG_RESTORE
  1270. dnl =======================================================
  1271. dnl FILE: ./lib/kross/configure.in.in
  1272. dnl =======================================================
  1273. AC_ARG_ENABLE(scripting,
  1274. AC_HELP_STRING([--enable-scripting],
  1275. [build scripting library (Kross) [default=yes]]),
  1276. compile_kross=$enableval, compile_kross=yes)
  1277. AM_CONDITIONAL(compile_kross, test "x$compile_kross" = "xyes")
  1278. ###############################
  1279. # Check if Python is installed.
  1280. if test "x$compile_kross" = "xyes" ; then
  1281. #KDE_CHECK_PYTHON(2.3)
  1282. KDE_CHECK_PYTHON
  1283. fi
  1284. # Compile the Kross python plugin only if both, $LIBPYTHON and
  1285. # $PYTHONINC, are defined.
  1286. AM_CONDITIONAL(compile_kross_python,
  1287. test -n "$LIBPYTHON" && test -n "$PYTHONINC")
  1288. ###############################
  1289. # Check for Ruby
  1290. if test "x$compile_kross" = "xyes" ; then
  1291. AC_CHECK_PROGS([RUBY], [ruby ruby1.8 ruby18], ruby)
  1292. if test -n "$RUBY"; then
  1293. AC_MSG_CHECKING(for Ruby dirs)
  1294. RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'`
  1295. RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'`
  1296. RUBY_SITEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitelibdir"@:>@)'`
  1297. RUBY_INCLUDEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubyincludedir"@:>@)'`
  1298. RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"libdir"@:>@)'`
  1299. RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
  1300. RUBY_ENABLESHARED=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"ENABLE_SHARED"@:>@)'`
  1301. AC_MSG_RESULT([
  1302. archdir $RUBY_ARCHDIR,
  1303. sitearchdir $RUBY_SITEARCHDIR,
  1304. sitedir $RUBY_SITEDIR,
  1305. includedir $RUBY_INCLUDEDIR,
  1306. libdir $RUBY_LIBDIR,
  1307. librubyarg $RUBY_LIBRUBYARG,
  1308. rubysharedenabled $RUBY_ENABLESHARED])
  1309. AC_SUBST(RUBY_ARCHDIR)
  1310. AC_SUBST(RUBY_SITEARCHDIR)
  1311. AC_SUBST(RUBY_SITEDIR)
  1312. AC_SUBST(RUBY_INCLUDEDIR)
  1313. AC_SUBST(RUBY_LIBDIR)
  1314. AC_SUBST(RUBY_LIBRUBYARG)
  1315. AC_SUBST(RUBY_ENABLESHARED)
  1316. AC_MSG_CHECKING(for Ruby header)
  1317. if test ! -r $RUBY_INCLUDEDIR/ruby.h; then
  1318. # if $RUBY_INCLUDEDIR is not valid try to use $RUBY_ARCHDIR
  1319. RUBY_INCLUDEDIR=$RUBY_ARCHDIR
  1320. fi
  1321. if test ! -r $RUBY_INCLUDEDIR/ruby.h; then
  1322. RUBY_LIBDIR=""
  1323. AC_MSG_RESULT([not found])
  1324. else
  1325. AC_MSG_RESULT([found]) # header
  1326. AC_MSG_CHECKING(Ruby shared library)
  1327. if test "x$RUBY_ENABLESHARED" != "xyes" ; then
  1328. AC_MSG_RESULT([shared library not found])
  1329. RUBY_LIBDIR=""
  1330. else
  1331. if test -z "$RUBY_LIBRUBYARG" ; then
  1332. AC_MSG_RESULT([link argument not found])
  1333. RUBY_LIBDIR=""
  1334. else
  1335. AC_MSG_RESULT([found]) # shared library link arg
  1336. AC_MSG_CHECKING([if C++ program with ruby can be compiled])
  1337. AC_LANG_SAVE
  1338. AC_LANG_CPLUSPLUS
  1339. ac_save_CXXFLAGS="$CXXFLAGS"
  1340. CXXFLAGS="$CXXFLAGS -I$RUBY_INCLUDEDIR"
  1341. AC_CACHE_VAL(ruby_build,
  1342. [
  1343. AC_TRY_COMPILE([
  1344. #include <ruby.h>
  1345. #include <version.h>
  1346. ],[
  1347. #if(RUBY_VERSION_MAJOR==1 && RUBY_VERSION_MINOR == 8 && RUBY_VERSION_TEENY <= 1)
  1348. #error "need at least ruby 1.8.2\n"
  1349. #endif
  1350. ruby_init();
  1351. return 0;
  1352. ], ruby_build=yes,
  1353. ruby_build=no)
  1354. ])
  1355. AC_MSG_RESULT($ruby_build)
  1356. if test "$ruby_build" = "no"; then
  1357. RUBY_LIBDIR=""
  1358. fi
  1359. CXXFLAGS="$ac_save_CXXFLAGS"
  1360. AC_LANG_RESTORE
  1361. fi # have ruby shared lib argument
  1362. fi # have shared lib
  1363. fi # have ruby header
  1364. fi # have ruby
  1365. fi # compiling kross
  1366. AM_CONDITIONAL(compile_kross_ruby, test -n "$RUBY_LIBDIR")
  1367. KDE_CREATE_SUBDIRSLIST
  1368. AM_CONDITIONAL(lib_SUBDIR_included, test "x$lib_SUBDIR_included" = xyes)
  1369. AM_CONDITIONAL(interfaces_SUBDIR_included, test "x$interfaces_SUBDIR_included" = xyes)
  1370. AM_CONDITIONAL(autocorrect_SUBDIR_included, test "x$autocorrect_SUBDIR_included" = xyes)
  1371. AM_CONDITIONAL(doc_SUBDIR_included, test "x$doc_SUBDIR_included" = xyes)
  1372. AM_CONDITIONAL(example_SUBDIR_included, test "x$example_SUBDIR_included" = xyes)
  1373. AM_CONDITIONAL(karbon_SUBDIR_included, test "x$karbon_SUBDIR_included" = xyes)
  1374. AM_CONDITIONAL(kchart_SUBDIR_included, test "x$kchart_SUBDIR_included" = xyes)
  1375. AM_CONDITIONAL(kdgantt_SUBDIR_included, test "x$kdgantt_SUBDIR_included" = xyes)
  1376. AM_CONDITIONAL(kformula_SUBDIR_included, test "x$kformula_SUBDIR_included" = xyes)
  1377. AM_CONDITIONAL(kivio_SUBDIR_included, test "x$kivio_SUBDIR_included" = xyes)
  1378. AM_CONDITIONAL(koshell_SUBDIR_included, test "x$koshell_SUBDIR_included" = xyes)
  1379. AM_CONDITIONAL(kounavail_SUBDIR_included, test "x$kounavail_SUBDIR_included" = xyes)
  1380. AM_CONDITIONAL(kpresenter_SUBDIR_included, test "x$kpresenter_SUBDIR_included" = xyes)
  1381. AM_CONDITIONAL(chalk_SUBDIR_included, test "x$chalk_SUBDIR_included" = xyes)
  1382. AM_CONDITIONAL(kspread_SUBDIR_included, test "x$kspread_SUBDIR_included" = xyes)
  1383. AM_CONDITIONAL(kugar_SUBDIR_included, test "x$kugar_SUBDIR_included" = xyes)
  1384. AM_CONDITIONAL(mimetypes_SUBDIR_included, test "x$mimetypes_SUBDIR_included" = xyes)
  1385. AM_CONDITIONAL(pics_SUBDIR_included, test "x$pics_SUBDIR_included" = xyes)
  1386. AM_CONDITIONAL(plugins_SUBDIR_included, test "x$plugins_SUBDIR_included" = xyes)
  1387. AM_CONDITIONAL(servicetypes_SUBDIR_included, test "x$servicetypes_SUBDIR_included" = xyes)
  1388. AM_CONDITIONAL(templates_SUBDIR_included, test "x$templates_SUBDIR_included" = xyes)
  1389. AM_CONDITIONAL(tools_SUBDIR_included, test "x$tools_SUBDIR_included" = xyes)
  1390. AM_CONDITIONAL(kword_SUBDIR_included, test "x$kword_SUBDIR_included" = xyes)
  1391. AM_CONDITIONAL(kplato_SUBDIR_included, test "x$kplato_SUBDIR_included" = xyes)
  1392. AM_CONDITIONAL(kexi_SUBDIR_included, test "x$kexi_SUBDIR_included" = xyes)
  1393. AM_CONDITIONAL(filters_SUBDIR_included, test "x$filters_SUBDIR_included" = xyes)
  1394. AC_CONFIG_FILES([ Makefile ])
  1395. AC_CONFIG_FILES([ autocorrect/Makefile ])
  1396. AC_CONFIG_FILES([ doc/Makefile ])
  1397. AC_CONFIG_FILES([ doc/karbon/Makefile ])
  1398. AC_CONFIG_FILES([ doc/kchart/Makefile ])
  1399. AC_CONFIG_FILES([ doc/kexi/Makefile ])
  1400. AC_CONFIG_FILES([ doc/kformula/Makefile ])
  1401. AC_CONFIG_FILES([ doc/kivio/Makefile ])
  1402. AC_CONFIG_FILES([ doc/koffice/Makefile ])
  1403. AC_CONFIG_FILES([ doc/koshell/Makefile ])
  1404. AC_CONFIG_FILES([ doc/kplato/Makefile ])
  1405. AC_CONFIG_FILES([ doc/kpresenter/Makefile ])
  1406. AC_CONFIG_FILES([ doc/chalk/Makefile ])
  1407. AC_CONFIG_FILES([ doc/kspread/Makefile ])
  1408. AC_CONFIG_FILES([ doc/kugar/Makefile ])
  1409. AC_CONFIG_FILES([ doc/kword/Makefile ])
  1410. AC_CONFIG_FILES([ doc/thesaurus/Makefile ])
  1411. AC_CONFIG_FILES([ example/Makefile ])
  1412. AC_CONFIG_FILES([ filters/Makefile ])
  1413. AC_CONFIG_FILES([ filters/generic_wrapper/Makefile ])
  1414. AC_CONFIG_FILES([ filters/karbon/Makefile ])
  1415. AC_CONFIG_FILES([ filters/karbon/ai/Makefile ])
  1416. AC_CONFIG_FILES([ filters/karbon/applixgraphics/Makefile ])
  1417. AC_CONFIG_FILES([ filters/karbon/eps/Makefile ])
  1418. AC_CONFIG_FILES([ filters/karbon/kontour/Makefile ])
  1419. AC_CONFIG_FILES([ filters/karbon/msod/Makefile ])
  1420. AC_CONFIG_FILES([ filters/karbon/oodraw/Makefile ])
  1421. AC_CONFIG_FILES([ filters/karbon/png/Makefile ])
  1422. AC_CONFIG_FILES([ filters/karbon/svg/Makefile ])
  1423. AC_CONFIG_FILES([ filters/karbon/wmf/Makefile ])
  1424. AC_CONFIG_FILES([ filters/karbon/xaml/Makefile ])
  1425. AC_CONFIG_FILES([ filters/karbon/xcf/Makefile ])
  1426. AC_CONFIG_FILES([ filters/kchart/Makefile ])
  1427. AC_CONFIG_FILES([ filters/kchart/bmp/Makefile ])
  1428. AC_CONFIG_FILES([ filters/kchart/jpeg/Makefile ])
  1429. AC_CONFIG_FILES([ filters/kchart/libimageexport/Makefile ])
  1430. AC_CONFIG_FILES([ filters/kchart/mng/Makefile ])
  1431. AC_CONFIG_FILES([ filters/kchart/png/Makefile ])
  1432. AC_CONFIG_FILES([ filters/kchart/svg/Makefile ])
  1433. AC_CONFIG_FILES([ filters/kchart/xbm/Makefile ])
  1434. AC_CONFIG_FILES([ filters/kchart/xpm/Makefile ])
  1435. AC_CONFIG_FILES([ filters/kformula/Makefile ])
  1436. AC_CONFIG_FILES([ filters/kformula/latex/Makefile ])
  1437. AC_CONFIG_FILES([ filters/kformula/mathml/Makefile ])
  1438. AC_CONFIG_FILES([ filters/kformula/png/Makefile ])
  1439. AC_CONFIG_FILES([ filters/kformula/svg/Makefile ])
  1440. AC_CONFIG_FILES([ filters/kivio/Makefile ])
  1441. AC_CONFIG_FILES([ filters/kivio/imageexport/Makefile ])
  1442. AC_CONFIG_FILES([ filters/kpresenter/Makefile ])
  1443. AC_CONFIG_FILES([ filters/kpresenter/bmp/Makefile ])
  1444. AC_CONFIG_FILES([ filters/kpresenter/jpeg/Makefile ])
  1445. AC_CONFIG_FILES([ filters/kpresenter/kword/Makefile ])
  1446. AC_CONFIG_FILES([ filters/kpresenter/libimageexport/Makefile ])
  1447. AC_CONFIG_FILES([ filters/kpresenter/magicpoint/Makefile ])
  1448. AC_CONFIG_FILES([ filters/kpresenter/mng/Makefile ])
  1449. AC_CONFIG_FILES([ filters/kpresenter/ooimpress/Makefile ])
  1450. AC_CONFIG_FILES([ filters/kpresenter/png/Makefile ])
  1451. AC_CONFIG_FILES([ filters/kpresenter/powerpoint/Makefile ])
  1452. AC_CONFIG_FILES([ filters/kpresenter/powerpoint/import/Makefile ])
  1453. AC_CONFIG_FILES([ filters/kpresenter/powerpoint/libppt/Makefile ])
  1454. AC_CONFIG_FILES([ filters/kpresenter/svg/Makefile ])
  1455. AC_CONFIG_FILES([ filters/kpresenter/xbm/Makefile ])
  1456. AC_CONFIG_FILES([ filters/kpresenter/xpm/Makefile ])
  1457. AC_CONFIG_FILES([ filters/chalk/Makefile ])
  1458. AC_CONFIG_FILES([ filters/chalk/gmagick/Makefile ])
  1459. AC_CONFIG_FILES([ filters/chalk/jpeg/Makefile ])
  1460. AC_CONFIG_FILES([ filters/chalk/libkisexif/Makefile ])
  1461. AC_CONFIG_FILES([ filters/chalk/magick/Makefile ])
  1462. AC_CONFIG_FILES([ filters/chalk/openexr/Makefile ])
  1463. AC_CONFIG_FILES([ filters/chalk/pdf/Makefile ])
  1464. AC_CONFIG_FILES([ filters/chalk/png/Makefile ])
  1465. AC_CONFIG_FILES([ filters/chalk/raw/Makefile ])
  1466. AC_CONFIG_FILES([ filters/chalk/tiff/Makefile ])
  1467. AC_CONFIG_FILES([ filters/chalk/xcf/Makefile ])
  1468. AC_CONFIG_FILES([ filters/kspread/Makefile ])
  1469. AC_CONFIG_FILES([ filters/kspread/applixspread/Makefile ])
  1470. AC_CONFIG_FILES([ filters/kspread/csv/Makefile ])
  1471. AC_CONFIG_FILES([ filters/kspread/dbase/Makefile ])
  1472. AC_CONFIG_FILES([ filters/kspread/excel/Makefile ])
  1473. AC_CONFIG_FILES([ filters/kspread/excel/import/Makefile ])
  1474. AC_CONFIG_FILES([ filters/kspread/excel/sidewinder/Makefile ])
  1475. AC_CONFIG_FILES([ filters/kspread/gnumeric/Makefile ])
  1476. AC_CONFIG_FILES([ filters/kspread/html/Makefile ])
  1477. AC_CONFIG_FILES([ filters/kspread/kexi/Makefile ])
  1478. AC_CONFIG_FILES([ filters/kspread/latex/Makefile ])
  1479. AC_CONFIG_FILES([ filters/kspread/latex/export/Makefile ])
  1480. AC_CONFIG_FILES([ filters/kspread/libkspreadexport/Makefile ])
  1481. AC_CONFIG_FILES([ filters/kspread/opencalc/Makefile ])
  1482. AC_CONFIG_FILES([ filters/kspread/qpro/Makefile ])
  1483. AC_CONFIG_FILES([ filters/kspread/qpro/libqpro/Makefile ])
  1484. AC_CONFIG_FILES([ filters/kspread/qpro/libqpro/qpro/Makefile ])
  1485. AC_CONFIG_FILES([ filters/kspread/qpro/libqpro/src/Makefile ])
  1486. AC_CONFIG_FILES([ filters/kugar/Makefile ])
  1487. AC_CONFIG_FILES([ filters/kugar/kugarnop/Makefile ])
  1488. AC_CONFIG_FILES([ filters/kword/Makefile ])
  1489. AC_CONFIG_FILES([ filters/kword/abiword/Makefile ])
  1490. AC_CONFIG_FILES([ filters/kword/amipro/Makefile ])
  1491. AC_CONFIG_FILES([ filters/kword/applixword/Makefile ])
  1492. AC_CONFIG_FILES([ filters/kword/ascii/Makefile ])
  1493. AC_CONFIG_FILES([ filters/kword/docbook/Makefile ])
  1494. AC_CONFIG_FILES([ filters/kword/hancomword/Makefile ])
  1495. AC_CONFIG_FILES([ filters/kword/html/Makefile ])
  1496. AC_CONFIG_FILES([ filters/kword/html/export/Makefile ])
  1497. AC_CONFIG_FILES([ filters/kword/html/import/Makefile ])
  1498. AC_CONFIG_FILES([ filters/kword/kword1.3/Makefile ])
  1499. AC_CONFIG_FILES([ filters/kword/kword1.3/import/Makefile ])
  1500. AC_CONFIG_FILES([ filters/kword/latex/Makefile ])
  1501. AC_CONFIG_FILES([ filters/kword/latex/export/Makefile ])
  1502. AC_CONFIG_FILES([ filters/kword/latex/import/Makefile ])
  1503. AC_CONFIG_FILES([ filters/kword/latex/import/generator/Makefile ])
  1504. AC_CONFIG_FILES([ filters/kword/latex/import/parser/Makefile ])
  1505. AC_CONFIG_FILES([ filters/kword/libexport/Makefile ])
  1506. AC_CONFIG_FILES([ filters/kword/msword/Makefile ])
  1507. AC_CONFIG_FILES([ filters/kword/mswrite/Makefile ])
  1508. AC_CONFIG_FILES([ filters/kword/oowriter/Makefile ])
  1509. AC_CONFIG_FILES([ filters/kword/palmdoc/Makefile ])
  1510. AC_CONFIG_FILES([ filters/kword/pdf/Makefile ])
  1511. AC_CONFIG_FILES([ filters/kword/pdf/xpdf/Makefile ])
  1512. AC_CONFIG_FILES([ filters/kword/pdf/xpdf/goo/Makefile ])
  1513. AC_CONFIG_FILES([ filters/kword/pdf/xpdf/xpdf/Makefile ])
  1514. AC_CONFIG_FILES([ filters/kword/rtf/Makefile ])
  1515. AC_CONFIG_FILES([ filters/kword/rtf/export/Makefile ])
  1516. AC_CONFIG_FILES([ filters/kword/rtf/import/Makefile ])
  1517. AC_CONFIG_FILES([ filters/kword/starwriter/Makefile ])
  1518. AC_CONFIG_FILES([ filters/kword/wml/Makefile ])
  1519. AC_CONFIG_FILES([ filters/kword/wordperfect/Makefile ])
  1520. AC_CONFIG_FILES([ filters/kword/wordperfect/export/Makefile ])
  1521. AC_CONFIG_FILES([ filters/kword/wordperfect/import/Makefile ])
  1522. AC_CONFIG_FILES([ filters/libdialogfilter/Makefile ])
  1523. AC_CONFIG_FILES([ filters/liboofilter/Makefile ])
  1524. AC_CONFIG_FILES([ filters/olefilters/Makefile ])
  1525. AC_CONFIG_FILES([ filters/olefilters/lib/Makefile ])
  1526. AC_CONFIG_FILES([ filters/olefilters/powerpoint97/Makefile ])
  1527. AC_CONFIG_FILES([ filters/xsltfilter/Makefile ])
  1528. AC_CONFIG_FILES([ filters/xsltfilter/export/Makefile ])
  1529. AC_CONFIG_FILES([ filters/xsltfilter/export/xsl/Makefile ])
  1530. AC_CONFIG_FILES([ filters/xsltfilter/export/xsl/kword/Makefile ])
  1531. AC_CONFIG_FILES([ filters/xsltfilter/export/xsl/kword/xslfo/Makefile ])
  1532. AC_CONFIG_FILES([ filters/xsltfilter/import/Makefile ])
  1533. AC_CONFIG_FILES([ interfaces/Makefile ])
  1534. AC_CONFIG_FILES([ karbon/Makefile ])
  1535. AC_CONFIG_FILES([ karbon/commands/Makefile ])
  1536. AC_CONFIG_FILES([ karbon/core/Makefile ])
  1537. AC_CONFIG_FILES([ karbon/data/Makefile ])
  1538. AC_CONFIG_FILES([ karbon/dialogs/Makefile ])
  1539. AC_CONFIG_FILES([ karbon/dockers/Makefile ])
  1540. AC_CONFIG_FILES([ karbon/pics/Makefile ])
  1541. AC_CONFIG_FILES([ karbon/plugins/Makefile ])
  1542. AC_CONFIG_FILES([ karbon/plugins/flattenpath/Makefile ])
  1543. AC_CONFIG_FILES([ karbon/plugins/imagetool/Makefile ])
  1544. AC_CONFIG_FILES([ karbon/plugins/insertknots/Makefile ])
  1545. AC_CONFIG_FILES([ karbon/plugins/roundcorners/Makefile ])
  1546. AC_CONFIG_FILES([ karbon/plugins/shadoweffect/Makefile ])
  1547. AC_CONFIG_FILES([ karbon/plugins/whirlpinch/Makefile ])
  1548. AC_CONFIG_FILES([ karbon/plugins/zoomtool/Makefile ])
  1549. AC_CONFIG_FILES([ karbon/render/Makefile ])
  1550. AC_CONFIG_FILES([ karbon/render/xrgbrender/Makefile ])
  1551. AC_CONFIG_FILES([ karbon/shapes/Makefile ])
  1552. AC_CONFIG_FILES([ karbon/templates/Makefile ])
  1553. AC_CONFIG_FILES([ karbon/templates/basic/Makefile ])
  1554. AC_CONFIG_FILES([ karbon/tools/Makefile ])
  1555. AC_CONFIG_FILES([ karbon/visitors/Makefile ])
  1556. AC_CONFIG_FILES([ karbon/widgets/Makefile ])
  1557. AC_CONFIG_FILES([ kchart/Makefile ])
  1558. AC_CONFIG_FILES([ kchart/kdchart/Makefile ])
  1559. AC_CONFIG_FILES([ kchart/pics/Makefile ])
  1560. AC_CONFIG_FILES([ kchart/templates/Makefile ])
  1561. AC_CONFIG_FILES([ kchart/toolbar/Makefile ])
  1562. AC_CONFIG_FILES([ kchart/toolbar/crystalsvg/Makefile ])
  1563. AC_CONFIG_FILES([ kchart/toolbar/locolor/Makefile ])
  1564. AC_CONFIG_FILES([ kdgantt/Makefile ])
  1565. AC_CONFIG_FILES([ kexi/Makefile ])
  1566. AC_CONFIG_FILES([ kexi/3rdparty/Makefile ])
  1567. AC_CONFIG_FILES([ kexi/3rdparty/kexisql/Makefile ])
  1568. AC_CONFIG_FILES([ kexi/3rdparty/kexisql/src/Makefile ])
  1569. AC_CONFIG_FILES([ kexi/3rdparty/kexisql/tool/Makefile ])
  1570. AC_CONFIG_FILES([ kexi/3rdparty/kexisql3/Makefile ])
  1571. AC_CONFIG_FILES([ kexi/3rdparty/kexisql3/src/Makefile ])
  1572. AC_CONFIG_FILES([ kexi/3rdparty/kolibs/Makefile ])
  1573. AC_CONFIG_FILES([ kexi/3rdparty/uuid/Makefile ])
  1574. AC_CONFIG_FILES([ kexi/core/Makefile ])
  1575. AC_CONFIG_FILES([ kexi/data/Makefile ])
  1576. AC_CONFIG_FILES([ kexi/data/trinity4compat/Makefile ])
  1577. AC_CONFIG_FILES([ kexi/examples/Makefile ])
  1578. AC_CONFIG_FILES([ kexi/formeditor/Makefile ])
  1579. AC_CONFIG_FILES([ kexi/formeditor/factories/Makefile ])
  1580. AC_CONFIG_FILES([ kexi/formeditor/kdevelop_plugin/Makefile ])
  1581. AC_CONFIG_FILES([ kexi/formeditor/scripting/Makefile ])
  1582. AC_CONFIG_FILES([ kexi/formeditor/test/Makefile ])
  1583. AC_CONFIG_FILES([ kexi/kexidb/Makefile ])
  1584. AC_CONFIG_FILES([ kexi/kexidb/drivers/Makefile ])
  1585. AC_CONFIG_FILES([ kexi/kexidb/drivers/mySQL/Makefile ])
  1586. AC_CONFIG_FILES([ kexi/kexidb/drivers/odbc/Makefile ])
  1587. AC_CONFIG_FILES([ kexi/kexidb/drivers/pqxx/Makefile ])
  1588. AC_CONFIG_FILES([ kexi/kexidb/drivers/sqlite/Makefile ])
  1589. AC_CONFIG_FILES([ kexi/kexidb/drivers/sqlite2/Makefile ])
  1590. AC_CONFIG_FILES([ kexi/kexidb/parser/Makefile ])
  1591. AC_CONFIG_FILES([ kexi/kexiutils/Makefile ])
  1592. AC_CONFIG_FILES([ kexi/main/Makefile ])
  1593. AC_CONFIG_FILES([ kexi/main/printing/Makefile ])
  1594. AC_CONFIG_FILES([ kexi/main/startup/Makefile ])
  1595. AC_CONFIG_FILES([ kexi/migration/Makefile ])
  1596. AC_CONFIG_FILES([ kexi/migration/mysql/Makefile ])
  1597. AC_CONFIG_FILES([ kexi/migration/pqxx/Makefile ])
  1598. AC_CONFIG_FILES([ kexi/migration/txt/Makefile ])
  1599. AC_CONFIG_FILES([ kexi/pics/Makefile ])
  1600. AC_CONFIG_FILES([ kexi/plugins/Makefile ])
  1601. AC_CONFIG_FILES([ kexi/plugins/forms/Makefile ])
  1602. AC_CONFIG_FILES([ kexi/plugins/forms/widgets/Makefile ])
  1603. AC_CONFIG_FILES([ kexi/plugins/importexport/Makefile ])
  1604. AC_CONFIG_FILES([ kexi/plugins/importexport/csv/Makefile ])
  1605. AC_CONFIG_FILES([ kexi/plugins/macros/Makefile ])
  1606. AC_CONFIG_FILES([ kexi/plugins/macros/kexiactions/Makefile ])
  1607. AC_CONFIG_FILES([ kexi/plugins/macros/kexipart/Makefile ])
  1608. AC_CONFIG_FILES([ kexi/plugins/macros/lib/Makefile ])
  1609. AC_CONFIG_FILES([ kexi/plugins/macros/tests/Makefile ])
  1610. AC_CONFIG_FILES([ kexi/plugins/migration/Makefile ])
  1611. AC_CONFIG_FILES([ kexi/plugins/queries/Makefile ])
  1612. AC_CONFIG_FILES([ kexi/plugins/relations/Makefile ])
  1613. AC_CONFIG_FILES([ kexi/plugins/reports/Makefile ])
  1614. AC_CONFIG_FILES([ kexi/plugins/scripting/Makefile ])
  1615. AC_CONFIG_FILES([ kexi/plugins/scripting/kexiapp/Makefile ])
  1616. AC_CONFIG_FILES([ kexi/plugins/scripting/kexidb/Makefile ])
  1617. AC_CONFIG_FILES([ kexi/plugins/scripting/kexiscripting/Makefile ])
  1618. AC_CONFIG_FILES([ kexi/plugins/scripting/scripts/Makefile ])
  1619. AC_CONFIG_FILES([ kexi/plugins/scripting/scripts/copycenter/Makefile ])
  1620. AC_CONFIG_FILES([ kexi/plugins/scripting/scripts/exportxhtml/Makefile ])
  1621. AC_CONFIG_FILES([ kexi/plugins/scripting/scripts/importxhtml/Makefile ])
  1622. AC_CONFIG_FILES([ kexi/plugins/scripting/scripts/projectdocumentor/Makefile ])
  1623. AC_CONFIG_FILES([ kexi/plugins/scripting/scripts/python/Makefile ])
  1624. AC_CONFIG_FILES([ kexi/plugins/scripting/scripts/python/kexiapp/Makefile ])
  1625. AC_CONFIG_FILES([ kexi/plugins/tables/Makefile ])
  1626. AC_CONFIG_FILES([ kexi/tests/Makefile ])
  1627. AC_CONFIG_FILES([ kexi/tests/altertable/Makefile ])
  1628. AC_CONFIG_FILES([ kexi/tests/newapi/Makefile ])
  1629. AC_CONFIG_FILES([ kexi/tests/parser/Makefile ])
  1630. AC_CONFIG_FILES([ kexi/tests/startup/Makefile ])
  1631. AC_CONFIG_FILES([ kexi/tests/tableview/Makefile ])
  1632. AC_CONFIG_FILES([ kexi/tests/widgets/Makefile ])
  1633. AC_CONFIG_FILES([ kexi/tools/Makefile ])
  1634. AC_CONFIG_FILES([ kexi/tools/add_column/Makefile ])
  1635. AC_CONFIG_FILES([ kexi/tools/delete_column/Makefile ])
  1636. AC_CONFIG_FILES([ kexi/widget/Makefile ])
  1637. AC_CONFIG_FILES([ kexi/widget/relations/Makefile ])
  1638. AC_CONFIG_FILES([ kexi/widget/tableview/Makefile ])
  1639. AC_CONFIG_FILES([ kexi/widget/utils/Makefile ])
  1640. AC_CONFIG_FILES([ kformula/Makefile ])
  1641. AC_CONFIG_FILES([ kformula/pics/Makefile ])
  1642. AC_CONFIG_FILES([ kivio/Makefile ])
  1643. AC_CONFIG_FILES([ kivio/kiviopart/Makefile ])
  1644. AC_CONFIG_FILES([ kivio/kiviopart/config/Makefile ])
  1645. AC_CONFIG_FILES([ kivio/kiviopart/kiviosdk/Makefile ])
  1646. AC_CONFIG_FILES([ kivio/kiviopart/pics/Makefile ])
  1647. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Makefile ])
  1648. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Makefile ])
  1649. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Assorted/Makefile ])
  1650. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Circuit/Makefile ])
  1651. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Cisco/Makefile ])
  1652. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Civil/Makefile ])
  1653. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Contact/Makefile ])
  1654. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Electric/Makefile ])
  1655. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Jigsaw/Makefile ])
  1656. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/MSE/Makefile ])
  1657. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Network/Makefile ])
  1658. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Pneumatic/Makefile ])
  1659. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/SDL/Makefile ])
  1660. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Dia/Sybase/Makefile ])
  1661. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Flowcharting/Makefile ])
  1662. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Flowcharting/BasicFlowcharting/Makefile ])
  1663. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Flowcharting/Extended/Makefile ])
  1664. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Flowcharting/Logic/Makefile ])
  1665. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Geographic/Makefile ])
  1666. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Geographic/Flags/Makefile ])
  1667. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Geographic/Maps/Makefile ])
  1668. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Hardware/Makefile ])
  1669. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Hardware/Computer/Makefile ])
  1670. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Hardware/Miscellaneous/Makefile ])
  1671. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Miscellaneous/Makefile ])
  1672. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Miscellaneous/Arrows/Makefile ])
  1673. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Miscellaneous/Buildings/Makefile ])
  1674. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Miscellaneous/ER/Makefile ])
  1675. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Miscellaneous/NassiShneiderman/Makefile ])
  1676. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Miscellaneous/People/Makefile ])
  1677. AC_CONFIG_FILES([ kivio/kiviopart/stencils/Miscellaneous/Transport/Makefile ])
  1678. AC_CONFIG_FILES([ kivio/kiviopart/stencils/UML/Makefile ])
  1679. AC_CONFIG_FILES([ kivio/kiviopart/stencils/UML/ActivityDiagrams/Makefile ])
  1680. AC_CONFIG_FILES([ kivio/kiviopart/stencils/UML/ClassDiagrams/Makefile ])
  1681. AC_CONFIG_FILES([ kivio/kiviopart/tiles/Makefile ])
  1682. AC_CONFIG_FILES([ kivio/kiviopart/tools/Makefile ])
  1683. AC_CONFIG_FILES([ kivio/kiviopart/ui/Makefile ])
  1684. AC_CONFIG_FILES([ kivio/plugins/Makefile ])
  1685. AC_CONFIG_FILES([ kivio/plugins/kivioconnectortool/Makefile ])
  1686. AC_CONFIG_FILES([ kivio/plugins/kivioconnectortool/straight_connector/Makefile ])
  1687. AC_CONFIG_FILES([ kivio/plugins/kivioselecttool/Makefile ])
  1688. AC_CONFIG_FILES([ kivio/plugins/kivioselecttool/select_pics/Makefile ])
  1689. AC_CONFIG_FILES([ kivio/plugins/kiviosmlconnector/Makefile ])
  1690. AC_CONFIG_FILES([ kivio/plugins/kiviosmlconnector/sml_connector/Makefile ])
  1691. AC_CONFIG_FILES([ kivio/plugins/kiviotargettool/Makefile ])
  1692. AC_CONFIG_FILES([ kivio/plugins/kiviotexttool/Makefile ])
  1693. AC_CONFIG_FILES([ kivio/plugins/kiviozoomtool/Makefile ])
  1694. AC_CONFIG_FILES([ kivio/plugins/kiviozoomtool/zoom_pics/Makefile ])
  1695. AC_CONFIG_FILES([ kivio/templates/Makefile ])
  1696. AC_CONFIG_FILES([ kivio/templates/basic/Makefile ])
  1697. AC_CONFIG_FILES([ koshell/Makefile ])
  1698. AC_CONFIG_FILES([ kounavail/Makefile ])
  1699. AC_CONFIG_FILES([ kplato/Makefile ])
  1700. AC_CONFIG_FILES([ kplato/pics/Makefile ])
  1701. AC_CONFIG_FILES([ kplato/reports/Makefile ])
  1702. AC_CONFIG_FILES([ kplato/templates/Makefile ])
  1703. AC_CONFIG_FILES([ kplato/templates/Simple/Makefile ])
  1704. AC_CONFIG_FILES([ kplato/tests/Makefile ])
  1705. AC_CONFIG_FILES([ kplato/toolbar/Makefile ])
  1706. AC_CONFIG_FILES([ kpresenter/Makefile ])
  1707. AC_CONFIG_FILES([ kpresenter/autoformEdit/Makefile ])
  1708. AC_CONFIG_FILES([ kpresenter/autoforms/Makefile ])
  1709. AC_CONFIG_FILES([ kpresenter/autoforms/Arrows/Makefile ])
  1710. AC_CONFIG_FILES([ kpresenter/autoforms/Connections/Makefile ])
  1711. AC_CONFIG_FILES([ kpresenter/dtd/Makefile ])
  1712. AC_CONFIG_FILES([ kpresenter/pics/Makefile ])
  1713. AC_CONFIG_FILES([ kpresenter/pics/rotate/Makefile ])
  1714. AC_CONFIG_FILES([ kpresenter/slideshow/Makefile ])
  1715. AC_CONFIG_FILES([ kpresenter/templates/Makefile ])
  1716. AC_CONFIG_FILES([ kpresenter/templates/A4/Makefile ])
  1717. AC_CONFIG_FILES([ kpresenter/templates/Screen/Makefile ])
  1718. AC_CONFIG_FILES([ kpresenter/templates/Screenpresentations/Makefile ])
  1719. AC_CONFIG_FILES([ kpresenter/templates/common_icon/Makefile ])
  1720. AC_CONFIG_FILES([ kpresenter/templates/legal/Makefile ])
  1721. AC_CONFIG_FILES([ kpresenter/templates/letter/Makefile ])
  1722. AC_CONFIG_FILES([ kpresenter/toolbar/Makefile ])
  1723. AC_CONFIG_FILES([ chalk/Makefile ])
  1724. AC_CONFIG_FILES([ chalk/colorspaces/Makefile ])
  1725. AC_CONFIG_FILES([ chalk/colorspaces/cmyk_u16/Makefile ])
  1726. AC_CONFIG_FILES([ chalk/colorspaces/cmyk_u8/Makefile ])
  1727. AC_CONFIG_FILES([ chalk/colorspaces/cmyk_u8/templates/Makefile ])
  1728. AC_CONFIG_FILES([ chalk/colorspaces/gray_u16/Makefile ])
  1729. AC_CONFIG_FILES([ chalk/colorspaces/gray_u8/Makefile ])
  1730. AC_CONFIG_FILES([ chalk/colorspaces/gray_u8/templates/Makefile ])
  1731. AC_CONFIG_FILES([ chalk/colorspaces/gray_u8/tests/Makefile ])
  1732. AC_CONFIG_FILES([ chalk/colorspaces/lms_f32/Makefile ])
  1733. AC_CONFIG_FILES([ chalk/colorspaces/rgb_f16half/Makefile ])
  1734. AC_CONFIG_FILES([ chalk/colorspaces/rgb_f16half/tests/Makefile ])
  1735. AC_CONFIG_FILES([ chalk/colorspaces/rgb_f32/Makefile ])
  1736. AC_CONFIG_FILES([ chalk/colorspaces/rgb_f32/tests/Makefile ])
  1737. AC_CONFIG_FILES([ chalk/colorspaces/rgb_u16/Makefile ])
  1738. AC_CONFIG_FILES([ chalk/colorspaces/rgb_u16/tests/Makefile ])
  1739. AC_CONFIG_FILES([ chalk/colorspaces/rgb_u8/Makefile ])
  1740. AC_CONFIG_FILES([ chalk/colorspaces/rgb_u8/templates/Makefile ])
  1741. AC_CONFIG_FILES([ chalk/colorspaces/rgb_u8/tests/Makefile ])
  1742. AC_CONFIG_FILES([ chalk/colorspaces/wet/Makefile ])
  1743. AC_CONFIG_FILES([ chalk/colorspaces/wetsticky/Makefile ])
  1744. AC_CONFIG_FILES([ chalk/colorspaces/wetsticky/brushop/Makefile ])
  1745. AC_CONFIG_FILES([ chalk/colorspaces/ycbcr_u16/Makefile ])
  1746. AC_CONFIG_FILES([ chalk/colorspaces/ycbcr_u8/Makefile ])
  1747. AC_CONFIG_FILES([ chalk/core/Makefile ])
  1748. AC_CONFIG_FILES([ chalk/core/tests/Makefile ])
  1749. AC_CONFIG_FILES([ chalk/core/tiles/Makefile ])
  1750. AC_CONFIG_FILES([ chalk/core/tiles/tests/Makefile ])
  1751. AC_CONFIG_FILES([ chalk/data/Makefile ])
  1752. AC_CONFIG_FILES([ chalk/data/brushes/Makefile ])
  1753. AC_CONFIG_FILES([ chalk/data/gradients/Makefile ])
  1754. AC_CONFIG_FILES([ chalk/data/images/Makefile ])
  1755. AC_CONFIG_FILES([ chalk/data/palettes/Makefile ])
  1756. AC_CONFIG_FILES([ chalk/data/patterns/Makefile ])
  1757. AC_CONFIG_FILES([ chalk/data/profiles/Makefile ])
  1758. AC_CONFIG_FILES([ chalk/dtd/Makefile ])
  1759. AC_CONFIG_FILES([ chalk/chalkcolor/Makefile ])
  1760. AC_CONFIG_FILES([ chalk/chalkcolor/colorspaces/Makefile ])
  1761. AC_CONFIG_FILES([ chalk/chalkcolor/tests/Makefile ])
  1762. AC_CONFIG_FILES([ chalk/pics/Makefile ])
  1763. AC_CONFIG_FILES([ chalk/plugins/Makefile ])
  1764. AC_CONFIG_FILES([ chalk/plugins/filters/Makefile ])
  1765. AC_CONFIG_FILES([ chalk/plugins/filters/blur/Makefile ])
  1766. AC_CONFIG_FILES([ chalk/plugins/filters/bumpmap/Makefile ])
  1767. AC_CONFIG_FILES([ chalk/plugins/filters/cimg/Makefile ])
  1768. AC_CONFIG_FILES([ chalk/plugins/filters/colorify/Makefile ])
  1769. AC_CONFIG_FILES([ chalk/plugins/filters/colors/Makefile ])
  1770. AC_CONFIG_FILES([ chalk/plugins/filters/colorsfilters/Makefile ])
  1771. AC_CONFIG_FILES([ chalk/plugins/filters/convolutionfilters/Makefile ])
  1772. AC_CONFIG_FILES([ chalk/plugins/filters/cubismfilter/Makefile ])
  1773. AC_CONFIG_FILES([ chalk/plugins/filters/embossfilter/Makefile ])
  1774. AC_CONFIG_FILES([ chalk/plugins/filters/example/Makefile ])
  1775. AC_CONFIG_FILES([ chalk/plugins/filters/fastcolortransfer/Makefile ])
  1776. AC_CONFIG_FILES([ chalk/plugins/filters/imageenhancement/Makefile ])
  1777. AC_CONFIG_FILES([ chalk/plugins/filters/lenscorrectionfilter/Makefile ])
  1778. AC_CONFIG_FILES([ chalk/plugins/filters/levelfilter/Makefile ])
  1779. AC_CONFIG_FILES([ chalk/plugins/filters/noisefilter/Makefile ])
  1780. AC_CONFIG_FILES([ chalk/plugins/filters/oilpaintfilter/Makefile ])
  1781. AC_CONFIG_FILES([ chalk/plugins/filters/pixelizefilter/Makefile ])
  1782. AC_CONFIG_FILES([ chalk/plugins/filters/raindropsfilter/Makefile ])
  1783. AC_CONFIG_FILES([ chalk/plugins/filters/randompickfilter/Makefile ])
  1784. AC_CONFIG_FILES([ chalk/plugins/filters/roundcorners/Makefile ])
  1785. AC_CONFIG_FILES([ chalk/plugins/filters/smalltilesfilter/Makefile ])
  1786. AC_CONFIG_FILES([ chalk/plugins/filters/sobelfilter/Makefile ])
  1787. AC_CONFIG_FILES([ chalk/plugins/filters/threadtest/Makefile ])
  1788. AC_CONFIG_FILES([ chalk/plugins/filters/unsharp/Makefile ])
  1789. AC_CONFIG_FILES([ chalk/plugins/filters/wavefilter/Makefile ])
  1790. AC_CONFIG_FILES([ chalk/plugins/paintops/Makefile ])
  1791. AC_CONFIG_FILES([ chalk/plugins/paintops/defaultpaintops/Makefile ])
  1792. AC_CONFIG_FILES([ chalk/plugins/tools/Makefile ])
  1793. AC_CONFIG_FILES([ chalk/plugins/tools/defaulttools/Makefile ])
  1794. AC_CONFIG_FILES([ chalk/plugins/tools/selectiontools/Makefile ])
  1795. AC_CONFIG_FILES([ chalk/plugins/tools/tool_crop/Makefile ])
  1796. AC_CONFIG_FILES([ chalk/plugins/tools/tool_curves/Makefile ])
  1797. AC_CONFIG_FILES([ chalk/plugins/tools/tool_filter/Makefile ])
  1798. AC_CONFIG_FILES([ chalk/plugins/tools/tool_perspectivegrid/Makefile ])
  1799. AC_CONFIG_FILES([ chalk/plugins/tools/tool_perspectivetransform/Makefile ])
  1800. AC_CONFIG_FILES([ chalk/plugins/tools/tool_polygon/Makefile ])
  1801. AC_CONFIG_FILES([ chalk/plugins/tools/tool_polyline/Makefile ])
  1802. AC_CONFIG_FILES([ chalk/plugins/tools/tool_selectsimilar/Makefile ])
  1803. AC_CONFIG_FILES([ chalk/plugins/tools/tool_star/Makefile ])
  1804. AC_CONFIG_FILES([ chalk/plugins/tools/tool_transform/Makefile ])
  1805. AC_CONFIG_FILES([ chalk/plugins/viewplugins/Makefile ])
  1806. AC_CONFIG_FILES([ chalk/plugins/viewplugins/colorrange/Makefile ])
  1807. AC_CONFIG_FILES([ chalk/plugins/viewplugins/colorspaceconversion/Makefile ])
  1808. AC_CONFIG_FILES([ chalk/plugins/viewplugins/dropshadow/Makefile ])
  1809. AC_CONFIG_FILES([ chalk/plugins/viewplugins/filtersgallery/Makefile ])
  1810. AC_CONFIG_FILES([ chalk/plugins/viewplugins/histogram/Makefile ])
  1811. AC_CONFIG_FILES([ chalk/plugins/viewplugins/histogram_docker/Makefile ])
  1812. AC_CONFIG_FILES([ chalk/plugins/viewplugins/history_docker/Makefile ])
  1813. AC_CONFIG_FILES([ chalk/plugins/viewplugins/imagesize/Makefile ])
  1814. AC_CONFIG_FILES([ chalk/plugins/viewplugins/modify_selection/Makefile ])
  1815. AC_CONFIG_FILES([ chalk/plugins/viewplugins/performancetest/Makefile ])
  1816. AC_CONFIG_FILES([ chalk/plugins/viewplugins/rotateimage/Makefile ])
  1817. AC_CONFIG_FILES([ chalk/plugins/viewplugins/screenshot/Makefile ])
  1818. AC_CONFIG_FILES([ chalk/plugins/viewplugins/scripting/Makefile ])
  1819. AC_CONFIG_FILES([ chalk/plugins/viewplugins/scripting/chalkcore/Makefile ])
  1820. AC_CONFIG_FILES([ chalk/plugins/viewplugins/scripting/chalkscripting/Makefile ])
  1821. AC_CONFIG_FILES([ chalk/plugins/viewplugins/scripting/samples/Makefile ])
  1822. AC_CONFIG_FILES([ chalk/plugins/viewplugins/scripting/samples/python/Makefile ])
  1823. AC_CONFIG_FILES([ chalk/plugins/viewplugins/scripting/samples/ruby/Makefile ])
  1824. AC_CONFIG_FILES([ chalk/plugins/viewplugins/selectopaque/Makefile ])
  1825. AC_CONFIG_FILES([ chalk/plugins/viewplugins/separate_channels/Makefile ])
  1826. AC_CONFIG_FILES([ chalk/plugins/viewplugins/shearimage/Makefile ])
  1827. AC_CONFIG_FILES([ chalk/plugins/viewplugins/substrate/Makefile ])
  1828. AC_CONFIG_FILES([ chalk/plugins/viewplugins/variations/Makefile ])
  1829. AC_CONFIG_FILES([ chalk/sdk/Makefile ])
  1830. AC_CONFIG_FILES([ chalk/ui/Makefile ])
  1831. AC_CONFIG_FILES([ kspread/Makefile ])
  1832. AC_CONFIG_FILES([ kspread/dialogs/Makefile ])
  1833. AC_CONFIG_FILES([ kspread/dtd/Makefile ])
  1834. AC_CONFIG_FILES([ kspread/extensions/Makefile ])
  1835. AC_CONFIG_FILES([ kspread/pics/Makefile ])
  1836. AC_CONFIG_FILES([ kspread/plugins/Makefile ])
  1837. AC_CONFIG_FILES([ kspread/plugins/calculator/Makefile ])
  1838. AC_CONFIG_FILES([ kspread/plugins/calculator/pics/Makefile ])
  1839. AC_CONFIG_FILES([ kspread/plugins/insertcalendar/Makefile ])
  1840. AC_CONFIG_FILES([ kspread/plugins/scripting/Makefile ])
  1841. AC_CONFIG_FILES([ kspread/plugins/scripting/kspreadcore/Makefile ])
  1842. AC_CONFIG_FILES([ kspread/plugins/scripting/scripts/Makefile ])
  1843. AC_CONFIG_FILES([ kspread/plugins/scripting/scripts/exporthtml/Makefile ])
  1844. AC_CONFIG_FILES([ kspread/plugins/scripting/scripts/scripteditor/Makefile ])
  1845. AC_CONFIG_FILES([ kspread/sheetstyles/Makefile ])
  1846. AC_CONFIG_FILES([ kspread/templates/Makefile ])
  1847. AC_CONFIG_FILES([ kspread/templates/Business/Makefile ])
  1848. AC_CONFIG_FILES([ kspread/templates/General/Makefile ])
  1849. AC_CONFIG_FILES([ kspread/templates/HomeFamily/Makefile ])
  1850. AC_CONFIG_FILES([ kspread/tests/Makefile ])
  1851. AC_CONFIG_FILES([ kspread/toolbar/Makefile ])
  1852. AC_CONFIG_FILES([ kspread/toolbar/crystalsvg/Makefile ])
  1853. AC_CONFIG_FILES([ kugar/Makefile ])
  1854. AC_CONFIG_FILES([ kugar/kudesigner/Makefile ])
  1855. AC_CONFIG_FILES([ kugar/kudesigner/pics/Makefile ])
  1856. AC_CONFIG_FILES([ kugar/kudesigner/templates/Makefile ])
  1857. AC_CONFIG_FILES([ kugar/kudesigner/templates/General/Makefile ])
  1858. AC_CONFIG_FILES([ kugar/kudesigner/toolbar/Makefile ])
  1859. AC_CONFIG_FILES([ kugar/kudesigner_lib/Makefile ])
  1860. AC_CONFIG_FILES([ kugar/lib/Makefile ])
  1861. AC_CONFIG_FILES([ kugar/part/Makefile ])
  1862. AC_CONFIG_FILES([ kugar/samples/Makefile ])
  1863. AC_CONFIG_FILES([ kword/Makefile ])
  1864. AC_CONFIG_FILES([ kword/data/Makefile ])
  1865. AC_CONFIG_FILES([ kword/dtd/Makefile ])
  1866. AC_CONFIG_FILES([ kword/expression/Makefile ])
  1867. AC_CONFIG_FILES([ kword/horizontalline/Makefile ])
  1868. AC_CONFIG_FILES([ kword/mailmerge/Makefile ])
  1869. AC_CONFIG_FILES([ kword/mailmerge/kabc/Makefile ])
  1870. AC_CONFIG_FILES([ kword/mailmerge/kspread/Makefile ])
  1871. AC_CONFIG_FILES([ kword/mailmerge/sql/Makefile ])
  1872. AC_CONFIG_FILES([ kword/pics/Makefile ])
  1873. AC_CONFIG_FILES([ kword/templates/Makefile ])
  1874. AC_CONFIG_FILES([ kword/templates/CardsAndLabels/Makefile ])
  1875. AC_CONFIG_FILES([ kword/templates/Envelopes/Makefile ])
  1876. AC_CONFIG_FILES([ kword/templates/Wordprocessing/Makefile ])
  1877. AC_CONFIG_FILES([ kword/tests/Makefile ])
  1878. AC_CONFIG_FILES([ kword/toolbar/Makefile ])
  1879. AC_CONFIG_FILES([ lib/Makefile ])
  1880. AC_CONFIG_FILES([ lib/kformula/Makefile ])
  1881. AC_CONFIG_FILES([ lib/kformula/config/Makefile ])
  1882. AC_CONFIG_FILES([ lib/kformula/dtd/Makefile ])
  1883. AC_CONFIG_FILES([ lib/kformula/fonts/Makefile ])
  1884. AC_CONFIG_FILES([ lib/kformula/pics/Makefile ])
  1885. AC_CONFIG_FILES([ lib/kformula/pics/crystalsvg/Makefile ])
  1886. AC_CONFIG_FILES([ lib/kofficecore/Makefile ])
  1887. AC_CONFIG_FILES([ lib/kofficecore/tests/Makefile ])
  1888. AC_CONFIG_FILES([ lib/kofficeui/Makefile ])
  1889. AC_CONFIG_FILES([ lib/kofficeui/pics/Makefile ])
  1890. AC_CONFIG_FILES([ lib/kofficeui/tests/Makefile ])
  1891. AC_CONFIG_FILES([ lib/kopainter/Makefile ])
  1892. AC_CONFIG_FILES([ lib/kopalette/Makefile ])
  1893. AC_CONFIG_FILES([ lib/koproperty/Makefile ])
  1894. AC_CONFIG_FILES([ lib/koproperty/editors/Makefile ])
  1895. AC_CONFIG_FILES([ lib/koproperty/test/Makefile ])
  1896. AC_CONFIG_FILES([ lib/kotext/Makefile ])
  1897. AC_CONFIG_FILES([ lib/kotext/kohyphen/Makefile ])
  1898. AC_CONFIG_FILES([ lib/kotext/kohyphen/hyphdicts/Makefile ])
  1899. AC_CONFIG_FILES([ lib/kotext/tests/Makefile ])
  1900. AC_CONFIG_FILES([ lib/kross/Makefile ])
  1901. AC_CONFIG_FILES([ lib/kross/api/Makefile ])
  1902. AC_CONFIG_FILES([ lib/kross/main/Makefile ])
  1903. AC_CONFIG_FILES([ lib/kross/python/Makefile ])
  1904. AC_CONFIG_FILES([ lib/kross/python/cxx/Makefile ])
  1905. AC_CONFIG_FILES([ lib/kross/python/scripts/Makefile ])
  1906. AC_CONFIG_FILES([ lib/kross/python/scripts/RestrictedPython/Makefile ])
  1907. AC_CONFIG_FILES([ lib/kross/ruby/Makefile ])
  1908. AC_CONFIG_FILES([ lib/kross/runner/Makefile ])
  1909. AC_CONFIG_FILES([ lib/kross/test/Makefile ])
  1910. AC_CONFIG_FILES([ lib/kwmf/Makefile ])
  1911. AC_CONFIG_FILES([ lib/store/Makefile ])
  1912. AC_CONFIG_FILES([ lib/store/tests/Makefile ])
  1913. AC_CONFIG_FILES([ mimetypes/Makefile ])
  1914. AC_CONFIG_FILES([ mimetypes/trinity3/Makefile ])
  1915. AC_CONFIG_FILES([ mimetypes/trinity51/Makefile ])
  1916. AC_CONFIG_FILES([ pics/Makefile ])
  1917. AC_CONFIG_FILES([ pics/crystalsvg/Makefile ])
  1918. AC_CONFIG_FILES([ plugins/Makefile ])
  1919. AC_CONFIG_FILES([ plugins/scan/Makefile ])
  1920. AC_CONFIG_FILES([ servicetypes/Makefile ])
  1921. AC_CONFIG_FILES([ templates/Makefile ])
  1922. AC_CONFIG_FILES([ tools/Makefile ])
  1923. AC_CONFIG_FILES([ tools/converter/Makefile ])
  1924. AC_CONFIG_FILES([ tools/kfile-plugins/Makefile ])
  1925. AC_CONFIG_FILES([ tools/kfile-plugins/abiword/Makefile ])
  1926. AC_CONFIG_FILES([ tools/kfile-plugins/gnumeric/Makefile ])
  1927. AC_CONFIG_FILES([ tools/kfile-plugins/koffice/Makefile ])
  1928. AC_CONFIG_FILES([ tools/kfile-plugins/ooo/Makefile ])
  1929. AC_CONFIG_FILES([ tools/kthesaurus/Makefile ])
  1930. AC_CONFIG_FILES([ tools/quickprint/Makefile ])
  1931. AC_CONFIG_FILES([ tools/spell/Makefile ])
  1932. AC_CONFIG_FILES([ tools/thesaurus/Makefile ])
  1933. AC_CONFIG_FILES([ tools/thumbnail/Makefile ])
  1934. AC_MSG_CHECKING([for filters to be compiled])
  1935. if test -s $srcdir/inst-apps ; then
  1936. SUBDIRLIST=`cat $srcdir/inst-apps`
  1937. else
  1938. SUBDIRLIST=`cat $srcdir/subdirs`
  1939. fi
  1940. # fallback (KDE_CREATE_SUBDIRLIST has this fallback, so I have put it here too.)
  1941. if test -z "$SUBDIRLIST" ; then
  1942. SUBDIRLIST=`ls -1 $srcdir`
  1943. fi
  1944. # first check which main apllication we could compile
  1945. for args in $SUBDIRLIST ; do
  1946. case $args in
  1947. kword) COMPILE_FILTER_KWORD="$args " ;;
  1948. kspread) COMPILE_FILTER_KSPREAD="$args " ;;
  1949. kchart) COMPILE_FILTER_KCHART="$args " ;;
  1950. karbon) COMPILE_FILTER_KARBON="$args " ;;
  1951. kpresenter) COMPILE_FILTER_KPRESENTER="$args " ;;
  1952. kformula) COMPILE_FILTER_KFORMULA="$args " ;;
  1953. kugar) COMPILE_FILTER_KUGAR="$args " ;;
  1954. chalk) COMPILE_FILTER_KRITA="$args " ;;
  1955. kivio) COMPILE_FILTER_KIVIO="$args " ;;
  1956. kexi) COMPILE_FILTER_KEXI="$args " ;;
  1957. esac
  1958. done
  1959. # now remove the applications the user has asked not to compile
  1960. for args in $DO_NOT_COMPILE ; do
  1961. case $args in
  1962. kword) COMPILE_FILTER_KWORD= ;;
  1963. kspread) COMPILE_FILTER_KSPREAD= ;;
  1964. kchart) COMPILE_FILTER_KCHART= ;;
  1965. karbon) COMPILE_FILTER_KARBON= ;;
  1966. kpresenter) COMPILE_FILTER_KPRESENTER= ;;
  1967. kformula) COMPILE_FILTER_KFORMULA= ;;
  1968. kugar) COMPILE_FILTER_KUGAR= ;;
  1969. chalk) COMPILE_FILTER_KRITA= ;;
  1970. kivio) COMPILE_FILTER_KIVIO= ;;
  1971. kexi) COMPILE_FILTER_KEXI= ;;
  1972. esac
  1973. done
  1974. USERFEEDBACKCOMPILE="$COMPILE_FILTER_KWORD$COMPILE_FILTER_KSPREAD$COMPILE_FILTER_KCHART$COMPILE_FILTER_KARBON$COMPILE_FILTER_KPRESENTER$COMPILE_FILTER_KFORMULA$COMPILE_FILTER_KUGAR"
  1975. AC_MSG_RESULT([$USERFEEDBACKCOMPILE])
  1976. AM_CONDITIONAL(compile_filter_KWORD, test -n "$COMPILE_FILTER_KWORD")
  1977. AM_CONDITIONAL(compile_filter_KSPREAD, test -n "$COMPILE_FILTER_KSPREAD")
  1978. AM_CONDITIONAL(compile_filter_KCHART, test -n "$COMPILE_FILTER_KCHART")
  1979. AM_CONDITIONAL(compile_filter_KARBON, test -n "$COMPILE_FILTER_KARBON")
  1980. AM_CONDITIONAL(compile_filter_KPRESENTER, test -n "$COMPILE_FILTER_KPRESENTER")
  1981. AM_CONDITIONAL(compile_filter_KFORMULA, test -n "$COMPILE_FILTER_KFORMULA")
  1982. AM_CONDITIONAL(compile_filter_KUGAR, test -n "$COMPILE_FILTER_KUGAR")
  1983. AM_CONDITIONAL(compile_filter_KRITA, test -n "$COMPILE_FILTER_KRITA")
  1984. AM_CONDITIONAL(compile_filter_KIVIO, test -n "$COMPILE_FILTER_KIVIO")
  1985. AM_CONDITIONAL(compile_filter_KEXI, test -n "$COMPILE_FILTER_KEXI")
  1986. if test -s $srcdir/inst-apps ; then
  1987. SUBDIRLIST=`cat $srcdir/inst-apps`
  1988. else
  1989. SUBDIRLIST=`cat $srcdir/subdirs`
  1990. fi
  1991. # fallback (KDE_CREATE_SUBDIRLIST has this fallback, so I have put it here too.)
  1992. if test -z "$SUBDIRLIST" ; then
  1993. SUBDIRLIST=`ls -1 $srcdir`
  1994. fi
  1995. # first check which main apllication we could compile
  1996. for args in $SUBDIRLIST ; do
  1997. case $args in
  1998. kugar) COMPILE_PLUGIN_KUGAR="$args " ;;
  1999. esac
  2000. done
  2001. # now remove the applications the user has asked not to compile
  2002. for args in $DO_NOT_COMPILE ; do
  2003. case $args in
  2004. kugar) COMPILE_PLUGIN_KUGAR= ;;
  2005. esac
  2006. done
  2007. AM_CONDITIONAL(compile_plugin_KUGAR, test -n "$COMPILE_PLUGIN_KUGAR")
  2008. if test -s $srcdir/inst-apps ; then
  2009. SUBDIRLIST=`cat $srcdir/inst-apps`
  2010. else
  2011. SUBDIRLIST=`cat $srcdir/subdirs`
  2012. fi
  2013. # fallback (KDE_CREATE_SUBDIRLIST has this fallback, so I have put it here too.)
  2014. if test -z "$SUBDIRLIST" ; then
  2015. SUBDIRLIST=`ls -1 $srcdir`
  2016. fi
  2017. AC_MSG_CHECKING([whether only Kexi is being built])
  2018. KEXI_ONLY=yes
  2019. for args in $SUBDIRLIST ; do
  2020. case $args in
  2021. lib) ;;
  2022. kexi) ;;
  2023. *) if test -d $srcdir/$args ; then
  2024. KEXI_ONLY=no
  2025. fi
  2026. ;;
  2027. esac
  2028. done
  2029. AC_MSG_RESULT([$KEXI_ONLY])
  2030. AM_CONDITIONAL(compile_kexionly, test "$KEXI_ONLY" = "yes" )
  2031. AC_MSG_CHECKING([whether kopainter should be compiled])
  2032. # first check which main application we could compile
  2033. for args in $SUBDIRLIST ; do
  2034. case $args in
  2035. chalk) COMPILE_LIB_FOR_KRITA="$args " ;;
  2036. karbon) COMPILE_LIB_FOR_KARBON="$args " ;;
  2037. kivio) COMPILE_LIB_FOR_KIVIO="$args " ;;
  2038. esac
  2039. done
  2040. # now remove the applications the user has asked not to compile
  2041. COMPILE_LIB_FOR_KPRESENTER="#"
  2042. for args in $DO_NOT_COMPILE ; do
  2043. case $args in
  2044. chalk) COMPILE_LIB_FOR_KRITA= ;;
  2045. karbon) COMPILE_LIB_FOR_KARBON= ;;
  2046. kivio) COMPILE_LIB_FOR_KIVIO= ;;
  2047. kpresenter) COMPILE_LIB_FOR_KPRESENTER= ;;
  2048. esac
  2049. done
  2050. if test -n "$COMPILE_LIB_FOR_KRITA$COMPILE_LIB_FOR_KARBON$COMPILE_LIB_FOR_KIVIO$COMPILE_LIB_FOR_KPRESENTER" ; then
  2051. USERFEEDBACKCOMPILELIB="yes"
  2052. else
  2053. USERFEEDBACKCOMPILELIB="no"
  2054. fi
  2055. AC_MSG_RESULT([$USERFEEDBACKCOMPILELIB])
  2056. AM_CONDITIONAL(compile_lib_KOPAINTER, test "$USERFEEDBACKCOMPILELIB" = "yes" )
  2057. AC_OUTPUT
  2058. if test -z "$LIBGMAGICK_LIBS" -a -z "$LIBMAGICK_LIBS"; then
  2059. echo ""
  2060. echo "You're missing GraphicsMagick (>=1.1.7). chalk's GraphicsMagick import/export"
  2061. echo "filter will not be compiled. You can download GraphicsMagick from"
  2062. echo "http://www.graphicsmagick.org/. The GraphicsMagick filter allows chalk to"
  2063. echo "read and write XCF, PSD, GIF, BMP, and many other image formats."
  2064. echo ""
  2065. echo "If you have problems compiling GraphicsMagick, please try configuring it using"
  2066. echo "the --without-magick-plus-plus flag, the C++ API isn't needed for chalk."
  2067. echo ""
  2068. all_tests=bad
  2069. AC_DEFINE([include_imagemagick_filter],"",[don't use magick filter])
  2070. fi
  2071. if test -z "$LIBGMAGICK_LIBS" -a ! -z "$LIBMAGICK_LIBS"; then
  2072. echo ""
  2073. echo "You're missing GraphicsMagick (>=1.1.7). chalk's GraphicsMagick import/export"
  2074. echo "filter will not be compiled. But ImageMagick was found, which mean that chalk"
  2075. echo "will be able to read and write XCF, PSD, GIF, BMP, and many other image formats."
  2076. echo "But the ImageMagick filter is deprecated and we strongly advise you to install"
  2077. echo "GraphicsMagick either from your distribution or from http://www.graphicsmagick.org/"
  2078. fi
  2079. if test -z "$LIBJPEG" -o -z "$LIBEXIF"; then
  2080. echo ""
  2081. echo "You're missing libjpeg or libexif 0.6.12 or later (binaries and/or headers)."
  2082. echo "chalk won't be able to import/export jpeg"
  2083. echo ""
  2084. all_tests=bad
  2085. fi
  2086. # ImageMagick is deprecated, we don't care anymore if it's not here
  2087. #
  2088. #if test -z "$LIBMAGICK_LIBS"; then
  2089. # echo ""
  2090. # echo "You're missing ImageMagick (>=6.1.0). chalk's ImageMagick import/export"
  2091. # echo "filter will not be compiled. You can download ImageMagick from"
  2092. # echo "http://www.imagemagick.org/. The ImageMagick filter allows chalk to"
  2093. # echo "read and write XCF, PSD, GIF, BMP, and many other image formats."
  2094. # echo ""
  2095. # echo "If you have problems compiling ImageMagick, please try configuring it using"
  2096. # echo "the --without-magick-plus-plus flag, the C++ API isn't needed for chalk."
  2097. # echo ""
  2098. # all_tests=bad
  2099. #fi
  2100. if test -z "$OPENEXR_LIBS"; then
  2101. echo ""
  2102. echo "You're missing the OpenEXR library. Chalk's OpenEXR import/export filter will "
  2103. echo "not be compiled. You can download OpenEXR from http://www.openexr.com or "
  2104. echo "install it from an appropriate binary package."
  2105. echo ""
  2106. all_tests=bad
  2107. fi
  2108. if test -z "$POPPLER_LIBS"; then
  2109. echo ""
  2110. echo "You're missing libpoppler 0.5.1 or later (binaries and/or headers)."
  2111. echo "chalk won't be able to import pdf"
  2112. echo "note that the qt-binding of libpoppler is required"
  2113. echo ""
  2114. fi
  2115. if test -z "$LIBPNG"; then
  2116. echo ""
  2117. echo "You're missing libpng (binaries and/or headers), chalk won't be able"
  2118. echo "to import/export png"
  2119. echo ""
  2120. all_tests=bad
  2121. fi
  2122. if test -z "$LIBTIFF"; then
  2123. echo ""
  2124. echo "You're missing libtiff (binaries and/or headers), chalk won't be able"
  2125. echo "to import/export tiff"
  2126. echo ""
  2127. all_tests=bad
  2128. fi
  2129. if test -z "$LIBWV2_LIBS"; then
  2130. echo ""
  2131. echo "You're missing libwv2 0.1.9 or newer. KWord's MS Word filter will not be"
  2132. echo "compiled. You can download wv2 using anonymous CVS from the Sourceforge"
  2133. echo "repository (http://sourceforge.net/cvs/?group_id=10501) or get a"
  2134. echo "tarball at http://sourceforge.net/projects/wvware/"
  2135. # echo "The MS Word filter won't be compiled due to experimental changes."
  2136. echo ""
  2137. all_tests=bad
  2138. fi
  2139. if test -z "$LIBWPD_LIBS"; then
  2140. echo ""
  2141. echo "You're missing libwpd 0.8 or newer. KWord's WordPerfect import filter will "
  2142. echo "not be compiled. You can download libwpd from http://libwpd.sf.net or "
  2143. echo "install it from appropriate binary package."
  2144. echo ""
  2145. all_tests=bad
  2146. fi
  2147. if test -z "$LIBXML_LIBS"; then
  2148. echo ""
  2149. echo "You're missing libxml2 (at least version 2.4.8)."
  2150. echo "The XSLT filters will not be compiled."
  2151. echo "Please download libxml2 from http://xmlsoft.org ."
  2152. echo ""
  2153. all_tests=bad
  2154. fi
  2155. if test -z "$LIBXSLT_LIBS"; then
  2156. echo ""
  2157. echo "You're missing libxslt (at least version 1.0.7)."
  2158. echo "The XSLT filters will not be compiled."
  2159. # TODO: URL is not exacly right anymore
  2160. echo "Please download libxml2 from http://xmlsoft.org ."
  2161. echo ""
  2162. all_tests=bad
  2163. fi
  2164. if test -z "$LIBART_LIBS"; then
  2165. echo ""
  2166. echo "You're missing libart 2.3.8. karbon will not be compiled."
  2167. echo "You can download libart from"
  2168. echo "http://svg.kde.org/download.html"
  2169. echo ""
  2170. all_tests=bad
  2171. else
  2172. if test -z "$LIBFONTCONFIG_LIBS"; then
  2173. echo ""
  2174. echo "You're missing fontconfig 1.0.1 or newer. karbon will not have text support."
  2175. echo "You can download fontconfig from http://fontconfig.org/"
  2176. echo ""
  2177. all_tests=bad
  2178. fi
  2179. if test -z "$LIBFREETYPE_LIBS"; then
  2180. echo ""
  2181. echo "You're missing libfreetype 5.0 or newer. karbon will not have text support."
  2182. echo "You can download libfreetype from http://www.freetype.org/"
  2183. echo ""
  2184. all_tests=bad
  2185. fi
  2186. fi
  2187. if test -z "$MYSQL_INC" -o -z "$MYSQL_LIBS"; then
  2188. echo "----------------------------------------------------------------------"
  2189. echo " + The MySQL development files were not found."
  2190. cat <<EOS
  2191. These are required for MySQL support in Kexi.
  2192. If you want MySQL support in Kexi, you need to install the MySQL development
  2193. files, ensure that mysql-config is in your path, and run this configure script
  2194. again, and finally run make; make install.
  2195. If you don't need MySQL support, you can simply run make; make install now.
  2196. EOS
  2197. all_tests=bad
  2198. fi
  2199. if test -z "$PG_INCDIR" -o -z "$PG_LIBDIR" -o \
  2200. -z "$PQXX_INCDIR" -o -z "$PQXX_LIBDIR"; then
  2201. echo "----------------------------------------------------------------------"
  2202. # LIBPQ messages
  2203. if test -z "$PG_INCDIR"; then
  2204. echo " + The PostgreSQL C-API (libpq) headers were not found."
  2205. fi
  2206. if test -z "$PG_LIBDIR"; then
  2207. echo " + The PostgreSQL C-API (libpq) libraries were not found."
  2208. fi
  2209. if test -z "$PG_INCDIR" -a -z "$PG_LIBDIR" ; then
  2210. pglib_parts_missing="HEADER or the libpq LIBRARY"
  2211. elif test -z "$PG_INCDIR" ; then
  2212. pglib_parts_missing="HEADER"
  2213. elif test -z "$PG_LIBDIR" ; then
  2214. pglib_parts_missing="LIBRARY"
  2215. fi
  2216. if test -z "$PG_INCDIR" -o -z "$PG_LIBDIR" ; then
  2217. cat <<EOS
  2218. Could not find the libpq $pglib_parts_missing files.
  2219. These are required by the libpqxx C++ library, which is used by
  2220. Kexi's PostgreSQL drivers.
  2221. The PostgreSQL C-API usually ship with PostgreSQL, but if you've
  2222. installed from a distros package then these files may be part of
  2223. a package called postgresql-devel or libpq-devel"
  2224. EOS
  2225. fi
  2226. # LIBPQXX messages
  2227. if test -z "$PQXX_INCDIR"; then
  2228. echo " + The PostgreSQL C++ API (libpqxx) headers were not found."
  2229. fi
  2230. if test -z "$PQXX_LIBDIR"; then
  2231. echo " + The PostgreSQL C++ API (libpqxx) shared libraries were not found."
  2232. fi
  2233. if test -z "$PQXX_INCDIR" -a -z "$PQXX_LIBDIR" ; then
  2234. pqxx_parts_missing="HEADER or the libpqxx LIBRARY"
  2235. elif test -z "$PQXX_INCDIR" ; then
  2236. pqxx_parts_missing="HEADER"
  2237. elif test -z "$PQXX_LIBDIR" ; then
  2238. pqxx_parts_missing="LIBRARY"
  2239. fi
  2240. if test -z "$PQXX_INCDIR" -o -z "$PQXX_LIBDIR" ; then
  2241. cat <<EOS
  2242. Could not find the libpqxx $pqxx_parts_missing files.
  2243. These are required by Kexi's PostgreSQL drivers.
  2244. Note: Kexi requires the SHARED libpqxx.so library files.
  2245. If you build pqxx library on your own, don't forget to use the
  2246. --enable-shared option when you run libpqxx's configure script.
  2247. This is necessary to compile the SHARED .so library, and
  2248. not the STATIC libpqxx.a.
  2249. The PostgreSQL C++ API can be downloaded from pqxx.tk or
  2250. http://gborg.postgresql.org/project/libpqxx/projdisplay.php
  2251. Grab the latest version (>=2)
  2252. EOS
  2253. fi
  2254. # SUMMARY messages
  2255. cat <<EOS
  2256. These warnings are not critical, but without installing the files
  2257. listed above Kexi will be compiled without PostgreSQL support.
  2258. If you want PostgreSQL support in Kexi, you need to install the files
  2259. listed above, then run this configure script again, and finally run
  2260. make; make install. If you don't, simply run make; make install now.
  2261. EOS
  2262. all_tests=bad
  2263. echo "----------------------------------------------------------------------"
  2264. fi
  2265. if test -z "$LCMS_LIBS"; then
  2266. echo ""
  2267. echo "LittleCMS is missing, Chalk will not be built."
  2268. echo ""
  2269. echo "If you want to compile Chalk you should install:"
  2270. echo " * lcms 1.15 or newer (http://www.littlecms.com/)"
  2271. echo ""
  2272. all_tests=bad
  2273. else
  2274. if test -z "$GLLIB"; then
  2275. echo ""
  2276. echo "You're missing OpenGL libraries. chalk will"
  2277. echo "not be able to use OpenGL for hardware"
  2278. echo "accelerated rendering."
  2279. echo ""
  2280. fi
  2281. fi
  2282. if test -z "$LIBKSPELL2"; then
  2283. echo ""
  2284. echo "You don't use kdelibs CVS (kspell2 not found). Spell-checking disabled."
  2285. echo ""
  2286. all_tests=bad
  2287. fi
  2288. if test -z "$RUBY_LIBDIR" -a "x$compile_kross" = "xyes" ; then
  2289. echo ""
  2290. echo "Ruby development files were not found, or Ruby <= 1.8.1 was found,"
  2291. echo "Ruby scripting support for KOffice will not be built. If you don't"
  2292. echo "need Ruby scripting, you can ignore this message."
  2293. echo ""
  2294. fi
  2295. if test -z "$LIBPYTHON" -a -z "$PYTHONINC" -a $"x$compile_kross" = "xyes"; then
  2296. echo ""
  2297. echo "Python developement files were not found, Python scripting support for"
  2298. echo "KOffice will not be built. If you don't need Python scripting, you"
  2299. echo "can ignore this message"
  2300. echo ""
  2301. fi
  2302. # Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
  2303. if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
  2304. # And if so, warn when they don't match
  2305. if test "$kde_libs_prefix" != "$given_prefix"; then
  2306. # And if kde doesn't know about the prefix yet
  2307. echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
  2308. if test $? -ne 0; then
  2309. echo ""
  2310. echo "Warning: you chose to install this package in $given_prefix,"
  2311. echo "but KDE was found in $kde_libs_prefix."
  2312. echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
  2313. echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
  2314. echo "Then restart KDE."
  2315. echo ""
  2316. fi
  2317. fi
  2318. fi
  2319. if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
  2320. echo ""
  2321. echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
  2322. echo "was not included. Therefore, GCC symbol visibility support remains disabled."
  2323. echo ""
  2324. echo "For better performance, consider including the Qt visibility supporting patch"
  2325. echo "located at:"
  2326. echo ""
  2327. echo "http://bugs.kde.org/show_bug.cgi?id=109386"
  2328. echo ""
  2329. echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
  2330. echo "everything will continue to work just fine without it."
  2331. echo ""
  2332. fi
  2333. if test "$all_tests" = "bad"; then
  2334. if test ! "$cache_file" = "/dev/null"; then
  2335. echo ""
  2336. echo "Please remove the file $cache_file after changing your setup"
  2337. echo "so that configure will find the changes next time."
  2338. echo ""
  2339. fi
  2340. else
  2341. echo ""
  2342. echo "Good - your configure finished. Start make now"
  2343. echo ""
  2344. fi