Home | History | Annotate | Download | only in m4
      1 # strdup.m4 serial 6
      2 dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
      3 dnl This file is free software; the Free Software Foundation
      4 dnl gives unlimited permission to copy and/or distribute it,
      5 dnl with or without modifications, as long as this notice is preserved.
      6 
      7 AC_DEFUN([gl_FUNC_STRDUP],
      8 [
      9   AC_LIBSOURCES([strdup.c, strdup.h])
     10 
     11   AC_REPLACE_FUNCS(strdup)
     12   AC_CHECK_DECLS_ONCE(strdup)
     13   gl_PREREQ_STRDUP
     14 ])
     15 
     16 # Prerequisites of lib/strdup.c.
     17 AC_DEFUN([gl_PREREQ_STRDUP], [:])
     18