From Vangelis_Dempsey@playstation.sony.com Wed Aug 29 17:09:32 2001
Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU [18.72.0.53])
by rt-11.mit.edu (8.9.3/8.9.3) with ESMTP id RAA16522
for <bugs@RT-11.mit.edu>; Wed, 29 Aug 2001 17:09:31 -0400 (EDT)
Received: from mail6.fw-sj.sony.com (mail6.fw-sj.sony.com [198.93.2.28])
by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id RAA04362
for <krb5-bugs@mit.edu>; Wed, 29 Aug 2001 17:09:30 -0400 (EDT)
Received: from mail2.sjc.in.sel.sony.com (mail2.sjc.in.sel.sony.com [43.134.1.111])
by mail6.fw-sj.sony.com (8.8.8/8.8.8) with ESMTP id VAA05941
for <krb5-bugs@mit.edu>; Wed, 29 Aug 2001 21:09:00 GMT
Received: by mail2.sjc.in.sel.sony.com id VAA28897; Wed, 29 Aug 2001 21:08:59 GMT
Received: from hades.playstation.sony.com ([162.49.67.19])
by Paris.playstation.sony.com (Lotus Domino Release 5.0.8)
with ESMTP id 2001082914095463:4402 ;
Wed, 29 Aug 2001 14:09:54 -0700
Message-Id: <OFCE961528.FEBC792A-ON88256AB7.00727F0E@playstation.sony.com>
Date: Wed, 29 Aug 2001 14:08:41 -0700
From: Vangelis_Dempsey@playstation.sony.com
To: krb5-bugs@mit.edu
Subject: config script references LDFLAGS before init?
src/configure (and all those below it, apparently) references $LDFLAGS
about 6 times before it is first initialized. As I have linker opts which
I need to pass on the command line via "--with-ldopts" before these tests
can succeed, the scripts look broken to me.
$ grep -n LDFLAGS configure
545:ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS
$LDFLAGS conftest.$ac_ext $LIBS 1>&5'
761:echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS)
works""... $ac_c" 1>&6
762:echo "configure:763: checking whether the C compiler ($CC $CFLAGS
$LDFLAGS) works" >&5
768:ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS
$LDFLAGS conftest.$ac_ext $LIBS 1>&5'
796:ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS
$LDFLAGS conftest.$ac_ext $LIBS 1>&5'
803:echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS)
is a cross-compiler""... $ac_c" 1>&6
804:echo "configure:805: checking whether the C compiler ($CC $CFLAGS
$LDFLAGS) is a cross-compiler" >&5
892: echo "$ac_t""LDFLAGS is $withval" 1>&6
893:LDFLAGS=$withval <----------- init does not
occur til down here?!
895: LDFLAGS= <----------- init does not occur
til down here?!
2249:old_LDFLAGS=$LDFLAGS
2267: LDFLAGS="$old_LDFLAGS $TCL_LD_FLAGS"
2298:LDFLAGS=$old_LDFLAGS
2485: krb5_save_LDFLAGS="$LDFLAGS"
2487: LDFLAGS="$LDFLAGS $TCL_LIBPATH"
2749: LDFLAGS="$krb5_save_LDFLAGS"
3241:s%@LDFLAGS@%$LDFLAGS%g
I'm guessing that the correct solution involves autoconf, configure.in, and
the aclocal.m4 macros? Unfortunately the configure script headers claim
autoconf 2.13 as their origin, and my GNU Autoconf 2.52 cant even reproduce
the same scripts (unless there's Autoconf command-line magic I need to know
now, but I see no mention in the readme.)
-Van
Responsible-Changed-From-To: gnats-admin->krb5-unassigned
Responsible-Changed-By: raeburn
Responsible-Changed-When: Fri Sep 14 13:53:13 2001
Responsible-Changed-Why:
reformat/refile
Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU [18.72.0.53])
by rt-11.mit.edu (8.9.3/8.9.3) with ESMTP id RAA16522
for <bugs@RT-11.mit.edu>; Wed, 29 Aug 2001 17:09:31 -0400 (EDT)
Received: from mail6.fw-sj.sony.com (mail6.fw-sj.sony.com [198.93.2.28])
by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id RAA04362
for <krb5-bugs@mit.edu>; Wed, 29 Aug 2001 17:09:30 -0400 (EDT)
Received: from mail2.sjc.in.sel.sony.com (mail2.sjc.in.sel.sony.com [43.134.1.111])
by mail6.fw-sj.sony.com (8.8.8/8.8.8) with ESMTP id VAA05941
for <krb5-bugs@mit.edu>; Wed, 29 Aug 2001 21:09:00 GMT
Received: by mail2.sjc.in.sel.sony.com id VAA28897; Wed, 29 Aug 2001 21:08:59 GMT
Received: from hades.playstation.sony.com ([162.49.67.19])
by Paris.playstation.sony.com (Lotus Domino Release 5.0.8)
with ESMTP id 2001082914095463:4402 ;
Wed, 29 Aug 2001 14:09:54 -0700
Message-Id: <OFCE961528.FEBC792A-ON88256AB7.00727F0E@playstation.sony.com>
Date: Wed, 29 Aug 2001 14:08:41 -0700
From: Vangelis_Dempsey@playstation.sony.com
To: krb5-bugs@mit.edu
Subject: config script references LDFLAGS before init?
Show quoted text
>Number: 986
>Category: krb5-build
>Synopsis: config script references LDFLAGS before init?
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed Aug 29 17:10:00 EDT 2001
>Last-Modified: Fri Sep 14 13:53:17 EDT 2001
>Originator: Vangelis_Dempsey@playstation.sony.com
>Organization:
>Release:
>Environment:
>Description:
Sorry, krb5-send-pr doesn't want to build for me yet.>Category: krb5-build
>Synopsis: config script references LDFLAGS before init?
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed Aug 29 17:10:00 EDT 2001
>Last-Modified: Fri Sep 14 13:53:17 EDT 2001
>Originator: Vangelis_Dempsey@playstation.sony.com
>Organization:
>Release:
>Environment:
>Description:
src/configure (and all those below it, apparently) references $LDFLAGS
about 6 times before it is first initialized. As I have linker opts which
I need to pass on the command line via "--with-ldopts" before these tests
can succeed, the scripts look broken to me.
$ grep -n LDFLAGS configure
545:ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS
$LDFLAGS conftest.$ac_ext $LIBS 1>&5'
761:echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS)
works""... $ac_c" 1>&6
762:echo "configure:763: checking whether the C compiler ($CC $CFLAGS
$LDFLAGS) works" >&5
768:ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS
$LDFLAGS conftest.$ac_ext $LIBS 1>&5'
796:ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS
$LDFLAGS conftest.$ac_ext $LIBS 1>&5'
803:echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS)
is a cross-compiler""... $ac_c" 1>&6
804:echo "configure:805: checking whether the C compiler ($CC $CFLAGS
$LDFLAGS) is a cross-compiler" >&5
892: echo "$ac_t""LDFLAGS is $withval" 1>&6
893:LDFLAGS=$withval <----------- init does not
occur til down here?!
895: LDFLAGS= <----------- init does not occur
til down here?!
2249:old_LDFLAGS=$LDFLAGS
2267: LDFLAGS="$old_LDFLAGS $TCL_LD_FLAGS"
2298:LDFLAGS=$old_LDFLAGS
2485: krb5_save_LDFLAGS="$LDFLAGS"
2487: LDFLAGS="$LDFLAGS $TCL_LIBPATH"
2749: LDFLAGS="$krb5_save_LDFLAGS"
3241:s%@LDFLAGS@%$LDFLAGS%g
I'm guessing that the correct solution involves autoconf, configure.in, and
the aclocal.m4 macros? Unfortunately the configure script headers claim
autoconf 2.13 as their origin, and my GNU Autoconf 2.52 cant even reproduce
the same scripts (unless there's Autoconf command-line magic I need to know
now, but I see no mention in the readme.)
-Van
Show quoted text
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Fix:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->krb5-unassigned
Responsible-Changed-By: raeburn
Responsible-Changed-When: Fri Sep 14 13:53:13 2001
Responsible-Changed-Why:
reformat/refile
Show quoted text
>Unformatted: