blob: c1bea263a07c43c6b4cc9868b3d446f89b3e9ce2 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
--- configure.orig 2012-09-24 01:56:12.000000000 +0000
+++ configure 2012-09-24 01:57:06.000000000 +0000
@@ -603,6 +603,9 @@
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
+#ifdef HAVE_SYS_PARAM_H
+# include <sys/param.h>
+#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
@@ -5602,7 +5605,7 @@
fi
GLIB_RUNTIME_LIBDIR="$with_runtime_libdir"
-ABS_GLIB_RUNTIME_LIBDIR="`readlink -f $libdir/$with_runtime_libdir`"
+ABS_GLIB_RUNTIME_LIBDIR="`readlink $libdir/$with_runtime_libdir`"
if test "x$with_runtime_libdir" != "x"; then
@@ -23647,7 +23650,7 @@
fi
done
-for ac_func in chown lchmod lchown fchmod fchown link utimes getgrgid getpwuid getresuid
+for ac_func in chown lchmod lchown fchmod fchown link utimes getgrgid getpwuid getresuid sysctlbyname
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -27107,8 +27110,11 @@
# b) FreeBSD doesn't do this either.
#
case $host in
- *-*-freebsd*|*-*-linux*)
- G_THREAD_LIBS_FOR_GTHREAD="`echo $G_THREAD_LIBS | sed s/-pthread/-pthread/`"
+ *-*-linux*)
+ G_THREAD_LIBS_FOR_GTHREAD="`echo $G_THREAD_LIBS | sed s/-pthread/-lpthread/`"
+ ;;
+ *-*-freebsd*)
+ G_THREAD_LIBS_FOR_GTHREAD="-pthread"
;;
*-*-openbsd*)
LDFLAGS="$LDFLAGS -pthread"
|