Date: Mon, 19 Mar 2001 09:13:53 +0300 From: Alex Kapranoff <kapr@acm.org> To: ports@freebsd.org Subject: Conditionalizing MACHINE_CPU checks Message-ID: <20010319091353.A4146@kapran.bitmcnit.bryansk.su>
next in thread | raw e-mail | index | archive | help
Good day to all. Do I really need to wrap MACHINE_CPU tests (like ${MACHINE_CPU:Mmmx}) inside ${OSVERSION} >= 500018 tests? Or is it safe to assume that MACHINE_CPU:Mmmx will just fail on older systems and go with it? E.g. is it ok to do tests in this way: .if defined(WITH_MMX) || ${MACHINE_CPU:Mmmx} SRCS+= mmx.c .elif ${ARCH} == "i386" @${ECHO_MSG} "You can define WITH_MMX to use MMX instructions" .endif -- Alex Kapranoff, Voice: +7(0832)791845 We've lived 11 weeks in the brand new millenium... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010319091353.A4146>