@@ -0,0 +1,13 @@
+--- config.m4.orig 2013-01-26 16:24:21.700122496 +0100
++++ config.m4 2013-01-26 16:25:16.372122497 +0100
+@@ -31,8 +31,8 @@
+ fi
+ done
+
+- PHP_ADD_LIBRARY_WITH_PATH(tcl$TCL_VERSION, $TCL_PREFIX/lib, EXPECT_SHARED_LIBADD)
+- PHP_ADD_LIBRARY_WITH_PATH(expect, $LIBEXPECT_DIR/lib, EXPECT_SHARED_LIBADD)
++ PHP_ADD_LIBRARY_WITH_PATH(tcl$TCL_VERSION, $TCL_PREFIX/$PHP_LIBDIR, EXPECT_SHARED_LIBADD)
++ PHP_ADD_LIBRARY_WITH_PATH(expect, $LIBEXPECT_DIR/$PHP_LIBDIR, EXPECT_SHARED_LIBADD)
+ PHP_ADD_INCLUDE($LIBEXPECT_INCLUDE_DIR)
+
+ PHP_NEW_EXTENSION(expect, expect.c expect_fopen_wrapper.c, $ext_shared)
|