diff -r 045d79440a9d src/compiler/Options.cxx
--- a/src/compiler/Options.cxx	Tue Aug 31 17:22:11 2010 -0700
+++ b/src/compiler/Options.cxx	Sat Sep 04 13:39:31 2010 -0700
@@ -36,6 +36,7 @@
  **************************************************************************/
 
 #include "Options.hxx"
+#include "config.h"
 
 using namespace std;
 using namespace boost;
@@ -79,6 +80,6 @@
   vector<string> CompilePreOptionsGCC;
   vector<string> LinkPostOptionsGCC;
 
-  vector<filesystem::path> SystemDirs;
+  vector<filesystem::path> SystemDirs (1, filesystem::path(AUTOCONF_PREFIX));
 
 }
diff -r 045d79440a9d src/compiler/config.h.in
--- a/src/compiler/config.h.in	Tue Aug 31 17:22:11 2010 -0700
+++ b/src/compiler/config.h.in	Sat Sep 04 13:39:31 2010 -0700
@@ -44,6 +44,8 @@
 
 static const char *AUTOCONF_LIBDIR = "@EXPANDED_LIBDIR@";
 
+static const char *AUTOCONF_PREFIX= "@SYSTEM_DIR@";
+
 static const char *TARGET_ARCH = "@TARGET_ARCH@";
 
 static const char *CANONICAL_TARGET = "@CANONICAL_TARGET@";
diff -r 045d79440a9d src/configure.in
--- a/src/configure.in	Tue Aug 31 17:22:11 2010 -0700
+++ b/src/configure.in	Sat Sep 04 13:39:31 2010 -0700
@@ -71,6 +71,7 @@
 AC_CHECK_PROG(HAVE_DVIPS, dvips, yes, no)
 
 AC_DEFINE_DIR([EXPANDED_LIBDIR], [libdir], [Where libraries live])
+AC_DEFINE_DIR([SYSTEM_DIR], [prefix], [Where everything lives])
 
 dnl Set the inline keyword appropriately for the platform
 AC_C_INLINE
