Added some missing brackets required by autoconf on OS2.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2003-08-20 10:29:08 +00:00
parent fa8e95cbdb
commit 4c15b7aff2

View File

@@ -2096,10 +2096,12 @@ if test "$wxUSE_LIBTIFF" != "no" ; then
TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK" TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
fi fi
AC_CHECK_HEADER(tiffio.h, AC_CHECK_HEADER(tiffio.h,
[
AC_CHECK_LIB(tiff, TIFFError, AC_CHECK_LIB(tiff, TIFFError,
TIFF_LINK=" -ltiff", TIFF_LINK=" -ltiff",
, ,
$TIFF_PREREQ_LINKS) $TIFF_PREREQ_LINKS)
]
) )
if test "x$TIFF_LINK" = "x" ; then if test "x$TIFF_LINK" = "x" ; then
@@ -3683,12 +3685,16 @@ AC_CHECK_FUNCS(inet_addr,
[ [
AC_CHECK_LIB(nsl, inet_addr, AC_CHECK_LIB(nsl, inet_addr,
INET_LINK="nsl", INET_LINK="nsl",
[
AC_CHECK_LIB(resolv, inet_addr, AC_CHECK_LIB(resolv, inet_addr,
INET_LINK="resolv", INET_LINK="resolv",
[
AC_CHECK_LIB(socket, inet_addr, AC_CHECK_LIB(socket, inet_addr,
INET_LINK="socket" INET_LINK="socket"
) )
]
) )
]
) )
] ]
) )
@@ -4524,6 +4530,7 @@ if test "$wxUSE_SOCKETS" = "yes"; then
if test "$TOOLKIT" != "MSW"; then if test "$TOOLKIT" != "MSW"; then
dnl under Solaris and OS/2, socket functions live in -lsocket dnl under Solaris and OS/2, socket functions live in -lsocket
AC_CHECK_FUNC(socket,, AC_CHECK_FUNC(socket,,
[
AC_CHECK_LIB(socket, socket, AC_CHECK_LIB(socket, socket,
if test "$INET_LINK" != " -lsocket"; then if test "$INET_LINK" != " -lsocket"; then
INET_LINK="$INET_LINK -lsocket" INET_LINK="$INET_LINK -lsocket"
@@ -4533,6 +4540,7 @@ if test "$wxUSE_SOCKETS" = "yes"; then
wxUSE_SOCKETS=no wxUSE_SOCKETS=no
] ]
) )
]
) )
fi fi
fi fi
@@ -4729,7 +4737,10 @@ if test "$TOOLKIT" != "MSW"; then
if test "$HAVE_DL_FUNCS" = 1; then if test "$HAVE_DL_FUNCS" = 1; then
AC_CHECK_FUNCS(dlerror, AC_CHECK_FUNCS(dlerror,
AC_DEFINE(HAVE_DLERROR), AC_DEFINE(HAVE_DLERROR),
AC_CHECK_LIB(dl, dlerror, AC_DEFINE(HAVE_DLERROR))) [
AC_CHECK_LIB(dl, dlerror, AC_DEFINE(HAVE_DLERROR))
]
)
fi fi
fi fi