K3b – internationalization translations
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.

configure.in 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  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(k3b-i18n-1.0.5, "3.5.9") dnl searches for some needed programs
  33. KDE_SET_PREFIX
  34. dnl generate the config header
  35. AM_CONFIG_HEADER(config.h) dnl at the distribution this done
  36. dnl Checks for programs.
  37. AC_CHECK_COMPILERS
  38. AC_ENABLE_SHARED(yes)
  39. AC_ENABLE_STATIC(no)
  40. KDE_PROG_LIBTOOL
  41. dnl for NLS support. Call them in this order!
  42. dnl WITH_NLS is for the po files
  43. AM_KDE_WITH_NLS
  44. KDE_USE_TQT(3.2)
  45. AC_PATH_KDE
  46. dnl =======================================================
  47. dnl FILE: configure.in.in
  48. dnl =======================================================
  49. #MIN_CONFIG(3.2)
  50. KDE_CREATE_SUBDIRSLIST
  51. AM_CONDITIONAL(af_SUBDIR_included, test "x$af_SUBDIR_included" = xyes)
  52. AM_CONDITIONAL(ar_SUBDIR_included, test "x$ar_SUBDIR_included" = xyes)
  53. AM_CONDITIONAL(bg_SUBDIR_included, test "x$bg_SUBDIR_included" = xyes)
  54. AM_CONDITIONAL(br_SUBDIR_included, test "x$br_SUBDIR_included" = xyes)
  55. AM_CONDITIONAL(bs_SUBDIR_included, test "x$bs_SUBDIR_included" = xyes)
  56. AM_CONDITIONAL(ca_SUBDIR_included, test "x$ca_SUBDIR_included" = xyes)
  57. AM_CONDITIONAL(cs_SUBDIR_included, test "x$cs_SUBDIR_included" = xyes)
  58. AM_CONDITIONAL(cy_SUBDIR_included, test "x$cy_SUBDIR_included" = xyes)
  59. AM_CONDITIONAL(da_SUBDIR_included, test "x$da_SUBDIR_included" = xyes)
  60. AM_CONDITIONAL(de_SUBDIR_included, test "x$de_SUBDIR_included" = xyes)
  61. AM_CONDITIONAL(el_SUBDIR_included, test "x$el_SUBDIR_included" = xyes)
  62. AM_CONDITIONAL(en_GB_SUBDIR_included, test "x$en_GB_SUBDIR_included" = xyes)
  63. AM_CONDITIONAL(es_SUBDIR_included, test "x$es_SUBDIR_included" = xyes)
  64. AM_CONDITIONAL(et_SUBDIR_included, test "x$et_SUBDIR_included" = xyes)
  65. AM_CONDITIONAL(eu_SUBDIR_included, test "x$eu_SUBDIR_included" = xyes)
  66. AM_CONDITIONAL(fa_SUBDIR_included, test "x$fa_SUBDIR_included" = xyes)
  67. AM_CONDITIONAL(fi_SUBDIR_included, test "x$fi_SUBDIR_included" = xyes)
  68. AM_CONDITIONAL(fr_SUBDIR_included, test "x$fr_SUBDIR_included" = xyes)
  69. AM_CONDITIONAL(ga_SUBDIR_included, test "x$ga_SUBDIR_included" = xyes)
  70. AM_CONDITIONAL(gl_SUBDIR_included, test "x$gl_SUBDIR_included" = xyes)
  71. AM_CONDITIONAL(he_SUBDIR_included, test "x$he_SUBDIR_included" = xyes)
  72. AM_CONDITIONAL(hi_SUBDIR_included, test "x$hi_SUBDIR_included" = xyes)
  73. AM_CONDITIONAL(hu_SUBDIR_included, test "x$hu_SUBDIR_included" = xyes)
  74. AM_CONDITIONAL(is_SUBDIR_included, test "x$is_SUBDIR_included" = xyes)
  75. AM_CONDITIONAL(it_SUBDIR_included, test "x$it_SUBDIR_included" = xyes)
  76. AM_CONDITIONAL(ja_SUBDIR_included, test "x$ja_SUBDIR_included" = xyes)
  77. AM_CONDITIONAL(ka_SUBDIR_included, test "x$ka_SUBDIR_included" = xyes)
  78. AM_CONDITIONAL(km_SUBDIR_included, test "x$km_SUBDIR_included" = xyes)
  79. AM_CONDITIONAL(lt_SUBDIR_included, test "x$lt_SUBDIR_included" = xyes)
  80. AM_CONDITIONAL(mk_SUBDIR_included, test "x$mk_SUBDIR_included" = xyes)
  81. AM_CONDITIONAL(ms_SUBDIR_included, test "x$ms_SUBDIR_included" = xyes)
  82. AM_CONDITIONAL(nb_SUBDIR_included, test "x$nb_SUBDIR_included" = xyes)
  83. AM_CONDITIONAL(nds_SUBDIR_included, test "x$nds_SUBDIR_included" = xyes)
  84. AM_CONDITIONAL(ne_SUBDIR_included, test "x$ne_SUBDIR_included" = xyes)
  85. AM_CONDITIONAL(nl_SUBDIR_included, test "x$nl_SUBDIR_included" = xyes)
  86. AM_CONDITIONAL(nn_SUBDIR_included, test "x$nn_SUBDIR_included" = xyes)
  87. AM_CONDITIONAL(pa_SUBDIR_included, test "x$pa_SUBDIR_included" = xyes)
  88. AM_CONDITIONAL(pl_SUBDIR_included, test "x$pl_SUBDIR_included" = xyes)
  89. AM_CONDITIONAL(pt_SUBDIR_included, test "x$pt_SUBDIR_included" = xyes)
  90. AM_CONDITIONAL(pt_BR_SUBDIR_included, test "x$pt_BR_SUBDIR_included" = xyes)
  91. AM_CONDITIONAL(ru_SUBDIR_included, test "x$ru_SUBDIR_included" = xyes)
  92. AM_CONDITIONAL(rw_SUBDIR_included, test "x$rw_SUBDIR_included" = xyes)
  93. AM_CONDITIONAL(se_SUBDIR_included, test "x$se_SUBDIR_included" = xyes)
  94. AM_CONDITIONAL(sk_SUBDIR_included, test "x$sk_SUBDIR_included" = xyes)
  95. AM_CONDITIONAL(sr_SUBDIR_included, test "x$sr_SUBDIR_included" = xyes)
  96. AM_CONDITIONAL(sr_Latn_SUBDIR_included, test "x$sr_Latn_SUBDIR_included" = xyes)
  97. AM_CONDITIONAL(sv_SUBDIR_included, test "x$sv_SUBDIR_included" = xyes)
  98. AM_CONDITIONAL(ta_SUBDIR_included, test "x$ta_SUBDIR_included" = xyes)
  99. AM_CONDITIONAL(tr_SUBDIR_included, test "x$tr_SUBDIR_included" = xyes)
  100. AM_CONDITIONAL(uk_SUBDIR_included, test "x$uk_SUBDIR_included" = xyes)
  101. AM_CONDITIONAL(uz_SUBDIR_included, test "x$uz_SUBDIR_included" = xyes)
  102. AM_CONDITIONAL(uz_cyrillic_SUBDIR_included, test "x$uz_cyrillic_SUBDIR_included" = xyes)
  103. AM_CONDITIONAL(zh_CN_SUBDIR_included, test "x$zh_CN_SUBDIR_included" = xyes)
  104. AM_CONDITIONAL(zh_TW_SUBDIR_included, test "x$zh_TW_SUBDIR_included" = xyes)
  105. AC_CONFIG_FILES([ Makefile ])
  106. AC_CONFIG_FILES([ af/Makefile ])
  107. AC_CONFIG_FILES([ af/messages/Makefile ])
  108. AC_CONFIG_FILES([ ar/Makefile ])
  109. AC_CONFIG_FILES([ ar/messages/Makefile ])
  110. AC_CONFIG_FILES([ bg/Makefile ])
  111. AC_CONFIG_FILES([ bg/messages/Makefile ])
  112. AC_CONFIG_FILES([ br/Makefile ])
  113. AC_CONFIG_FILES([ br/messages/Makefile ])
  114. AC_CONFIG_FILES([ bs/Makefile ])
  115. AC_CONFIG_FILES([ bs/messages/Makefile ])
  116. AC_CONFIG_FILES([ ca/Makefile ])
  117. AC_CONFIG_FILES([ ca/messages/Makefile ])
  118. AC_CONFIG_FILES([ cs/Makefile ])
  119. AC_CONFIG_FILES([ cs/messages/Makefile ])
  120. AC_CONFIG_FILES([ cy/Makefile ])
  121. AC_CONFIG_FILES([ cy/messages/Makefile ])
  122. AC_CONFIG_FILES([ da/Makefile ])
  123. AC_CONFIG_FILES([ da/doc/Makefile ])
  124. AC_CONFIG_FILES([ da/messages/Makefile ])
  125. AC_CONFIG_FILES([ de/Makefile ])
  126. AC_CONFIG_FILES([ de/doc/Makefile ])
  127. AC_CONFIG_FILES([ de/messages/Makefile ])
  128. AC_CONFIG_FILES([ el/Makefile ])
  129. AC_CONFIG_FILES([ el/messages/Makefile ])
  130. AC_CONFIG_FILES([ en_GB/Makefile ])
  131. AC_CONFIG_FILES([ en_GB/messages/Makefile ])
  132. AC_CONFIG_FILES([ es/Makefile ])
  133. AC_CONFIG_FILES([ es/doc/Makefile ])
  134. AC_CONFIG_FILES([ es/messages/Makefile ])
  135. AC_CONFIG_FILES([ et/Makefile ])
  136. AC_CONFIG_FILES([ et/doc/Makefile ])
  137. AC_CONFIG_FILES([ et/messages/Makefile ])
  138. AC_CONFIG_FILES([ eu/Makefile ])
  139. AC_CONFIG_FILES([ eu/messages/Makefile ])
  140. AC_CONFIG_FILES([ fa/Makefile ])
  141. AC_CONFIG_FILES([ fa/messages/Makefile ])
  142. AC_CONFIG_FILES([ fi/Makefile ])
  143. AC_CONFIG_FILES([ fi/messages/Makefile ])
  144. AC_CONFIG_FILES([ fr/Makefile ])
  145. AC_CONFIG_FILES([ fr/doc/Makefile ])
  146. AC_CONFIG_FILES([ fr/messages/Makefile ])
  147. AC_CONFIG_FILES([ ga/Makefile ])
  148. AC_CONFIG_FILES([ ga/messages/Makefile ])
  149. AC_CONFIG_FILES([ gl/Makefile ])
  150. AC_CONFIG_FILES([ gl/messages/Makefile ])
  151. AC_CONFIG_FILES([ he/Makefile ])
  152. AC_CONFIG_FILES([ he/messages/Makefile ])
  153. AC_CONFIG_FILES([ hi/Makefile ])
  154. AC_CONFIG_FILES([ hi/messages/Makefile ])
  155. AC_CONFIG_FILES([ hu/Makefile ])
  156. AC_CONFIG_FILES([ hu/messages/Makefile ])
  157. AC_CONFIG_FILES([ is/Makefile ])
  158. AC_CONFIG_FILES([ is/messages/Makefile ])
  159. AC_CONFIG_FILES([ it/Makefile ])
  160. AC_CONFIG_FILES([ it/doc/Makefile ])
  161. AC_CONFIG_FILES([ it/messages/Makefile ])
  162. AC_CONFIG_FILES([ ja/Makefile ])
  163. AC_CONFIG_FILES([ ja/messages/Makefile ])
  164. AC_CONFIG_FILES([ ka/Makefile ])
  165. AC_CONFIG_FILES([ ka/messages/Makefile ])
  166. AC_CONFIG_FILES([ km/Makefile ])
  167. AC_CONFIG_FILES([ km/messages/Makefile ])
  168. AC_CONFIG_FILES([ lt/Makefile ])
  169. AC_CONFIG_FILES([ lt/messages/Makefile ])
  170. AC_CONFIG_FILES([ mk/Makefile ])
  171. AC_CONFIG_FILES([ mk/messages/Makefile ])
  172. AC_CONFIG_FILES([ ms/Makefile ])
  173. AC_CONFIG_FILES([ ms/messages/Makefile ])
  174. AC_CONFIG_FILES([ nb/Makefile ])
  175. AC_CONFIG_FILES([ nb/messages/Makefile ])
  176. AC_CONFIG_FILES([ nds/Makefile ])
  177. AC_CONFIG_FILES([ nds/messages/Makefile ])
  178. AC_CONFIG_FILES([ ne/Makefile ])
  179. AC_CONFIG_FILES([ ne/messages/Makefile ])
  180. AC_CONFIG_FILES([ nl/Makefile ])
  181. AC_CONFIG_FILES([ nl/doc/Makefile ])
  182. AC_CONFIG_FILES([ nl/messages/Makefile ])
  183. AC_CONFIG_FILES([ nn/Makefile ])
  184. AC_CONFIG_FILES([ nn/messages/Makefile ])
  185. AC_CONFIG_FILES([ pa/Makefile ])
  186. AC_CONFIG_FILES([ pa/messages/Makefile ])
  187. AC_CONFIG_FILES([ pl/Makefile ])
  188. AC_CONFIG_FILES([ pl/doc/Makefile ])
  189. AC_CONFIG_FILES([ pl/messages/Makefile ])
  190. AC_CONFIG_FILES([ pt/Makefile ])
  191. AC_CONFIG_FILES([ pt/doc/Makefile ])
  192. AC_CONFIG_FILES([ pt/messages/Makefile ])
  193. AC_CONFIG_FILES([ pt_BR/Makefile ])
  194. AC_CONFIG_FILES([ pt_BR/doc/Makefile ])
  195. AC_CONFIG_FILES([ pt_BR/messages/Makefile ])
  196. AC_CONFIG_FILES([ ru/Makefile ])
  197. AC_CONFIG_FILES([ ru/doc/Makefile ])
  198. AC_CONFIG_FILES([ ru/messages/Makefile ])
  199. AC_CONFIG_FILES([ rw/Makefile ])
  200. AC_CONFIG_FILES([ rw/messages/Makefile ])
  201. AC_CONFIG_FILES([ se/Makefile ])
  202. AC_CONFIG_FILES([ se/messages/Makefile ])
  203. AC_CONFIG_FILES([ sk/Makefile ])
  204. AC_CONFIG_FILES([ sk/messages/Makefile ])
  205. AC_CONFIG_FILES([ sr/Makefile ])
  206. AC_CONFIG_FILES([ sr/messages/Makefile ])
  207. AC_CONFIG_FILES([ sr@Latn/Makefile ])
  208. AC_CONFIG_FILES([ sr@Latn/messages/Makefile ])
  209. AC_CONFIG_FILES([ sv/Makefile ])
  210. AC_CONFIG_FILES([ sv/doc/Makefile ])
  211. AC_CONFIG_FILES([ sv/messages/Makefile ])
  212. AC_CONFIG_FILES([ ta/Makefile ])
  213. AC_CONFIG_FILES([ ta/messages/Makefile ])
  214. AC_CONFIG_FILES([ tr/Makefile ])
  215. AC_CONFIG_FILES([ tr/messages/Makefile ])
  216. AC_CONFIG_FILES([ uk/Makefile ])
  217. AC_CONFIG_FILES([ uk/doc/Makefile ])
  218. AC_CONFIG_FILES([ uk/messages/Makefile ])
  219. AC_CONFIG_FILES([ uz/Makefile ])
  220. AC_CONFIG_FILES([ uz/messages/Makefile ])
  221. AC_CONFIG_FILES([ uz@cyrillic/Makefile ])
  222. AC_CONFIG_FILES([ uz@cyrillic/messages/Makefile ])
  223. AC_CONFIG_FILES([ zh_CN/Makefile ])
  224. AC_CONFIG_FILES([ zh_CN/messages/Makefile ])
  225. AC_CONFIG_FILES([ zh_TW/Makefile ])
  226. AC_CONFIG_FILES([ zh_TW/messages/Makefile ])
  227. AC_OUTPUT
  228. dnl Put here things to be done at the very end - telling users
  229. dnl about additional packages to install. Better yet is giving
  230. dnl each project / subdr its own configure.in.bot.
  231. # Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
  232. if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
  233. # And if so, warn when they don't match
  234. if test "$kde_libs_prefix" != "$given_prefix"; then
  235. # And if kde doesn't know about the prefix yet
  236. echo ":"`tde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
  237. if test $? -ne 0; then
  238. echo ""
  239. echo "Warning: you chose to install this package in $given_prefix,"
  240. echo "but KDE was found in $kde_libs_prefix."
  241. echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
  242. echo "that TDEDIRS contains it, e.g. export TDEDIRS=$given_prefix:$kde_libs_prefix"
  243. echo "Then restart KDE."
  244. echo ""
  245. fi
  246. fi
  247. fi
  248. if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
  249. echo ""
  250. echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
  251. echo "was not included. Therefore, GCC symbol visibility support remains disabled."
  252. echo ""
  253. echo "For better performance, consider including the Qt visibility supporting patch"
  254. echo "located at:"
  255. echo ""
  256. echo "http://bugs.kde.org/show_bug.cgi?id=109386"
  257. echo ""
  258. echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
  259. echo "everything will continue to work just fine without it."
  260. echo ""
  261. fi
  262. if test "$all_tests" = "bad"; then
  263. if test ! "$cache_file" = "/dev/null"; then
  264. echo ""
  265. echo "Please remove the file $cache_file after changing your setup"
  266. echo "so that configure will find the changes next time."
  267. echo ""
  268. fi
  269. else
  270. echo ""
  271. echo "Good - your configure finished. Start make now"
  272. echo ""
  273. fi