Added the missing check for libw needed for wcslen() (Just defines in headers
don't fix such a problem.) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1b3667ab28
commit
6a3ab8b15a
@ -464,6 +464,13 @@ dnl #######################
|
||||
dnl # check for functions #
|
||||
dnl #######################
|
||||
|
||||
WCHAR_LINK=
|
||||
dnl check for wcslen
|
||||
AC_CHECK_LIB(c,wcslen,,
|
||||
AC_CHECK_LIB(w,wcslen,
|
||||
WCHAR_LINK="-lw" ,AC_MSG_ERROR("Cannot find wcslen function.")))
|
||||
AC_SUBST(WCHAR_LINK)
|
||||
|
||||
dnl check for vprintf/vsprintf() which are GNU extensions
|
||||
AC_FUNC_VPRINTF
|
||||
|
||||
|
@ -45,6 +45,7 @@ s|*THREADS*|@THREADS@|g
|
||||
s|*THREADS_LINK*|@THREADS_LINK@|g
|
||||
s|*POSIX4_LINK*|@POSIX4_LINK@|g
|
||||
s|*EXTRA_LINK*|@EXTRA_LINK@|g
|
||||
s|*WCHAR_LINK*|@WCHAR_LINK@|g
|
||||
s|*GTK_JOYSTICK*|@GTK_JOYSTICK@|g
|
||||
s|*UNIX_THREAD*|@UNIX_THREAD@|g
|
||||
s|*IODBC_C_SRC*|@IODBC_C_SRC@|g
|
||||
|
@ -47,7 +47,7 @@ while test $# -gt 0; do
|
||||
|
||||
;;
|
||||
--libs)
|
||||
echo -L@libdir@ @THREADS_LINK@ @WX_LINK@ @DL_LIBRARY@ @GUI_TK_LIBRARY@ @EXTRA_LINK@ @JPEG_LINK@
|
||||
echo -L@libdir@ @THREADS_LINK@ @WX_LINK@ @DL_LIBRARY@ @GUI_TK_LIBRARY@ @EXTRA_LINK@ @JPEG_LINK@ @WCHAR_LINK@
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
||||
|
Loading…
Reference in New Issue
Block a user