Annotation of embedaddon/libiconv/m4/cp.m4, revision 1.1.1.1

1.1       misho       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>