[120] | 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-examples, 0.13.0, omalley@apache.org) |
---|
| 22 | |
---|
| 23 | AM_INIT_AUTOMAKE([subdir-objects foreign no-dist]) |
---|
| 24 | |
---|
| 25 | AC_CONFIG_SRCDIR([impl/wordcount-simple.cc]) |
---|
| 26 | AC_CONFIG_HEADER([impl/config.h]) |
---|
| 27 | AC_CONFIG_FILES([Makefile]) |
---|
| 28 | |
---|
| 29 | AC_PREFIX_DEFAULT(`pwd`/../install) |
---|
| 30 | |
---|
| 31 | USE_HADOOP_PIPES |
---|
| 32 | |
---|
| 33 | # Checks for programs. |
---|
| 34 | AC_PROG_CXX |
---|
| 35 | AC_PROG_INSTALL |
---|
| 36 | AC_PROG_LIBTOOL |
---|
| 37 | |
---|
| 38 | # Checks for libraries. |
---|
| 39 | |
---|
| 40 | # Checks for header files. |
---|
| 41 | AC_LANG(C++) |
---|
| 42 | AC_CHECK_HEADERS([unistd.h]) |
---|
| 43 | |
---|
| 44 | # Checks for typedefs, structures, and compiler characteristics. |
---|
| 45 | AC_HEADER_STDBOOL |
---|
| 46 | AC_C_CONST |
---|
| 47 | AC_TYPE_OFF_T |
---|
| 48 | AC_TYPE_SIZE_T |
---|
| 49 | AC_FUNC_STRERROR_R |
---|
| 50 | |
---|
| 51 | # Checks for library functions. |
---|
| 52 | AC_CHECK_FUNCS([mkdir uname]) |
---|
| 53 | AC_CHECK_LIB([socket],[shutdown]) |
---|
| 54 | AC_CHECK_LIB([nsl],[xdr_float]) |
---|
| 55 | AC_OUTPUT |
---|