From 9df094b1230f4e57e049259150aacfe89a14ed36 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Fri, 13 Dec 2002 02:27:23 +0000 Subject: [w3m-dev 03566] configure prefix * configure: add X prefix for expr args From: Hironori SAKAMOTO --- ChangeLog | 7 ++++++- configure | 28 ++++++++++++++-------------- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8728423..3458563 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-12-13 Hironori SAKAMOTO + + * [w3m-dev 03566] configure prefix + * configure: add X prefix for expr args + 2002-12-13 Hironori SAKAMOTO * [w3m-dev 03564] clean up displayBuffer() @@ -5810,4 +5815,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.616 2002/12/13 02:19:01 ukai Exp $ +$Id: ChangeLog,v 1.617 2002/12/13 02:27:23 ukai Exp $ diff --git a/configure b/configure index c18be10..89a7e52 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: configure,v 1.90 2002/12/12 23:55:30 ukai Exp $ +# $Id: configure,v 1.91 2002/12/13 02:27:23 ukai Exp $ # Configuration. # @@ -53,25 +53,25 @@ do shift ;; -prefix=*|--prefix=*) - prefix=`expr "$1" : "-*prefix=\(.*\)"` + prefix=`expr "X$1" : "X-*prefix=\(.*\)"` ;; -bindir=*|--bindir=*) - bindir=`expr "$1" : "-*bindir=\(.*\)"` + bindir=`expr "X$1" : "X-*bindir=\(.*\)"` ;; -auxbindir=*|--auxbindir=*) - auxbindir=`expr "$1" : "-*auxbindir=\(.*\)"` + auxbindir=`expr "X$1" : "X-*auxbindir=\(.*\)"` ;; -libdir=*|--libdir=*) - libdir=`expr "$1" : "-*libdir=\(.*\)"` + libdir=`expr "X$1" : "X-*libdir=\(.*\)"` ;; -helpdir=*|--helpdir=*) - helpdir=`expr "$1" : "-*helpdir=\(.*\)"` + helpdir=`expr "X$1" : "X-*helpdir=\(.*\)"` ;; -mandir=*|--mandir=*) - mandir=`expr "$1" : "-*mandir=\(.*\)"` + mandir=`expr "X$1" : "X-*mandir=\(.*\)"` ;; -sysconfdir=*|--sysconfdir=*) - sysconfdir=`expr "$1" : "-*sysconfdir=\(.*\)"` + sysconfdir=`expr "X$1" : "X-*sysconfdir=\(.*\)"` ;; -lang=en|--lang=en|-lang=EN|--lang=EN) lang=EN @@ -98,7 +98,7 @@ do dmodel=6 ;; -code=*|--code=*) - display_code=`expr "$1" : "-*code=\(.*\)"` + display_code=`expr "X$1" : "X-*code=\(.*\)"` ;; -cflags=*|--cflags=*) dcflags=`echo $1 | sed -e 's/-*cflags=//'` @@ -107,19 +107,19 @@ do dldflags=`echo $1 | sed -e 's/-*ldflags=//'` ;; --ssl-includedir=*) - ssl_includedir=`expr "$1" : "--ssl-includedir=\(.*\)"` + ssl_includedir=`expr "X$1" : "X--ssl-includedir=\(.*\)"` ;; --ssl-libdir=*) - ssl_libdir=`expr "$1" : "--ssl-libdir=\(.*\)"` + ssl_libdir=`expr "X$1" : "X--ssl-libdir=\(.*\)"` ;; --gc-includedir=*) - gc_includedir=`expr "$1" : "--gc-includedir=\(.*\)"` + gc_includedir=`expr "X$1" : "X--gc-includedir=\(.*\)"` ;; --gc-libdir=*) - gc_libdir=`expr "$1" : "--gc-libdir=\(.*\)"` + gc_libdir=`expr "X$1" : "X--gc-libdir=\(.*\)"` ;; --mimetypes=*) - mimetypes=`expr "$1" : "--mimetypes=\(.*\)"` + mimetypes=`expr "X$1" : "X--mimetypes=\(.*\)"` ;; -help|--help) -- cgit v1.2.3