build system: Yet another way to solve the src-dir vs. build-dir issue.
[collectd.git] / configure.in
index 3c632c7..75bc00f 100644 (file)
@@ -1936,21 +1936,6 @@ then
        with_perl_bindings="yes ($PERL_BINDINGS_OPTIONS)"
 fi
 
-if test ".." != "$ac_top_srcdir"
-then
-       # we're not building from the source tree
-       for file in \
-                       bindings/perl/Collectd/Makefile.PL \
-                       bindings/perl/Collectd/Unixsock.pm \
-                       bindings/perl/Collectd.pm \
-                       bindings/perl/Makefile.PL
-       do
-               dir=`dirname $file`
-               mkdir -p $dir
-               cp src/$ac_top_srcdir/$file $file
-       done
-fi
-
 cat <<EOF;
 
 Configuration: