Added conditional configuration of poolalloc.
[oota-llvm.git] / autoconf / configure.ac
index dd180c89672a3d5f78e388ff3edf862b52ad2b8b..85493385d4807ad1cdbf4ab115bad88b3ddd6fd7 100644 (file)
@@ -35,6 +35,11 @@ then
   AC_CONFIG_SUBDIRS(projects/reopt)
 fi
 
+if test -d ${srcdir}/projects/poolalloc
+then
+  AC_CONFIG_SUBDIRS(projects/poolalloc)
+fi
+
 dnl Configure a header file
 AC_CONFIG_HEADERS(include/Config/config.h)
 AC_CONFIG_MAKEFILE(Makefile)