OSDN Git Service

Add a call to AC_CONFIG_COMMANDS to ensure that llvm_src is set properly
authorReid Spencer <rspencer@reidspencer.com>
Thu, 24 Feb 2005 18:31:27 +0000 (18:31 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 24 Feb 2005 18:31:27 +0000 (18:31 +0000)
in the config.status script. This allows the AC_CONFIG_MAKEFILE macro to
work properly after it was changed to support sub-projects.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20305 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/configure.ac

index 64dfc11..fa827cb 100644 (file)
@@ -586,6 +586,7 @@ dnl Configure doxygen's configuration file
 AC_CONFIG_FILES([docs/doxygen.cfg])
 
 dnl Do special configuration of Makefiles
+AC_CONFIG_COMMANDS([setup],,[llvm_src="${srcdir}"])
 AC_CONFIG_MAKEFILE(Makefile)
 AC_CONFIG_MAKEFILE(Makefile.common)
 AC_CONFIG_MAKEFILE(examples/Makefile)