From kde-bugs-dist Mon Jan 31 22:22:19 2000 From: Ken Block USG Date: Mon, 31 Jan 2000 22:22:19 +0000 To: kde-bugs-dist Subject: Bug#2602: configure assumption broken for Compaq C++ compiler X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=94935806626109 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------DB41BBD49EBB88514C80E50D" This is a multi-part message in MIME format. --------------DB41BBD49EBB88514C80E50D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Package: kdelibs, kdebase Version: snapshot 20000116 The configuration tool determines if a switch is valid if it can envoke the compiler with that switch and not get a diagnostic. The Compaq C++ compiler takes all switches that it does not recognize and simply passes them to the next tool in the tool chain. If the process is not taken all the way through to link, no diagnostic will be generated. Could I suggest the following patch: cxalrh60.zko.dec.com> diff -c admin/acinclude.m4.in{.orig,} *** admin/acinclude.m4.in.orig Sat Jan 15 18:07:01 2000 --- admin/acinclude.m4.in Mon Jan 31 15:51:58 2000 *************** *** 1481,1488 **** kde_cache=`echo $1 | sed 'y%.=/+-%___p_%'` AC_CACHE_VAL(kde_cv_prog_cxx_$kde_cache, [ ! echo 'void f(){}' >conftest.cc ! if test -z "`$CXX -$1 -c conftest.cc 2>&1`"; then eval "kde_cv_prog_cxx_$kde_cache=yes" else eval "kde_cv_prog_cxx_$kde_cache=no" --- 1481,1488 ---- kde_cache=`echo $1 | sed 'y%.=/+-%___p_%'` AC_CACHE_VAL(kde_cv_prog_cxx_$kde_cache, [ ! echo 'int main(){return 0;}' >conftest.cc ! if test -z "`$CXX -$1 -o conftest conftest.cc 2>&1`"; then eval "kde_cv_prog_cxx_$kde_cache=yes" else eval "kde_cv_prog_cxx_$kde_cache=no" --------------DB41BBD49EBB88514C80E50D Content-Type: text/x-vcard; charset=us-ascii; name="block.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ken Block USG Content-Disposition: attachment; filename="block.vcf" begin:vcard n:Block;Kenneth x-mozilla-html:FALSE org:CTG C/C++ Compiler version:2.1 email;internet:block@zk3.dec.com adr;quoted-printable:;;110 Spit Brook Road=0D=0AM/S ZKO3-2/W02;Nashua;NH;03062;USA x-mozilla-cpt:;0 tel;work:603-884-2819 fn:Kenneth Block end:vcard --------------DB41BBD49EBB88514C80E50D--