1 --- nspr-4.7.1/mozilla/nsprpub/configure.in.orig 2008-04-29 01:21:11.000000000 +0200
2 +++ nspr-4.7.1/mozilla/nsprpub/configure.in 2008-06-04 18:20:21.085383087 +0200
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.]) )
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")])
25 dnl ========================================================
26 dnl Generate output files.
27 dnl ========================================================
29 +m4_define([MAKEFILES], [
33 @@ -2884,24 +2885,12 @@
34 pr/src/threads/Makefile
39 -dnl lib/tests/Makefile
40 -dnl pr/tests/w16gui/Makefile
43 -if test -z "$USE_PTHREADS" && test -z "$USE_BTHREADS"; then
44 - MAKEFILES="$MAKEFILES pr/src/threads/combined/Makefile"
45 -elif test -n "$USE_PTHREADS"; then
46 - MAKEFILES="$MAKEFILES pr/src/pthreads/Makefile"
47 -elif test -n "$USE_BTHREADS"; then
48 - MAKEFILES="$MAKEFILES pr/src/bthreads/Makefile"
51 -if test -n "$USE_CPLUS"; then
52 - MAKEFILES="$MAKEFILES pr/src/cplus/Makefile pr/src/cplus/tests/Makefile"
54 +pr/src/threads/combined/Makefile
55 +pr/src/pthreads/Makefile
56 +pr/src/bthreads/Makefile
57 +pr/src/cplus/Makefile pr/src/cplus/tests/Makefile
60 -echo $MAKEFILES > unallmakefiles
61 +echo "MAKEFILES" > unallmakefiles
63 -AC_OUTPUT([$MAKEFILES], [chmod +x config/nspr-config])
64 +AC_OUTPUT(MAKEFILES, [chmod +x config/nspr-config])