shithub: freetype+ttf2subf

Download patch

ref: 912f039743879dfd02a648997e0f7982ae7e32dd
parent: 66d308edfd393bde6613a5d14897fdb06331ff0c
author: suzuki toshiya <[email protected]>
date: Sat Jun 27 10:38:32 EDT 2009

Keep existing modules.cfg in the building tree.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-06-01  suzuki toshiya  <[email protected]>
+
+	Keep existing modules.cfg in the building tree.
+
+	* configure: When configure is executed out of the source tree,
+	existing modules.cfg in building directory should be kept as
+	the building in the source tree.
+
 2009-06-27  suzuki toshiya  <[email protected]>
 
 	Filter --srcdir= option before invoking builds/unix/configure.
--- a/configure
+++ b/configure
@@ -82,8 +82,10 @@
 
 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