-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make kpsereadlink.test generic, instead of depending on libtool
git-svn-id: svn://tug.org/texlive/trunk/Build/source@70081 c570f23f-e606-0410-a88d-b1316a301751
- Loading branch information
Showing
2 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
#! /bin/sh -vx | ||
# $Id$ | ||
# Copyright 2017 Karl Berry <tex-live@tug.org> | ||
# Copyright 2017-2024 Karl Berry <tex-live@tug.org> | ||
# Copyright 2010 Peter Breitenlohner <tex-live@tug.org> | ||
# You may freely use, modify and/or distribute this file. | ||
|
||
test -n "$LN_S" || LN_S="ln -s" # standalone testing | ||
|
||
test "x$LN_S" = 'xln -s' || exit 77 | ||
|
||
./kpsereadlink $LT_OBJDIR/libkpathsea.lai && exit 1 | ||
rm -f readlink_test_file readlink_test_symlink | ||
|
||
touch readlink_test_file | ||
|
||
$LN_S readlink_test_file readlink_test_symlink || exit 1 | ||
|
||
./kpsereadlink readlink_test_file && exit 1 | ||
|
||
link=`./kpsereadlink $LT_OBJDIR/libkpathsea.la` || exit 1 | ||
link=`./kpsereadlink readlink_test_symlink` || exit 1 | ||
|
||
test "x$link" = x../libkpathsea.la || exit 1 | ||
test "x$link" = xreadlink_test_file || exit 1 | ||
|
||
rm -f readlink_test_file readlink_test_symlink |