[542] in Kerberos-V5-bugs
Re: Can't configure krb5-B4.1 on HP-UX anymore
daemon@ATHENA.MIT.EDU (Tom Yu)
Wed Jun 29 19:48:17 1994
Date: Wed, 29 Jun 1994 19:48:11 -0400
To: John Brezak <brezak@apollo.hp.com>
Cc: krb5-bugs@MIT.EDU
In-Reply-To: [540]
From: Tom Yu <tlyu@MIT.EDU>
Ooops!
It turns out that the argument quoter that I hacked up in order to get
recursion to work properly actually doesn't work. I have made a patch
to aclocal.m4, which follows. If you have autoconf, you should apply
this patch and run autotools/reconf from the top of your source tree
(assuming that you have autoconf and autoheader in your path, of
course).
If you don't have autoconf, I believe you can work around this problem
by supplying at least two arguments to configure, such as "./configure
--with-foo --with-bar" or any two other bogus "with" arguments. That
should work, but if you have problems with that workaround, I can
supply patches for the individual configure scripts if you send me
personal email.
BTW, ./configure --with-cc="c89 -D_HPUX_SOURCE"
might be more along the lines of what you want.
---Tom
P.S. patch follows:
===================================================================
RCS file: /mit/krb5/.cvsroot/src/aclocal.m4,v
retrieving revision 1.21
retrieving revision 1.22
diff -c -r1.21 -r1.22
*** aclocal.m4 1994/06/29 05:29:31 1.21
--- aclocal.m4 1994/06/29 23:37:34 1.22
***************
*** 46,55 ****
recurse_args=
recur_state=
# ok this stuff really belongs in ac_general.m4, but we'll live :-)
- set foo! "<<<$>>>@"
for arg do
- shift
- shift
if test -z "$recur_state" ; then
case $arg in
*\"*|*\\*|*\<<<$>>>*)
--- 46,52 ----
***************
*** 57,73 ****
;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
recur_state="skip"
;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
;;
esac
# yes this is gross but we need it to make sure that things don't get scrod
! set foo! "<<<$>>>@" "\"$arg\""
else
recur_state=
fi
done
- shift
for configdir in $1 ; do
if [ -d ${srcdir}/${configdir} ] ; then
--- 54,70 ----
;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
recur_state="skip"
+ continue
;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
;;
esac
# yes this is gross but we need it to make sure that things don't get scrod
! recurse_args="$recurse_args \"$arg\""
else
recur_state=
fi
done
for configdir in $1 ; do
if [ -d ${srcdir}/${configdir} ] ; then
***************
*** 115,121 ****
### The recursion line is here.
if [ ! -z "${recprog}" ] ; then
! if eval ${config_shell} ${recprog} "<<<$>>>@" ${srcdiroption}; then
true
else
echo Configure in `pwd` failed, exiting. 1>&2
--- 112,118 ----
### The recursion line is here.
if [ ! -z "${recprog}" ] ; then
! if eval ${config_shell} ${recprog} $recurse_args ${srcdiroption}; then
true
else
echo Configure in `pwd` failed, exiting. 1>&2