Date: Tue, 9 Jun 2009 05:15:39 +1000 From: Peter Jeremy <peterjeremy@optushome.com.au> To: Robert Huff <roberthuff@rcn.com> Cc: ports@freebsd.org Subject: Re: porting: Linux to Freebsd Message-ID: <20090608191539.GF9529@server.vk2pj.dyndns.org> In-Reply-To: <18989.12103.858035.873279@jerusalem.litteratus.org> References: <18988.39724.572280.687111@jerusalem.litteratus.org> <20090608082930.GD9529@server.vk2pj.dyndns.org> <18988.65260.635443.439491@jerusalem.litteratus.org> <20090608143519.1866665ogux2b8g0@webmail.leidinger.net> <18989.6105.484074.889552@jerusalem.litteratus.org> <20090608164014.131052xgwiww9bks@webmail.leidinger.net> <18989.12103.858035.873279@jerusalem.litteratus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--8TaQrIeukR7mmbKf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2009-Jun-08 11:33:27 -0400, Robert Huff <roberthuff@rcn.com> wrote: >Alexander Leidinger writes: >> > Right: I re-ran under bash, and got the same problems. >> > Looking at configure.ac, I see: >> > >> > AC_PATH_PROG(YACC,byacc,no) >> > if test "x$YACC" =3D=3D "xno" >> =20 >> This should be a "=3D", not a "=3D=3D". > > Same result. > >> > Relevant bit is: >> > >> > for ac_remove_CFLAG in "-O1" "-O2" "-O3" ; do >> > CFLAGS=3D${CFLAGS//${ac_remove_CFLAG}/} >> > CPPFLAGS=3D${CPPFLAGS//${ac_remove_CFLAG}/} >> > CXXFLAGS=3D${CXXFLAGS//${ac_remove_CFLAG}/} >> > done >> =20 >> Quick try: >> CFLAGS=3D`echo $CFLAGS | sed -e 's:-O[123]::g'` > > No change here either. Obvious question but if you edited configure.ac, you did remember to rerun autoconf afterwards didn't you? Can you post the configure script? Note that your problems with configure do not surprise me. Despite claims otherwise, it appears to have been designed (using the word very loosely) as a tool to impede application portability. --=20 Peter Jeremy --8TaQrIeukR7mmbKf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkotY1sACgkQ/opHv/APuIeU9QCgqkBbUlw9h9BSThF6bb9bvisi uD0An3+fLFoLO7IQXIQzsosgcaJgVPxZ =BuQa -----END PGP SIGNATURE----- --8TaQrIeukR7mmbKf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090608191539.GF9529>