@@ -36,84 +36,6 @@ dnl From Bruno Haible, Marcus Daniels.
3636
3737AC_PREREQ ( 2.13 )
3838
39- AC_DEFUN ( [ CL_PROG_INSTALL] ,
40- [ dnl This is mostly copied from AC_PROG_INSTALL .
41- # Find a good install program. We prefer a C program (faster),
42- # so one script is as good as another. But avoid the broken or
43- # incompatible versions:
44- # SysV /etc/install, /usr/sbin/install
45- # SunOS /usr/etc/install
46- # IRIX /sbin/install
47- # AIX /bin/install
48- # AFS /usr/afsws/bin/install, which mis-handles nonexistent args
49- # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
50- # ./install, which can be erroneously created by make from ./install.sh.
51- AC_MSG_CHECKING ( for a BSD compatible install )
52- if test -z "$INSTALL"; then
53- AC_CACHE_VAL ( cl_cv_path_install ,
54- [ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
55- for ac_dir in $PATH; do
56- # Account for people who put trailing slashes in PATH elements.
57- case "$ac_dir/" in
58- /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
59- *)
60- # OSF1 and SCO ODT 3.0 have their own names for install.
61- for ac_prog in ginstall installbsd scoinst install; do
62- if test -f $ac_dir/$ac_prog; then
63- if test $ac_prog = install &&
64- grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
65- # AIX install. It has an incompatible calling convention.
66- # OSF/1 installbsd also uses dspmsg, but is usable.
67- :
68- else
69- if test $ac_prog = installbsd &&
70- grep src/bos $ac_dir/$ac_prog >/dev/null 2>&1; then
71- # AIX installbsd doesn't work without option "-g".
72- :
73- else
74- cl_cv_path_install="$ac_dir/$ac_prog -c"
75- break 2
76- fi
77- fi
78- fi
79- done
80- ;;
81- esac
82- done
83- IFS="$ac_save_ifs"
84- # As a last resort, use cp.
85- test -z "$cl_cv_path_install" && cl_cv_path_install="cp"
86- ] ) dnl
87- INSTALL="$cl_cv_path_install"
88- fi
89- dnl We do special magic for INSTALL instead of AC_SUBST, to get
90- dnl relative paths right.
91- AC_MSG_RESULT ( $INSTALL )
92- AC_SUBST ( INSTALL ) dnl
93- # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
94- # It thinks the first close brace ends the variable substitution.
95- test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='$(INSTALL)'
96- AC_SUBST ( INSTALL_PROGRAM ) dnl
97- if test -z "$INSTALL_DATA"; then
98- case "$INSTALL" in
99- cp | */cp ) INSTALL_DATA='$(INSTALL)' ;;
100- * ) INSTALL_DATA='$(INSTALL) -m 644' ;;
101- esac
102- fi
103- AC_SUBST ( INSTALL_DATA ) dnl
104- ] )
105-
106- dnl Copyright (C) 1993-2002 Free Software Foundation, Inc.
107- dnl This file is free software, distributed under the terms of the GNU
108- dnl General Public License. As a special exception to the GNU General
109- dnl Public License, this file may be distributed as part of a program
110- dnl that contains a configuration script generated by Autoconf, under
111- dnl the same distribution terms as the rest of that program.
112-
113- dnl From Bruno Haible, Marcus Daniels.
114-
115- AC_PREREQ ( 2.13 )
116-
11739AC_DEFUN ( [ CL_PROG_CP] ,
11840[ AC_CACHE_CHECK ( how to copy files , cl_cv_prog_cp , [
11941echo "blabla" > conftest.x
0 commit comments