1 | # Licensed to the Apache Software Foundation (ASF) under one |
---|
2 | # or more contributor license agreements. See the NOTICE file |
---|
3 | # distributed with this work for additional information |
---|
4 | # regarding copyright ownership. The ASF licenses this file |
---|
5 | # to you under the Apache License, Version 2.0 (the |
---|
6 | # "License"); you may not use this file except in compliance |
---|
7 | # with the License. You may obtain a copy of the License at |
---|
8 | # |
---|
9 | # http://www.apache.org/licenses/LICENSE-2.0 |
---|
10 | # |
---|
11 | # Unless required by applicable law or agreed to in writing, software |
---|
12 | # distributed under the License is distributed on an "AS IS" BASIS, |
---|
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
14 | # See the License for the specific language governing permissions and |
---|
15 | # limitations under the License. |
---|
16 | # |
---|
17 | # -*- Autoconf -*- |
---|
18 | # Process this file with autoconf to produce a configure script. |
---|
19 | |
---|
20 | AC_PREREQ(2.59) |
---|
21 | AC_INIT(hadoop-pipes, 0.13.0, omalley@apache.org) |
---|
22 | |
---|
23 | AM_INIT_AUTOMAKE([subdir-objects foreign no-dist]) |
---|
24 | |
---|
25 | AC_CONFIG_SRCDIR([impl/HadoopPipes.cc]) |
---|
26 | AC_CONFIG_HEADER([impl/config.h]) |
---|
27 | AC_CONFIG_FILES([Makefile]) |
---|
28 | |
---|
29 | AC_PREFIX_DEFAULT(`pwd`/../install) |
---|
30 | |
---|
31 | USE_HADOOP_UTILS |
---|
32 | HADOOP_PIPES_SETUP |
---|
33 | CHECK_INSTALL_CFLAG |
---|
34 | |
---|
35 | # Checks for programs. |
---|
36 | AC_PROG_CXX |
---|
37 | AC_PROG_LIBTOOL |
---|
38 | |
---|
39 | # Checks for libraries. |
---|
40 | |
---|
41 | # Checks for header files. |
---|
42 | AC_LANG(C++) |
---|
43 | AC_CHECK_HEADERS([unistd.h]) |
---|
44 | |
---|
45 | # Checks for typedefs, structures, and compiler characteristics. |
---|
46 | AC_HEADER_STDBOOL |
---|
47 | AC_C_CONST |
---|
48 | AC_TYPE_OFF_T |
---|
49 | AC_TYPE_SIZE_T |
---|
50 | AC_FUNC_STRERROR_R |
---|
51 | |
---|
52 | # Checks for library functions. |
---|
53 | AC_CHECK_FUNCS([mkdir uname]) |
---|
54 | AC_OUTPUT |
---|