Mail Archives: djgpp/1998/02/10/22:06:51
From: | Gordon Talge <gtalge AT pe DOT net>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | autoconf and bash problem
|
Date: | Tue, 10 Feb 1998 16:30:54 -0800
|
Organization: | PE.net - Internet access from the Press-Enterprise Company
|
Lines: | 49
|
Message-ID: | <34E0F0F5.828@pe.net>
|
Reply-To: | gtalge AT pe DOT net
|
NNTP-Posting-Host: | market.pe.net
|
Mime-Version: | 1.0
|
NNTP-Posting-User: | gtalge
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I am having a problem with autoconf. Maybe someone on the net
can help me out.
When trying to compile a djgpp version of PGP 5.0 and also the
gnu shar utilities I have run into the error when running configur
with bash: unexpected token 'fi' line whatever.
I have traced it down to, if there is an AC_CONFIG_HEADER(config.h)
in configure.in I get the error, if not I don't. I also traced
it back into the acgenera.m4 file to:
if test "$CONFIG_HEADER+set}" != set; then
EOF
dnl support passing AC_CONFIG_HEADER a value containg shell variables
cat >> $CONFIG_STATUS << EOF
CONFIG_HEADER="$1"
EOF
cat >> $CONFIG_STATUS <<\EOF
fi <---- problem fi I think
-----------------
Anyway, if you want to duplicate the problem, just include
AC_CONFIG_HEADER(config.h) in the makefile.in. I used the
makefile.in that was used to build autoconf and I got the
unexpected token 'fi'. Take AC_CONFIG_HEADER(config.h) out
and everything works ok.
Second, problem. I have the djgpp version of Perl in the
directory d:/djgpp/bin/perl.exe. autoconfig built says perl
is not installed, but it seems to be able to fine awk and
other programs OK.
Any help would be most welcome.
-- Thanks,
-- Gordon
--
,,,
(. .)
+-----------------------ooO-(_)-Ooo----------------------+
| Gordon Talge WB6YKK e-mail: gtalge AT pe DOT net |
| Department of Mathematics QTH: Loma Linda, CA |
| St. Joseph High School Lat. N 34° 03.1' |
| Lakewood, California Long. W 117° 15.2' |
| http://www.stjosephs.pvt.k12.ca.us |
+--------------------------------------------------------+
- Raw text -