diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2003-11-27 18:14:02 +0000 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2003-11-27 18:14:02 +0000 |
| commit | 859accdab3c3b57599b8602b60c87f0d6bfbd224 (patch) | |
| tree | cf49a89e8cf960e27bc737868e9c870f12dfcf66 /configure.in | |
| parent | c9190ef0749e7a779cd06e585deacfb2d4df074b (diff) | |
| download | postgresql-859accdab3c3b57599b8602b60c87f0d6bfbd224.tar.gz | |
Make sure vpath_build is set correctly even if config.status --no-create
was specified.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/configure.in b/configure.in index 6e4473c53b..50cd8ebcbe 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $Header: /cvsroot/pgsql/configure.in,v 1.305 2003/11/24 19:08:01 petere Exp $ +dnl $Header: /cvsroot/pgsql/configure.in,v 1.306 2003/11/27 18:14:02 petere Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -1246,11 +1246,11 @@ AC_CHECK_PROGS(SGMLSPL, sgmlspl) # Note 1: test -ef might not exist, but it's more reliable than `pwd`. # Note 2: /bin/pwd might be better than shell's built-in at getting # a symlink-free name. -if test "$no_create" != yes; then - if ( test "$srcdir" -ef . ) >/dev/null 2>&1 || test "`cd $srcdir && /bin/pwd`" = "`/bin/pwd`"; then - : - else - AC_SUBST(vpath_build, yes) +if ( test "$srcdir" -ef . ) >/dev/null 2>&1 || test "`cd $srcdir && /bin/pwd`" = "`/bin/pwd`"; then + vpath_build=no +else + vpath_build=yes + if test "$no_create" != yes; then _AS_ECHO_N([preparing build tree... ]) pgac_abs_top_srcdir=`cd "$srcdir" && pwd` $SHELL "$ac_aux_dir/prep_buildtree" "$pgac_abs_top_srcdir" "." \ @@ -1258,6 +1258,7 @@ if test "$no_create" != yes; then AC_MSG_RESULT(done) fi fi +AC_SUBST(vpath_build) AC_CONFIG_FILES([GNUmakefile src/Makefile.global]) |
