KRename – powerful batch renamer
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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(krename, 3.0.14) 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.0)
  45. AC_PATH_KDE
  46. dnl =======================================================
  47. dnl FILE: configure.in.in
  48. dnl =======================================================
  49. #MIN_CONFIG(3.0)
  50. dnl PACKAGE set before
  51. KDE_CREATE_SUBDIRSLIST
  52. AC_CONFIG_FILES([ Makefile ])
  53. AC_CONFIG_FILES([ doc/Makefile ])
  54. AC_CONFIG_FILES([ doc/en/Makefile ])
  55. AC_CONFIG_FILES([ doc/en/HTML/Makefile ])
  56. AC_CONFIG_FILES([ krename/Makefile ])
  57. AC_CONFIG_FILES([ po/Makefile ])
  58. AC_OUTPUT
  59. # Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
  60. if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
  61. # And if so, warn when they don't match
  62. if test "$kde_libs_prefix" != "$given_prefix"; then
  63. # And if kde doesn't know about the prefix yet
  64. echo ":"`tde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
  65. if test $? -ne 0; then
  66. echo ""
  67. echo "Warning: you chose to install this package in $given_prefix,"
  68. echo "but KDE was found in $kde_libs_prefix."
  69. echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
  70. echo "that TDEDIRS contains it, e.g. export TDEDIRS=$given_prefix:$kde_libs_prefix"
  71. echo "Then restart KDE."
  72. echo ""
  73. fi
  74. fi
  75. fi
  76. if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
  77. echo ""
  78. echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
  79. echo "was not included. Therefore, GCC symbol visibility support remains disabled."
  80. echo ""
  81. echo "For better performance, consider including the Qt visibility supporting patch"
  82. echo "located at:"
  83. echo ""
  84. echo "http://bugs.kde.org/show_bug.cgi?id=109386"
  85. echo ""
  86. echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
  87. echo "everything will continue to work just fine without it."
  88. echo ""
  89. fi
  90. if test "$all_tests" = "bad"; then
  91. if test ! "$cache_file" = "/dev/null"; then
  92. echo ""
  93. echo "Please remove the file $cache_file after changing your setup"
  94. echo "so that configure will find the changes next time."
  95. echo ""
  96. fi
  97. else
  98. echo ""
  99. echo "Good - your configure finished. Start make now"
  100. echo ""
  101. fi