]> git.saurik.com Git - wxWidgets.git/commitdiff
More fixes
authorStefan Neis <Stefan.Neis@t-online.de>
Wed, 9 Feb 2000 00:31:10 +0000 (00:31 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Wed, 9 Feb 2000 00:31:10 +0000 (00:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index 64a63af5b7dab102c3c95f75a7b691e29030fa0c..3f740e77ac1ec1d5e85f5aabab95a98257f3069c 100644 (file)
@@ -1773,6 +1773,8 @@ if test "$wxUSE_MOTIF" = 1; then
                 version = XpmLibraryVersion();
             ],
             [
+               XPM_LINK="-lXpm "
+               AC_DEFINE(wxHAVE_LIB_XPM)
                 AC_MSG_RESULT(found in default search path)
                 COMPILED_X_PROGRAM=0
             ],
@@ -2799,6 +2801,7 @@ if test "$wxUSE_SOCKETS" = "yes" ; then
 
             AC_TRY_COMPILE(
                 [
+                    #include <sys/types.h>
                     #include <sys/socket.h>
                 ],
                 [
@@ -2808,6 +2811,7 @@ if test "$wxUSE_SOCKETS" = "yes" ; then
                 wx_cv_type_getsockname3=socklen_t,
                 AC_TRY_COMPILE(
                     [
+                        #include <sys/types.h>
                         #include <sys/socket.h>
                     ],
                     [
@@ -2817,13 +2821,14 @@ if test "$wxUSE_SOCKETS" = "yes" ; then
                     wx_cv_type_getsockname3=size_t,
                     AC_TRY_COMPILE(
                         [
+                            #include <sys/types.h>
                             #include <sys/socket.h>
                         ],
                         [
                             int len;
                             getsockname(0, 0, &len);
                         ],
-                        wx_cv_type_getsockname3=int
+                        wx_cv_type_getsockname3=int,
                         wx_cv_type_getsockname3=unknown
                     )
                 )