Package: dico / 2.2-8

wordnet.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Description: Link against -lwordnet instead of -lWN
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org>
--- a/configure
+++ b/configure
@@ -52415,13 +52415,13 @@
 
 fi
 if test "x$ac_cv_header_wn_h" = x""yes; then
-  { $as_echo "$as_me:$LINENO: checking for findtheinfo in -lWN" >&5
-$as_echo_n "checking for findtheinfo in -lWN... " >&6; }
+  { $as_echo "$as_me:$LINENO: checking for findtheinfo in -lwordnet" >&5
+$as_echo_n "checking for findtheinfo in -lwordnet... " >&6; }
 if test "${ac_cv_lib_WN_findtheinfo+set}" = set; then
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lWN  $LIBS"
+LIBS="-lwordnet  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
--- a/modules/wordnet/Makefile.in
+++ b/modules/wordnet/Makefile.in
@@ -975,7 +975,7 @@
 moddir = @DICO_MODDIR@
 mod_LTLIBRARIES = wordnet.la
 wordnet_la_SOURCES = wordnet.c
-wordnet_la_LIBADD = ../../lib/libdico.la @WORDNET_LOPT@ -lWN
+wordnet_la_LIBADD = ../../lib/libdico.la @WORDNET_LOPT@ -lwordnet
 AM_LDFLAGS = -module -avoid-version -no-undefined
 INCLUDES = \
  -I$(top_srcdir)/include\