summaryrefslogtreecommitdiff
path: root/japanese/less
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-02-17 12:18:20 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-02-17 12:18:20 +0000
commitea6fe5d7398b034f058bf88fb36ddca4f99e2d75 (patch)
tree7bfb6df401506e37cab2eb7b5424eb0120a14d84 /japanese/less
parentAdd -lz to be compiled with MySQL. (diff)
use better -lxpg4 detection code.
Obtained from: vim6
Notes
Notes: svn path=/head/; revision=38422
Diffstat (limited to 'japanese/less')
-rw-r--r--japanese/less/files/patch-ab17
1 files changed, 4 insertions, 13 deletions
diff --git a/japanese/less/files/patch-ab b/japanese/less/files/patch-ab
index f6a5a6d9cace..a271e8726fcb 100644
--- a/japanese/less/files/patch-ab
+++ b/japanese/less/files/patch-ab
@@ -1,19 +1,10 @@
---- configure.in.orig Mon Nov 6 22:49:26 2000
-+++ configure.in Mon Nov 6 22:50:32 2000
-@@ -24,6 +24,16 @@
+--- configure.in.orig Sat Feb 17 16:37:23 2001
++++ configure.in Sat Feb 17 16:38:58 2001
+@@ -26,6 +26,7 @@
AC_CHECK_LIB(gen, regcmp)
AC_CHECK_LIB(intl, regcmp)
AC_CHECK_LIB(PW, regcmp)
-+setlocale_works=no
-+AC_TRY_RUN([
-+#include <locale.h>
-+int main() {
-+char *p; p = setlocale(LC_ALL, "ja_JP.EUC");
-+if (p == NULL) exit(1); else exit(0); }],
-+setlocale_works=yes,:,:)
-+if test x$setlocale_works = xno; then
-+AC_CHECK_LIB(xpg4, setlocale)
-+fi
++AC_CHECK_LIB(xpg4, _xpg4_setrunelocale, [LIBS="$LIBS -lxpg4"],,)
dnl Checks for terminal libraries
AC_MSG_CHECKING(for working terminal libraries)