diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index f42b4b77..72e8aef3 100644 --- a/configure.ac +++ b/configure.ac @@ -85,8 +85,8 @@ CPPFLAGS="$FLAGS $CPPFLAGS" # manually linking libm is requred for FreeBSD 7.0 LDFLAGS="$FLAGS -lm $LDFLAGS" -AC_CHECK_LIB([js], [JS_NewContext], [], [ - AC_CHECK_LIB([mozjs], [JS_NewContext], [], [ +AC_CHECK_LIB([mozjs], [JS_NewContext], [], [ + AC_CHECK_LIB([js], [JS_NewContext], [], [ AC_MSG_ERROR([Could not find the js library. Is the Mozilla SpiderMonkey library installed?])])]) |