freebsd-ports/mail/balsa2/files/patch-configure
Joe Marcus Clarke cb2e6bbf09 Update to 2.0.10.
PR:	50316
Submitted by:	Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
2003-04-04 08:08:58 +00:00

77 lines
2.5 KiB
Text

--- configure.orig Mon Mar 24 23:43:20 2003
+++ configure Wed Mar 26 17:00:43 2003
@@ -9004,13 +9004,13 @@
else
-echo "$as_me:$LINENO: 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:$LINENO: 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 $LINENO "configure"
/* confdefs.h. */
@@ -9025,11 +9025,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;
}
@@ -9046,19 +9046,19 @@
ac_status=$?
echo "$as_me:$LINENO: \$? = $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
sed 's/^/| /' 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:$LINENO: 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:$LINENO: 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 <<_ACEOF
#define HAVE_LIBPSPELL 1
_ACEOF
@@ -10491,7 +10491,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 $LINENO "configure"
/* confdefs.h. */
@@ -10545,7 +10545,7 @@
#define ENABLE_LDAP 1
_ACEOF
- LIBS="-lldap -llber -lresolv $LIBS"
+ LIBS="-lldap -llber $LIBS"
else
{ { echo "$as_me:$LINENO: 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;}