~ubuntu-branches/ubuntu/karmic/fastjar/karmic-updates

« back to all changes in this revision

Viewing changes to m4/strdup.m4

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2008-08-14 21:24:49 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080814212449-2jgk7vcoxwew8h2v
Tags: 2:0.96-0ubuntu1
New upstream version.

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], [:])