| Line |  | 
|---|
| 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(activemirrorcontrol, 0.1) 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 | #MIN_CONFIG | 
|---|
| 39 |  | 
|---|
| 40 | dnl PACKAGE set before | 
|---|
| 41 |  | 
|---|
| 42 | KDE_CREATE_SUBDIRSLIST | 
|---|
| 43 | AC_OUTPUT( \ | 
|---|
| 44 | ./Makefile \ | 
|---|
| 45 | activemirrorcontrol/Makefile \ | 
|---|
| 46 | doc/Makefile \ | 
|---|
| 47 | doc/en/Makefile \ | 
|---|
| 48 | po/Makefile \ | 
|---|
| 49 | ) | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.