4 exec_prefix
=%exec_prefix
%
10 Usage: $0 [OPTIONS] [LIBRARIES]
17 [--cflags] [components]
31 if test $# -eq 0; then
35 while test $# -gt 0; do
37 -*=*) optarg
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
44 if test $exec_prefix_set = no
; then
59 echo %MOZILLA_VERSION
%
63 if test "%includedir%" != /usr
/include
; then
64 includes
="-I%includedir%"
77 xpcom|js|nspr|gfx|jsj
)
78 echo_components
="$echo_components $1"
79 echo_libraries
="$echo_libraries $1"
82 echo_components
="$echo_components $1"
88 echo_components
="$echo_components $1"
94 if test "$echo_prefix" = "yes"; then
97 if test "$echo_exec_prefix" = "yes"; then
101 if test "$echo_defines" = "yes"; then
105 if test "$echo_cflags" = "yes"; then
106 nspr_cflags
="%FULL_NSPR_CFLAGS%"
107 for n
in $echo_components; do
108 component_includes
="$component_includes -I%includedir%/$n"
110 echo $component_includes $includes $nspr_cflags
113 if test "$echo_idlflags" = "yes"; then
117 _nspr_libs
="%FULL_NSPR_LIBS%"
118 _xpcom_libs
="-lxpcom $_nspr_libs"
121 if test "$echo_libs" = "yes"; then
122 for l
in $echo_libraries; do
125 libs
="$libs -lgkgfx $_xpcom_libs"
128 libs
="$libs $_xpcom_libs"
131 libs
="$libs $_nspr_libs"
134 libs
="$libs $_js_libs"
137 libs
="$libs -ljsj $_js_libs $_xpcom_libs"
141 echo -L%libdir
% $libs