]> git.pld-linux.org Git - packages/nspr.git/blame - nspr-acfix.patch
- updated to 4.9.6
[packages/nspr.git] / nspr-acfix.patch
CommitLineData
03280b3b
JB
1--- nspr-4.9/mozilla/nsprpub/configure.in.orig 2012-02-14 20:06:00.000000000 +0100
2+++ nspr-4.9/mozilla/nsprpub/configure.in 2012-02-22 19:51:15.304052833 +0100
3@@ -596,7 +596,8 @@
b1b7875a
JB
4
5 AC_MSG_CHECKING([whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works])
6 AC_TRY_COMPILE([], [return(0);],
7- [ac_cv_prog_host_cc_works=1 AC_MSG_RESULT([yes])],
8+ [ac_cv_prog_host_cc_works=1
9+ AC_MSG_RESULT([yes])],
10 AC_MSG_ERROR([installation or configuration problem: $host compiler $HOST_CC cannot create executables.]) )
11
12 CC=$_SAVE_CC
03280b3b 13@@ -2708,8 +2709,8 @@
1e62ce48
JB
14 ;;
15 *)
16 AC_CHECK_LIB(dl, dlopen,
17- AC_CHECK_HEADER(dlfcn.h,
18- OS_LIBS="-ldl $OS_LIBS"))
19+ [AC_CHECK_HEADER(dlfcn.h,
20+ OS_LIBS="-ldl $OS_LIBS")])
21 ;;
22 esac
23
03280b3b 24@@ -3350,7 +3351,7 @@
a4d46ce9
JB
25 dnl ========================================================
26 dnl Generate output files.
27 dnl ========================================================
28-MAKEFILES="
29+m4_define([MAKEFILES], [
03280b3b
JB
30 Makefile
31 config/Makefile
32 config/autoconf.mk
33@@ -3380,41 +3381,17 @@
34 pr/src/threads/Makefile
35 pr/tests/Makefile
36 pr/tests/dll/Makefile
a4d46ce9
JB
37-"
38-
03280b3b
JB
39-if test "$OS_TARGET" = "Linux"; then
40- MAKEFILES="$MAKEFILES
41 pkg/linux/Makefile
42- "
43-elif test "$OS_TARGET" = "SunOS"; then
44- MAKEFILES="$MAKEFILES
45 pkg/solaris/Makefile
46 pkg/solaris/SUNWpr/Makefile
47 pkg/solaris/SUNWprd/Makefile
48- "
49-fi
a4d46ce9
JB
50-
51-if test -z "$USE_PTHREADS" && test -z "$USE_BTHREADS"; then
03280b3b
JB
52- MAKEFILES="$MAKEFILES
53 pr/src/threads/combined/Makefile
54- "
a4d46ce9 55-elif test -n "$USE_PTHREADS"; then
03280b3b
JB
56- MAKEFILES="$MAKEFILES
57 pr/src/pthreads/Makefile
58- "
a4d46ce9 59-elif test -n "$USE_BTHREADS"; then
03280b3b
JB
60- MAKEFILES="$MAKEFILES
61 pr/src/bthreads/Makefile
62- "
a4d46ce9
JB
63-fi
64-
65-if test -n "$USE_CPLUS"; then
03280b3b
JB
66- MAKEFILES="$MAKEFILES
67 pr/src/cplus/Makefile
68 pr/src/cplus/tests/Makefile
69- "
a4d46ce9 70-fi
a4d46ce9
JB
71+])
72
73-echo $MAKEFILES > unallmakefiles
74+echo "MAKEFILES" > unallmakefiles
75
76-AC_OUTPUT([$MAKEFILES], [chmod +x config/nspr-config])
77+AC_OUTPUT(MAKEFILES, [chmod +x config/nspr-config])
This page took 0.03533 seconds and 4 git commands to generate.