]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blob - configure.in
feefa97c493a883feeb571e7f41feb89840370f1
[z.facultad/75.42/plaqui.git] / configure.in
1 ## vim: set noexpandtab tabstop=4 shiftwidth=4:
2 ##----------------------------------------------------------------------------
3 ##                                  PlaQui
4 ##----------------------------------------------------------------------------
5 ## This file is part of PlaQui.
6 ##
7 ## PlaQui is free software; you can redistribute it and/or modify it under the
8 ## terms of the GNU General Public License as published by the Free Software
9 ## Foundation; either version 2 of the License, or (at your option) any later
10 ## version.
11 ##
12 ## PlaQui is distributed in the hope that it will be useful, but WITHOUT ANY
13 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
14 ## FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
15 ## details.
16 ##
17 ## You should have received a copy of the GNU General Public License along
18 ## with PlaQui; if not, write to the Free Software Foundation, Inc., 59 Temple
19 ## Place, Suite 330, Boston, MA  02111-1307  USA
20 ##----------------------------------------------------------------------------
21 ## Creado:  jue nov 20 14:42:27 ART 2003
22 ## Autores: Leandro Lucarella <llucare@fi.uba.ar>
23 ##----------------------------------------------------------------------------
24 ##
25 ## $Id$
26 ##
27
28 AC_INIT(configure.in)
29 AM_INIT_AUTOMAKE(plaqui, 1.0)
30 AM_MAINTAINER_MODE
31
32 dnl Prevents setting flags.
33 CXXFLAGS=""
34
35 AC_ISC_POSIX
36 AC_PROG_CXX
37 AM_PROG_CC_STDC
38 AC_PROG_RANLIB
39 AC_HEADER_STDC
40
41 dnl Debugging turned on
42 AC_MSG_CHECKING(for debugging)
43 AC_ARG_ENABLE(debug,[  --enable-debug          compile for debugging])
44 AC_MSG_RESULT([$enable_debug])
45 if test "x$enable_debug" = "xyes" ; then
46 CXXFLAGS="${CXXFLAGS} -g -DDEBUG"
47 fi
48
49 ## pkg_modules="libgnomeui-2.0"
50 PKG_CHECK_MODULES(PACKAGE, 
51                 libxml-2.0 >= 0.15.0 \
52                 libxml++-1.0 >= 0.15.0 \
53                 gthread-2.0 \
54                 sigc++-1.2 \
55                 gtkmm-2.0 >= 2.0.0 \
56                 libglademm-2.0 >= 2.0.0)
57
58 AC_SUBST(PACKAGE_CFLAGS)
59 AC_SUBST(PACKAGE_LIBS)
60
61 AC_OUTPUT([
62 Makefile
63 Model/Makefile
64 Model/src/Makefile
65 Server/Makefile
66 Server/src/Makefile
67 Client/Makefile
68 Client/pixmaps/Makefile
69 Client/dialogs/Makefile
70 Client/src/Makefile
71 Constructor/Makefile
72 Constructor/pixmaps/Makefile
73 Constructor/dialogs/Makefile
74 Constructor/src/Makefile
75 ])
76
77 echo
78 echo "Todo listo. Ahora para compilar solo ejecute make"
79 echo
80 echo "The PlaQui Development Team"
81