Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Files now copied to build directory instead of source directory while…
… configuring
  • Loading branch information
pmandin committed Sep 24, 2003
1 parent 0d4cdf9 commit b8b2357
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions acinclude.m4
Expand Up @@ -4,9 +4,13 @@ dnl Function to link an architecture specific file
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
Expand Down
1 change: 1 addition & 0 deletions configure.in
Expand Up @@ -2646,6 +2646,7 @@ CFLAGS="$CFLAGS -I\$(top_srcdir)/src/thread"
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"


Expand Down

0 comments on commit b8b2357

Please sign in to comment.