~kamstrup/+junk/winwrangler

1 by "Mikkel Kamstrup Erlandsen"
Initial imports
1
dnl Process this file with autoconf to produce a configure script.
2
dnl Created by Anjuta application wizard.
3
4
AC_INIT(winwrangler, 0.1)
5
6
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
7
AM_CONFIG_HEADER(config.h)
8
AM_MAINTAINER_MODE
9
10
AC_ISC_POSIX
11
AC_PROG_CC
12
AM_PROG_CC_STDC
13
AC_HEADER_STDC
14
15
16
17
18
dnl ***************************************************************************
19
dnl Internatinalization
20
dnl ***************************************************************************
21
GETTEXT_PACKAGE=winwrangler
22
AC_SUBST(GETTEXT_PACKAGE)
23
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
24
AM_GLIB_GNU_GETTEXT
25
IT_PROG_INTLTOOL([0.35.0])
26
27
28
29
AM_PROG_LIBTOOL
30
31
32
28 by "Mikkel Kamstrup Erlandsen"
Add labels to layouts
33
PKG_CHECK_MODULES(WINWRANGLER, [libwnck-1.0 >= 2.22 glib-2.0 >= 2.15.6 gobject-2.0 >= 2.15.6 gtk+-2.0 >= 2.12 gtkhotkey-1.0 >= 0.2])
1 by "Mikkel Kamstrup Erlandsen"
Initial imports
34
AC_SUBST(WINWRANGLER_CFLAGS)
35
AC_SUBST(WINWRANGLER_LIBS)
36
37
38
39
##################################################
40
# Check for gtk-doc.
41
##################################################
42
AC_ARG_WITH(html-dir, [  --with-html-dir=PATH path to installed docs ])
43
if test "x$with_html_dir" = "x" ; then
44
  HTML_DIR='${datadir}/gtk-doc/html'
45
else
46
  HTML_DIR=$with_html_dir
47
fi
48
AC_SUBST(HTML_DIR)
49
50
gtk_doc_min_version=1.0
51
AC_MSG_CHECKING([gtk-doc version >= $gtk_doc_min_version])
52
if pkg-config --atleast-version=$gtk_doc_min_version gtk-doc; then
53
  AC_MSG_RESULT(yes)
54
  GTKDOC=true
55
else
56
  AC_MSG_RESULT(no)
57
  GTKDOC=false
58
fi
59
dnl Let people disable the gtk-doc stuff.
60
AC_ARG_ENABLE(gtk-doc,
61
              [  --enable-gtk-doc  Use gtk-doc to build documentation [default=auto]],
62
	      enable_gtk_doc="$enableval", enable_gtk_doc=auto)
63
if test x$enable_gtk_doc = xauto ; then
64
  if test x$GTKDOC = xtrue ; then
65
    enable_gtk_doc=yes
66
  else
67
    enable_gtk_doc=no
68
  fi
69
fi
70
AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
71
72
73
AC_OUTPUT([
74
Makefile
75
src/Makefile
76
po/Makefile.in
20 by "Mikkel Kamstrup Erlandsen"
Add icon files
77
data/Makefile
78
data/art/Makefile
1 by "Mikkel Kamstrup Erlandsen"
Initial imports
79
])