source: trunk/third/libiconv/m4/cp.m4 @ 18195

Revision 18195, 749 bytes checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18194, which included commits to RCS files with non-trunk default branches.
Line 
1dnl Copyright (C) 1993-2002 Free Software Foundation, Inc.
2dnl This file is free software, distributed under the terms of the GNU
3dnl General Public License.  As a special exception to the GNU General
4dnl Public License, this file may be distributed as part of a program
5dnl that contains a configuration script generated by Autoconf, under
6dnl the same distribution terms as the rest of that program.
7
8dnl From Bruno Haible, Marcus Daniels.
9
10AC_PREREQ(2.13)
11
12AC_DEFUN([CL_PROG_CP],
13[AC_CACHE_CHECK(how to copy files, cl_cv_prog_cp, [
14echo "blabla" > conftest.x
15err=`/bin/sh -c "cp -p conftest.x conftest.y 2>&1"`
16if test -z "$err"; then
17  cl_cv_prog_cp='cp -p'
18else
19  cl_cv_prog_cp='cp'
20fi
21rm -f conftest*
22])
23CP="$cl_cv_prog_cp"
24AC_SUBST(CP)dnl
25])
Note: See TracBrowser for help on using the repository browser.