File: configure.ac

package info (click to toggle)
gambas3 3.20.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 77,208 kB
  • sloc: ansic: 197,232; cpp: 124,273; sh: 18,999; javascript: 7,761; sql: 5,399; makefile: 2,358; perl: 1,397; xml: 490; python: 335
file content (58 lines) | stat: -rw-r--r-- 888 bytes parent folder | download | duplicates (3)
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
dnl ---- configure.ac for gb.mime

m4_include([../version.m4])
AC_INIT([gambas3-gb-mime],[GB_VERSION],[GB_MAIL],[],[GB_URL])
AC_CONFIG_MACRO_DIR([m4])

GB_INIT(gb.mime)
LT_INIT

gb_in_component_search=yes

GB_COMPONENT_PKG_CONFIG(
  mime,
  MIME,
  gb.mime,
  [src],
  gmime-3.0)

if test "$have_mime" = "no"; then

  rm -f DISABLED DISABLED.gb.mime

  GB_COMPONENT_PKG_CONFIG(
    mime,
    MIME,
    gb.mime,
    [src],
    gmime-2.6)

  if test "$have_mime" = "yes"; then
    GB_WARNING([But gmime 2.6 has been detected!])
  fi

fi

gb_in_component_search=no

if test "$have_mime" = "no"; then

  rm -f DISABLED DISABLED.gb.mime

  GB_COMPONENT_PKG_CONFIG(
    mime,
    MIME,
    gb.mime,
    [src],
    gmime-2.6)

  if test "$have_mime" = "yes"; then
    GB_WARNING([But gmime 2.6 has been detected!])
  fi

fi

AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT

GB_PRINT_MESSAGES