patches/xine-ui-04-configure.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 622 bc226394631c
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
622
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     1
--- xine-ui-0.99.5-orig/configure.ac	2007-04-15 16:05:21.000000000 +0000
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     2
+++ xine-ui-0.99.5/configure.ac	2007-11-04 14:39:05.722915057 +0000
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     3
@@ -341,6 +341,19 @@
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     4
 AC_SUBST(NET_LIBS)
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     5
 
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     6
 dnl
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     7
+dnl Solaris is missing INADDR_NONE, so define INADDR_NONE to -1 for Solaris.
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     8
+dnl
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
     9
+AC_CHECK_DECL(
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    10
+  INADDR_NONE,
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    11
+  [],
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    12
+  [AC_DEFINE(INADDR_NONE,-1,[This is the value, which is returned from inet_addr(), in case of an error])],
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    13
+  [
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    14
+  #include <sys/types.h>
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    15
+  #include <sys/socket.h>
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    16
+  #include <netinet/in.h>]
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    17
+)
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    18
+
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    19
+dnl
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    20
 dnl check for ascii-art library
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    21
 dnl
bc226394631c 2007-11-5 Mark Wright <[email protected]>
markwright
parents:
diff changeset
    22
 AC_ARG_WITH([aalib],