~ubuntu-branches/ubuntu/utopic/gsasl/utopic

« back to all changes in this revision

Viewing changes to m4/intlmacosx.m4

  • Committer: Bazaar Package Importer
  • Author(s): Simon Josefsson, Simon Josefsson, Andreas Metzler
  • Date: 2011-06-20 16:19:59 UTC
  • mfrom: (2.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110620161959-d15ycwa2mq7q2c83
Tags: 1.6.1-1
[ Simon Josefsson ]
* New upstream stable release.
* Standards-Version: 3.9.2
* Moved from experimental to unstable after testing.

[ Andreas Metzler ]
* Empty dependency_libs in libtool la file.
  http://wiki.debian.org/ReleaseGoals/LAFileRemoval Closes: #610136

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# intlmacosx.m4 serial 1 (gettext-0.17)
2
 
dnl Copyright (C) 2004-2007 Free Software Foundation, Inc.
 
1
# intlmacosx.m4 serial 3 (gettext-0.18)
 
2
dnl Copyright (C) 2004-2010 Free Software Foundation, Inc.
3
3
dnl This file is free software; the Free Software Foundation
4
4
dnl gives unlimited permission to copy and/or distribute it,
5
5
dnl with or without modifications, as long as this notice is preserved.
19
19
[
20
20
  dnl Check for API introduced in MacOS X 10.2.
21
21
  AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
22
 
    gt_cv_func_CFPreferencesCopyAppValue,
 
22
    [gt_cv_func_CFPreferencesCopyAppValue],
23
23
    [gt_save_LIBS="$LIBS"
24
24
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
25
25
     AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>],
28
28
       [gt_cv_func_CFPreferencesCopyAppValue=no])
29
29
     LIBS="$gt_save_LIBS"])
30
30
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
31
 
    AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1,
 
31
    AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1],
32
32
      [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
33
33
  fi
34
34
  dnl Check for API introduced in MacOS X 10.3.
35
 
  AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
 
35
  AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent],
36
36
    [gt_save_LIBS="$LIBS"
37
37
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
38
38
     AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();],
40
40
       [gt_cv_func_CFLocaleCopyCurrent=no])
41
41
     LIBS="$gt_save_LIBS"])
42
42
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
43
 
    AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1,
 
43
    AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1],
44
44
      [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
45
45
  fi
46
46
  INTL_MACOSX_LIBS=