File: configure.in

package info (click to toggle)
libgtkada2 2.8.1-6lenny3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 13,496 kB
  • ctags: 3,886
  • sloc: ada: 103,189; ansic: 45,411; perl: 5,500; sh: 2,812; makefile: 1,169; xml: 19
file content (51 lines) | stat: -rw-r--r-- 1,265 bytes parent folder | download | duplicates (2)
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
AC_REVISION($Revision: 1.59 $)
AC_INIT(src/glib.ads)

# Current release settings
GTKADA_MAJOR_VERSION=2
GTKADA_MINOR_VERSION=8
GTKADA_MICRO_VERSION=1
GTKADA_VERSION=$GTKADA_MAJOR_VERSION.$GTKADA_MINOR_VERSION.$GTKADA_MICRO_VERSION

AC_CANONICAL_SYSTEM
AM_ADD_OS_SPECIFIC_FLAGS

# checking for local tools
AM_PATH_MERGE
AM_PATH_DIFF_AND_PATCH
AC_PROG_CC
AM_PATH_GNAT
AM_PATH_PERL
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_PROG_RANLIB

# checking for gtk
AM_PATH_GTK(2.2.0,,AC_MSG_ERROR(Test for GTK failed. See the file 'INSTALL' for help.))

# checking for PANGO_UNDERLINE_ERROR
AM_PANGO_UNDERLINE_ERROR

# Gettext stuff
ALL_LINGUAS="fr"
AM_GNU_GETTEXT

# try to find OpenGL if present
AM_CHECK_OPENGL

# try to find libglade if present
AM_CHECK_LIBGLADE

# try to find gnome if present
AM_CHECK_GNOME

# Set the version number of GtkAda
AC_SUBST(GTKADA_VERSION)
AC_SUBST(GTKADA_MAJOR_VERSION)
AC_SUBST(GTKADA_MINOR_VERSION)
AC_SUBST(GTKADA_MICRO_VERSION)

EXEC_PREFIX="$prefix"
AC_SUBST(EXEC_PREFIX)

AC_OUTPUT(Makefile src/Makefile.common src/Makefile src/gtkada-config src/gate testgtk/Makefile src/gtkextra/Makefile src/opengl/Makefile src/glade/Makefile src/gnome/Makefile docs/gtkada_ug/Makefile docs/gtkada_rm/Makefile po/Makefile src/config.h projects/gtkada.pc)