--- configure.old 2008-07-01 00:28:27.000000000 -0300 +++ configure 2008-07-01 00:34:13.000000000 -0300 @@ -36489,38 +36489,38 @@ if test x"${nspr}" = x"yes"; then # Check whether --with-nspr_lib was given. -if test "${with_nspr_lib+set}" = set; then - withval=$with_nspr_lib; with_nspr_lib=${withval} -fi - - if test "${ac_cv_path_nspr_lib+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - if test x"${with_nspr_lib}" != x ; then - { echo "$as_me:$LINENO: checking for libnspr library in specified directory" >&5 -echo $ECHO_N "checking for libnspr library in specified directory... $ECHO_C" >&6; } - if test -f ${with_nspr_lib}/lib$name.a -o -f ${with_nspr_lib}/lib$name.${shlibext}; then - tmp="`(cd ${with_nspr_lib}; pwd)`" - ac_cv_path_nspr_lib="-L${tmp} -l$name" - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } - else - { { echo "$as_me:$LINENO: error: ${with_nspr_lib} directory doesn't contain library $name." >&5 -echo "$as_me: error: ${with_nspr_lib} directory doesn't contain library $name." >&2;} - { (exit 1); exit 1; }; } - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } - fi - fi - -fi - +#if test "${with_nspr_lib+set}" = set; then +# withval=$with_nspr_lib; with_nspr_lib=${withval} +#fi +# +# if test "${ac_cv_path_nspr_lib+set}" = set; then +# echo $ECHO_N "(cached) $ECHO_C" >&6 +#else +# +# if test x"${with_nspr_lib}" != x ; then +# { echo "$as_me:$LINENO: checking for libnspr library in specified directory" >&5 +#echo $ECHO_N "checking for libnspr library in specified directory... $ECHO_C" >&6; } +# if test -f ${with_nspr_lib}/lib$name.a -o -f ${with_nspr_lib}/lib$name.${shlibext}; then +# tmp="`(cd ${with_nspr_lib}; pwd)`" +# +# { echo "$as_me:$LINENO: result: yes" >&5 +#echo "${ECHO_T}yes" >&6; } +# else +# { { echo "$as_me:$LINENO: error: ${with_nspr_lib} directory doesn't contain library $name." >&5 +#echo "$as_me: error: ${with_nspr_lib} directory doesn't contain library $name." >&2;} +# { (exit 1); exit 1; }; } +# { echo "$as_me:$LINENO: result: no" >&5 +#echo "${ECHO_T}no" >&6; } +# fi +# fi# +# +#fi + ac_cv_path_nspr_lib="-L/usr/lib/seamonkey -lplds4 -lplc4 -lnspr4 -lpthread -ldl" if test x$cross_compiling = xno; then if test x"$PKG_CONFIG" != x -a x"${ac_cv_path_nspr_lib}" = x; then $PKG_CONFIG --exists libDOWN && ac_cv_path_nspr_lib="`$PKG_CONFIG --libs-only-l libDOWN`" - $PKG_CONFIG --exists nspr && ac_cv_path_nspr_lib="`$PKG_CONFIG --libs-only-l nspr`" + $PKG_CONFIG --exists seamonkey-nspr && ac_cv_path_nspr_lib="`$PKG_CONFIG --libs-only-l seamonkey-nspr`" $PKG_CONFIG --exists lib$name && ac_cv_path_nspr_lib="`$PKG_CONFIG --libs-only-l lib$name`" $PKG_CONFIG --exists $name && ac_cv_path_nspr_lib="`$PKG_CONFIG --libs-only-l $name`" { echo "$as_me:$LINENO: checking for libnspr library" >&5