# HG changeset patch # User Patrice Mandin # Date 1064439927 0 # Node ID 1e8865a3e12717c1b7a0244762001f107b668cff # Parent 90dfd3f5782c55ce14ae40548ebcfbf511ca5fc2 Files now copied to build directory instead of source directory while configuring diff -r 90dfd3f5782c -r 1e8865a3e127 acinclude.m4 --- a/acinclude.m4 Sun Sep 21 19:25:45 2003 +0000 +++ b/acinclude.m4 Wed Sep 24 21:45:27 2003 +0000 @@ -4,9 +4,13 @@ dnl LINK_ARCH_SRC(source_dir, arch, source_file) AC_DEFUN(COPY_ARCH_SRC, [ - echo "Copying $1/$2/$3 -> $1/$3" old="$srcdir/$1/$2/$3" - new="$srcdir/$1/$3" + new="$1/$3" + if test ! -d $1; then + echo "Creating directory $1" + mkdir -p $1 + fi + echo "Copying $old -> $new" cat >$new <<__EOF__ /* WARNING: This file was automatically generated! * Original: $old diff -r 90dfd3f5782c -r 1e8865a3e127 configure.in --- a/configure.in Sun Sep 21 19:25:45 2003 +0000 +++ b/configure.in Wed Sep 24 21:45:27 2003 +0000 @@ -2646,6 +2646,7 @@ CFLAGS="$CFLAGS -I\$(top_srcdir)/src/timer" CFLAGS="$CFLAGS -I\$(top_srcdir)/src/endian" CFLAGS="$CFLAGS -I\$(top_srcdir)/src/file" +CFLAGS="$CFLAGS -I\$(top_builddir)/src/thread" CXXFLAGS="$CFLAGS"