- Timestamp:
- Jan 27, 2011, 11:07:48 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-kernel/configure.ac
r77 r89 327 327 JS_LDFLAGS="-L/usr/lib -lmozjs -lm" 328 328 JS_LIB="mozjs" 329 else 330 AC_MSG_ERROR([You must install libmozjs-dev or specify your custom install of libjs]) 329 else 330 XUL_VERSION="`dpkg -l | grep xulrunner-dev | awk '{print $3;}' | sed -e 's/\([[0-9]]\{1,2\}\.[[0-9]]\{1,2\}\.[[0-9]]\{1,2\}\.[[0-9]]\{1,2\}\).*/\1/'`" 331 if test -n "$XUL_VERSION" 332 then 333 JS_CPPFLAGS="-I/usr/include/xulrunner-$XUL_VERSION" 334 JS_LDFLAGS="-L/usr/lib/xulrunner-$XUL_VERSION -lmozjs -lm" 335 JS_LIB="mozjs" 336 else 337 AC_MSG_ERROR([You must install libmozjs-dev or xulrunner-dev ]) 338 fi 331 339 fi 332 340 else … … 339 347 340 348 fi 341 349 echo "################################" 350 echo $JS_CPPFLAGS 351 echo "##################################" 342 352 CPPFLAGS_SAVE="$CPPFLAGS" 343 353 CPPFLAGS="$JS_CPPFLAGS"
Note: See TracChangeset
for help on using the changeset viewer.