File: configure.in

package info (click to toggle)
glurp 0.11.4-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 828 kB
  • ctags: 505
  • sloc: ansic: 4,660; sh: 678; makefile: 42
file content (65 lines) | stat: -rw-r--r-- 1,282 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
59
60
61
62
63
64
65
dnl Process this file with autoconf to produce a configure script.

AC_INIT(configure.in)

version=0.11.4

AM_INIT_AUTOMAKE(glurp, $version, andrej@kacian.sk)
AM_CONFIG_HEADER(config.h)

AC_DEFINE_UNQUOTED(GLURP_VERSION, "${version}")

AM_MAINTAINER_MODE

AC_ISC_POSIX
AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC
dnl AM_PROG_LIBTOOL

debug=0
AC_MSG_CHECKING(whether to enable debugging output)
AC_ARG_ENABLE(debug,
    [  --enable-debug		enable debug output to stderr ],
    [
	case "${enableval}" in
	  yes)
	    AC_MSG_RESULT(yes)
	    AC_DEFINE(GLURP_DEBUG)
	    debug=1
	    ;;
	esac
    ],
    [
      AC_MSG_RESULT(no)
    ])

#pkg_modules="gtk+-2.0 libglade-2.0 libxml-2.0 glib-2.0"
pkg_modules="gtk+-2.0 >= 2.4 glib-2.0 >= 2.4 libglade-2.0 >= 2.3"
PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
AC_SUBST(PACKAGE_CFLAGS)
AC_SUBST(PACKAGE_LIBS)

dnl AC_SUBST(GETTEXT_PACKAGE)
dnl AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"glurp")

dnl Add the languages which your application supports here.
dnl ALL_LINGUAS=""
dnl AM_GLIB_GNU_GETTEXT

dnl Set PACKAGE PREFIX
if test "x${prefix}" = "xNONE"; then
  packageprefix=${ac_default_prefix}
else
  packageprefix=${prefix}
fi

AC_OUTPUT([
Makefile
pixmaps/Makefile
src/Makefile
])

echo
echo "Configure finished, type \`make' to build Glurp."
echo