From 5e0b8d508ed51004bd836384293be00950ee62c9 Mon Sep 17 00:00:00 2001 From: Pasha Date: Tue, 20 Feb 2024 18:49:50 +0000 Subject: init gnumach copy --- tests/configfrag.ac | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 tests/configfrag.ac (limited to 'tests/configfrag.ac') diff --git a/tests/configfrag.ac b/tests/configfrag.ac new file mode 100644 index 0000000..de87cba --- /dev/null +++ b/tests/configfrag.ac @@ -0,0 +1,43 @@ +dnl Configure fragment for the test suite. + +dnl Copyright (C) 2006, 2007 Free Software Foundation, Inc. + +dnl This program is free software; you can redistribute it and/or modify it +dnl under the terms of the GNU General Public License as published by the +dnl Free Software Foundation; either version 2, or (at your option) any later +dnl version. +dnl +dnl This program is distributed in the hope that it will be useful, but +dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +dnl or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +dnl for more details. +dnl +dnl You should have received a copy of the GNU General Public License along +dnl with this program; if not, write to the Free Software Foundation, Inc., +dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +# +# Tests. +# + +AC_CONFIG_FILES([tests/test-multiboot], [chmod +x tests/test-multiboot]) + + +[if test x"$enable_user32" = xyes ; then + ac_miguser=$user32_cpu-gnu-mig +else + ac_miguser=$host_cpu-gnu-mig +fi] + +AC_CHECK_PROG([USER_MIG], [$ac_miguser], [$ac_miguser]) +AC_ARG_VAR([USER_MIG], [Path to the mig tool for user-space tests]) +AC_CHECK_PROG([USER_CC], [$CC], [$CC], [none]) +AC_ARG_VAR([USER_CC], [C compiler command for user-space tests]) +AC_CHECK_PROG([USER_CPP], [$CPP], [$CPP], [none]) +AC_ARG_VAR([USER_CPP], [C preprocessor for user-space tests]) +AC_ARG_VAR([USER_CFLAGS], [C compiler flags for user-space tests]) +AC_ARG_VAR([USER_CPPFLAGS], [C preprocessor flags for user-space tests]) + +dnl Local Variables: +dnl mode: autoconf +dnl End: -- cgit v1.2.1