summaryrefslogtreecommitdiff
path: root/www/w3m/scripts
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2002-02-03 03:02:27 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2002-02-03 03:02:27 +0000
commite77fca766dd18afef4439698ec274cb9c02a1471 (patch)
treef8c73b6d9985d6cb44e190a9305118c2ee511699 /www/w3m/scripts
parentUpdate to 4.0.2 (diff)
Allow coexistence of M17N and INLINE_IMAGE knob
since w3m-img patch has been merged into the w3m CVS repository and w3m-0.2.5-m17n-20020202 is based on the source code after the merge. Now we can use w3m with m17n and inline image support.
Notes
Notes: svn path=/head/; revision=54153
Diffstat (limited to 'www/w3m/scripts')
-rw-r--r--www/w3m/scripts/pre-configure8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/w3m/scripts/pre-configure b/www/w3m/scripts/pre-configure
index 2904c7fa7a80..7c0d7f03e450 100644
--- a/www/w3m/scripts/pre-configure
+++ b/www/w3m/scripts/pre-configure
@@ -13,7 +13,7 @@ echo dcc=${CC} >> ${WRKSRC}/config.param
echo emacs_like_lineedit=y >> ${WRKSRC}/config.param
echo use_bundled_gclib=n >> ${WRKSRC}/config.param
-if [ "x${USE_OPENSSL}" = "xyes" ] ; then
+if [ -n "${USE_OPENSSL}" ] ; then
echo dcflags="\"${SSL_CFLAGS} -I${LOCALBASE}/include\"" >> ${WRKSRC}/config.param
echo dldflags="\"${SSL_LIBS} ${EXTRA_SSL_LIBS} -L${LOCALBASE}/lib\"" >> ${WRKSRC}/config.param
else
@@ -21,7 +21,7 @@ else
echo dldflags=-L${LOCALBASE}/lib >> ${WRKSRC}/config.param
fi
-if [ "x${JAPANESE}" = "xYes" ] ; then
+if [ -n "${JAPANESE}" ] ; then
echo lang=JA >> ${WRKSRC}/config.param
echo use_migemo=y >> ${WRKSRC}/config.param
else
@@ -29,11 +29,11 @@ else
echo use_migemo=n >> ${WRKSRC}/config.param
fi
-if [ "x${INLINE_IMAGE}" = "xyes" ] ; then
+if [ -n "${INLINE_IMAGE}" ] ; then
echo use_image=y >> ${WRKSRC}/config.param
fi
-if [ "x${M17N}" = "xyes" ] ; then
+if [ -n "${M17N}" ] ; then
echo charset=UTF-8 >> ${WRKSRC}/config.param
else
echo display_code=E >> ${WRKSRC}/config.param