summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorsuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2009-06-27 14:38:32 +0900
committersuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2009-06-27 14:38:32 +0900
commit912f039743879dfd02a648997e0f7982ae7e32dd (patch)
tree2789dcd8f108a88ab0550030c6a4e365586bbf47 /configure
parent66d308edfd393bde6613a5d14897fdb06331ff0c (diff)
downloadfreetype2-912f039743879dfd02a648997e0f7982ae7e32dd.tar.gz
Keep existing modules.cfg in the building tree.
Diffstat (limited to 'configure')
-rw-r--r--configure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index 008aa3e54..6382f5fcb 100644
--- a/configure
+++ b/configure
@@ -82,8 +82,10 @@ fi
if test "$abs_curr_dir" != "$abs_ft2_dir"; then
mkdir reference
- echo "Copying \`modules.cfg'"
- cp $abs_ft2_dir/modules.cfg $abs_curr_dir
+ if test ! -r $abs_curr_dir/modules.cfg; then
+ echo "Copying \`modules.cfg'"
+ cp $abs_ft2_dir/modules.cfg $abs_curr_dir
+ fi
echo "Generating \`Makefile'"
echo "TOP_DIR := $abs_ft2_dir" > Makefile
echo "OBJ_DIR := $abs_curr_dir" >> Makefile