aboutsummaryrefslogtreecommitdiffstats
path: root/print/cups-base/files/patch-configure
blob: 874d195f4e426712189413b8a1ca11be128c291f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- configure.orig  2012-07-27 22:57:23.000000000 +0200
+++ configure   2012-11-05 20:13:13.000000000 +0100
@@ -566,6 +566,7 @@
 # Factoring default headers for most tests.
 ac_includes_default="\
 #include <stdio.h>
+#include <netinet/in.h>
 #ifdef HAVE_SYS_TYPES_H
 # include <sys/types.h>
 #endif
@@ -5660,7 +5661,7 @@
        CFLAGS="$CFLAGS `$PKGCONFIG --cflags dbus-1` -DDBUS_API_SUBJECT_TO_CHANGE"
        SERVERLIBS="$SERVERLIBS `$PKGCONFIG --libs dbus-1`"
        DBUS_NOTIFIER="dbus"
-       DBUS_NOTIFIERLIBS="`$PKGCONFIG --libs dbus-1`"
+       DBUS_NOTIFIERLIBS="`$PKGCONFIG --libs dbus-1` -pthread"
        SAVELIBS="$LIBS"
        LIBS="$LIBS $DBUS_NOTIFIERLIBS"
        ac_fn_c_check_func "$LINENO" "dbus_message_iter_init_append" "ac_cv_func_dbus_message_iter_init_append"
@@ -8302,7 +8303,7 @@
 
 
    if test x$ac_cv_header_pthread_h = xyes; then
-               for flag in -lpthreads -lpthread -pthread; do
+               for flag in -pthread; do
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create using $flag" >&5
 $as_echo_n "checking for pthread_create using $flag... " >&6; }
            SAVELIBS="$LIBS"