From: Stefan Neis Date: Sun, 2 Feb 2003 20:31:27 +0000 (+0000) Subject: Some OS/2 specific improvements. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ab9f788e31f7265bca3159260a5849ef847d5393?ds=inline Some OS/2 specific improvements. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure.in b/configure.in index e34e57d87b..e9eac25d4e 100644 --- a/configure.in +++ b/configure.in @@ -1259,10 +1259,13 @@ dnl install checks dnl defines INSTALL with the appropriate command AC_PROG_INSTALL -dnl make install path absolute (if not already); will fail with MSDOS paths +dnl make install path absolute (if not already); +dnl will fail with (some) MSDOS paths case ${INSTALL} in /* ) # Absolute ;; + ?:* ) # Drive letter, considered as absolute. + ;; *) INSTALL=`pwd`/${INSTALL} ;; esac @@ -1415,6 +1418,15 @@ fi dnl defines HAVE_LANGINFO_H (GNU libc locale parameters) AC_CHECK_HEADERS(langinfo.h) +case "${host}" in + *-pc-os2_emx | *-pc-os2-emx ) + dnl Explicitly link -lintl if langinfo.h is available. + if test $ac_cv_header_langinfo_h = "yes"; then + LIBS="$LIBS -lintl" + fi + ;; +esac + if test "$wxUSE_GUI" = "yes"; then if test "$wxUSE_UNIX" = "yes"; then dnl defines HAVE_X11_XKBLIB_H