aboutsummaryrefslogtreecommitdiffstats
path: root/mail/balsa2/files/patch-configure
blob: e94143b12115d65f6f1dfef40b1aa5b8733d6667 (plain) (blame)
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
--- configure.orig  Mon Jun 10 04:35:15 2002
+++ configure   Tue Sep 10 14:01:26 2002
@@ -7644,13 +7644,13 @@
 
 subdirs="$subdirs libmutt"
 
-echo "$as_me:7647: checking for new_pspell_manager in -lpspell" >&5
-echo $ECHO_N "checking for new_pspell_manager in -lpspell... $ECHO_C" >&6
-if test "${ac_cv_lib_pspell_new_pspell_manager+set}" = set; then
+echo "$as_me:7647: checking for new_aspell_speller in -lpspell" >&5
+echo $ECHO_N "checking for new_aspell_speller in -lpspell... $ECHO_C" >&6
+if test "${ac_cv_lib_pspell_new_aspell_speller+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpspell -lstdc++ -lpspell-modules $LIBS"
+LIBS="-lpspell -lstdc++ $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line 7655 "configure"
 #include "confdefs.h"
@@ -7661,11 +7661,11 @@
 #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;
 }
@@ -7682,18 +7682,18 @@
   ac_status=$?
   echo "$as_me:7683: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
-  ac_cv_lib_pspell_new_pspell_manager=yes
+  ac_cv_lib_pspell_new_aspell_speller=yes
 else
   echo "$as_me: failed program was:" >&5
 cat conftest.$ac_ext >&5
-ac_cv_lib_pspell_new_pspell_manager=no
+ac_cv_lib_pspell_new_aspell_speller=no
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-echo "$as_me:7694: result: $ac_cv_lib_pspell_new_pspell_manager" >&5
-echo "${ECHO_T}$ac_cv_lib_pspell_new_pspell_manager" >&6
-if test $ac_cv_lib_pspell_new_pspell_manager = yes; then
+echo "$as_me:7694: result: $ac_cv_lib_pspell_new_aspell_speller" >&5
+echo "${ECHO_T}$ac_cv_lib_pspell_new_aspell_speller" >&6
+if test $ac_cv_lib_pspell_new_aspell_speller = yes; then
   cat >>confdefs.h <<EOF
 #define HAVE_LIBPSPELL 1
 EOF
@@ -9345,7 +9345,7 @@
   echo "$as_me: failed program was:" >&5
 cat conftest.$ac_ext >&5
 CATOBJEXT=.mo
-            DATADIRNAME=lib
+            DATADIRNAME=share
 fi
 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
          INSTOBJEXT=.mo
@@ -9643,7 +9643,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lldap -llber -lresolv $LIBS"
+LIBS="-lldap -llber $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line 9648 "configure"
 #include "confdefs.h"
@@ -9690,7 +9690,7 @@
   cat >>confdefs.h <<\EOF
 #define ENABLE_LDAP 1
 EOF
- LIBS="-lldap -llber -lresolv $LIBS"
+ LIBS="-lldap -llber $LIBS"
 else
   { { echo "$as_me:9695: error: *** You enabled LDAP but ldap library is not found." >&5
 echo "$as_me: error: *** You enabled LDAP but ldap library is not found." >&2;}
@@ -9726,7 +9726,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lesmtp -lpthread $LIBS"
+LIBS="-lesmtp "-pthread" $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line 9731 "configure"
 #include "confdefs.h"
@@ -9770,7 +9770,7 @@
 echo "$as_me:9770: result: $ac_cv_lib_esmtp_smtp_start_session" >&5
 echo "${ECHO_T}$ac_cv_lib_esmtp_smtp_start_session" >&6
 if test $ac_cv_lib_esmtp_smtp_start_session = yes; then
-  LIBS="$LIBS -lesmtp -lpthread"
+  LIBS="$LIBS -lesmtp "-pthread""
 else
   { { echo "$as_me:9775: error: *** You enabled ESMTP but esmtp library is not found." >&5
 echo "$as_me: error: *** You enabled ESMTP but esmtp library is not found." >&2;}
@@ -11508,7 +11508,7 @@
       { echo "$as_me:11508: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&5
 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" >&6;}
       # The eval makes quoting arguments work.
-      eval $ac_sub_configure $ac_sub_configure_args \
+      eval $ac_sub_configure \
            --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir ||
         { { echo "$as_me:11513: error: $ac_sub_configure failed for $ac_subdir" >&5
 echo "$as_me: error: $ac_sub_configure failed for $ac_subdir" >&2;}