pike.git/
src/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
2002-12-14
2002-12-14 14:43:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>
f156cc99e654b92362aba068793b09267091e783 (
14
lines) (+
9
/-
5
)
[
Show
|
Annotate
]
Branch:
7.9
Improved robustness of VPATH test.
Rev: src/configure.in:1.663
1:
-
AC_REVISION("$Id: configure.in,v 1.
662
2002/12/14 14:
13
:
00
grubba Exp $")
+
AC_REVISION("$Id: configure.in,v 1.
663
2002/12/14 14:
43
:
24
grubba Exp $")
AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h)
54:
AC_PROG_MAKE_SET
-
if test -f
main.c
; then :; else
+
touch "$srcdir/conftest_VPATH.in"
+
if test -f
conftest_VPATH
; then :; else
# Not building in source tree. AC_MSG_CHECKING([whether ${MAKE-make} supports VPATH]) AC_CACHE_VAL(pike_cv_make_supports_VPATH, [ cat > conftestmake <<EOF VPATH=.:$srcdir
-
conftest.out:
main
.
c
+
conftest
_VPATH
.out:
conftest_VPATH
.
in
cat "\$<" >"\$@" EOF pike_cv_make_supports_VPATH=no
-
if ${MAKE-make} -f conftestmake conftest.out >/dev/null 2>&5; then
-
if test -f conftest.out; then
+
if ${MAKE-make} -f conftestmake conftest
_VPATH
.out >/dev/null 2>&5; then
+
if test -f conftest
_VPATH
.out; then
pike_cv_make_supports_VPATH=yes else :; fi else :; fi
-
+
rm -f conftestmake conftest_VPATH.out
]) AC_MSG_RESULT($pike_cv_make_supports_VPATH) if test "x$pike_cv_make_supports_VPATH" = "xno"; then
84:
done else :; fi fi
+
rm "$srcdir/conftest_VPATH.in" 2>/dev/null
AC_ARG_ENABLE(make_conf, MY_DESCR([--disable-make.conf], [do not use settings from /etc/make.conf]),