shithub: sox

Download patch

ref: dbc561bca5b488b8f3f2048374c5162403be6ae6
parent: 22782a3553d1cbba3978f141a694c68b8d79e1b0
author: cbagwell <cbagwell>
date: Sun Feb 7 16:16:04 EST 1999

Fixing minor problems in configure scripts.

--- a/configure
+++ b/configure
@@ -1444,7 +1444,6 @@
 
 
 
-
 trap '' 1 2 15
 cat > confcache <<\EOF
 # This file is a shell script that caches the results of configure
@@ -1711,51 +1710,6 @@
 fi; done
 rm -f conftest.s*
 
-EOF
-
-cat >> $CONFIG_STATUS <<EOF
-ac_sources="tests.sh monkey.au monkey.voc"
-ac_dests="tests.sh monkey.au monkey.voc"
-EOF
-
-cat >> $CONFIG_STATUS <<\EOF
-srcdir=$ac_given_srcdir
-while test -n "$ac_sources"; do
-  set $ac_dests; ac_dest=$1; shift; ac_dests=$*
-  set $ac_sources; ac_source=$1; shift; ac_sources=$*
-
-  echo "linking $srcdir/$ac_source to $ac_dest"
-
-  if test ! -r $srcdir/$ac_source; then
-    { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
-  fi
-  rm -f $ac_dest
-
-  # Make relative symlinks.
-  # Remove last slash and all that follows it.  Not all systems have dirname.
-  ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
-  if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
-    # The dest file is in a subdirectory.
-    test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
-    ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
-    # A "../" for each directory in $ac_dest_dir_suffix.
-    ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
-  else
-    ac_dest_dir_suffix= ac_dots=
-  fi
-
-  case "$srcdir" in
-  [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
-  *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
-  esac
-
-  # Make a symlink if possible; otherwise try a hard link.
-  if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
-    ln $srcdir/$ac_source $ac_dest; then :
-  else
-    { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
-  fi
-done
 EOF
 cat >> $CONFIG_STATUS <<EOF
 
--- a/configure.in
+++ b/configure.in
@@ -225,7 +225,6 @@
 AC_SUBST(NEED_OSS)
 AC_SUBST(NEED_SUNAU)
 AC_SUBST(NEED_ALSA)
-AC_LINK_FILES(tests.sh monkey.au monkey.voc, tests.sh monkey.au monkey.voc)
 AC_OUTPUT([Makefile])
 
 echo
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -112,11 +112,10 @@
 
 distclean:
 	$(RM) *~ *.o *.raw *.sf core sox libst.a
-	$(RM) config.cache config.log config.status config.h Makefile
-	$(RM) tests.sh monkey.au monkey.voc
+	$(RM) config.cache config.log config.status config.h Makefile .depend
 
 tar:
-	$(RM) $(pkgname).tar
+	cd $(srcdir)/..; $(RM) $(pkgname).tar
 	cd $(srcdir)/.. ; $(TAR) $(pkgname).tar $(srcdir)
 
 ifeq (.depend,$(wildcard .depend))