diff options
author | Jari Vetoniemi <jari.vetoniemi@indooratlas.com> | 2020-03-16 18:49:26 +0900 |
---|---|---|
committer | Jari Vetoniemi <jari.vetoniemi@indooratlas.com> | 2020-03-30 00:39:06 +0900 |
commit | fcbf63e62c627deae76c1b8cb8c0876c536ed811 (patch) | |
tree | 64cb17de3f41a2b6fef2368028fbd00349946994 /jni/iconv/m4/cp.m4 |
Fresh start
Diffstat (limited to 'jni/iconv/m4/cp.m4')
-rw-r--r-- | jni/iconv/m4/cp.m4 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/jni/iconv/m4/cp.m4 b/jni/iconv/m4/cp.m4 new file mode 100644 index 0000000..9b8ef4a --- /dev/null +++ b/jni/iconv/m4/cp.m4 @@ -0,0 +1,25 @@ +dnl Copyright (C) 1993-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible, Marcus Daniels. + +AC_PREREQ(2.13) + +AC_DEFUN([CL_PROG_CP], +[AC_CACHE_CHECK(how to copy files, cl_cv_prog_cp, [ +echo "blabla" > conftest.x +err=`/bin/sh -c "cp -p conftest.x conftest.y 2>&1"` +if test -z "$err"; then + cl_cv_prog_cp='cp -p' +else + cl_cv_prog_cp='cp' +fi +rm -f conftest* +]) +CP="$cl_cv_prog_cp" +AC_SUBST(CP)dnl +]) |