~ubuntu-branches/ubuntu/trusty/libidn/trusty

« back to all changes in this revision

Viewing changes to gl/string.in.h

  • 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:
18
18
 
19
19
#ifndef _GL_STRING_H
20
20
 
 
21
#if __GNUC__ >= 3
 
22
@PRAGMA_SYSTEM_HEADER@
 
23
#endif
 
24
 
21
25
/* The include_next requires a split double-inclusion guard.  */
22
26
#@INCLUDE_NEXT@ @NEXT_STRING_H@
23
27
 
165
169
 
166
170
/* Duplicate S, returning an identical malloc'd string.  */
167
171
#if @GNULIB_STRDUP@
168
 
# if ! @HAVE_DECL_STRDUP@ && ! defined strdup
 
172
# if @REPLACE_STRDUP@
 
173
#  undef strdup
 
174
#  define strdup rpl_strdup
 
175
# endif
 
176
# if !(@HAVE_DECL_STRDUP@ || defined strdup) || @REPLACE_STRDUP@
169
177
extern char *strdup (char const *__s);
170
178
# endif
171
179
#elif defined GNULIB_POSIXCHECK