summaryrefslogtreecommitdiff
path: root/japanese/mutt-devel/files/patch-aa
blob: 9dd2e07f6d7731483006c11696219cfaf65d74fc (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
*** configure.in.orig	Thu Sep  9 12:06:13 1999
--- configure.in	Thu Sep  9 12:06:16 1999
***************
*** 107,124 ****
  	
  	AC_MSG_CHECKING(for S-Lang)
  	if test $withval = yes; then
! 		if test -d $srcdir/../slang; then
! 			mutt_cv_slang=$srcdir/../slang/src
! 			CPPFLAGS="$CPPFLAGS -I${mutt_cv_slang}"
! 			LDFLAGS="$LDFLAGS -L${mutt_cv_slang}/objs"
! 		else
! 			if test -d $mutt_cv_prefix/include/slang; then
! 				CPPFLAGS="$CPPFLAGS -I$mutt_cv_prefix/include/slang"
! 			elif test -d /usr/include/slang; then
! 				CPPFLAGS="$CPPFLAGS -I/usr/include/slang"
! 			fi
! 			mutt_cv_slang=yes
  		fi
  	else
  		dnl ---Check to see if $withval is a source directory
  		if test -f $withval/src/slang.h; then
--- 107,117 ----
  	
  	AC_MSG_CHECKING(for S-Lang)
  	if test $withval = yes; then
! 		if test -d $mutt_cv_prefix/include/slang; then
! 			CPPFLAGS="$CPPFLAGS -I$mutt_cv_prefix/include/slang"
! 			LDFLAGS="$LDFLAGS -L$mutt_cv_prefix/lib"
  		fi
+ 		mutt_cv_slang=yes
  	else
  		dnl ---Check to see if $withval is a source directory
  		if test -f $withval/src/slang.h; then