bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure --disable-symlinks


From: Thomas Dickey
Subject: Re: configure --disable-symlinks
Date: Sun, 25 Jun 2006 16:56:29 -0400 (EDT)

On Sun, 25 Jun 2006, Nigel Horne wrote:

If you say 'configure --disable-symlinks', configure still uses symlinks :-(

./configure --disable-symlinks
....
checking for unlink... yes
checking if link/symlink functions work...  symlink
checking if tic should use symbolic links... yes

ok - the option is only tested in the third branch:

if test "$ac_cv_func_link" != yes ; then
    AC_MSG_CHECKING(if tic should use symbolic links)
    if test "$ac_cv_func_symlink" = yes ; then
        with_symlinks=yes
    else
        with_symlinks=no
    fi
    AC_MSG_RESULT($with_symlinks)
elif test "$ac_cv_func_symlink" != yes ; then
    AC_MSG_CHECKING(if tic should use hard links)
    if test "$ac_cv_func_link" = yes ; then
        with_links=yes
    else
        with_links=no
    fi
    AC_MSG_RESULT($with_links)
else
    AC_MSG_CHECKING(if tic should use symbolic links)
    AC_ARG_ENABLE(symlinks,
        [  --enable-symlinks       make tic use symbolic links not hard links],
        [with_symlinks=$enableval],
        [with_symlinks=no])
    AC_MSG_RESULT($with_symlinks)
fi

(I don't recall if tic would handle no-links, but it's probably not hard to change).

....
checking for manpage renaming... no
checking if manpage aliases will be installed... yes
checking if manpage symlinks should be used... yes,

Operating system is BeOS5.0 (which does support symlinks, though
not hard links, but I found them buggy so I don't use them).

-Nigel Horne



_______________________________________________
Bug-ncurses mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-ncurses


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]