[w3m-dev 03996] HELP_DIR and funcname.tab

* configure.in (HELP_DIR): don't eval
* scripts/w3mhelp.cgi: subst @prefix@ for $helpdir
From: SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp>
This commit is contained in:
Fumitoshi UKAI
2003-10-20 16:49:10 +00:00
parent 8dc1127617
commit 6917379868
4 changed files with 11 additions and 4 deletions

View File

@@ -1,10 +1,11 @@
#!@PERL@
# $Id: w3mhelp.cgi.in,v 1.26 2003/09/22 21:02:29 ukai Exp $
# $Id: w3mhelp.cgi.in,v 1.27 2003/10/20 16:49:11 ukai Exp $
if ( $^O =~ /^(ms)?(dos|win(32|nt)?)/i ) {
$CYGPATH = 1;
}
$prefix = "@prefix@";
$helpdir = "@HELP_DIR@";
if ($CYGPATH) {
$helpdir = &cygwin_pathconv($helpdir);