nspr.hostcompiler.patch 910 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
diff -ur nspr-4.8.6.orig/mozilla/nsprpub/configure.in nspr-4.8.6/mozilla/nsprpub/configure.in
--- nspr-4.8.6.orig/mozilla/nsprpub/configure.in	2010-07-09 12:00:36.000000000 +0930
+++ nspr-4.8.6/mozilla/nsprpub/configure.in	2010-11-24 21:36:02.890848003 +1030
@@ -42,7 +42,7 @@
 AC_PREREQ(2.12)
 AC_INIT(config/libc_r.h)
 
-AC_CONFIG_AUX_DIR(${srcdir}/build/autoconf)
+AC_CONFIG_AUX_DIR(build/autoconf)
 AC_CANONICAL_SYSTEM
 
 dnl ========================================================
@@ -511,7 +511,8 @@
 
     AC_MSG_CHECKING([whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works])
     AC_TRY_COMPILE([], [return(0);], 
-        [ac_cv_prog_host_cc_works=1 AC_MSG_RESULT([yes])],
+        [ac_cv_prog_host_cc_works=1
+         AC_MSG_RESULT([yes])],
         AC_MSG_ERROR([installation or configuration problem: $host compiler $HOST_CC cannot create executables.]) )
 
     CC=$_SAVE_CC