~ubuntu-branches/ubuntu/karmic/glib2.0/karmic-updates

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-07 08:55:47 UTC
  • mfrom: (1.2.49 upstream)
  • Revision ID: james.westby@ubuntu.com-20090707085547-oma0yur1uaq4zmop
Tags: 2.21.3-0ubuntu1
* New upstream version:
  - GMappedFile is refcounted now
  - Mainloop: It is now possible to set per-thread default contexts,
    with g_main_context_push_thread_default.
  - glib-mkenums supports a @basename@ substitution, in addition
    to @filename@.
  - GIO:
    + Vfs implementations can support storing of per-file metadata.
    + GCancellable can now be subclassed.
    + Unmount and eject methods now optionally allow interaction, via
      variants that take a GMountOperation object.
  - Bugs fixed:
   556706 Inconsistent help arguments -h, -?
   579449 FileChoosers no longer work if an idle handler is active
   579933 mainloop FD_CLOEXEC has a race condition
   579984 alternate GMainContext support
   585937 gio/gsocket.c (glib 2.21.2) does not compile (Windows/mingw)
   586675 Runtime library location
   586797 Add GCancellables to GSocket ops
   586868 g_filename_complete_get_completions doesn't always return...
   587415 g_resolver_lookup_by_name_finish returns a freed list
   587434 regression tests fail, at least on x86_64
   586928 Avoid g++ warning in g_error()
  - Updated translations: Estonian, Hebrew
* Drop 00git_file_attr_stringv.patch, in upstream release now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#
24
24
m4_define([glib_major_version], [2])
25
25
m4_define([glib_minor_version], [21])
26
 
m4_define([glib_micro_version], [2])
 
26
m4_define([glib_micro_version], [3])
27
27
m4_define([glib_interface_age], [0])
28
28
m4_define([glib_binary_age],
29
29
          [m4_eval(100 * glib_minor_version + glib_micro_version)])
245
245
  AC_MSG_RESULT([yes])
246
246
fi
247
247
 
 
248
dnl location to install runtime libraries, e.g. ../../lib to install
 
249
dnl to /lib if libdir is /usr/lib
 
250
AC_ARG_WITH(runtime-libdir,
 
251
           [AC_HELP_STRING([--with-runtime-libdir=RELPATH],
 
252
                           [Install runtime libraries relative to libdir])],
 
253
           [],
 
254
           [with_runtime_libdir=""])
 
255
GLIB_RUNTIME_LIBDIR=$with_runtime_libdir
 
256
AC_SUBST(GLIB_RUNTIME_LIBDIR)
 
257
AM_CONDITIONAL(HAVE_GLIB_RUNTIME_LIBDIR, [test "x$with_runtime_libdir" != "x"])
 
258
 
248
259
dnl Checks for programs.
249
260
AC_PROG_CC
250
261
AC_PROG_CPP
559
570
# Checks for library functions.
560
571
AC_FUNC_VPRINTF
561
572
AC_FUNC_ALLOCA
562
 
AC_CHECK_FUNCS(mmap)
563
 
AC_CHECK_FUNCS(posix_memalign)
564
 
AC_CHECK_FUNCS(memalign)
565
 
AC_CHECK_FUNCS(valloc)
566
 
AC_CHECK_FUNCS(fsync)
567
 
 
568
 
AC_CHECK_FUNCS(atexit on_exit)
569
 
 
570
 
AC_CHECK_FUNCS(timegm gmtime_r)
 
573
AC_CHECK_FUNCS(mmap posix_memalign memalign valloc fsync pipe2)
 
574
AC_CHECK_FUNCS(atexit on_exit timegm gmtime_r)
571
575
 
572
576
AC_CHECK_SIZEOF(char)
573
577
AC_CHECK_SIZEOF(short)
857
861
AC_CHECK_HEADERS([sys/select.h sys/types.h stdint.h sched.h malloc.h])
858
862
AC_CHECK_HEADERS([sys/vfs.h sys/mount.h sys/vmount.h sys/statfs.h sys/statvfs.h])
859
863
AC_CHECK_HEADERS([mntent.h sys/mnttab.h sys/vfstab.h sys/mntctl.h sys/sysctl.h fstab.h])
 
864
AC_CHECK_HEADERS([sys/uio.h])
860
865
 
861
866
# check for structure fields
862
867
AC_CHECK_MEMBERS([struct stat.st_mtimensec, struct stat.st_mtim.tv_nsec, struct stat.st_atimensec, struct stat.st_atim.tv_nsec, struct stat.st_ctimensec, struct stat.st_ctim.tv_nsec])