Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ee112fc7
Commit
ee112fc7
authored
Jun 16, 2006
by
Scott Bambrough
Committed by
Alexandre Julliard
Jun 19, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Test for additional ICU libraries /usr/lib/libicuuc.a and /usr/lib/libicudata.a.
parent
705178fb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
13 deletions
+17
-13
configure
configure
+9
-7
configure.ac
configure.ac
+8
-6
No files found.
configure
View file @
ee112fc7
...
...
@@ -11280,12 +11280,13 @@ fi
if
test
"
$ac_cv_header_unicode_ubidi_h
"
=
"yes"
then
saved_libs
=
"
$LIBS
"
ICU_LIB_DIR
=
"
${
ICU_LIB_DIR
-/usr/lib
}
"
ICUUC_LIB
=
"
${
ICUUC_LIB
-
$ICU_LIB_DIR
/libsicuuc.a
}
"
ICUDATA_LIB
=
"
${
ICUDATA_LIB
-
$ICU_LIB_DIR
/libsicudata.a
}
"
{
echo
"
$as_me
:
$LINENO
: checking whether can link with ICU libraries
$ICUUC_LIB
and
$ICUDATA_LIB
"
>
&5
echo
$ECHO_N
"checking whether can link with ICU libraries
$ICUUC_LIB
and
$ICUDATA_LIB
...
$ECHO_C
"
>
&6
;
}
LIBS
=
"
$LIBS
$ICUUC_LIB
$ICUDATA_LIB
-lstdc++ -lgcc_s"
for
i
in
${
ICU_LIB_DIR
-/usr/lib
}
/libsicu
${
ICU_LIB_DIR
-/usr/lib
}
/libicu
do
TEST_ICUUC_LIB
=
"
${
ICUUC_LIB
-
${
i
}
uc
.a
}
"
TEST_ICUDATA_LIB
=
"
${
ICUDATA_LIB
-
${
i
}
data
.a
}
"
{
echo
"
$as_me
:
$LINENO
: checking whether can link with ICU libraries
$TEST_ICUUC_LIB
and
$TEST_ICUDATA_LIB
"
>
&5
echo
$ECHO_N
"checking whether can link with ICU libraries
$TEST_ICUUC_LIB
and
$TEST_ICUDATA_LIB
...
$ECHO_C
"
>
&6
;
}
LIBS
=
"
$saved_libs
$TEST_ICUUC_LIB
$TEST_ICUDATA_LIB
-lstdc++ -lgcc_s"
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
...
...
@@ -11327,7 +11328,7 @@ cat >>confdefs.h <<\_ACEOF
#define HAVE_ICU 1
_ACEOF
ICULIBS
=
"
$ICUUC_LIB
$
ICUDATA_LIB
-lstdc++ -lgcc_s"
ICULIBS
=
"
$TEST_ICUUC_LIB
$TEST_
ICUDATA_LIB
-lstdc++ -lgcc_s"
{
echo
"
$as_me
:
$LINENO
: result: yes"
>
&5
echo
"
${
ECHO_T
}
yes"
>
&6
;
}
...
...
@@ -11341,6 +11342,7 @@ fi
rm
-f
conftest.err conftest.
$ac_objext
\
conftest
$ac_exeext
conftest.
$ac_ext
done
LIBS
=
"
$saved_libs
"
fi
...
...
configure.ac
View file @
ee112fc7
...
...
@@ -602,16 +602,18 @@ dnl **** Check for the ICU library ****
if test "$ac_cv_header_unicode_ubidi_h" = "yes"
then
saved_libs="$LIBS"
ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
AC_MSG_CHECKING(whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB)
LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
do
TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
AC_MSG_CHECKING(whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB)
LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
AC_TRY_LINK([#include <unicode/ubidi.h>],[ubidi_open()],
[AC_DEFINE(HAVE_ICU,1,[Define to 1 if the ICU libraries are installed])
AC_SUBST(ICULIBS,"$ICUUC_LIB $
ICUDATA_LIB -lstdc++ -lgcc_s")
AC_SUBST(ICULIBS,"$TEST_ICUUC_LIB $TEST_
ICUDATA_LIB -lstdc++ -lgcc_s")
AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)])
done
LIBS="$saved_libs"
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment