1 | dnl |
---|
2 | dnl Licensed to the Apache Software Foundation (ASF) under one or more |
---|
3 | dnl contributor license agreements. See the NOTICE file distributed with |
---|
4 | dnl this work for additional information regarding copyright ownership. |
---|
5 | dnl The ASF licenses this file to You under the Apache License, Version 2.0 |
---|
6 | dnl (the "License"); you may not use this file except in compliance with |
---|
7 | dnl the License. You may obtain a copy of the License at |
---|
8 | dnl |
---|
9 | dnl http://www.apache.org/licenses/LICENSE-2.0 |
---|
10 | dnl |
---|
11 | dnl Unless required by applicable law or agreed to in writing, software |
---|
12 | dnl distributed under the License is distributed on an "AS IS" BASIS, |
---|
13 | dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
14 | dnl See the License for the specific language governing permissions and |
---|
15 | dnl limitations under the License. |
---|
16 | dnl |
---|
17 | |
---|
18 | dnl ------------------------------------------------------------------------- |
---|
19 | dnl Author Pier Fumagalli <mailto:pier.fumagalli@eng.sun.com> |
---|
20 | dnl Version $Id$ |
---|
21 | dnl ------------------------------------------------------------------------- |
---|
22 | |
---|
23 | AC_DEFUN([AP_MSG_HEADER],[ |
---|
24 | printf "*** %s ***\n" "$1" 1>&2 |
---|
25 | AC_PROVIDE([$0]) |
---|
26 | ]) |
---|
27 | |
---|
28 | AC_DEFUN([AP_CANONICAL_HOST_CHECK],[ |
---|
29 | AC_MSG_CHECKING([cached host system type]) |
---|
30 | if { test x"${ac_cv_host_system_type+set}" = x"set" && |
---|
31 | test x"$ac_cv_host_system_type" != x"$host" ; } |
---|
32 | then |
---|
33 | AC_MSG_RESULT([$ac_cv_host_system_type]) |
---|
34 | AC_MSG_ERROR([remove the \"$cache_file\" file and re-run configure]) |
---|
35 | else |
---|
36 | AC_MSG_RESULT(ok) |
---|
37 | ac_cv_host_system_type="$host" |
---|
38 | fi |
---|
39 | AC_PROVIDE([$0]) |
---|
40 | ]) |
---|
41 | |
---|