koffice-i18n
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 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. dnl =======================================================
  2. dnl FILE: configure.in.in
  3. dnl =======================================================
  4. AC_INIT(messages/Makefile.am)
  5. AM_INIT_AUTOMAKE(koffice-i18n-cs, "3.5.7")
  6. AM_CONFIG_HEADER(config.h)
  7. AC_SUBST(AUTODIRS)
  8. AM_KDE_WITH_NLS
  9. AC_CREATE_KFSSTND(default)
  10. KDE_SET_PREFIX
  11. AC_SUBST_KFSSTND
  12. AC_PROG_INSTALL
  13. AC_PROG_LN_S
  14. KDE_CREATE_SUBDIRSLIST
  15. AC_CONFIG_FILES([ Makefile ])
  16. AC_CONFIG_FILES([ data/Makefile ])
  17. AC_CONFIG_FILES([ data/koffice/Makefile ])
  18. AC_CONFIG_FILES([ data/koffice/autocorrect/Makefile ])
  19. AC_CONFIG_FILES([ messages/Makefile ])
  20. AC_CONFIG_FILES([ messages/koffice/Makefile ])
  21. AC_OUTPUT
  22. # Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
  23. if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
  24. # And if so, warn when they don't match
  25. if test "$kde_libs_prefix" != "$given_prefix"; then
  26. # And if kde doesn't know about the prefix yet
  27. echo ":"`tde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
  28. if test $? -ne 0; then
  29. echo ""
  30. echo "Warning: you chose to install this package in $given_prefix,"
  31. echo "but KDE was found in $kde_libs_prefix."
  32. echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
  33. echo "that TDEDIRS contains it, e.g. export TDEDIRS=$given_prefix:$kde_libs_prefix"
  34. echo "Then restart KDE."
  35. echo ""
  36. fi
  37. fi
  38. fi
  39. if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
  40. echo ""
  41. echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
  42. echo "was not included. Therefore, GCC symbol visibility support remains disabled."
  43. echo ""
  44. echo "For better performance, consider including the Qt visibility supporting patch"
  45. echo "located at:"
  46. echo ""
  47. echo "http://bugs.kde.org/show_bug.cgi?id=109386"
  48. echo ""
  49. echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
  50. echo "everything will continue to work just fine without it."
  51. echo ""
  52. fi
  53. if test "$all_tests" = "bad"; then
  54. if test ! "$cache_file" = "/dev/null"; then
  55. echo ""
  56. echo "Please remove the file $cache_file after changing your setup"
  57. echo "so that configure will find the changes next time."
  58. echo ""
  59. fi
  60. else
  61. echo ""
  62. echo "Good - your configure finished. Start make now"
  63. echo ""
  64. fi