aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-01-29 08:34:58 +0000
committerRoland McGrath <roland@gnu.org>2003-01-29 08:34:58 +0000
commitc72637d4cf7699a4f65f0357a3a32b4fd4c60735 (patch)
tree5b4e68314a86c09a4b0c047712d30382d3624972 /configure.in
parent1e2f8718598a4d8d8b35d3e505a033f33b242a71 (diff)
downloadglibc-c72637d4cf7699a4f65f0357a3a32b4fd4c60735.tar
glibc-c72637d4cf7699a4f65f0357a3a32b4fd4c60735.tar.gz
glibc-c72637d4cf7699a4f65f0357a3a32b4fd4c60735.tar.bz2
glibc-c72637d4cf7699a4f65f0357a3a32b4fd4c60735.zip
2003-01-29 Roland McGrath <roland@redhat.com>
* configure.in: Barf if configured in $srcdir. * configure: Regenerated.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index e8a3dc06a4..f7d8471cfe 100644
--- a/configure.in
+++ b/configure.in
@@ -6,6 +6,10 @@ AC_CONFIG_SRCDIR([include/features.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([scripts])
+if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
+ AC_MSG_ERROR([you must configure in a separate build directory])
+fi
+
# This will get text that should go into config.make.
config_vars=