]> code.citadel.org Git - citadel.git/blob - libCxClient/configure.in
Initial revision
[citadel.git] / libCxClient / configure.in
1 dnl ##
2 dnl ## libCxClient - Citadel/UX Extensible Client API
3 dnl ## Copyright (c) 2000, SCCG/Flaming Sword Productions
4 dnl ## All Rights Reserved
5 dnl ##
6 dnl ## $Id$
7
8 AC_INIT(aclocal.m4)
9
10 dnl without this order in this file, automake will be confused!
11 dnl the argument 
12 AM_CONFIG_HEADER(autoconf.h)
13
14 dnl inits some variables needed by automake's Makefiles.
15 dnl add here the package name and it's version number. It will
16 dnl be defined in config.h and in the Makefiles
17 AM_INIT_AUTOMAKE(libCxClient, 0.01)
18
19 dnl sets the prefix to $KDEDIR or /usr/local/kde (if no $KDEDIR
20 dnl set) for the case, that there is no --prefix
21 AC_PREFIX_DEFAULT(/usr/local)
22
23 AM_PROG_LIBTOOL
24
25 dnl Do we wish to compile in debugging information?
26 AC_MSG_CHECKING([for debugging mode])
27 AC_ARG_WITH(debug,
28     [  --with-debug            Enable all debugging messages. ],
29     [
30        AC_MSG_RESULT(yes)
31        AC_DEFINE_UNQUOTED(DEBUG, 1, [Define if you want to use debugging mode.])
32     ], [
33        AC_MSG_RESULT(no)
34     ]
35
36
37 dnl add here all your Makefiles. This are created by configure
38 AC_OUTPUT(Makefile src/Makefile)