developer | aab9e96 | 2022-04-07 12:49:36 +0800 | [diff] [blame] | 1 | ########################################################################## |
| 2 | # If not stated otherwise in this file or this component's Licenses.txt |
| 3 | # file the following copyright and licenses apply: |
| 4 | # |
| 5 | # Copyright 2015 RDK Management |
| 6 | # |
| 7 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | # you may not use this file except in compliance with the License. |
| 9 | # You may obtain a copy of the License at |
| 10 | # |
| 11 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | # |
| 13 | # Unless required by applicable law or agreed to in writing, software |
| 14 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | # See the License for the specific language governing permissions and |
| 17 | # limitations under the License. |
| 18 | ########################################################################## |
| 19 | # -*- Autoconf -*- |
| 20 | # Process this file with autoconf to produce configure script. |
| 21 | # |
| 22 | |
| 23 | AC_PREREQ([2.65]) |
| 24 | AC_INIT([hal], [1.0], [BUG-REPORT-ADDRESS]) |
| 25 | AM_INIT_AUTOMAKE([foreign]) |
| 26 | LT_INIT |
| 27 | |
| 28 | AC_PREFIX_DEFAULT(`pwd`) |
| 29 | AC_ENABLE_SHARED |
| 30 | AC_DISABLE_STATIC |
| 31 | |
| 32 | AC_CONFIG_HEADERS([config.h]) |
| 33 | AC_CONFIG_MACRO_DIR([m4]) |
| 34 | |
| 35 | # Checks for programs. |
| 36 | AC_PROG_CC |
| 37 | AC_PROG_INSTALL |
| 38 | AM_PROG_CC_C_O |
| 39 | AM_PROG_LIBTOOL(libtool) |
| 40 | |
| 41 | # Checks for header files. |
| 42 | AC_CHECK_HEADERS([stdlib.h string.h unistd.h]) |
| 43 | |
| 44 | # Checks for typedefs, structures, and compiler characteristics. |
| 45 | AC_HEADER_STDBOOL |
| 46 | AC_C_INLINE |
| 47 | |
| 48 | # Checks for library functions. |
| 49 | AC_FUNC_MALLOC |
| 50 | |
| 51 | AC_CONFIG_FILES(Makefile) |
| 52 | |
| 53 | |
| 54 | AC_OUTPUT |
| 55 | |