blob: 7e9eb16d04f468776926074f8bb043a89ce69739 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
--- 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
|