4 mozilla_version
='@MOZILLA_VERSION@'
5 LIBRARY_NAME
='@LIBRARY_NAME@'
6 NSPR_CFLAGS
='@NSPR_CFLAGS@'
7 JS_CONFIG_LIBS
='@JS_CONFIG_LIBS@'
8 MOZ_JS_LIBS
='@MOZ_JS_LIBS@'
13 Usage: js-config [OPTIONS]
27 if test $# -eq 0; then
31 while test $# -gt 0; do
33 -*=*) optarg
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
63 echo "$mozilla_version"
78 # Set variables that may be dependent upon other variables
79 if test -z "$exec_prefix"; then
80 exec_prefix
=@exec_prefix@
82 if test -z "$includedir"; then
83 includedir
=@includedir@
85 if test -z "$libdir"; then
89 if test "$echo_prefix" = "yes"; then
93 if test "$echo_exec_prefix" = "yes"; then
97 if test "$echo_includedir" = "yes"; then
101 if test "$echo_libdir" = "yes"; then
105 if test "$echo_cflags" = "yes"; then
106 echo "-I$includedir/js $NSPR_CFLAGS"
109 if test "$echo_libs" = "yes"; then
110 echo "$MOZ_JS_LIBS $JS_CONFIG_LIBS"