intl dir is added automatically
[platform/upstream/libexif.git] / configure.in
1 AC_PREREQ(2.50)
2 AC_INIT(libexif/exif-data.h)
3 AM_CONFIG_HEADER(config.h)
4 AM_INIT_AUTOMAKE(libexif, 0.5.6)
5 AM_MAINTAINER_MODE
6
7 dnl ---------------------------------------------------------------------------
8 dnl Versioning:
9 dnl  - AGE (Micro):      Increment if any interfaces have been added; set to 0
10 dnl                      if any interfaces have been removed. Removal has 
11 dnl                      precedence over adding, so set to 0 if both happened.
12 dnl  - REVISION (Minor): Increment any time the source changes; set to 
13 dnl                      0 if you incremented CURRENT.
14 dnl  - CURRENT (Major):  Increment if the interface has additions, changes,
15 dnl                      removals.
16 dnl ---------------------------------------------------------------------------
17 LIBEXIF_AGE=0
18 LIBEXIF_REVISION=1
19 LIBEXIF_CURRENT=7
20 AC_SUBST(LIBEXIF_AGE)
21 AC_SUBST(LIBEXIF_REVISION)
22 AC_SUBST(LIBEXIF_CURRENT)
23 LIBEXIF_VERSION_INFO=`expr $LIBEXIF_CURRENT + $LIBEXIF_REVISION`:$LIBEXIF_AGE:$LIBEXIF_REVISION
24 AC_SUBST(LIBEXIF_VERSION_INFO)
25
26 AM_PROG_LIBTOOL
27
28 dnl ---------------------------------------------------------------------------
29 dnl i18n support
30 dnl ---------------------------------------------------------------------------
31 ALL_LINGUAS="de"
32 AM_GNU_GETTEXT
33
34 dnl ---------------------------------------------------------------------------
35 dnl Warnings
36 dnl ---------------------------------------------------------------------------
37 CFLAGS="$CFLAGS -g -Wall -Wmissing-declarations -Wmissing-prototypes"
38 LDFLAGS="$LDFLAGS -g -Wall"
39 AC_SUBST(CFLAGS)
40 AC_SUBST(LDFLAGS)
41
42 AC_OUTPUT([
43   Makefile
44   libexif.spec
45   libexif/Makefile
46   libexif/canon/Makefile
47   libexif/fuji/Makefile
48   libexif/hp/Makefile
49   libexif/olympus/Makefile
50   libjpeg/Makefile
51   test/Makefile
52   libexif/libexif.pc
53   po/Makefile.in
54 ])
55
56 echo "
57
58 Configuration (libexif):
59
60         Source code location:  ${srcdir}
61         Compiler:              ${CC}
62 "