Pass options from one configure script to another AS IS (not expanded).
That needed for options like --includedir='${prefix}/include'.
Patch follows:
diff -Naur freetype-2.3.5.orig/builds/unix/detect.mk
freetype-2.3.5/builds/unix/detect.mk
--- freetype-2.3.5.orig/builds/unix/detect.mk 2006-12-10 01:51:54.000000000
+0700
+++ freetype-2.3.5/builds/unix/detect.mk 2007-11-27 07:00:17.000000000
+0700
@@ -79,9 +79,9 @@
ifdef must_configure
ifneq ($(have_Makefile),)
# we are building FT2 not in the src tree
- $(TOP_DIR)/builds/unix/configure $(CFG)
+ $(TOP_DIR)/builds/unix/configure $(value CFG)
else
- cd builds/unix; ./configure $(CFG)
+ cd builds/unix; ./configure $(value CFG)
endif
endif
diff -Naur freetype-2.3.5.orig/configure freetype-2.3.5/configure
--- freetype-2.3.5.orig/configure 2006-08-29 17:49:40.000000000 +0800
+++ freetype-2.3.5/configure 2007-11-27 07:00:17.000000000 +0700
@@ -93,7 +93,7 @@
CFG=
for x in ${1+"$@"}; do
- CFG="$CFG \"$x\""
+ CFG="$CFG '$x'"
done
CFG=$CFG $GNUMAKE setup unix
pgpag6PdhqFR7.pgp
Description: PGP signature
_______________________________________________ Freetype-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype-devel
