Search
j0ke.net Open Build Service
>
Projects
>
server:search
>
clucene-contrib-unstable
> clucene-contrib-0.9.16_libdir.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File clucene-contrib-0.9.16_libdir.patch of Package clucene-contrib-unstable (Revision 2)
Currently displaying revision
2
,
show latest
Index: m4/acx_clucene.m4 =================================================================== --- m4/acx_clucene.m4.orig +++ m4/acx_clucene.m4 @@ -24,17 +24,19 @@ AC_MSG_CHECKING([how to include clucene] CLUCENE_CXXFLAGS= CLUCENE_LIBS= for flag in $with_clucene; do - if test -z "$clucene_set_failed"; then - if test -e "$flag/include/CLucene/StdHeader.h"; then - if test -e "$flag/lib/CLucene/clucene-config.h"; then - if test -e "$flag/lib/libclucene.la"; then - CLUCENE_LIBS="-L$flag/lib -lclucene" - CLUCENE_CXXFLAGS="-I$flag/include -I$flag/lib" - clucene_set_failed=$flag + for cltest_libdir in lib64 lib ; do + if test -z "$clucene_set_failed"; then + if test -e "$flag/include/CLucene/StdHeader.h"; then + if test -e "$flag/$cltest_libdir/CLucene/clucene-config.h"; then + if test -e "$flag/$cltest_libdir/libclucene.la"; then + CLUCENE_LIBS="-L$flag/$cltest_libdir -lclucene" + CLUCENE_CXXFLAGS="-I$flag/include -I$flag/$cltest_libdir" + clucene_set_failed=$flag + fi fi fi fi - fi + done if test -z "$clucene_set_failed"; then if test -e "$flag/src/CLucene/StdHeader.h"; then Index: configure =================================================================== --- configure.orig +++ configure @@ -19669,17 +19669,19 @@ echo $ECHO_N "checking how to include cl CLUCENE_CXXFLAGS= CLUCENE_LIBS= for flag in $with_clucene; do - if test -z "$clucene_set_failed"; then - if test -e "$flag/include/CLucene/StdHeader.h"; then - if test -e "$flag/lib/CLucene/clucene-config.h"; then - if test -e "$flag/lib/libclucene.la"; then - CLUCENE_LIBS="-L$flag/lib -lclucene" - CLUCENE_CXXFLAGS="-I$flag/include -I$flag/lib" - clucene_set_failed=$flag + for cltest_libdir in lib64 lib ; do + if test -z "$clucene_set_failed"; then + if test -e "$flag/include/CLucene/StdHeader.h"; then + if test -e "$flag/$cltest_libdir/CLucene/clucene-config.h"; then + if test -e "$flag/$cltest_libdir/libclucene.la"; then + CLUCENE_LIBS="-L$flag/$cltest_libdir -lclucene" + CLUCENE_CXXFLAGS="-I$flag/include -I$flag/$cltest_libdir" + clucene_set_failed=$flag + fi fi fi fi - fi + done if test -z "$clucene_set_failed"; then if test -e "$flag/src/CLucene/StdHeader.h"; then