Mercurial > sdl-ios-xcode
comparison acinclude.m4 @ 723:1e8865a3e127
Files now copied to build directory instead of source directory while configuring
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Wed, 24 Sep 2003 21:45:27 +0000 |
parents | cf2af46e9e2a |
children | dac996d69abb |
comparison
equal
deleted
inserted
replaced
722:90dfd3f5782c | 723:1e8865a3e127 |
---|---|
2 | 2 |
3 dnl Function to link an architecture specific file | 3 dnl Function to link an architecture specific file |
4 dnl LINK_ARCH_SRC(source_dir, arch, source_file) | 4 dnl LINK_ARCH_SRC(source_dir, arch, source_file) |
5 AC_DEFUN(COPY_ARCH_SRC, | 5 AC_DEFUN(COPY_ARCH_SRC, |
6 [ | 6 [ |
7 echo "Copying $1/$2/$3 -> $1/$3" | |
8 old="$srcdir/$1/$2/$3" | 7 old="$srcdir/$1/$2/$3" |
9 new="$srcdir/$1/$3" | 8 new="$1/$3" |
9 if test ! -d $1; then | |
10 echo "Creating directory $1" | |
11 mkdir -p $1 | |
12 fi | |
13 echo "Copying $old -> $new" | |
10 cat >$new <<__EOF__ | 14 cat >$new <<__EOF__ |
11 /* WARNING: This file was automatically generated! | 15 /* WARNING: This file was automatically generated! |
12 * Original: $old | 16 * Original: $old |
13 */ | 17 */ |
14 __EOF__ | 18 __EOF__ |