~ubuntu-branches/ubuntu/hardy/prelude-manager/hardy

« back to all changes in this revision

Viewing changes to libmissing/m4/strdup.m4

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2007-03-22 18:09:27 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070322180927-tzvkkuk7yc5m0s9d
Tags: 0.9.7.2-2
* Fix permissions on configuration file (make sure it is not world-readable)
* Update my email address

Show diffs side-by-side

added added

removed removed

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