From c72637d4cf7699a4f65f0357a3a32b4fd4c60735 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 29 Jan 2003 08:34:58 +0000 Subject: 2003-01-29 Roland McGrath * configure.in: Barf if configured in $srcdir. * configure: Regenerated. --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index e8a3dc0..f7d8471 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= -- cgit v1.1