"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure" between
mairix-0.23.tar.gz and mairix-0.24.tar.gz

About: mairix is a program for indexing and searching email messages stored in maildir, MH or mbox folders.

configure  (mairix-0.23):configure  (mairix-0.24)
skipping to change at line 157 skipping to change at line 157
if [ $? -eq 0 ] if [ $? -eq 0 ]
then then
result=0 result=0
else else
result=1 result=1
fi fi
rm -f docheck.c docheck rm -f docheck.c docheck
echo $result echo $result
} }
#}}} #}}}
#{{{ test_for_bison
test_for_bison () {
bison --help > /dev/null
if [ $? -eq 0 ]
then
result=0
else
result=1
fi
echo $result
}
#}}}
#{{{ test_for_flex
test_for_flex () {
flex --help > /dev/null
if [ $? -eq 0 ]
then
result=0
else
result=1
fi
echo $result
}
#}}}
#{{{ test_for_openssl
test_for_openssl () {
cat > docheck.c <<EOF;
#include <openssl/ssl.h>
int main () {
SSL_load_error_strings();
SSL_library_init();
return 0;
}
EOF
echo "Test program is" 1>&5
cat docheck.c 1>&5
${MYCC} ${MYCPPFLAGS} ${MYCFLAGS} ${MYLDFLAGS} -o docheck docheck.c -lssl -lcr
ypto 1>&5 2>&1
if [ $? -eq 0 ]
then
result=0
else
result=1
fi
rm -f docheck.c docheck
echo $result
}
#}}}
#{{{ usage #{{{ usage
usage () { usage () {
cat <<EOF; cat <<EOF;
\`configure' configures tdl to adapt to many kinds of systems. \`configure' configures tdl to adapt to many kinds of systems.
Usage: ./configure [OPTION]... Usage: ./configure [OPTION]...
Defaults for the options are specified in brackets. Defaults for the options are specified in brackets.
Configuration: Configuration:
skipping to change at line 303 skipping to change at line 354
printf "Checking for bzlib : " printf "Checking for bzlib : "
if [ `test_for_bzlib` -eq 0 ]; then if [ `test_for_bzlib` -eq 0 ]; then
printf "Yes\n"; printf "Yes\n";
DEFS="${DEFS} -DUSE_BZIP_MBOX" DEFS="${DEFS} -DUSE_BZIP_MBOX"
LIBS="${LIBS} -lbz2" LIBS="${LIBS} -lbz2"
else else
printf "No (disabled bzip2ed mbox support)\n"; printf "No (disabled bzip2ed mbox support)\n";
fi fi
fi fi
printf "Checking for bison : "
if [ `test_for_bison` -eq 0 ]; then
printf "Yes\n";
else
printf "No\n";
exit 1;
fi
printf "Checking for flex : "
if [ `test_for_flex` -eq 0 ]; then
printf "Yes\n";
else
printf "No\n";
exit 1;
fi
printf "Checking for OpenSSL : "
if [ `test_for_openssl` -eq 0 ]; then
printf "Yes\n";
DEFS="${DEFS} -DUSE_OPENSSL"
LIBS="${LIBS} -lssl -lcrypto"
else
printf "No (disabled IMAP STARTTLS support)\n";
fi
#{{{ Determine version number of the program. #{{{ Determine version number of the program.
if [ -f version.txt ]; then if [ -f version.txt ]; then
revision=`cat version.txt` revision=`cat version.txt`
else else
revision="DEVELOPMENT" revision="DEVELOPMENT"
fi fi
#}}} #}}}
if [ "x" = "x${BINDIR}" ]; then BINDIR=${PREFIX}/bin ; fi if [ "x" = "x${BINDIR}" ]; then BINDIR=${PREFIX}/bin ; fi
if [ "x" = "x${MANDIR}" ]; then MANDIR=${PREFIX}/man ; fi if [ "x" = "x${MANDIR}" ]; then MANDIR=${PREFIX}/man ; fi
 End of changes. 2 change blocks. 
0 lines changed or deleted 77 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)