Shared admin folder
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.min 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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(@MODULENAME@, @VERSION@) dnl searches for some needed programs
  30. KDE_SET_PREFIX
  31. dnl generate the config header
  32. AC_CONFIG_HEADER(config.h) dnl at the distribution this done
  33. dnl Checks for programs.
  34. AC_PROG_CC
  35. AC_PROG_CXX
  36. AC_CHECK_COMPILERS
  37. AC_ENABLE_SHARED(yes)
  38. AC_ENABLE_STATIC(no)
  39. KDE_PROG_LIBTOOL
  40. dnl for NLS support. Call them in this order!
  41. dnl WITH_NLS is for the po files
  42. AM_KDE_WITH_NLS
  43. dnl KDE_USE_TQT
  44. AC_PATH_KDE