Added the ability to conditionally configure the reopt project if it is checked
out under projects/reopt.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8762 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 01e1199..dd180c8 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -30,6 +30,11 @@
 	fi
 fi
 
+if test -d ${srcdir}/projects/reopt
+then
+  AC_CONFIG_SUBDIRS(projects/reopt)
+fi
+
 dnl Configure a header file
 AC_CONFIG_HEADERS(include/Config/config.h)
 AC_CONFIG_MAKEFILE(Makefile)