public
Description: gPHPEdit PHP/HTML/CSS development environment for GNOME
Homepage: http://www.gphpedit.org
Clone URL: git://github.com/anoopjohn/gphpedit.git
gphpedit / configure.in
100644 86 lines (71 sloc) 2.322 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
dnl
dnl This file is part of gPHPEdit
dnl
dnl Copyright (C) 2003, 2004, 2005 Andy Jeffries <andy@gphpedit.org>
dnl
dnl gPHPEdit is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 2 of the License, or
dnl (at your option) any later version.
dnl
dnl gPHPEdit is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
dnl GNU General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License along
dnl with this program; if not, write to the Free Software Foundation, Inc.,
dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
dnl
 
AC_INIT(src)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(gphpedit, 0.9.96)
 
AM_MAINTAINER_MODE
 
AC_PROG_CC
AC_PROG_CXX
AC_PROG_LIBTOOL
AC_PROG_INTLTOOL
 
dnl --------------
dnl | dependencies |-----------------------------------------------------------
dnl --------------
 
PKG_CHECK_MODULES(GPHPEDIT,[
gtk+-2.0
libgnomeui-2.0
gnome-vfs-2.0
libgtkhtml-2.0
dnl libgnomeprint-2.2
dnl libgnomeprintui-2.2
])
 
AC_SUBST(GPHPEDIT_CFLAGS)
AC_SUBST(GPHPEDIT_LIBS)
 
dnl ---------------------------------------------------------------------------
 
dnl ------------------
dnl | language support |-------------------------------------------------------
dnl ------------------
 
GETTEXT_PACKAGE=gphpedit
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[The package name, for gettext])
 
dnl Please keep this in alphabetical order
ALL_LINGUAS=""
 
AM_GLIB_GNU_GETTEXT
 
dnl AM_GLIB_GNU_GETTEXT sets $DATADIRNAME
AC_MSG_CHECKING(locale directory)
if test "x$prefix" = "xNONE"; then
  PACKAGE_LOCALE_DIR=$ac_default_prefix/share/locale
else
  PACKAGE_LOCALE_DIR=$prefix/share/locale
fi
AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "$PACKAGE_LOCALE_DIR",
[The directory in which gphpedit's locale data will be stored])
AC_MSG_RESULT("$PACKAGE_LOCALE_DIR")
 
dnl ---------------------------------------------------------------------------
 
AC_OUTPUT([
Makefile
gphpedit.desktop
gphpedit.spec
data/Makefile
doc/Makefile
pixmaps/Makefile
po/Makefile.in
src/Makefile
])