~vorlon/ubuntu/natty/libidn/multiarch

« back to all changes in this revision

Viewing changes to lib/gl/m4/strdup.m4

  • Committer: Bazaar Package Importer
  • Author(s): Simon Josefsson, Simon Josefsson
  • Date: 2009-04-17 00:22:30 UTC
  • mfrom: (1.2.11 upstream) (3.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090417002230-3on40qu1llxq7ybb
Tags: 1.14-3
[ Simon Josefsson ]
* Don't use autotools-dev, the config.* files in libidn
  are newer than what's in autotools-dev.
* Use more idiomatatic code to filter out platforms without gcj.
  Thanks to Adeodato Simó <dato@net.com.org.es>.
* Upload to unstable after testing in experimental.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# strdup.m4 serial 9
2
 
 
3
 
dnl Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software
4
 
dnl Foundation, Inc.
5
 
 
6
 
dnl This file is free software; the Free Software Foundation
7
 
dnl gives unlimited permission to copy and/or distribute it,
8
 
dnl with or without modifications, as long as this notice is preserved.
9
 
 
10
 
AC_DEFUN([gl_FUNC_STRDUP],
11
 
[
12
 
  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
13
 
  AC_REPLACE_FUNCS(strdup)
14
 
  AC_CHECK_DECLS_ONCE(strdup)
15
 
  if test $ac_cv_have_decl_strdup = no; then
16
 
    HAVE_DECL_STRDUP=0
17
 
  fi
18
 
  gl_PREREQ_STRDUP
19
 
])
20
 
 
21
 
# Prerequisites of lib/strdup.c.
22
 
AC_DEFUN([gl_PREREQ_STRDUP], [:])