Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 859accd

Browse files
committed
Make sure vpath_build is set correctly even if config.status --no-create
was specified.
1 parent c9190ef commit 859accd

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

configure

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17662,12 +17662,11 @@ done
1766217662
# Note 1: test -ef might not exist, but it's more reliable than `pwd`.
1766317663
# Note 2: /bin/pwd might be better than shell's built-in at getting
1766417664
# a symlink-free name.
17665-
if test "$no_create" != yes; then
17666-
if ( test "$srcdir" -ef . ) >/dev/null 2>&1 || test "`cd $srcdir && /bin/pwd`" = "`/bin/pwd`"; then
17667-
:
17668-
else
17669-
vpath_build=yes
17670-
17665+
if ( test "$srcdir" -ef . ) >/dev/null 2>&1 || test "`cd $srcdir && /bin/pwd`" = "`/bin/pwd`"; then
17666+
vpath_build=no
17667+
else
17668+
vpath_build=yes
17669+
if test "$no_create" != yes; then
1767117670
echo $ECHO_N "preparing build tree... $ECHO_C" >&6
1767217671
pgac_abs_top_srcdir=`cd "$srcdir" && pwd`
1767317672
$SHELL "$ac_aux_dir/prep_buildtree" "$pgac_abs_top_srcdir" "." \
@@ -17680,6 +17679,7 @@ echo "${ECHO_T}done" >&6
1768017679
fi
1768117680

1768217681

17682+
1768317683
ac_config_files="$ac_config_files GNUmakefile src/Makefile.global"
1768417684

1768517685

configure.in

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $Header: /cvsroot/pgsql/configure.in,v 1.305 2003/11/24 19:08:01 petere Exp $
2+
dnl $Header: /cvsroot/pgsql/configure.in,v 1.306 2003/11/27 18:14:02 petere Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -1246,18 +1246,19 @@ AC_CHECK_PROGS(SGMLSPL, sgmlspl)
12461246
# Note 1: test -ef might not exist, but it's more reliable than `pwd`.
12471247
# Note 2: /bin/pwd might be better than shell's built-in at getting
12481248
# a symlink-free name.
1249-
if test "$no_create" != yes; then
1250-
if ( test "$srcdir" -ef . ) >/dev/null 2>&1 || test "`cd $srcdir && /bin/pwd`" = "`/bin/pwd`"; then
1251-
:
1252-
else
1253-
AC_SUBST(vpath_build, yes)
1249+
if ( test "$srcdir" -ef . ) >/dev/null 2>&1 || test "`cd $srcdir && /bin/pwd`" = "`/bin/pwd`"; then
1250+
vpath_build=no
1251+
else
1252+
vpath_build=yes
1253+
if test "$no_create" != yes; then
12541254
_AS_ECHO_N([preparing build tree... ])
12551255
pgac_abs_top_srcdir=`cd "$srcdir" && pwd`
12561256
$SHELL "$ac_aux_dir/prep_buildtree" "$pgac_abs_top_srcdir" "." \
12571257
|| AC_MSG_ERROR(failed)
12581258
AC_MSG_RESULT(done)
12591259
fi
12601260
fi
1261+
AC_SUBST(vpath_build)
12611262

12621263

12631264
AC_CONFIG_FILES([GNUmakefile src/Makefile.global])

0 commit comments

Comments
 (0)