~ubuntu-branches/ubuntu/utopic/libee/utopic-proposed

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2011-04-06 21:46:31 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110406214631-j1kl1ey8xef0prvz
Tags: 0.3.0-1
* Imported Upstream version 0.3.0
* Add symbols files (Closes: #613334)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Process this file with autoconf to produce a configure script.
3
3
 
4
4
AC_PREREQ(2.61)
5
 
AC_INIT([libee], [0.1.0], [rgerhards@adiscon.com])
 
5
AC_INIT([libee], [0.3.0], [rgerhards@adiscon.com])
6
6
AM_INIT_AUTOMAKE
7
7
AM_SILENT_RULES([yes])
8
8
AC_CONFIG_SRCDIR([src/ctx.c])
24
24
#rt_libs=$LIBS
25
25
LIBS=$save_LIBS
26
26
 
27
 
AC_CHECK_PROG(
28
 
  [HAVE_LIBXML2_CONFIG],
29
 
  [xml2-config],
30
 
  [yes],,,
31
 
)
32
 
if test "x${HAVE_LIBXML2_CONFIG}" != "xyes"; then
33
 
  AC_MSG_FAILURE([xml2-config not found in PATH - this means libxml2 development package is missing])
34
 
fi
35
 
AC_CHECK_LIB(
36
 
  [xml2],
37
 
  [xmlReadFile],
38
 
  [LIBXML2_CFLAGS=`xml2-config --cflags`
39
 
   LIBXML2_LIBS=`xml2-config --libs`
40
 
  ],
41
 
  [AC_MSG_FAILURE([libxml2 is missing])],
42
 
  [`xml2-config --libs`]
43
 
)
 
27
# We CURRENTLY do NOT need libxml, but this will change at a later stage.
 
28
# If we need libxml, we need it for features which some may not find essential.
 
29
# The idea is to make these features optional, and thus save the libxml dependency
 
30
# under some circumstances. This will be added as need arises. As such, for
 
31
# the time being, we simply comment out the code. Please do not remove it,
 
32
# as we will  need it back in again some time in the future.
 
33
# rgerhards, 2011-04-01 (NOT an april fools day joke!)
 
34
#AC_CHECK_PROG(
 
35
#  [HAVE_LIBXML2_CONFIG],
 
36
#  [xml2-config],
 
37
#  [yes],,,
 
38
#)
 
39
#if test "x${HAVE_LIBXML2_CONFIG}" != "xyes"; then
 
40
#  AC_MSG_FAILURE([xml2-config not found in PATH - this means libxml2 development package is missing])
 
41
#fi
 
42
#AC_CHECK_LIB(
 
43
#  [xml2],
 
44
#  [xmlReadFile],
 
45
#  [LIBXML2_CFLAGS=`xml2-config --cflags`
 
46
#   LIBXML2_LIBS=`xml2-config --libs`
 
47
#  ],
 
48
#  [AC_MSG_FAILURE([libxml2 is missing])],
 
49
#  [`xml2-config --libs`]
 
50
#)
44
51
AC_SUBST(LIBXML2_CFLAGS)
45
52
AC_SUBST(LIBXML2_LIBS)
46
53