summaryrefslogtreecommitdiff
path: root/tests/configfrag.ac
blob: de87cbadfad9c3e114c09b11d9bd8f82fe1bdc9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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: