summaryrefslogtreecommitdiff
path: root/textproc/bibtool/files/patch-configure
blob: f859335184a0368775746d49b5306cbfb14ca92f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ./configure.orig	2004-02-08 09:35:23.000000000 +0000
+++ ./configure	2014-01-25 23:08:47.000000000 +0000
@@ -4566,12 +4566,12 @@
 	kpathsea_dir=
 	kpathsea_lib=
 	kpathsea_def=
-	for cand in .. ../kpse3-2 kpse3-2 .
+	for cand in ${LOCALBASE}
 	do
-		if test -f $cand/kpathsea/tex-file.h ; then
-			kpathsea_dir=$cand
-			kpathsea_lib=$cand/kpathsea/STATIC/libkpathsea.a
-			kpathsea_def="-DHAVE_LIBKPATHSEA -I$cand"
+		if test -f $cand/include/kpathsea/tex-file.h ; then
+			kpathsea_dir=$cand/include
+			kpathsea_lib=$cand/lib/libkpathsea.a
+			kpathsea_def="-DHAVE_LIBKPATHSEA -I$cand/include"
 		fi
 	done
 	if test -z "$kpathsea_dir"; then