[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
0.153, a few things
Hello,
The gremlins appear to have taken cvs down again.
I'm running goo on FreeBSD. FreeBSD's "install" doesn't have the -D flag,
which is used in c/Makefile and src/Makefile. -D creates subdirectories, so
if you have an empty /dest/dir and you do
install -c -D foo/bar/blah/thing.c /dest/dir/foo/bar/blah/thing.c
The install code creates /dest/dir/foo/bar/blah before copying thing.c over.
It appears that the install-sh script that ships with goo has code that
obviates the need for -D:
% ls /tmp/foo
ls: /tmp/foo: No such file or directory
% ./install-sh -c -m 0644 install-sh /tmp/foo/bar/goo/install-me
% ls /tmp/foo/bar/goo
install-me
%
I'm willing to bet most other "install"s don't have -D either. Something
like this in configure.in might help:
--- configure.in~ Mon Sep 29 23:40:19 2003
+++ configure.in Tue Sep 30 00:20:34 2003
@@ -5,6 +5,12 @@
# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
+AC_MSG_CHECKING(for fileutils install)
+AC_TRY_RUN("$ac_cv_path_install --verbose", AC_MSG_RESULT([yes]), [
+AC_MSG_RESULT([no])
+ac_cv_path_install="$ac_install_sh"
+INSTALL="$ac_install_sh"
+], )
AC_PROG_LN_S
GOO_CHECK_EXE_SUFFIX
I'm not sure what to put in the Makefile.in files, though.
Faried.
--
^self