home *** CD-ROM | disk | FTP | other *** search
/ c't freeware shareware 2001 January / CT_SW0101.ISO / pc / software / kommunik / ftp / kmago112.tgz / kmago112.tar / kmago-1.1.2 / admin / configure.in.min < prev    next >
Text File  |  2001-01-17  |  864b  |  38 lines

  1. # Original Author was Kalle@kde.org
  2. # I lifted it in some mater. (Stephan Kulow)
  3. # I used much code from Janos Farkas
  4.  
  5. dnl Process this file with autoconf to produce a configure script.
  6.  
  7. AC_INIT(acinclude.m4) dnl a source file from your sub dir
  8.  
  9. dnl This is so we can use kde-common
  10. AC_CONFIG_AUX_DIR(admin)
  11.  
  12. AC_CANONICAL_SYSTEM 
  13. AC_ARG_PROGRAM
  14.  
  15. dnl Automake doc recommends to do this only here. (Janos)
  16. AM_INIT_AUTOMAKE(@MODULENAME@, @VERSION@) dnl searches for some needed programs
  17.  
  18. KDE_SET_PREFIX
  19.  
  20. dnl generate the config header
  21. AM_CONFIG_HEADER(config.h) dnl at the distribution this done
  22.  
  23. dnl Checks for programs.
  24. AC_CHECK_COMPILERS
  25. AC_ENABLE_SHARED(yes)
  26. AC_ENABLE_STATIC(no)
  27. KDE_PROG_LIBTOOL
  28.  
  29. dnl for NLS support. Call them in this order!
  30. dnl WITH_NLS is for the po files
  31. AM_KDE_WITH_NLS
  32.  
  33. AC_PATH_KDE
  34.  
  35. dnl Perform program name transformation
  36. AC_ARG_PROGRAM
  37.  
  38.