blob: 7d6ac058475dd58d33de1a8192c6a8597d444034 (
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
|
$NetBSD: patch-aa,v 1.11 2003/04/26 03:09:31 rh Exp $
--- configure.orig 2003-03-25 07:14:15.000000000 +1000
+++ configure
@@ -9287,7 +9287,7 @@ if test "${ac_cv_lib_pspell_new_pspell_m
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpspell -lstdc++ -lpspell-modules $LIBS"
+LIBS="-lpspell -lstdc++ $LIBS -lm"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
@@ -9302,11 +9302,11 @@ extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char new_pspell_manager ();
+char new_aspell_speller ();
int
main ()
{
-new_pspell_manager ();
+new_aspell_speller ();
;
return 0;
}
@@ -9340,7 +9340,7 @@ if test $ac_cv_lib_pspell_new_pspell_man
#define HAVE_LIBPSPELL 1
_ACEOF
- LIBS="-lpspell $LIBS"
+ LIBS="-lpspell $LIBS -lm"
else
@@ -14275,11 +14275,11 @@ extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char iconv_open ();
+char libiconv_open ();
int
main ()
{
-iconv_open ();
+libiconv_open ();
;
return 0;
}
@@ -14478,8 +14478,7 @@ fi;
echo "$as_me:$LINENO: checking whether to build SSL support" >&5
echo $ECHO_N "checking whether to build SSL support... $ECHO_C" >&6
if test "x$with_ssl" != xno ; then
-# openssl >=0.9.7 is pkg-config compatible.
- if pkg-config openssl >&/dev/null; then
+ if pkg-config openssl >/dev/null 2>&1 ; then
LIBS="$LIBS `pkg-config --libs openssl`"
CPPFLAGS="`pkg-config --cflags-only-I openssl` $CPPFLAGS"
echo "$as_me:$LINENO: result: yes" >&5
|