File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libiconv / m4 / cp.m4
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 22:57:49 2012 UTC (12 years, 4 months ago) by misho
Branches: libiconv, MAIN
CVS tags: v1_16p0, v1_14p0, v1_14, v1_13_1, HEAD
libiconv

    1: dnl Copyright (C) 1993-2002 Free Software Foundation, Inc.
    2: dnl This file is free software, distributed under the terms of the GNU
    3: dnl General Public License.  As a special exception to the GNU General
    4: dnl Public License, this file may be distributed as part of a program
    5: dnl that contains a configuration script generated by Autoconf, under
    6: dnl the same distribution terms as the rest of that program.
    7: 
    8: dnl From Bruno Haible, Marcus Daniels.
    9: 
   10: AC_PREREQ(2.13)
   11: 
   12: AC_DEFUN([CL_PROG_CP],
   13: [AC_CACHE_CHECK(how to copy files, cl_cv_prog_cp, [
   14: echo "blabla" > conftest.x
   15: err=`/bin/sh -c "cp -p conftest.x conftest.y 2>&1"`
   16: if test -z "$err"; then
   17:   cl_cv_prog_cp='cp -p'
   18: else
   19:   cl_cv_prog_cp='cp'
   20: fi
   21: rm -f conftest*
   22: ])
   23: CP="$cl_cv_prog_cp"
   24: AC_SUBST(CP)dnl
   25: ])

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>