summaryrefslogtreecommitdiff
blob: 5a5acad9af77d54eac66e02dde17d78a5f98dd18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/m4/_js.m4	2011-01-02 10:54:36.821000001 -0600
+++ b/m4/_js.m4	2011-01-02 10:55:45.368000001 -0600
@@ -103,7 +103,7 @@
       # Failed...
 
       if test x"$JS_CFLAGS" = x; then
-	AC_MSG_ERROR([libjs not found])
+	AC_MSG_ERROR([libmozjs not found])
       fi
     else
       saved_CFLAGS="$CFLAGS"
@@ -118,10 +118,10 @@
 			  echo moz
 			  ;;
 		   esac`"
-	 JS_LIBS="`spidermonkey_locate_lib([$JS_LIBS])`js"
+	 JS_LIBS="`spidermonkey_locate_lib([$JS_LIBS])`mozjs"
 	 AC_DEFINE(HAVE_LIBSMJS, 1, [Define if you have jsapi.h])
 	],
-	[AC_MSG_ERROR([libjs not found])],
+	[AC_MSG_ERROR([libmozjs not found])],
 	[#define XP_UNIX])
       CFLAGS="$saved_CFLAGS"
     fi