mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-23 14:09:51 +08:00
Currently, AC_PROG_LN_S incorrectly reports yes with DJGPP. This
is because the DJGPP `ln' emulates soft links for executables by generating a stub that in turn calls the real program. This feature also works with nonexistent files like in the Unix spec. So `ln -s X conftestdata' will generate `conftestdata.exe' which will attempt to call 'X.exe'. But this feature only works for executables. Fix it. * acspecific.m4 (AC_PROG_LN_S): Create a sample file and use it to test `ln -s'.
This commit is contained in:
parent
0e26510db8
commit
36a549b7ac
13
ChangeLog
13
ChangeLog
@ -1,3 +1,16 @@
|
||||
2000-05-26 Mark Elbrecht <snowball3@bigfoot.com>
|
||||
|
||||
Currently, AC_PROG_LN_S incorrectly reports yes with DJGPP. This
|
||||
is because the DJGPP `ln' emulates soft links for executables by
|
||||
generating a stub that in turn calls the real program. This
|
||||
feature also works with nonexistent files like in the Unix
|
||||
spec. So `ln -s X conftestdata' will generate `conftestdata.exe'
|
||||
which will attempt to call 'X.exe'. But this feature only works
|
||||
for executables. Fix it.
|
||||
|
||||
* acspecific.m4 (AC_PROG_LN_S): Create a sample file and use it to
|
||||
test `ln -s'.
|
||||
|
||||
2000-05-26 Ossama Othman <ossama@ece.uci.edu>
|
||||
|
||||
* aclang.m4 (AC_PROG_CXX): Look for aCC before CC.
|
||||
|
@ -272,9 +272,9 @@ AC_SUBST(INSTALL_DATA)dnl
|
||||
AC_DEFUN([AC_PROG_LN_S],
|
||||
[AC_MSG_CHECKING(whether ln -s works)
|
||||
AC_CACHE_VAL(ac_cv_prog_LN_S,
|
||||
[rm -f conftestdata
|
||||
if ln -s X conftestdata 2>/dev/null; then
|
||||
rm -f conftestdata
|
||||
[rm -f conftest.sym conftest.file
|
||||
echo >conftest.file
|
||||
if ln -s conftest.file conftest.sym 2>/dev/null; then
|
||||
ac_cv_prog_LN_S="ln -s"
|
||||
else
|
||||
ac_cv_prog_LN_S=ln
|
||||
|
@ -272,9 +272,9 @@ AC_SUBST(INSTALL_DATA)dnl
|
||||
AC_DEFUN([AC_PROG_LN_S],
|
||||
[AC_MSG_CHECKING(whether ln -s works)
|
||||
AC_CACHE_VAL(ac_cv_prog_LN_S,
|
||||
[rm -f conftestdata
|
||||
if ln -s X conftestdata 2>/dev/null; then
|
||||
rm -f conftestdata
|
||||
[rm -f conftest.sym conftest.file
|
||||
echo >conftest.file
|
||||
if ln -s conftest.file conftest.sym 2>/dev/null; then
|
||||
ac_cv_prog_LN_S="ln -s"
|
||||
else
|
||||
ac_cv_prog_LN_S=ln
|
||||
|
Loading…
Reference in New Issue
Block a user