KDirStat – a graphical disk usage utility
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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(kdirstat, 2.4.4) 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. dnl KDE_USE_TQT
  45. AC_PATH_KDE
  46. dnl =======================================================
  47. dnl FILE: configure.in.in
  48. dnl =======================================================
  49. #MIN_CONFIG
  50. dnl PACKAGE set before
  51. AC_SYS_LARGEFILE
  52. KDE_CHECK_LONG_LONG
  53. KDE_CREATE_SUBDIRSLIST
  54. AC_CONFIG_FILES([ Makefile ])
  55. AC_CONFIG_FILES([ doc/Makefile ])
  56. AC_CONFIG_FILES([ doc/en/Makefile ])
  57. AC_CONFIG_FILES([ kdirstat/Makefile ])
  58. AC_CONFIG_FILES([ kdirstat/pics/Makefile ])
  59. AC_CONFIG_FILES([ po/Makefile ])
  60. AC_OUTPUT
  61. # Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
  62. if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
  63. # And if so, warn when they don't match
  64. if test "$kde_libs_prefix" != "$given_prefix"; then
  65. # And if kde doesn't know about the prefix yet
  66. echo ":"`tde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
  67. if test $? -ne 0; then
  68. echo ""
  69. echo "Warning: you chose to install this package in $given_prefix,"
  70. echo "but KDE was found in $kde_libs_prefix."
  71. echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
  72. echo "that TDEDIRS contains it, e.g. export TDEDIRS=$given_prefix:$kde_libs_prefix"
  73. echo "Then restart KDE."
  74. echo ""
  75. fi
  76. fi
  77. fi
  78. if test "$all_tests" = "bad"; then
  79. if test ! "$cache_file" = "/dev/null"; then
  80. echo ""
  81. echo "Please remove the file $cache_file after changing your setup"
  82. echo "so that configure will find the changes next time."
  83. echo ""
  84. fi
  85. else
  86. echo ""
  87. echo "Good - your configure finished. Start make now"
  88. echo ""
  89. fi