File: configure.in

package info (click to toggle)
gconf-editor 0.1-5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,212 kB
  • ctags: 301
  • sloc: sh: 6,586; ansic: 2,505; makefile: 124
file content (58 lines) | stat: -rw-r--r-- 1,017 bytes parent folder | download
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

AC_INIT(src/main.c)

AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(gconf-editor,0.1)
AM_MAINTAINER_MODE

AC_PROG_INTLTOOL

GNOME_COMMON_INIT

AC_PROG_CC
AC_HEADER_STDC
AM_PROG_LIBTOOL

changequote(,)dnl
if test "x$GCC" = "xyes"; then
  case " $CFLAGS " in
  *[\ \	]-Wall[\ \	]*) ;;
  *) CFLAGS="$CFLAGS -Wall" ;;
  esac
fi
changequote([,])dnl

if test "x$prefix" = "xNONE"; then
  GNOMELOCALEDIR=$ac_default_prefix/share/locale
else
  GNOMELOCALEDIR=$prefix/share/locale
fi
AC_DEFINE_UNQUOTED(GNOMELOCALEDIR, "$GNOMELOCALEDIR")

PKG_CHECK_MODULES(GCONF_EDITOR,
		  gconf-2.0 >= 1.1.7 \
		  gtk+-2.0 >= 1.3.13)

AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)

ALL_LINGUAS="az ms no sv"

GETTEXT_PACKAGE=gconf-editor
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE")

AM_GLIB_GNU_GETTEXT

AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
AC_SUBST(GCONF_EDITOR_LIBS)
AC_SUBST(GCONF_EDITOR_CFLAGS)

AC_OUTPUT([
Makefile
data/Makefile
data/icons/Makefile
src/Makefile
po/Makefile.in
])