KNights – chess game
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

configure.in 2.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. dnl This file is part of the KDE libraries/packages
  2. dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
  3. dnl This file is free software; you can redistribute it and/or
  4. dnl modify it under the terms of the GNU Library General Public
  5. dnl License as published by the Free Software Foundation; either
  6. dnl version 2 of the License, or (at your option) any later version.
  7. dnl This library is distributed in the hope that it will be useful,
  8. dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  10. dnl Library General Public License for more details.
  11. dnl You should have received a copy of the GNU Library General Public License
  12. dnl along with this library; see the file COPYING.LIB. If not, write to
  13. dnl the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  14. dnl Boston, MA 02110-1301, USA.
  15. # Original Author was Kalle@kde.org
  16. # I lifted it in some mater. (Stephan Kulow)
  17. # I used much code from Janos Farkas
  18. dnl Process this file with autoconf to produce a configure script.
  19. AC_INIT(acinclude.m4) dnl a source file from your sub dir
  20. dnl This is so we can use kde-common
  21. AC_CONFIG_AUX_DIR(admin)
  22. dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
  23. unset CDPATH
  24. dnl Checking host/target/build systems, for make, install etc.
  25. AC_CANONICAL_SYSTEM
  26. dnl Perform program name transformation
  27. AC_ARG_PROGRAM
  28. dnl Automake doc recommends to do this only here. (Janos)
  29. AM_INIT_AUTOMAKE(knights, 0.6) dnl searches for some needed programs
  30. KDE_SET_PREFIX
  31. dnl generate the config header
  32. AM_CONFIG_HEADER(config.h) dnl at the distribution this done
  33. dnl Checks for programs.
  34. AC_CHECK_COMPILERS
  35. AC_ENABLE_SHARED(yes)
  36. AC_ENABLE_STATIC(no)
  37. KDE_PROG_LIBTOOL
  38. dnl for NLS support. Call them in this order!
  39. dnl WITH_NLS is for the po files
  40. AM_KDE_WITH_NLS
  41. KDE_USE_TQT(3.0.0)
  42. AC_PATH_KDE
  43. #MIN_CONFIG(3.0.0)
  44. dnl PACKAGE set before
  45. AC_PREREQ(2.5)
  46. KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(meinproc)])
  47. AC_SUBST(MEINPROC)
  48. KDE_CREATE_SUBDIRSLIST
  49. AC_CONFIG_FILES([ Makefile ])
  50. AC_CONFIG_FILES([ admin/Makefile ])
  51. AC_CONFIG_FILES([ doc/Makefile ])
  52. AC_CONFIG_FILES([ knights/Makefile ])
  53. AC_CONFIG_FILES([ media/Makefile ])
  54. AC_CONFIG_FILES([ po/Makefile ])
  55. AC_OUTPUT
  56. if test "$all_tests" = "bad"; then
  57. if test ! "$cache_file" = "/dev/null"; then
  58. echo ""
  59. echo "Please remove the file $cache_file after changing your setup"
  60. echo "so that configure will find the changes next time."
  61. echo ""
  62. fi
  63. else
  64. echo ""
  65. echo "Good - your configure finished. Start make now"
  66. echo ""
  67. fi