From 23170b737e1d58fbad5ff59f56fcf79e163a5e61 Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 9 May 2003 21:37:10 +0000 Subject: [PATCH] . git-svn-id: https://svn.dealii.org/trunk@7620 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/configure | 6 ++++-- tests/configure.in | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/configure b/tests/configure index 704cdde655..2a32c9e3ba 100755 --- a/tests/configure +++ b/tests/configure @@ -540,12 +540,14 @@ rm -f acconfig.link echo $ac_n "checking for test -L""... $ac_c" 1>&6 echo "configure:542: checking for test -L" >&5 ln -s Makefile acconfig.link -if test -L acconfig.link ; then +echo "test -L acconfig.link" > acconfig.test +chmod 777 acconfig.test +if eval ./acconfig.test ; then TEST_MINUS_L="test -L" ; else TEST_MINUS_L="bash test -L" ; fi -rm acconfig.link +rm -f acconfig.link acconfig.test echo "$ac_t""$TEST_MINUS_L" 1>&6 diff --git a/tests/configure.in b/tests/configure.in index 14df4c0ed3..47bd4340e2 100644 --- a/tests/configure.in +++ b/tests/configure.in @@ -30,12 +30,14 @@ dnl mutually exclusive rm -f acconfig.link AC_MSG_CHECKING(for test -L) ln -s Makefile acconfig.link -if test -L acconfig.link ; then +echo "test -L acconfig.link" > acconfig.test +chmod 777 acconfig.test +if eval ./acconfig.test ; then TEST_MINUS_L="test -L" ; else TEST_MINUS_L="bash test -L" ; fi -rm acconfig.link +rm -f acconfig.link acconfig.test AC_MSG_RESULT($TEST_MINUS_L) AC_SUBST(TEST_MINUS_L) -- 2.39.5