sim: ppc: change SysV sem & shm tests to compile-time
authorMike Frysinger <vapier@gentoo.org>
Tue, 2 Jan 2024 01:11:52 +0000 (20:11 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 2 Jan 2024 05:29:28 +0000 (00:29 -0500)
commitd961049a26b7e19da19198e3908b6823d4c462d7
treea3edac107912ed6e24658af328b06e9febe731a7
parentd237a93af39a489c86ec0142fa05b2af17505d13
sim: ppc: change SysV sem & shm tests to compile-time

Instead of executing code to see if SysV semaphores & shared memory
are available, switch to just a compile-time test.  The system used
to compile might not match the system used to run the code wrt the
current kernel & OS settings, but the library APIs should.  So move
the failures from compile-time to runtime so the program is more
portable, and works correctly even when cross-compiling.
sim/ppc/configure
sim/ppc/configure.ac